summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-07-08 20:59:10 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-07-08 20:59:10 +0000
commita5988221a39f9ed6da40a7e241a25f6a0026c3b2 (patch)
treeada5be58ecc13052a74d1520426d186e5e122b6b /net-analyzer/portsentry
parentVersion bumped. Closes #24124 (diff)
downloadhistorical-a5988221a39f9ed6da40a7e241a25f6a0026c3b2.tar.gz
historical-a5988221a39f9ed6da40a7e241a25f6a0026c3b2.tar.bz2
historical-a5988221a39f9ed6da40a7e241a25f6a0026c3b2.zip
Version bumped. Closes #24124
Diffstat (limited to 'net-analyzer/portsentry')
-rw-r--r--net-analyzer/portsentry/Manifest6
-rw-r--r--net-analyzer/portsentry/files/digest-portsentry-1.21
-rw-r--r--net-analyzer/portsentry/portsentry-1.1-r7.ebuild4
-rw-r--r--net-analyzer/portsentry/portsentry-1.2.ebuild56
4 files changed, 62 insertions, 5 deletions
diff --git a/net-analyzer/portsentry/Manifest b/net-analyzer/portsentry/Manifest
index e4db265174c9..c964ecde452d 100644
--- a/net-analyzer/portsentry/Manifest
+++ b/net-analyzer/portsentry/Manifest
@@ -1,6 +1,6 @@
-MD5 275d0c3a7e2ea6649ee6671536638ad3 ChangeLog 1602
-MD5 dbe9e0549e0e46a685561ed89b9874c9 portsentry-1.1-r7.ebuild 1733
-MD5 5b6bf3e4ad7e38639d35ef99a65650eb portsentry-1.2.ebuild 1752
+MD5 61ac536574c086df64901204ab6a46be ChangeLog 1766
+MD5 cae2cec437569ae2b5d3e8389869a63e portsentry-1.1-r7.ebuild 1732
+MD5 607fddd79a7826bd11cbcc609f180ff8 portsentry-1.2.ebuild 1772
MD5 78771791b063cd2784d6b60d5ad9f89f files/digest-portsentry-1.1-r7 65
MD5 cb697669e22866aafbfa76e941c21e37 files/portsentry.confd 90
MD5 8bc2e5465021071443fbd1be780cb91d files/portsentry.rc6 980
diff --git a/net-analyzer/portsentry/files/digest-portsentry-1.2 b/net-analyzer/portsentry/files/digest-portsentry-1.2
new file mode 100644
index 000000000000..fcbdcc579cb2
--- /dev/null
+++ b/net-analyzer/portsentry/files/digest-portsentry-1.2
@@ -0,0 +1 @@
+MD5 3ebd3618ba9abfea2525e236bd44cebd portsentry-1.2.tar.gz 48054
diff --git a/net-analyzer/portsentry/portsentry-1.1-r7.ebuild b/net-analyzer/portsentry/portsentry-1.1-r7.ebuild
index 6992a01f1169..ab5b1b71e24d 100644
--- a/net-analyzer/portsentry/portsentry-1.1-r7.ebuild
+++ b/net-analyzer/portsentry/portsentry-1.1-r7.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/portsentry-1.1-r7.ebuild,v 1.6 2003/06/09 21:25:11 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/portsentry-1.1-r7.ebuild,v 1.7 2003/07/08 20:58:54 mholzer Exp $
DESCRIPTION="Automated port scan detector and response tool"
# Seems like CISCO took the site down?
-#HOMEPAGE="http://www.psionic.com/abacus/portsentry/"
+HOMEPAGE="http://sourceforge.net/projects/sentrytools/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
SLOT="0"
diff --git a/net-analyzer/portsentry/portsentry-1.2.ebuild b/net-analyzer/portsentry/portsentry-1.2.ebuild
new file mode 100644
index 000000000000..91b2348dfe2d
--- /dev/null
+++ b/net-analyzer/portsentry/portsentry-1.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/portsentry-1.2.ebuild,v 1.1 2003/07/08 20:58:54 mholzer Exp $
+
+DESCRIPTION="Automated port scan detector and response tool"
+# Seems like CISCO took the site down?
+HOMEPAGE="http://sourceforge.net/projects/sentrytools/"
+SRC_URI="mirror://sourceforge/sentrytools/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+DEPEND=">=sys-apps/sed-4"
+S=${WORKDIR}/${PN}_beta
+
+src_unpack() {
+
+ unpack ${A} ; cd ${S}
+
+ # Setting the portsentry.conf file location
+ sed -i \
+ -e 's:/usr/local/psionic/portsentry/portsentry.conf:/etc/portsentry/portsentry.conf:' \
+ portsentry_config.h || die "sed portsentry_config.h failed"
+
+ # presetting the other file locations in portsentry.conf
+ sed -i \
+ -e 's:\(^IGNORE_FILE\).*:\1="/etc/portsentry/portsentry.ignore":g' \
+ -e 's:^\(HISTORY_FILE\).*:\1="/etc/portsentry/portsentry.history":g' \
+ -e 's:^\(BLOCKED_FILE\).*:\1="/etc/portsentry/portsentry.blocked":g' \
+ portsentry.conf || die "sed portsentry.conf failed"
+
+ sed -i \
+ -e "s:^set SENTRYDIR.*:set SENTRYDIR=/etc/portsentry:g" \
+ ignore.csh || die "sed ignore.csh failed"
+}
+
+src_compile() {
+
+ make CFLAGS="${CFLAGS}" linux || die
+}
+
+src_install() {
+
+ dobin portsentry ignore.csh
+ dodoc README* CHANGES LICENSE CREDITS
+ newdoc portsentry.ignore portsentry.ignore.sample
+ newdoc portsentry.conf portsentry.conf.sample
+
+ insinto /etc/portsentry
+ newins portsentry.ignore portsentry.ignore.sample
+ newins portsentry.conf portsentry.conf.sample
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/portsentry.rc6 portsentry
+ insinto /etc/conf.d ; newins ${FILESDIR}/portsentry.confd portsentry
+}