aboutsummaryrefslogtreecommitdiff
path: root/security/denyhosts
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2008-11-27 02:46:41 +0000
committerWesley Shields <wxs@FreeBSD.org>2008-11-27 02:46:41 +0000
commitdfb192f05b5dda417df072df7a5a27aa327ef6fc (patch)
tree62d95c1d0a7b27aaf4e2b15648bfe7cc6ba6c936 /security/denyhosts
parentde2cb4a6fcfd0c38584d1224f8ca76caf1c99ac3 (diff)
downloadports-dfb192f05b5dda417df072df7a5a27aa327ef6fc.tar.gz
ports-dfb192f05b5dda417df072df7a5a27aa327ef6fc.zip
- Add a patch to correct the location of nologin.
- Bump PORTREVISION. PR: ports/129186 Submitted by: Till Klampaeckel <till@php.net> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=223438
Diffstat (limited to 'security/denyhosts')
-rw-r--r--security/denyhosts/Makefile3
-rw-r--r--security/denyhosts/files/patch-scripts_restrited-from-passwd.py11
2 files changed, 13 insertions, 1 deletions
diff --git a/security/denyhosts/Makefile b/security/denyhosts/Makefile
index 0ce7a7e97366..3d591fdccaf9 100644
--- a/security/denyhosts/Makefile
+++ b/security/denyhosts/Makefile
@@ -7,7 +7,7 @@
PORTNAME= denyhosts
PORTVERSION= 2.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -30,6 +30,7 @@ post-patch:
${WRKSRC}/daemon-control-dist \
${WRKSRC}/denyhosts.cfg-dist \
${WRKSRC}/setup.py
+ @${RM} ${WRKSRC}/scripts/restricted_from_passwd.py.orig
post-install:
${INSTALL_DATA} ${WRKSRC}/denyhosts.cfg-dist ${PREFIX}/etc/denyhosts.conf-dist
diff --git a/security/denyhosts/files/patch-scripts_restrited-from-passwd.py b/security/denyhosts/files/patch-scripts_restrited-from-passwd.py
new file mode 100644
index 000000000000..0c564c38a2b0
--- /dev/null
+++ b/security/denyhosts/files/patch-scripts_restrited-from-passwd.py
@@ -0,0 +1,11 @@
+--- scripts/restricted_from_passwd.py.orig 2008-11-26 12:06:31.231726279 -0500
++++ scripts/restricted_from_passwd.py 2008-11-26 12:06:36.696728675 -0500
+@@ -11,7 +11,7 @@
+ #
+ ############################################################################
+
+-RESTRICTED_SHELLS = ("/sbin/nologin",
++RESTRICTED_SHELLS = ("/usr/sbin/nologin",
+ "/sbin/shutdown",
+ "/sbin/halt")
+