mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
security/cracklib:
- Add USES=libtool and bump dependent ports - Add INSTALL_TARGET=install-strip - Convert to USES=python - Use MAKE_CMD - Create manpage link in post-install instead of using @exec
This commit is contained in:
parent
c0d646c612
commit
e3056c3b46
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367386
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= atheme-services
|
||||
PORTVERSION= 7.0.7
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= http://atheme.net/downloads/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= apg
|
||||
PORTVERSION= 2.3.0b
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.adel.nursat.kz/apg/download/
|
||||
MASTER_SITE_SUBDIR= UNIX/misc
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= cracklib
|
||||
PORTVERSION= 2.9.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
.if defined(PYTHON_SLAVEPORT)
|
||||
CATEGORIES+= python
|
||||
@ -18,15 +19,15 @@ LICENSE= LGPL21
|
||||
DICTPATH= ${PREFIX}/libdata/${PORTNAME}
|
||||
DICTFILE= ${DICTPATH}/pw_dict
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS=--with-default-dict=${DICTPATH}
|
||||
CONFIGURE_ARGS= --with-default-dict=${DICTPATH}
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= gettext libtool
|
||||
USE_LDCONFIG= yes
|
||||
USES= gettext
|
||||
|
||||
.if defined(PYTHON_SLAVEPORT)
|
||||
USE_PYTHON= yes
|
||||
USES+= python
|
||||
CONFIGURE_ARGS+=--with-python
|
||||
PLIST_FILES= %%PYTHON_SITELIBDIR%%/_cracklib.a \
|
||||
%%PYTHON_SITELIBDIR%%/_cracklib.la \
|
||||
%%PYTHON_SITELIBDIR%%/_cracklib.so \
|
||||
%%PYTHON_SITELIBDIR%%/cracklib.py \
|
||||
%%PYTHON_SITELIBDIR%%/cracklib.pyc \
|
||||
@ -52,12 +53,14 @@ PLIST_DIRS= libdata/cracklib \
|
||||
PLIST_FILES= include/crack.h \
|
||||
include/packer.h \
|
||||
lib/libcrack.a \
|
||||
lib/libcrack.la \
|
||||
lib/libcrack.so \
|
||||
lib/libcrack.so.11 \
|
||||
lib/libcrack.so.2 \
|
||||
lib/libcrack.so.2.9.0 \
|
||||
libdata/cracklib/pw_dict.hwm \
|
||||
libdata/cracklib/pw_dict.pwd \
|
||||
libdata/cracklib/pw_dict.pwi \
|
||||
man/man3/FascistCheck.3.gz \
|
||||
man/man3/cracklib.3.gz \
|
||||
sbin/cracklib-check \
|
||||
sbin/cracklib-format \
|
||||
sbin/cracklib-packer \
|
||||
@ -104,19 +107,16 @@ PLIST_FILES= include/crack.h \
|
||||
|
||||
.if defined(PYTHON_SLAVEPORT)
|
||||
pre-build:
|
||||
cd ${WRKSRC}/lib && ${MAKE} libcrack.la
|
||||
cd ${WRKSRC}/lib && ${MAKE_CMD} libcrack.la
|
||||
|
||||
regression-test: extract
|
||||
@(cd ${BUILD_WKRSRC}; \
|
||||
${PYTHON_CMD} -c \
|
||||
"from test_${PORTNAME} import run; run(use_dictpath=\"${DICTFILE}\")")
|
||||
.else
|
||||
PLIST_FILES+= man/man3/${PORTNAME}.3.gz \
|
||||
@exec\ ln\ -s\ man/man3/${PORTNAME}.3.gz\ man/man3/FascistCheck.3.gz \
|
||||
@unexec\ rm\ man/man3/FascistCheck.3.gz
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/
|
||||
${LN} -s ${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/FascistCheck.3
|
||||
@${MKDIR} ${STAGEDIR}${DICTPATH}
|
||||
${INSTALL_DATA} ${FILESDIR}/pw_dict* ${STAGEDIR}${DICTPATH}/
|
||||
.endif
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= libpwquality
|
||||
PORTVERSION= 1.2.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= https://fedorahosted.org/releases/l/i/libpwquality/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= Crypt-Cracklib
|
||||
PORTVERSION= 1.7
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= crack
|
||||
PORTVERSION= 0.4.1
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= security www
|
||||
MASTER_SITES= http://www.osuweb.net/~ahaning/
|
||||
PKGNAMEPREFIX= pecl-
|
||||
|
@ -14,7 +14,6 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
|
||||
PYTHON_SLAVEPORT= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
"{s#__version__ = '[^']*'#__version__ = '${PORTVERSION}'#;}" \
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= revelation
|
||||
PORTVERSION= 0.4.14
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security gnome
|
||||
MASTER_SITES= http://cdn.bitbucket.org/erikg/revelation/downloads/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= password
|
||||
PORTVERSION= 0.5.3
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= security ruby
|
||||
MASTER_SITES= http://www.caliban.org/files/ruby/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
Loading…
Reference in New Issue
Block a user