summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2007-05-02 21:14:55 +0000
committerMike Auty <ikelos@gentoo.org>2007-05-02 21:14:55 +0000
commit362e8f8dae3afb30681b7fdfc23ece08abdd14f3 (patch)
tree95f4d1321ef2bd76b4fdaf1244b64d586f159bc0 /net-analyzer/nipper
parentVersion bumped. Closing #167469. (diff)
downloadgentoo-2-362e8f8dae3afb30681b7fdfc23ece08abdd14f3.tar.gz
gentoo-2-362e8f8dae3afb30681b7fdfc23ece08abdd14f3.tar.bz2
gentoo-2-362e8f8dae3afb30681b7fdfc23ece08abdd14f3.zip
Initial commit.
(Portage version: 2.1.2.5)
Diffstat (limited to 'net-analyzer/nipper')
-rw-r--r--net-analyzer/nipper/ChangeLog11
-rw-r--r--net-analyzer/nipper/Manifest24
-rw-r--r--net-analyzer/nipper/files/digest-nipper-0.9.43
-rw-r--r--net-analyzer/nipper/files/nipper-0.9.4-banner-exclamation.patch12
-rw-r--r--net-analyzer/nipper/files/nipper-0.9.4-pix-xml.patch23
-rw-r--r--net-analyzer/nipper/metadata.xml10
-rw-r--r--net-analyzer/nipper/nipper-0.9.4.ebuild32
7 files changed, 115 insertions, 0 deletions
diff --git a/net-analyzer/nipper/ChangeLog b/net-analyzer/nipper/ChangeLog
new file mode 100644
index 000000000000..3a519c04bd6a
--- /dev/null
+++ b/net-analyzer/nipper/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-analyzer/nipper
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nipper/ChangeLog,v 1.1 2007/05/02 21:14:55 ikelos Exp $
+
+*nipper-0.9.4 (02 May 2007)
+
+ 02 May 2007; Mike Auty <ikelos@gentoo.org>
+ +files/nipper-0.9.4-banner-exclamation.patch,
+ +files/nipper-0.9.4-pix-xml.patch, +metadata.xml, +nipper-0.9.4.ebuild:
+ Initial commit.
+
diff --git a/net-analyzer/nipper/Manifest b/net-analyzer/nipper/Manifest
new file mode 100644
index 000000000000..3c19fb21ddcd
--- /dev/null
+++ b/net-analyzer/nipper/Manifest
@@ -0,0 +1,24 @@
+AUX nipper-0.9.4-banner-exclamation.patch 493 RMD160 dd4758d4b3a0f9ba2e727f0c8278d823a9046750 SHA1 071a7345650c390c813a4cfeb7ba1a7d50f99f28 SHA256 00207b96e6be83342a273fe2ca9897cfe36c94e08a70495d417637d0f02449f0
+MD5 c7cfdce19f275adb9180ef93a570a035 files/nipper-0.9.4-banner-exclamation.patch 493
+RMD160 dd4758d4b3a0f9ba2e727f0c8278d823a9046750 files/nipper-0.9.4-banner-exclamation.patch 493
+SHA256 00207b96e6be83342a273fe2ca9897cfe36c94e08a70495d417637d0f02449f0 files/nipper-0.9.4-banner-exclamation.patch 493
+AUX nipper-0.9.4-pix-xml.patch 1984 RMD160 49fc1b7b80ab5142752775196e6eea913b422bbe SHA1 b65ef46ecc36bf021c3a780fd15d5a194e3764e2 SHA256 9447313a98086ef62f4dc3c85c3e8ad45936b0e8c5f392dfcb1d1771e85c53ed
+MD5 525626ee91e5a2ae27a7a0a5abac290f files/nipper-0.9.4-pix-xml.patch 1984
+RMD160 49fc1b7b80ab5142752775196e6eea913b422bbe files/nipper-0.9.4-pix-xml.patch 1984
+SHA256 9447313a98086ef62f4dc3c85c3e8ad45936b0e8c5f392dfcb1d1771e85c53ed files/nipper-0.9.4-pix-xml.patch 1984
+DIST nipper-0.9.4.tgz 140377 RMD160 e2e34e5bb418a07f168265ce43e895d894365a4c SHA1 42ccaf0fb165647a5dcf37a528212274d0daef45 SHA256 2a3b2d986a175f623a94d26c93a0351677418a47d9b45c9040e7dec1a21de14d
+EBUILD nipper-0.9.4.ebuild 663 RMD160 e995339ee06052c385fb1cd070b3ac2bafffd318 SHA1 c2c776fcdd8be9bf8ddf857d03ea047d4e4070db SHA256 24f44bf473e9a27ea919d4f84ab2732c6b50dffbe6c63033223d249bb2175677
+MD5 bae65229ba83f4ea674b02b147a7d03d nipper-0.9.4.ebuild 663
+RMD160 e995339ee06052c385fb1cd070b3ac2bafffd318 nipper-0.9.4.ebuild 663
+SHA256 24f44bf473e9a27ea919d4f84ab2732c6b50dffbe6c63033223d249bb2175677 nipper-0.9.4.ebuild 663
+MISC ChangeLog 335 RMD160 c2243736dbe3118019503200a30ed5f9d624ecc0 SHA1 95b5817a6009e35a2681c05d7a36583bf41e4e1d SHA256 79f74afd5188c693af09041d82a35ae9c9e62ba57e279660402ea14e479e77c8
+MD5 d79a748a37a23db60feb71374fbe9375 ChangeLog 335
+RMD160 c2243736dbe3118019503200a30ed5f9d624ecc0 ChangeLog 335
+SHA256 79f74afd5188c693af09041d82a35ae9c9e62ba57e279660402ea14e479e77c8 ChangeLog 335
+MISC metadata.xml 363 RMD160 01fe79957007968468460d3e461fbf60f393925b SHA1 1c4b57bb5c7215e582a23593abf6ed436b525a70 SHA256 c250d9259c70da469184ee9d45a74309c698e56cd5e894885fb7535de4f54890
+MD5 948354d52df710e9c181cc9d1bb922ab metadata.xml 363
+RMD160 01fe79957007968468460d3e461fbf60f393925b metadata.xml 363
+SHA256 c250d9259c70da469184ee9d45a74309c698e56cd5e894885fb7535de4f54890 metadata.xml 363
+MD5 b40e09f2051990a43d360c5105cee829 files/digest-nipper-0.9.4 229
+RMD160 c85c89cecf70cbc4d843abed7bc51b2f4b27ad9f files/digest-nipper-0.9.4 229
+SHA256 22c22dc45e3fe9a88d2a50190414eb3b8faf8dcf1a46b84f5969fe4f8e076623 files/digest-nipper-0.9.4 229
diff --git a/net-analyzer/nipper/files/digest-nipper-0.9.4 b/net-analyzer/nipper/files/digest-nipper-0.9.4
new file mode 100644
index 000000000000..a3a7e7695bc5
--- /dev/null
+++ b/net-analyzer/nipper/files/digest-nipper-0.9.4
@@ -0,0 +1,3 @@
+MD5 16ad94b950e3b1e449581634916e4f3b nipper-0.9.4.tgz 140377
+RMD160 e2e34e5bb418a07f168265ce43e895d894365a4c nipper-0.9.4.tgz 140377
+SHA256 2a3b2d986a175f623a94d26c93a0351677418a47d9b45c9040e7dec1a21de14d nipper-0.9.4.tgz 140377
diff --git a/net-analyzer/nipper/files/nipper-0.9.4-banner-exclamation.patch b/net-analyzer/nipper/files/nipper-0.9.4-banner-exclamation.patch
new file mode 100644
index 000000000000..c8e0164ff9d8
--- /dev/null
+++ b/net-analyzer/nipper/files/nipper-0.9.4-banner-exclamation.patch
@@ -0,0 +1,12 @@
+diff -uNr nipper-0.9.4/IOS/process-banner.c nipper-0.9.4.orig/IOS/process-banner.c
+--- nipper-0.9.4/IOS/process-banner.c 2007-05-01 15:37:19.000000000 +0100
++++ nipper-0.9.4.orig/IOS/process-banner.c 2007-04-29 12:40:45.000000000 +0100
+@@ -53,7 +53,7 @@
+ readLine(input, line, lineSize);
+
+ // Get all parts of the banner message...
++ while ((strstr(line, bannerTerminator) == 0))
+- while ((strstr(line, bannerTerminator) == 0) && (line[0] != '!'))
+ {
+ if (debugMode == true)
+ {
diff --git a/net-analyzer/nipper/files/nipper-0.9.4-pix-xml.patch b/net-analyzer/nipper/files/nipper-0.9.4-pix-xml.patch
new file mode 100644
index 000000000000..76f45ddf060e
--- /dev/null
+++ b/net-analyzer/nipper/files/nipper-0.9.4-pix-xml.patch
@@ -0,0 +1,23 @@
+diff -uNr nipper-0.9.4.orig/PIX/report.c nipper-0.9.4/PIX/report.c
+--- nipper-0.9.4.orig/PIX/report.c 2007-04-29 12:40:45.000000000 +0100
++++ nipper-0.9.4/PIX/report.c 2007-05-01 15:25:37.000000000 +0100
+@@ -622,6 +622,7 @@
+ output_table(reportFile, reportFormat, false, passwords, settings_ssh_table, &settings_general_heading, tableNum, friendlyHostname);
+ tableNum++;
+ addAbbreviation("SSH", false);
++ output_endsection(reportFile, reportFormat, subsection_end);
+ }
+
+ // Interfaces
+diff -uNr nipper-0.9.4.orig/report-text.c nipper-0.9.4/report-text.c
+--- nipper-0.9.4.orig/report-text.c 2007-04-29 12:40:46.000000000 +0100
++++ nipper-0.9.4/report-text.c 2007-05-01 15:25:18.000000000 +0100
+@@ -784,7 +784,7 @@
+
+ // Objects
+ const char *settings_objects_title = "Object Groups";
+-const char *settings_objects_desc = "Cisco object groups can be used to group items such as *ABBREV*IP*-ABBREV* addresses, services and protocols. Object groups can be used with any Cisco security appliance command and the command will be effective for all members of the group, this can significantly simplify the devices configuration. Furthermore, object groups can be members or other object groups. There are different types of object group:*NONEWPARA*";
++const char *settings_objects_desc = "Cisco object groups can be used to group items such as *ABBREV*IP*-ABBREV* addresses, services and protocols. Object groups can be used with any Cisco security appliance command and the command will be effective for all members of the group, this can significantly simplify the devices configuration. Furthermore, object groups can be members or other object groups. There are different types of object group:";
+ struct tableHeading settings_objects_heading3 = {false, 1, "ICMP Types", 0};
+ struct tableHeading settings_objects_heading2 = {false, 1, "Networks", &settings_objects_heading3};
+ struct tableHeading settings_objects_heading1 = {false, 1, "Protocols", &settings_objects_heading2};
diff --git a/net-analyzer/nipper/metadata.xml b/net-analyzer/nipper/metadata.xml
new file mode 100644
index 000000000000..753e2c63e202
--- /dev/null
+++ b/net-analyzer/nipper/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>no-herd</herd>
+ <maintainer>
+ <email>ikelos@gentoo.org</email>
+ <name>Mike Auty</name>
+ </maintainer>
+ <longdescription>A security tool for auditing cisco and other firewall device configurations.</longdescription>
+</pkgmetadata>
diff --git a/net-analyzer/nipper/nipper-0.9.4.ebuild b/net-analyzer/nipper/nipper-0.9.4.ebuild
new file mode 100644
index 000000000000..8668c288b784
--- /dev/null
+++ b/net-analyzer/nipper/nipper-0.9.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nipper/nipper-0.9.4.ebuild,v 1.1 2007/05/02 21:14:55 ikelos Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Script to parse and report on Cisco config errors"
+HOMEPAGE="http://www.sourceforge.net/projects/nipper"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-libs/glibc"
+RDEPEND="sys-libs/glibc"
+
+RESTRICT="mirror"
+
+src_compile() {
+ epatch ${FILESDIR}/${P}-pix-xml.patch
+ epatch ${FILESDIR}/${P}-banner-exclamation.patch
+
+ cd ${S}
+ $(tc-getCC) ${CFLAGS} ${PN}.c -o${PN}
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc INSTALL LICENSE TODO Changelog
+}