From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 21:13:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 402F8106566B for ; Mon, 23 Feb 2009 21:13:23 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 17BE98FC0C for ; Mon, 23 Feb 2009 21:13:23 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Lbi76-000FST-3i; Mon, 23 Feb 2009 16:13:21 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 7F0F02AFE773; Mon, 23 Feb 2009 16:13:20 -0500 (EST) Message-ID: <49A3117A.9030004@FreeBSD.org> Date: Mon, 23 Feb 2009 16:13:30 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: n j , User Questions References: <92bcbda50902120422x7c73808dy650d6918054af9f4@mail.gmail.com> <20090213200559.GB94579@hal.rescomp.berkeley.edu> In-Reply-To: <20090213200559.GB94579@hal.rescomp.berkeley.edu> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: multipart/mixed; boundary="------------060203090708000507020608" X-Spam-Score: -1.7 (-) Cc: Subject: Re: Logcheck dependency hell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 21:13:23 -0000 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--