summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-05-22 05:07:01 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-05-22 05:07:01 +0000
commit85db03da6ed925cb81392b20a1a15a23039224db (patch)
treed0548c1842321a462ac2d213dbbbe3f01d19afcc /dev-util/rats
parentadd none to IUSE_INPUT_DEVICES #133906 by James Le Cuirot (diff)
downloadhistorical-85db03da6ed925cb81392b20a1a15a23039224db.tar.gz
historical-85db03da6ed925cb81392b20a1a15a23039224db.tar.bz2
historical-85db03da6ed925cb81392b20a1a15a23039224db.zip
Fix a segfault that ChrisWhite complained about, bug #123395.
Package-Manager: portage-2.1_rc1-r2
Diffstat (limited to 'dev-util/rats')
-rw-r--r--dev-util/rats/ChangeLog8
-rw-r--r--dev-util/rats/Manifest27
-rw-r--r--dev-util/rats/files/digest-rats-2.12
-rw-r--r--dev-util/rats/files/digest-rats-2.1-r13
-rw-r--r--dev-util/rats/files/rats-2.1-add-getopt-trailing-null.patch11
-rw-r--r--dev-util/rats/rats-2.1-r1.ebuild28
6 files changed, 70 insertions, 9 deletions
diff --git a/dev-util/rats/ChangeLog b/dev-util/rats/ChangeLog
index 178428348908..a7501295db7b 100644
--- a/dev-util/rats/ChangeLog
+++ b/dev-util/rats/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/rats
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/rats/ChangeLog,v 1.10 2006/05/06 12:51:06 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/rats/ChangeLog,v 1.11 2006/05/22 05:07:01 robbat2 Exp $
+
+*rats-2.1-r1 (22 May 2006)
+
+ 22 May 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +files/rats-2.1-add-getopt-trailing-null.patch, +rats-2.1-r1.ebuild:
+ Fix a segfault that ChrisWhite complained about, bug #123395.
21 Feb 2005; Robin H. Johnson <robbat2@gentoo.org> rats-2.1.ebuild:
Add ~amd64 for tigger@gentoo.org.
diff --git a/dev-util/rats/Manifest b/dev-util/rats/Manifest
index 7e6fd5614390..56f1f18e0d45 100644
--- a/dev-util/rats/Manifest
+++ b/dev-util/rats/Manifest
@@ -1,16 +1,27 @@
-DIST rats-2.1.tar.gz 326930 size 326930
+AUX rats-2.1-add-getopt-trailing-null.patch 367 RMD160 828617e1131d5fbc3dbfca6a0bc1fc987395d58d SHA1 4d93f6c4bc2d74ae9a93a531b295adb06f913011 SHA256 53ea4b679683af99ddfe1eb997038786caee9e69a3bcbb0f4bc9815a2eb3327d size 367
+MD5 82bb94ac0852d3570248496af1ae76f7 files/rats-2.1-add-getopt-trailing-null.patch 367
+RMD160 828617e1131d5fbc3dbfca6a0bc1fc987395d58d files/rats-2.1-add-getopt-trailing-null.patch 367
+SHA256 53ea4b679683af99ddfe1eb997038786caee9e69a3bcbb0f4bc9815a2eb3327d files/rats-2.1-add-getopt-trailing-null.patch 367
+DIST rats-2.1.tar.gz 326930 RMD160 6385ff617bf629b03eff64f5563963c905341f22 SHA256 ec9fac2765b655c03cede8c5920de3226581f1e626be314bce95f4d0ac9aadd9 size 326930
+EBUILD rats-2.1-r1.ebuild 775 RMD160 c8820713dd5e46b904353cb84b61f6271e98b7da SHA1 e55a89a48447cb8f2ab8f7e5bf5ca6b605fd5bf7 SHA256 988a1830261121fe5b5191897710e930317d36df25da63678c162a2f5d089a2b size 775
+MD5 4f6aa7a7c5ca958579d4136e71bb393e rats-2.1-r1.ebuild 775
+RMD160 c8820713dd5e46b904353cb84b61f6271e98b7da rats-2.1-r1.ebuild 775
+SHA256 988a1830261121fe5b5191897710e930317d36df25da63678c162a2f5d089a2b rats-2.1-r1.ebuild 775
EBUILD rats-2.1.ebuild 690 RMD160 100164f2729df028556a81b953199d90883f8054 SHA1 354b7171dd714e6f29bfe217a7e036a6b1f0ea58 SHA256 e930b48e66f2d0c6caad26d1b7049011ee356d8bc6a1a6b933fa87652a4e2343 size 690
MD5 0a64e4533250d7d83f6a102bc46635f7 rats-2.1.ebuild 690
RMD160 100164f2729df028556a81b953199d90883f8054 rats-2.1.ebuild 690
SHA256 e930b48e66f2d0c6caad26d1b7049011ee356d8bc6a1a6b933fa87652a4e2343 rats-2.1.ebuild 690
-MISC ChangeLog 917 RMD160 588a6ef97c605142cdac6c6af1aec34b7e00d480 SHA1 4b4ac0dc9b6212a92f7aa405153094497ffab21f SHA256 2ac955f21f47e03934546e897b5ba8b01a33cb3a6dc031654627e9322f67e6c3 size 917
-MD5 4616eba4ab648b39c498dc4086622f47 ChangeLog 917
-RMD160 588a6ef97c605142cdac6c6af1aec34b7e00d480 ChangeLog 917
-SHA256 2ac955f21f47e03934546e897b5ba8b01a33cb3a6dc031654627e9322f67e6c3 ChangeLog 917
+MISC ChangeLog 1136 RMD160 e03ae8e81860d867c50c289ea9bf19a754f17788 SHA1 c66942bbf295bdac82b52b4cc1655c0c5b652dca SHA256 8ffe77b4a740c93a45db455c9bdce5979a8811defacc1ffe92f68674019f245a size 1136
+MD5 f3cbc679a56460e8a1d3de6c83f27ac7 ChangeLog 1136
+RMD160 e03ae8e81860d867c50c289ea9bf19a754f17788 ChangeLog 1136
+SHA256 8ffe77b4a740c93a45db455c9bdce5979a8811defacc1ffe92f68674019f245a ChangeLog 1136
MISC metadata.xml 611 RMD160 51ee5aab1aff5bda5dbeae8bc3f6f28c104831d4 SHA1 41763839b4b9b8d8ce703a9497de4313eb4cbf14 SHA256 70d9c19540099146b4fca813f2577e3c20ea8ea5066682046b06750700400d94 size 611
MD5 2ce0a08044233480d52a129c2d6a9626 metadata.xml 611
RMD160 51ee5aab1aff5bda5dbeae8bc3f6f28c104831d4 metadata.xml 611
SHA256 70d9c19540099146b4fca813f2577e3c20ea8ea5066682046b06750700400d94 metadata.xml 611
-MD5 8fb964cfedcbee2033a2d3eb94bc0db1 files/digest-rats-2.1 60
-RMD160 7439a669ad1a0ffc68f2f15ca1e93d2a9a63362f files/digest-rats-2.1 60
-SHA256 b546a842bcdfa8143cf340e2c34936ec5badb7d35f1ef3f71ae3b616ad91e58b files/digest-rats-2.1 60
+MD5 9f58ff5c9bd41c9c8648b06484505c58 files/digest-rats-2.1 226
+RMD160 2c6324fca18d29da4a2c0b0220d9d0a8f572baa9 files/digest-rats-2.1 226
+SHA256 0894c5cfdc5c51689bf60e833061e829d4d44f89f84a52ad9cebc2827a663be9 files/digest-rats-2.1 226
+MD5 9f58ff5c9bd41c9c8648b06484505c58 files/digest-rats-2.1-r1 226
+RMD160 2c6324fca18d29da4a2c0b0220d9d0a8f572baa9 files/digest-rats-2.1-r1 226
+SHA256 0894c5cfdc5c51689bf60e833061e829d4d44f89f84a52ad9cebc2827a663be9 files/digest-rats-2.1-r1 226
diff --git a/dev-util/rats/files/digest-rats-2.1 b/dev-util/rats/files/digest-rats-2.1
index e9aca1f7e5b4..cf460df77785 100644
--- a/dev-util/rats/files/digest-rats-2.1
+++ b/dev-util/rats/files/digest-rats-2.1
@@ -1 +1,3 @@
MD5 adf31806f1eff0c353abcfd57653ecb3 rats-2.1.tar.gz 326930
+RMD160 6385ff617bf629b03eff64f5563963c905341f22 rats-2.1.tar.gz 326930
+SHA256 ec9fac2765b655c03cede8c5920de3226581f1e626be314bce95f4d0ac9aadd9 rats-2.1.tar.gz 326930
diff --git a/dev-util/rats/files/digest-rats-2.1-r1 b/dev-util/rats/files/digest-rats-2.1-r1
new file mode 100644
index 000000000000..cf460df77785
--- /dev/null
+++ b/dev-util/rats/files/digest-rats-2.1-r1
@@ -0,0 +1,3 @@
+MD5 adf31806f1eff0c353abcfd57653ecb3 rats-2.1.tar.gz 326930
+RMD160 6385ff617bf629b03eff64f5563963c905341f22 rats-2.1.tar.gz 326930
+SHA256 ec9fac2765b655c03cede8c5920de3226581f1e626be314bce95f4d0ac9aadd9 rats-2.1.tar.gz 326930
diff --git a/dev-util/rats/files/rats-2.1-add-getopt-trailing-null.patch b/dev-util/rats/files/rats-2.1-add-getopt-trailing-null.patch
new file mode 100644
index 000000000000..65ea6df1f456
--- /dev/null
+++ b/dev-util/rats/files/rats-2.1-add-getopt-trailing-null.patch
@@ -0,0 +1,11 @@
+diff -Nuar --exclude '*~' rats-2.1.orig/main.c rats-2.1/main.c
+--- rats-2.1.orig/main.c 2002-09-16 21:05:43.000000000 -0700
++++ rats-2.1/main.c 2006-05-21 21:56:29.578601459 -0700
+@@ -278,6 +278,7 @@
+ {"columns", 0,0,0},
+ {"context", 0,0,0},
+ {"all-static", 0,0,0},
++ {NULL,0,0,0}
+ };
+ progname = argv[0];
+ flags|=RECURSIVE_FILE_SCAN;
diff --git a/dev-util/rats/rats-2.1-r1.ebuild b/dev-util/rats/rats-2.1-r1.ebuild
new file mode 100644
index 000000000000..b6e013a57acb
--- /dev/null
+++ b/dev-util/rats/rats-2.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/rats/rats-2.1-r1.ebuild,v 1.1 2006/05/22 05:07:01 robbat2 Exp $
+
+DESCRIPTION="RATS - Rough Auditing Tool for Security"
+HOMEPAGE="http://www.securesoftware.com/download_rats.htm"
+SRC_URI="http://www.securesoftware.com/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+DEPEND="dev-libs/expat
+ virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-add-getopt-trailing-null.patch
+}
+
+src_compile() {
+ econf --datadir="/usr/share/${PN}/" || die
+ emake || die
+}
+
+src_install () {
+ einstall SHAREDIR="${D}/usr/share/${PN}" MANDIR="${D}/usr/share/man" || die
+ dodoc README README.win32
+}