diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-05-22 05:07:01 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-05-22 05:07:01 +0000 |
commit | 0abd3b3dbb910034f4802e1644f3323bab1e1d66 (patch) | |
tree | c88fc9f9d460cfb3c84152d93c6722650c142b06 /dev-util/rats | |
parent | add none to IUSE_INPUT_DEVICES #133906 by James Le Cuirot (diff) | |
download | gentoo-2-0abd3b3dbb910034f4802e1644f3323bab1e1d66.tar.gz gentoo-2-0abd3b3dbb910034f4802e1644f3323bab1e1d66.tar.bz2 gentoo-2-0abd3b3dbb910034f4802e1644f3323bab1e1d66.zip |
Fix a segfault that ChrisWhite complained about, bug #123395.
(Portage version: 2.1_rc1-r2)
Diffstat (limited to 'dev-util/rats')
-rw-r--r-- | dev-util/rats/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/rats/files/digest-rats-2.1 | 2 | ||||
-rw-r--r-- | dev-util/rats/files/digest-rats-2.1-r1 | 3 | ||||
-rw-r--r-- | dev-util/rats/files/rats-2.1-add-getopt-trailing-null.patch | 11 | ||||
-rw-r--r-- | dev-util/rats/rats-2.1-r1.ebuild | 28 |
5 files changed, 51 insertions, 1 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/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 +} |