svn commit: r517540 - head/security/denyhosts

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Nov 13 23:47:44 UTC 2019


Author: sunpoet
Date: Wed Nov 13 23:47:43 2019
New Revision: 517540
URL: https://svnweb.freebsd.org/changeset/ports/517540

Log:
  Simplify Makefile
  
  - Remove no-op shebang fix
  - Remove .bak/.orig cleanup which does not affect the package
  
  PR:		241806
  Submitted by:	amdmi3

Modified:
  head/security/denyhosts/Makefile

Modified: head/security/denyhosts/Makefile
==============================================================================
--- head/security/denyhosts/Makefile	Wed Nov 13 23:47:38 2019	(r517539)
+++ head/security/denyhosts/Makefile	Wed Nov 13 23:47:43 2019	(r517540)
@@ -20,7 +20,6 @@ USES=		cpe python shebangfix
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
-REINPLACE_ARGS=	-i ''
 USE_RC_SUBR=	denyhosts
 
 PLIST_FILES=	"@sample etc/denyhosts.conf.sample"
@@ -29,18 +28,14 @@ SUB_LIST=	PYTHON=${PYTHON_CMD}
 
 USE_GITHUB=	yes
 
-SHEBANG_LANG=	env
 SHEBANG_FILES=	daemon-control-dist \
 		plugins/test_deny.py \
 		scripts/restricted_from_invalid.py \
 		scripts/restricted_from_passwd.py
-env_OLD_CMD=	/bin/env
-env_CMD=	${SETENV}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/daemon-control-dist ${WRKSRC}/denyhosts.conf ${WRKSRC}/setup.py
 	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/daemon-control-dist
-	@${FIND} ${WRKSRC} -type f -name '*.bak' -o -name '*.orig' -delete
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/denyhosts.conf ${STAGEDIR}${PREFIX}/etc/denyhosts.conf.sample


More information about the svn-ports-head mailing list