Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 16:13:30 -0500
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        n j <nino80@gmail.com>, User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Logcheck dependency hell
Message-ID:  <49A3117A.9030004@FreeBSD.org>
In-Reply-To: <20090213200559.GB94579@hal.rescomp.berkeley.edu>
References:  <92bcbda50902120422x7c73808dy650d6918054af9f4@mail.gmail.com> <20090213200559.GB94579@hal.rescomp.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060203090708000507020608
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-----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-----

--------------060203090708000507020608
Content-Type: text/plain;
 name="logcheck-no-man.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="logcheck-no-man.diff"

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@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

--------------060203090708000507020608--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49A3117A.9030004>