aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-11-04 00:01:32 +0800
committerclsung <clsung@FreeBSD.org>2006-11-04 00:01:32 +0800
commit463c6910e0cf86c59f9502d53a595fa584969def (patch)
treec04a6a098eb0b1b31d94cd61b6e82fbca1166d48 /security
parent571ac579da7c61e36e924bb0ac766204d8fc16ef (diff)
downloadfreebsd-ports-gnome-463c6910e0cf86c59f9502d53a595fa584969def.tar.gz
freebsd-ports-gnome-463c6910e0cf86c59f9502d53a595fa584969def.tar.zst
freebsd-ports-gnome-463c6910e0cf86c59f9502d53a595fa584969def.zip
- Update to 0.6
PR: ports/104770 Submitted by: Joe Horn <joehorn_AT_leobbs dot net> Approved by: maintainer (Jui-Nan Lin)
Diffstat (limited to 'security')
-rw-r--r--security/sshit/Makefile5
-rw-r--r--security/sshit/distinfo6
-rw-r--r--security/sshit/files/patch-sshit.pl39
3 files changed, 5 insertions, 45 deletions
diff --git a/security/sshit/Makefile b/security/sshit/Makefile
index 1f39f039c518..a06263f3a049 100644
--- a/security/sshit/Makefile
+++ b/security/sshit/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sshit
-PORTVERSION= 0.5
-PORTREVISION= 1
+PORTVERSION= 0.6
CATEGORIES= security
MASTER_SITES= http://anp.ath.cx/sshit/ \
${MASTER_SITE_LOCAL}
@@ -33,7 +32,7 @@ IGNORE= perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try
.endif
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/sbin/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf-dist
post-install:
diff --git a/security/sshit/distinfo b/security/sshit/distinfo
index 011dbbd2825a..0d2f04f78f1f 100644
--- a/security/sshit/distinfo
+++ b/security/sshit/distinfo
@@ -1,3 +1,3 @@
-MD5 (sshit-0.5.tar.gz) = 1b3f40e08a10919820eb5ecbfa3bc34b
-SHA256 (sshit-0.5.tar.gz) = eb65e94820fbfbd75d8227de9cd7f42b8b497c1bfac350fbb9d4ef51d85b442d
-SIZE (sshit-0.5.tar.gz) = 4065
+MD5 (sshit-0.6.tar.gz) = 9c71b88217bcf3164ec44be85674b666
+SHA256 (sshit-0.6.tar.gz) = 894ace091abc8f39024d2473e650b496002671bd726840afbd8d1bb01fe6b4f5
+SIZE (sshit-0.6.tar.gz) = 4404
diff --git a/security/sshit/files/patch-sshit.pl b/security/sshit/files/patch-sshit.pl
deleted file mode 100644
index 39db7a98ffcb..000000000000
--- a/security/sshit/files/patch-sshit.pl
+++ /dev/null
@@ -1,39 +0,0 @@
---- /usr/ports/security/sshit/work/sshit-0.5/sshit.pl Sat Dec 17 19:40:24 2005
-+++ sshit.pl Sat Apr 29 08:39:06 2006
-@@ -232,7 +232,7 @@
- create => 1,
- exclusive => 0,
- mode => 0644,
-- destroy => 0,
-+ destroy => 1,
- );
-
- $handle = tie %list, 'IPC::Shareable', 'sshi', { %options };
-@@ -266,7 +266,7 @@
- {
- system("$IPFW_CMD delete $list{$ip}{rulenr}");
- } elsif ($FIREWALL_TYPE =~ /^ipfw2$/i) {
-- system("$IPFW2_CMD table $IPFW_TABLE_NO delete $ip");
-+ system("$IPFW2_CMD table $IPFW2_TABLE_NO delete $ip");
- } elsif ($FIREWALL_TYPE =~ /^pf$/i) {
- system("$PFCTL_CMD -t $PF_TABLE -Tdelete $ip");
- }
-@@ -337,3 +337,18 @@
- }
- }
- }
-+foreach $ip (keys %list) {
-+ if($FIREWALL_TYPE =~ /^ipfw$/i)
-+ {
-+ system("$IPFW_CMD delete $list{$ip}{rulenr}");
-+ } elsif ($FIREWALL_TYPE =~ /^ipfw2$/i) {
-+ system("$IPFW2_CMD table $IPFW2_TABLE_NO delete $ip");
-+ } elsif ($FIREWALL_TYPE =~ /^pf$/i) {
-+ system("$PFCTL_CMD -t $PF_TABLE -Tdelete $ip");
-+ }
-+ syslog(LOG_ERR, "main removed block rule $list{$ip}{rulenr} for $ip (reset time of $RESET_IP seconds reached)\n");
-+ delete($list{$ip});
-+}
-+
-+# clear all SHM
-+IPC::Shareable->clean_up;