summaryrefslogtreecommitdiff
path: root/security/sshblock
diff options
context:
space:
mode:
Diffstat (limited to 'security/sshblock')
-rw-r--r--security/sshblock/Makefile36
-rw-r--r--security/sshblock/distinfo2
-rw-r--r--security/sshblock/files/pkg-message.in18
-rw-r--r--security/sshblock/files/sshblock.in26
-rw-r--r--security/sshblock/pkg-descr6
5 files changed, 0 insertions, 88 deletions
diff --git a/security/sshblock/Makefile b/security/sshblock/Makefile
deleted file mode 100644
index fe4f316add02..000000000000
--- a/security/sshblock/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# Created by: Anders Nordby <anders@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= sshblock
-PORTVERSION= 1.0
-PORTREVISION= 1
-CATEGORIES= security
-MASTER_SITES= http://www.bsdconsulting.no/tools/
-EXTRACT_SUFX= .pl
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Block abusive SSH login attempts
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-RUN_DEPENDS= p5-File-Tail>=0:devel/p5-File-Tail
-
-NO_BUILD= yes
-NO_WRKSUBDIR= yes
-PLIST_FILES= sbin/sshblock
-USES= perl5 shebangfix
-USE_RC_SUBR= sshblock
-SUB_LIST= PERL=${PERL}
-EXTRACT_CMD= ${CP}
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= ${WRKSRC}
-SUB_FILES+= pkg-message
-SHEBANG_FILES= ${WRKSRC}/sshblock-${PORTVERSION}.pl
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/sshblock-${PORTVERSION}.pl \
- ${STAGEDIR}${PREFIX}/sbin/sshblock
-
-.include <bsd.port.mk>
diff --git a/security/sshblock/distinfo b/security/sshblock/distinfo
deleted file mode 100644
index 8ad5e6661e16..000000000000
--- a/security/sshblock/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (sshblock-1.0.pl) = 92a3be2ebc41456d5a69fea86f51f9e04ed199dd7a564148b1552441b6ee4667
-SIZE (sshblock-1.0.pl) = 6926
diff --git a/security/sshblock/files/pkg-message.in b/security/sshblock/files/pkg-message.in
deleted file mode 100644
index ab5acfaa6ccb..000000000000
--- a/security/sshblock/files/pkg-message.in
+++ /dev/null
@@ -1,18 +0,0 @@
-[
-{ type: install
- message: <<EOM
-To enable and use the sshblock daemon, use the following in /etc/rc.conf or
-/etc/rc.conf.local:
-
-sshblock_enable="YES"
-
-To set flags/options (optional), add:
-
-sshblock_flags="<flags>"
-
-See %%PREFIX%%/sbin/sshblock -h for possible command line options.
-
-Use %%PREFIX%%/etc/rc.d/sshblock to stop and start it.
-EOM
-}
-]
diff --git a/security/sshblock/files/sshblock.in b/security/sshblock/files/sshblock.in
deleted file mode 100644
index 0da0d074fb97..000000000000
--- a/security/sshblock/files/sshblock.in
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: sshblock
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf to enable sshblock:
-# sshblock_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable sshblock
-# sshblock_flags (string): Set sshblock flags (optional)
-#
-
-. /etc/rc.subr
-
-name="sshblock"
-rcvar=sshblock_enable
-
-command_interpreter=%%PERL%%
-command="%%PREFIX%%/sbin/sshblock"
-
-load_rc_config $name
-: ${sshblock_enable="NO"}
-
-run_rc_command "$1"
diff --git a/security/sshblock/pkg-descr b/security/sshblock/pkg-descr
deleted file mode 100644
index 791b7ffbafb7..000000000000
--- a/security/sshblock/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-SSHBlock is a daemon to monitor a syslog log for break-in attempts using
-SSH, and to automatically block bad hosts by adding lines to /etc/hosts.allow
-(TCP Wrappers). Several thresholds are pre-defined, to be able to block those
-trying many attempts within a longer or shorter period.
-
-WWW: http://www.bsdconsulting.no/tools/