summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boman <mboman@gentoo.org>2004-03-22 12:20:59 +0000
committerMichael Boman <mboman@gentoo.org>2004-03-22 12:20:59 +0000
commitc8f5377c980488aa70245a7b0f6d083b96c27042 (patch)
treeacc0da24619e4473ecf8a5178ee262b44314d196 /net-analyzer/snorticus
parentfix fam message (Manifest recommit) (diff)
downloadgentoo-2-c8f5377c980488aa70245a7b0f6d083b96c27042.tar.gz
gentoo-2-c8f5377c980488aa70245a7b0f6d083b96c27042.tar.bz2
gentoo-2-c8f5377c980488aa70245a7b0f6d083b96c27042.zip
QA: DEPEND/RDEPEND (see bug 45343). Noticed that it used plain patch instead of epatch, which also got fixed. The installed shell scripts depends on csh/tcsh which was not listed as a dependency, and the search path for the interpreter was wrong as well. All these issues fixed.
Diffstat (limited to 'net-analyzer/snorticus')
-rw-r--r--net-analyzer/snorticus/ChangeLog10
-rw-r--r--net-analyzer/snorticus/metadata.xml10
-rw-r--r--net-analyzer/snorticus/snorticus-1.0.4.ebuild23
3 files changed, 30 insertions, 13 deletions
diff --git a/net-analyzer/snorticus/ChangeLog b/net-analyzer/snorticus/ChangeLog
index d865d42ce267..88d1c3ff210a 100644
--- a/net-analyzer/snorticus/ChangeLog
+++ b/net-analyzer/snorticus/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/snorticus
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snorticus/ChangeLog,v 1.1 2003/02/13 10:19:02 aliz Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snorticus/ChangeLog,v 1.2 2004/03/22 12:20:59 mboman Exp $
+
+ 22 Mar 2004; Michael Boman <mboman@gentoo.org> snorticus-1.0.4.ebuild:
+ QA: DEPEND/RDEPEND (see bug 45343). Noticed that it used plain patch instead
+ of epatch, which also got fixed. The installed shell scripts depends on
+ csh/tcsh which was not listed as a dependency, and the search path for the
+ interpreter was wrong as well. All these issues fixed.
*snorticus-1.0.4 (13 Feb 2003)
diff --git a/net-analyzer/snorticus/metadata.xml b/net-analyzer/snorticus/metadata.xml
new file mode 100644
index 000000000000..84307dec76ac
--- /dev/null
+++ b/net-analyzer/snorticus/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>netmon</herd>
+ <maintainer>
+ <email>mboman@gentoo.org</email>
+ <description>Interim Maintainer</description>
+ </maintainer>
+<longdescription>Snorticus is a collection of shell scripts designed to allow easy managment of Snort sensors.</longdescription>
+</pkgmetadata>
diff --git a/net-analyzer/snorticus/snorticus-1.0.4.ebuild b/net-analyzer/snorticus/snorticus-1.0.4.ebuild
index b7d67e2f2f38..563425476f42 100644
--- a/net-analyzer/snorticus/snorticus-1.0.4.ebuild
+++ b/net-analyzer/snorticus/snorticus-1.0.4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snorticus/snorticus-1.0.4.ebuild,v 1.3 2003/09/05 23:40:10 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snorticus/snorticus-1.0.4.ebuild,v 1.4 2004/03/22 12:20:59 mboman Exp $
-DESCRIPTION="Snorticus is a collection of shell scripts designed to allow easy
-managment of Snort sensors."
+inherit eutils
+DESCRIPTION="Snorticus is a collection of shell scripts designed to allow easy managment of Snort sensors."
HOMEPAGE="http://snorticus.baysoft.net/"
SRC_URI="http://snorticus.baysoft.net/snorticus/${P}.tar.gz"
LICENSE="GPL-2"
@@ -12,23 +12,24 @@ SLOT="0"
KEYWORDS="x86"
IUSE=""
-RDEPEND="virtual/glibc
+DEPEND=""
+RDEPEND="
+ app-shells/tcsh
net-analyzer/snort
net-analyzer/snortsnarf
sys-apps/sh-utils
net-misc/openssh"
-DEPEND="${RDEPEND}"
-
src_unpack() {
unpack ${A}
cd ${S}
- patch -p0 < ${FILESDIR}/${P}-gentoo.patch || die
-}
+ epatch ${FILESDIR}/${P}-gentoo.patch
-src_compile() {
- return 0
+ for file in hourly_wrapup.sh push_rules.sh retrieve_wrapup.sh
+ do
+ sed -i s:/usr/bin/csh:/bin/csh: $file
+ done
}
src_install () {