[Fwd: mod_log_dbd-0.1 pkg-plist errors on i386 6-exp]

Pav Lucistnik pav at FreeBSD.org
Thu Mar 22 19:58:56 UTC 2007


Kris Kennaway píše v čt 22. 03. 2007 v 14:47 -0400:
> On Thu, Mar 22, 2007 at 01:07:57PM +0100, Pav Lucistnik wrote:
> > Hey Kris, hey Joe,
> > 
> > in buildscript we got
> > 
> > # Files we do not care about changing between pre-build and post-cleanup
> > [..]
> > ./${L}/etc/apache
> > ./${L}/etc/apache2
> > [..]
> > 
> > I think it's time to add etc/apache22 too (www/apache22) - it will "fix"
> > plist errors like
> > 
> > http://pointyhat.freebsd.org/errorlogs/i386-6-exp-latest-logs/mod_log_dbd-0.1.log
> > 
> > What do you think?
> 
> Actually it's well past time that apache@ started fixing this problem,
> I first reported it several years ago and added this "temporary"
> bandaid upon their assurance that they'd fix it.

So what about this?

Index: bsd.apache.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.apache.mk,v
retrieving revision 1.13
diff -a -u -r1.13 bsd.apache.mk
--- bsd.apache.mk	7 Nov 2006 09:11:53 -0000	1.13
+++ bsd.apache.mk	22 Mar 2007 19:30:52 -0000
@@ -393,7 +393,7 @@
 .if defined(AP_GENPLIST)
 .   if !exists(${PLIST})
 	@${ECHO} "===>  Generating apache plist"
-	@${ECHO} "@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%" > ${PLIST}
+	@${ECHO} "@unexec ${SED} -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf" >> ${PLIST}
 	@${ECHO} "%%APACHEMODDIR%%/%%AP_MODULE%%" >> ${PLIST}
 	@${ECHO} "@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F" >> ${PLIST}
 	@${ECHO} "@unexec echo \"Don't forget to remove all ${MODULENAME}-related directives in your httpd.conf\"">> ${PLIST}


-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

On second thought, let's not go to Camelot. It is a silly place.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20070322/b4f64f82/attachment.pgp


More information about the freebsd-apache mailing list