ports/79673: security/apg incorrectly depends on ${LOCALBASE}/lib/crack.a when WITH_CRACKLIB is defined
Vasil Dimov
vd at datamax.bg
Fri Apr 8 07:20:04 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list