blob: fccf10656fc299ac5c96a14ba387e9b0c65e8c09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Bill Moran <wmoran@collaborativefusion.com>
# $FreeBSD$
PORTNAME= crack
PORTVERSION= 0.4
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= ports@FreeBSD.org
COMMENT= PECL extension to cracklib
LICENSE= PHP30
LIB_DEPENDS= libcrack.so:security/cracklib
USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
EXTRACT_AFTER_ARGS=--no-same-permissions --no-same-owner --exclude libcrack
CONFIGURE_ARGS= --with-crack=${LOCALBASE}
CFLAGS+= -Wno-deprecated
post-configure:
${REINPLACE_CMD} -e 's|^\$$ini_overwrites.*|&'"'"'crack.default_dictionary=\"${LOCALBASE}/libdata/cracklib/pw_dict\"'"'"',|' \
${WRKSRC}/run-tests.php
test check regression-test: build
${MAKE} -C ${WRKSRC} test < /dev/null
.include <bsd.port.mk>
|