From owner-freebsd-ports@FreeBSD.ORG Thu Dec 10 19:52:33 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE212106566C for ; Thu, 10 Dec 2009 19:52:33 +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 89DEA8FC12 for ; Thu, 10 Dec 2009 19:52:33 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NIp3q-000M5K-Mx; Thu, 10 Dec 2009 14:52:32 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id F09A7389B641; Thu, 10 Dec 2009 14:52:26 -0500 (EST) Message-ID: <4B215175.3030308@FreeBSD.org> Date: Thu, 10 Dec 2009 14:52:21 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Dan Langille References: <08254e721f325a1223c807b4dca5e0da.squirrel@nyi.unixathome.org> <4B2144C9.9000402@FreeBSD.org> <7c6d6c6b2386f8675b87ea4590c29153.squirrel@nyi.unixathome.org> In-Reply-To: <7c6d6c6b2386f8675b87ea4590c29153.squirrel@nyi.unixathome.org> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) Cc: freebsd-ports@freebsd.org Subject: Re: security/logcheck fails to install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 19:52:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Langille wrote: > On Thu, December 10, 2009 1:58 pm, Greg Larkin wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Dan Langille wrote: >>> On 8.0-PRELEASE, ports tree up to date. >>> >>> I have altered the Makefile to remove some @ from the do-build section >>> of >>> the Makefile. >>> >>> Any ideas? >>> [...] >>> /usr/ports/security/logcheck/work/logcheck-1.2.54/etc/logcheck.logfiles >>> /usr/bin/sed -i.bak -e 's!/etc/logcheck!/usr/local/etc/logcheck!' -e >>> 's!/usr/share/doc/logcheck-database/README.logcheck-database.gz!/usr/local/share/doc/logcheck/README.logcheck-database!' >>> /usr/ports/security/logcheck/work/logcheck-1.2.54/docs/logcheck.sgml >>> cd /usr/ports/security/logcheck/work/logcheck-1.2.54/docs && docbook2man >>> -s /usr/local/share/docbook2X/xslt/man/docbook.xsl --sgml >>> logcheck.sgml >>> 2> /dev/null && /bin/mv Logcheck.8 logcheck.8 >>> *** Error code 255 >>> >>> Stop in /usr/ports/security/logcheck. >>> [root@subie:/usr/ports/security/logcheck] # >> Hi Dan, >> >> There's a tricky situation in the logcheck Makefile regarding which tool >> it uses to generate its man page. My guess is that you have >> textproc/docbook-410 installed on the machine, but not >> textproc/docbook-to-man. The easiest fix is: >> >> pkg_delete docbook2X\* >> cd /usr/ports/textproc/docbook-to-man && make install clean >> cd /usr/ports/security/logcheck && make clean install clean >> >> Let me know if that doesn't work for some reason, and I plan to fix this >> as part of your PR 140981 >> (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/140981) >> >> Thank you, >> Greg > > Oh, in case it's not clear, the problem was /usr/local/bin/docbook-to-man > did not exist, and thus the '@cd ${WRKSRC}/docs && docbook2man' had > problems. > > IMHO: making docbook-to-man a requirement is the solution. > Hi Dan, docbook-to-man was a requirement a while back, but a lot of people complained that it was too heavy a package to install just to create a man page. Someone recommended that I port the docbook2X tool as a lighter-weight replacement. I did that, but we've run into issues where it conflicts with other docbook-related tools. It may make sense to simply pre-process the man page and include it in the files/ directory of the port, since it's the only one. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLIVF10sRouByUApARArX+AJ9VzLjiT+DTdKLsFg5rPitLK0xx1QCgsD51 CeRphJtAFxU8qM1nrtxBcNA= =ejEW -----END PGP SIGNATURE-----