security/cracklib: remove references to python slave port
PR: 249761 Approved by: cy (maintainer)
This commit is contained in:
parent
190e4337c9
commit
59a4c81422
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549935
@ -6,11 +6,6 @@ PORTVERSION= 2.9.7
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= https://github.com/cracklib/cracklib/releases/download/v${PORTVERSION}/ \
|
||||
LOCAL/cy
|
||||
.if !defined(PYTHON_SLAVEPORT)
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
${WORDS_DISTFILE}
|
||||
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
||||
.endif
|
||||
|
||||
MAINTAINER= cy@FreeBSD.org
|
||||
COMMENT?= Password-checking library
|
||||
@ -24,22 +19,6 @@ CONFIGURE_ARGS= --with-default-dict=${DICTFILE}
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= libtool tar:bz2
|
||||
|
||||
.if defined(PYTHON_SLAVEPORT)
|
||||
CATEGORIES+= python
|
||||
|
||||
USES+= python:2.7 localbase
|
||||
USE_PYTHON= flavors
|
||||
|
||||
CONFIGURE_ARGS+=--disable-nls --with-python
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC}/lib && ${MAKE_CMD} libcrack.la
|
||||
|
||||
do-test:
|
||||
@(cd ${BUILD_WKRSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
|
||||
${PYTHON_CMD} -c \
|
||||
"from test_${PORTNAME} import run; run(use_dictpath=\"${DICTFILE:S|^${PREFIX}/|${LOCALBASE}/|}\")")
|
||||
.else
|
||||
WORDS_DISTFILE= ${PORTNAME}-words-${PORTVERSION}.bz2
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
@ -57,6 +36,5 @@ post-install:
|
||||
${LN} -s ${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/FascistCheck.3
|
||||
@${MKDIR} ${STAGEDIR}${DICTPATH}
|
||||
@PATH=$${PATH}:${STAGEDIR}${PREFIX}/sbin LD_LIBRARY_PATH=/lib:/usr/lib:${STAGEDIR}${PREFIX}/lib ${STAGEDIR}${PREFIX}/sbin/create-cracklib-dict -o ${STAGEDIR}${DICTPATH}/cracklib-words ${_DISTDIR}/${WORDS_DISTFILE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user