Date: Thu, 22 Mar 2007 20:31:42 +0100 From: Pav Lucistnik <pav@FreeBSD.org> To: Kris Kennaway <kris@obsecurity.org>, apache@FreeBSD.org Cc: kris@FreeBSD.org, marcus@FreeBSD.org, Martin Wilke <miwi@FreeBSD.org> Subject: Re: [Fwd: mod_log_dbd-0.1 pkg-plist errors on i386 6-exp] Message-ID: <1174591902.23816.0.camel@ikaros.oook.cz> In-Reply-To: <20070322184720.GB168@xor.obsecurity.org> References: <1174340648.98081.3.camel@ikaros.oook.cz> <20070322102117.0228B50BBB@unixfreunde.net> <1174565277.96974.22.camel@pav.hide.vol.cz> <20070322184720.GB168@xor.obsecurity.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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@oook.cz>
<pav@FreeBSD.org>
On second thought, let's not go to Camelot. It is a silly place.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQBGAtmbntdYP8FOsoIRAh54AKC9lvEOMyKBj1I5lqtQt7zCyq22QwCfbcK8
N8EBW9Dqbe7naNYXspAlVaY=
=BJro
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1174591902.23816.0.camel>
