diff --git a/security/denyhosts/Makefile b/security/denyhosts/Makefile index 03c874819b37..e397985e1940 100644 --- a/security/denyhosts/Makefile +++ b/security/denyhosts/Makefile @@ -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