summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-09-16 19:20:18 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-09-16 19:20:18 +0000
commit9ed9765943af09654c5cb2430cd67ff61aeb4589 (patch)
tree465ec3d29f3beaca95bb10fc11bcecd9204b5293 /net-analyzer/portsentry
parentminor ebuild fixes (diff)
downloadgentoo-2-9ed9765943af09654c5cb2430cd67ff61aeb4589.tar.gz
gentoo-2-9ed9765943af09654c5cb2430cd67ff61aeb4589.tar.bz2
gentoo-2-9ed9765943af09654c5cb2430cd67ff61aeb4589.zip
Added gcc patch. Closes #28663.
Diffstat (limited to 'net-analyzer/portsentry')
-rw-r--r--net-analyzer/portsentry/ChangeLog5
-rw-r--r--net-analyzer/portsentry/Manifest5
-rw-r--r--net-analyzer/portsentry/files/gcc.patch13
-rw-r--r--net-analyzer/portsentry/portsentry-1.2.ebuild6
4 files changed, 22 insertions, 7 deletions
diff --git a/net-analyzer/portsentry/ChangeLog b/net-analyzer/portsentry/ChangeLog
index fd8fa6be69f9..691505eefcca 100644
--- a/net-analyzer/portsentry/ChangeLog
+++ b/net-analyzer/portsentry/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/portsentry
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/ChangeLog,v 1.11 2003/07/08 20:58:54 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/ChangeLog,v 1.12 2003/09/16 19:20:12 mholzer Exp $
+
+ 16 Sep 2003; Martin Holzer <mholzer@gentoo.org> portsentry-1.2.ebuild:
+ Added gcc patch. Closes #28663.
*portsentry-1.2 (08 Jul 2003)
diff --git a/net-analyzer/portsentry/Manifest b/net-analyzer/portsentry/Manifest
index c964ecde452d..90fe8781a9db 100644
--- a/net-analyzer/portsentry/Manifest
+++ b/net-analyzer/portsentry/Manifest
@@ -1,6 +1,7 @@
-MD5 61ac536574c086df64901204ab6a46be ChangeLog 1766
+MD5 6c9e8db3af20ddf31b7b65c93ca59f30 ChangeLog 1874
MD5 cae2cec437569ae2b5d3e8389869a63e portsentry-1.1-r7.ebuild 1732
-MD5 607fddd79a7826bd11cbcc609f180ff8 portsentry-1.2.ebuild 1772
+MD5 6ab7e79364ef113e7ae6376e98f5f774 portsentry-1.2.ebuild 1799
+MD5 fa0bf7d77b9fbea4d067bc4045ef0658 files/gcc.patch 647
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/gcc.patch b/net-analyzer/portsentry/files/gcc.patch
new file mode 100644
index 000000000000..d7627cd425f9
--- /dev/null
+++ b/net-analyzer/portsentry/files/gcc.patch
@@ -0,0 +1,13 @@
+diff -urN portsentry_beta-old/portsentry.c portsentry_beta/portsentry.c
+--- portsentry_beta-old/portsentry.c 2003-09-13 21:46:13.000000000 -0400
++++ portsentry_beta/portsentry.c 2003-09-13 21:46:27.000000000 -0400
+@@ -1581,8 +1581,7 @@
+ Usage (void)
+ {
+ printf ("PortSentry - Port Scan Detector.\n");
+- printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot
+-sourceforget dot net>\n");
++ printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot sourceforget dot net>\n");
+ printf ("Licensing restrictions apply. Please see documentation\n");
+ printf ("Version: %s\n\n", VERSION);
+ #ifdef SUPPORT_STEALTH
diff --git a/net-analyzer/portsentry/portsentry-1.2.ebuild b/net-analyzer/portsentry/portsentry-1.2.ebuild
index 91b2348dfe2d..2d7120b12d0c 100644
--- a/net-analyzer/portsentry/portsentry-1.2.ebuild
+++ b/net-analyzer/portsentry/portsentry-1.2.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portsentry/portsentry-1.2.ebuild,v 1.2 2003/09/16 19:20:12 mholzer Exp $
DESCRIPTION="Automated port scan detector and response tool"
# Seems like CISCO took the site down?
@@ -15,7 +15,6 @@ DEPEND=">=sys-apps/sed-4"
S=${WORKDIR}/${PN}_beta
src_unpack() {
-
unpack ${A} ; cd ${S}
# Setting the portsentry.conf file location
@@ -33,15 +32,14 @@ src_unpack() {
sed -i \
-e "s:^set SENTRYDIR.*:set SENTRYDIR=/etc/portsentry:g" \
ignore.csh || die "sed ignore.csh failed"
+ epatch ${FILESDIR}/gcc.patch
}
src_compile() {
-
make CFLAGS="${CFLAGS}" linux || die
}
src_install() {
-
dobin portsentry ignore.csh
dodoc README* CHANGES LICENSE CREDITS
newdoc portsentry.ignore portsentry.ignore.sample