Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 18:14:52 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549935 - head/security/cracklib
Message-ID:  <202009241814.08OIEqgo099584@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Sep 24 18:14:52 2020
New Revision: 549935
URL: https://svnweb.freebsd.org/changeset/ports/549935

Log:
  security/cracklib: remove references to python slave port
  
  PR:		249761
  Approved by:	cy (maintainer)

Modified:
  head/security/cracklib/Makefile   (contents, props changed)

Modified: head/security/cracklib/Makefile
==============================================================================
--- head/security/cracklib/Makefile	Thu Sep 24 18:01:39 2020	(r549934)
+++ head/security/cracklib/Makefile	Thu Sep 24 18:14:52 2020	(r549935)
@@ -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>



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