Date: Fri, 08 Apr 2005 10:10:35 +0300 From: Vasil Dimov <vd@datamax.bg> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/79673: security/apg incorrectly depends on ${LOCALBASE}/lib/crack.a when WITH_CRACKLIB is defined Message-ID: <1112944235.156913.23103.nullmailer@sinanica.bg.datamax> Resent-Message-ID: <200504080720.j387K38m059713@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79673 >Category: ports >Synopsis: security/apg incorrectly depends on ${LOCALBASE}/lib/crack.a when WITH_CRACKLIB is defined >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 08 07:20:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: DataMax >Environment: System: FreeBSD sinanica.bg.datamax 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #4: Fri Apr 1 12:12:53 EEST 2005 root@sinanica.bg.datamax:/usr/obj/usr/src/sys/SINANICA-SMP i386 >Description: If security/cracklib is already installed on the system then security/apg fails to build with WITH_CRACKLIB turned on because apg depends on file /usr/local/lib/crack.a which is not installed by cracklib. Instead /usr/local/lib/libcrack.a is installed and apg should depend on it. >How-To-Repeat: pkg_delete -f /var/db/pkg/apg-* pkg_delete -f /var/db/pkg/cracklib-* cd /usr/ports/security/cracklib && make install clean cd /usr/ports/security/apg && make WITH_CRACKLIB=yes an attempt is made to install cracklib again, coz apg considers it is not installed when /usr/local/lib/crack.a does not exist. >Fix: --- Makefile.patch begins here --- --- Makefile.orig Fri Apr 8 09:52:50 2005 +++ Makefile Fri Apr 8 09:52:56 2005 @@ -16,7 +16,7 @@ COMMENT= An automated password generator .if defined(WITH_CRACKLIB) -BUILD_DEPENDS= ${LOCALBASE}/lib/crack.a:${PORTSDIR}/security/cracklib +BUILD_DEPENDS= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib MAKE_ARGS= -DWITH_CRACKLIB .endif --- Makefile.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1112944235.156913.23103.nullmailer>