Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  8 Nov 2006 14:37:42 -0500
From:      "Charlie &" <root@collaborativefusion.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105299: Update Port: security/pecl-crack Fix build problems with php 5.2/4 and add cracklib dependency
Message-ID:  <20061108193744.D3D6943DEC@mx1.FreeBSD.org>
Resent-Message-ID: <200611081940.kA8JeWCl044728@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105299
>Category:       ports
>Synopsis:       Update Port: security/pecl-crack Fix build problems with php 5.2/4 and add cracklib dependency
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 08 19:40:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Bill Moran
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
Collaborative Fusion Inc.
>Environment:
System: FreeBSD vanquish.pgh.priv.collaborativefusion.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #8: Tue Oct 3 10:55:07 EDT 2006 root@vanquish.pgh.priv.collaborativefusion.com:/usr/obj/usr/src/sys/VANQUISH i386


>Description:
	Two fixes:
	1) Since the PHP5 update to 5.2, this port has failed "make package"
	   I corrected pkg-plist to not contain the .so file, allowing the PHP makefile magic to take care of it
	2) pecl-crack isn't nearly as useful without cracklib installed
	   I added cracklib as a run dependency
	As a result of #2, I bumped PORTREVISION
>How-To-Repeat:
	Try making a package of security/pecl-crack with php 5.2
>Fix:

	

--- pecl-crack.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/security/pecl-crack
#	/usr/ports/security/pecl-crack/pkg-descr
#	/usr/ports/security/pecl-crack/distinfo
#	/usr/ports/security/pecl-crack/Makefile
#	/usr/ports/security/pecl-crack/pkg-plist
#
echo c - /usr/ports/security/pecl-crack
mkdir -p /usr/ports/security/pecl-crack > /dev/null 2>&1
echo x - /usr/ports/security/pecl-crack/pkg-descr
sed 's/^X//' >/usr/ports/security/pecl-crack/pkg-descr << 'END-of-/usr/ports/security/pecl-crack/pkg-descr'
XThis package provides an interface to the cracklib (libcrack) libraries that
Xcome standard on most unix-like distributions. This allows you to check
Xpasswords against dictionaries of words to ensure some minimal level of
Xpassword security.
X
XFrom the cracklib README
XCrackLib makes literally hundreds of tests to determine whether you've
Xchosen a bad password.
X
X* It tries to generate words from your username and gecos entry to tries
Xto match them against what you've chosen.
X
X* It checks for simplistic patterns.
X
X* It then tries to reverse-engineer your password into a dictionary
Xword, and searches for it in your dictionary.
X
X- after all that, it's PROBABLY a safe(-ish) password. 8-)
X
XWWW: http://pecl.php.net/package/crack
END-of-/usr/ports/security/pecl-crack/pkg-descr
echo x - /usr/ports/security/pecl-crack/distinfo
sed 's/^X//' >/usr/ports/security/pecl-crack/distinfo << 'END-of-/usr/ports/security/pecl-crack/distinfo'
XMD5 (PECL/crack-0.4.1.tgz) = e64224cef6c8181f90cc669dae5dfe17
XSHA256 (PECL/crack-0.4.1.tgz) = d9ba43b3678fb46db0eee659d9e000e9bad682bc7702d33f6d7e293d7f6f08ad
XSIZE (PECL/crack-0.4.1.tgz) = 25143
END-of-/usr/ports/security/pecl-crack/distinfo
echo x - /usr/ports/security/pecl-crack/Makefile
sed 's/^X//' >/usr/ports/security/pecl-crack/Makefile << 'END-of-/usr/ports/security/pecl-crack/Makefile'
X# Ports collection makefile for:  pecl-crack
X# Date created:			  07 March 2006
X# Whom:				  Bill Moran <wmoran@collaborativefusion.com>
X#
X# $FreeBSD: ports/security/pecl-crack/Makefile,v 1.1 2006/07/11 15:41:19 garga Exp $
X#
X
XPORTNAME=	crack
XPORTVERSION=	0.4.1
XPORTREVISION=	1
XCATEGORIES=	security www
XMASTER_SITES=	http://www.osuweb.net/~ahaning/
XPKGNAMEPREFIX=	pecl-
XEXTRACT_SUFX=	.tgz
XDIST_SUBDIR=	PECL
X
XMAINTAINER=	wmoran@collaborativefusion.com
XCOMMENT=	PECL extension to cracklib
X
XRUN_DEPENDS=	${LOCALBASE}/libdata/cracklib/pw_dict.pwi:${PORTSDIR}/security/cracklib
X
XUSE_PHP=	yes
XUSE_PHPIZE=	yes
XUSE_PHP_BUILD=	yes
XUSE_PHPEXT=	yes
XPHP_MODNAME=	crack
X
XWRKSRC=		${WRKDIR}/crack-0.4
X
X.include <bsd.port.mk>
END-of-/usr/ports/security/pecl-crack/Makefile
echo x - /usr/ports/security/pecl-crack/pkg-plist
sed 's/^X//' >/usr/ports/security/pecl-crack/pkg-plist << 'END-of-/usr/ports/security/pecl-crack/pkg-plist'
Xinclude/php/ext/crack/config.h
Xinclude/php/ext/crack/php_crack.h
X@dirrm include/php/ext/crack
END-of-/usr/ports/security/pecl-crack/pkg-plist
exit
--- pecl-crack.shar ends here ---





IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited.  Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.


>Release-Note:
>Audit-Trail:
>Unformatted:



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