Logcheck dependency hell

Greg Larkin glarkin at FreeBSD.org
Mon Feb 23 13:13:23 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Cowart wrote:
> n j wrote:
>> could anyone help me what command should I use to find out which
>> logcheck-required port _exactly_ is trying to install half of the X
>> libraries?
> 
> The Makefile says:
> 
> | BUILD_DEPENDS=  docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
> | RUN_DEPENDS=    lockfile:${PORTSDIR}/mail/procmail \
> |         bash:${PORTSDIR}/shells/bash
> 
> So I'll bet some money that it's docbook. 
> 
> Does it improve if you add these to /etc/make.conf:
> 
> | NO_GUI=YES
> | WITHOUT_GUI=YES
> | WITHOUT_X11=YES
> | WITHOUT_XPM=YES
> 

Hi n j,

I'm the maintainer of security/logcheck, and I apologize for not
catching up with my inbox sooner.  I just saw your message, and the same
issue was reported by someone else a couple of weeks ago.

I have it on my list to update the port to avoid using docbook-to-man.
In the mean, please apply the attached patch to your Makefile, and it
will prevent all of those deps from getting included in the build.

Also, please cc the port maintainer when reporting a port-related bug to
freebsd-questions@, since not all of them follow the list.  The easy way
to obtain the maintainer's email address is:

make -V MAINTAINER

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/       - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJoxF60sRouByUApARAmkKAJ4jihHFR1haHsuYNUdn3Iq3d41JZQCgyXdl
6r3KDcKx1mpCoEoweqk7fWU=
=rPkt
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/logcheck/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	11 Sep 2008 00:30:08 -0000	1.23
+++ Makefile	11 Feb 2009 15:41:28 -0000
@@ -15,7 +15,7 @@
 MAINTAINER=	glarkin at FreeBSD.org
 COMMENT=	Auditing tool for system logs on Unix boxes
 
-BUILD_DEPENDS=	docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
+# BUILD_DEPENDS=	docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
 RUN_DEPENDS=	lockfile:${PORTSDIR}/mail/procmail \
 		bash:${PORTSDIR}/shells/bash
 
@@ -44,10 +44,10 @@
 do-build:
 	${REINPLACE_CMD} -e 's!/var/log/syslog!/var/log/messages!' \
 		${WRKSRC}/etc/logcheck.logfiles
-	${REINPLACE_CMD} -e 's!/etc/logcheck!${ETCDIR}!' \
-		-e 's!/usr/share/doc/logcheck-database/README.logcheck-database.gz!${DOCSDIR}/README.logcheck-database!' \
-		${WRKSRC}/docs/logcheck.sgml
-	docbook-to-man ${WRKSRC}/docs/logcheck.sgml > ${WRKSRC}/docs/logcheck.8
+#	${REINPLACE_CMD} -e 's!/etc/logcheck!${ETCDIR}!' \
+#		-e 's!/usr/share/doc/logcheck-database/README.logcheck-database.gz!${DOCSDIR}/README.logcheck-database!' \
+#		${WRKSRC}/docs/logcheck.sgml
+#	docbook-to-man ${WRKSRC}/docs/logcheck.sgml > ${WRKSRC}/docs/logcheck.8
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/src/logcheck ${PREFIX}/sbin


More information about the freebsd-questions mailing list