aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-11-23 14:10:33 +0800
committerclsung <clsung@FreeBSD.org>2006-11-23 14:10:33 +0800
commit82e3cc2f2f68c65fa10a3b9fe58466ed2c36f939 (patch)
treedc52720d4e5d25716b3fca0b00f205320351df7c /security
parentd536980150925d99cd3bac9d200c9981ab977b07 (diff)
downloadfreebsd-ports-gnome-82e3cc2f2f68c65fa10a3b9fe58466ed2c36f939.tar.gz
freebsd-ports-gnome-82e3cc2f2f68c65fa10a3b9fe58466ed2c36f939.tar.zst
freebsd-ports-gnome-82e3cc2f2f68c65fa10a3b9fe58466ed2c36f939.zip
- Update to 1.0
Diffstat (limited to 'security')
-rw-r--r--security/blocksshd/Makefile7
-rw-r--r--security/blocksshd/distinfo6
-rw-r--r--security/blocksshd/files/patch-blocksshd.conf12
3 files changed, 11 insertions, 14 deletions
diff --git a/security/blocksshd/Makefile b/security/blocksshd/Makefile
index d16e342246ef..3c50cc577587 100644
--- a/security/blocksshd/Makefile
+++ b/security/blocksshd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= blocksshd
-PORTVERSION= 0.9
+PORTVERSION= 1.0
CATEGORIES= security sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= blocksshd
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS/Resolver.pm:${PORTSDIR}/dns/p5-Ne
${SITE_PERL}/Proc/Daemon.pm:${PORTSDIR}/devel/p5-Proc-Daemon \
${SITE_PERL}/Proc/PID/File.pm:${PORTSDIR}/devel/p5-Proc-PID-File
-MAKE_ARGS= PREFIX="${TARGETDIR}"
+MAKE_ARGS= PREFIX="${TARGETDIR}" SYSCONFDIR="${TARGETDIR}/etc"
NO_BUILD= yes
USE_PERL5_RUN= yes
@@ -29,7 +29,4 @@ post-patch:
@${CHMOD} 755 ${WRKSRC}/init
@${REINPLACE_CMD} -e 's|^MANCOMPRESS = .gz||g' ${WRKSRC}/Makefile
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/blocksshd.conf ${TARGETDIR}/etc
-
.include <bsd.port.mk>
diff --git a/security/blocksshd/distinfo b/security/blocksshd/distinfo
index 7aa2c12e9ffb..a617b9b3fa9f 100644
--- a/security/blocksshd/distinfo
+++ b/security/blocksshd/distinfo
@@ -1,3 +1,3 @@
-MD5 (blocksshd-0.9.tar.gz) = 5d54ceb1fdf7bc59ca3c6236fad9732d
-SHA256 (blocksshd-0.9.tar.gz) = 280bc57932bb6694d26202edab65679da9a925ca1e6d1ff891bcecd3f11ec360
-SIZE (blocksshd-0.9.tar.gz) = 9929
+MD5 (blocksshd-1.0.tar.gz) = 48a3830e09e2bfb96e5283a43198dc9c
+SHA256 (blocksshd-1.0.tar.gz) = 325e6e4004f2262b25a86a71a5373a90a13614c80d9eefb5e8a1c04756690eb1
+SIZE (blocksshd-1.0.tar.gz) = 10608
diff --git a/security/blocksshd/files/patch-blocksshd.conf b/security/blocksshd/files/patch-blocksshd.conf
index fd05fd8ad2dd..32d3176bb4ba 100644
--- a/security/blocksshd/files/patch-blocksshd.conf
+++ b/security/blocksshd/files/patch-blocksshd.conf
@@ -1,5 +1,5 @@
---- blocksshd.conf.orig Wed Jul 19 18:57:06 2006
-+++ blocksshd.conf Tue Sep 26 16:57:13 2006
+--- blocksshd.conf.orig Mon Nov 20 05:36:42 2006
++++ blocksshd.conf Thu Nov 23 13:12:35 2006
@@ -1,9 +1,9 @@
# vim: syntax=perl
@@ -7,8 +7,8 @@
- os => 'linux', # Target OS - either linux or bsd
+ os => 'bsd', # Target OS - either linux or bsd
chain => 'blocksshd', # Name of iptables or pf chain
-- logfile => '/var/log/secure', # Log file to monitor
-+ logfile => '/var/log/auth.log', # Log file to monitor
+- logfile => '/var/log/secure', # Log file to monitor
++ logfile => '/var/log/auth.log', # Log file to monitor
logcheck => '10', # How often to check the log file
max_attempts => '4', # Max number of failures
timeout => '360', # Reset IP count if no activity after time out in seconds
@@ -16,8 +16,8 @@
pid_file => '/var/run/blocksshd.pid', # Location of PID file
send_email => '1', # Enable the sending of email notifications
email => 'root', # Email address to send notifications
-- mail => '/bin/mail', # Location of mail binary
-+ mail => '/usr/bin/mail', # Location of mail binary
+- mail => '/bin/mail', # Location of mail binary
++ mail => '/usr/bin/mail', # Location of mail binary
iptables => '/sbin/iptables', # Location of iptables binary - only for Linux
pfctl => '/sbin/pfctl', # Location of pfctl binary - only for BSD
whitelist => [qw{