summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-01-29 15:52:45 +0000
committerNed Ludd <solar@gentoo.org>2006-01-29 15:52:45 +0000
commit8b2ee2da72c7e1879c0bfce6d5702ff7f9895369 (patch)
treecdf7fc843b3ab96eb5b46bc74164870fbadbc9c9 /app-misc/pax-utils
parentMoved move sci-mathematics/qtiplot to sci-visualization/qtiplot. (diff)
downloadhistorical-8b2ee2da72c7e1879c0bfce6d5702ff7f9895369.tar.gz
historical-8b2ee2da72c7e1879c0bfce6d5702ff7f9895369.tar.bz2
historical-8b2ee2da72c7e1879c0bfce6d5702ff7f9895369.zip
- bugfix. dont report false positives in quiet mode
Package-Manager: portage-2570-svn
Diffstat (limited to 'app-misc/pax-utils')
-rw-r--r--app-misc/pax-utils/ChangeLog8
-rw-r--r--app-misc/pax-utils/Manifest25
-rw-r--r--app-misc/pax-utils/files/digest-pax-utils-0.1.8-r13
-rw-r--r--app-misc/pax-utils/files/pax-utils-0.1.8-paxelf-fd-mmap.patch20
-rw-r--r--app-misc/pax-utils/pax-utils-0.1.8-r1.ebuild35
5 files changed, 82 insertions, 9 deletions
diff --git a/app-misc/pax-utils/ChangeLog b/app-misc/pax-utils/ChangeLog
index 8b8dd8132d1b..d84c96627cb8 100644
--- a/app-misc/pax-utils/ChangeLog
+++ b/app-misc/pax-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/pax-utils
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/ChangeLog,v 1.41 2006/01/28 20:35:28 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/ChangeLog,v 1.42 2006/01/29 15:52:45 solar Exp $
+
+*pax-utils-0.1.8-r1 (29 Jan 2006)
+
+ 29 Jan 2006; <solar@gentoo.org> +files/pax-utils-0.1.8-paxelf-fd-mmap.patch,
+ +pax-utils-0.1.8-r1.ebuild:
+ - bugfix. dont report false positives in quiet mode
*pax-utils-0.1.8 (28 Jan 2006)
diff --git a/app-misc/pax-utils/Manifest b/app-misc/pax-utils/Manifest
index 9bb9e60ee9fb..daf185be0740 100644
--- a/app-misc/pax-utils/Manifest
+++ b/app-misc/pax-utils/Manifest
@@ -1,30 +1,39 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 54e1eb01e71e4c8ad7aaa75f3b936630 ChangeLog 7003
-RMD160 14996ac10ac3a7814cfb448cb22aa7404a8ceb69 ChangeLog 7003
-SHA256 224f2868f5b74db0054bcd90739d061f9a141ed252c5c3cb4b3036c162d529b4 ChangeLog 7003
+MD5 059cff615ee111d02ee6b6119029be4c ChangeLog 7202
+RMD160 7c8f77f211866f3cee77f12e1c8379477fdccc6a ChangeLog 7202
+SHA256 db81ea6b91acebec4abe9a17c40e35c2594ec460499d1f311e9ad69e861caea5 ChangeLog 7202
MD5 212af09c0c8a660ecc4dc1df67e8c3b2 files/digest-pax-utils-0.1.4 247
RMD160 98bff41509da6d7d67c93924b0144011c28b1048 files/digest-pax-utils-0.1.4 247
SHA256 2cc81e1b4f9b199ddc9f9a04f8cba60f1eeeb0666f3e583c441eb62526feb37c files/digest-pax-utils-0.1.4 247
MD5 9e860c5d83a3dfeaea3b092895033a2c files/digest-pax-utils-0.1.8 247
RMD160 3583aeb057f174bf3dde64c0c0df62ac296b4de0 files/digest-pax-utils-0.1.8 247
SHA256 40fd140bce16bd8cf040eaac270e353227458feb431a239d6b58d7fc60c1ac14 files/digest-pax-utils-0.1.8 247
+MD5 9e860c5d83a3dfeaea3b092895033a2c files/digest-pax-utils-0.1.8-r1 247
+RMD160 3583aeb057f174bf3dde64c0c0df62ac296b4de0 files/digest-pax-utils-0.1.8-r1 247
+SHA256 40fd140bce16bd8cf040eaac270e353227458feb431a239d6b58d7fc60c1ac14 files/digest-pax-utils-0.1.8-r1 247
+MD5 1d2fb0772c392d620433367009b70901 files/pax-utils-0.1.8-paxelf-fd-mmap.patch 547
+RMD160 662a0ca2b1c90fc4a8bd50c8ccd54267411c0d2d files/pax-utils-0.1.8-paxelf-fd-mmap.patch 547
+SHA256 8910703ee5aced8ed7f1083f604cc3b9ed6dd7aea396a3e8ce7761574b0eca2e files/pax-utils-0.1.8-paxelf-fd-mmap.patch 547
MD5 90f775b6c4fdbeb494f7d8e1d94ad30d metadata.xml 604
RMD160 7f581ee400ba8449455baf903183c12136a53838 metadata.xml 604
SHA256 f3aaada3dde296c02797c2f68e88bf7f3cf650449aaf956126bc54ebd36e686e metadata.xml 604
MD5 a068acf44055609fdf44de3c54674cc0 pax-utils-0.1.4.ebuild 926
RMD160 5f41cecfa6c828bcf480f4f7f7b6a85206ea4a15 pax-utils-0.1.4.ebuild 926
SHA256 b4d3fabd3fb5998965d5b5750e8e9999c34aa71fc2054b31b2de92450a2edd8e pax-utils-0.1.4.ebuild 926
+MD5 7858695e746e3768602065c2de1865e5 pax-utils-0.1.8-r1.ebuild 1211
+RMD160 dc183780569be9fd2b2ba618a3f37db169f9955f pax-utils-0.1.8-r1.ebuild 1211
+SHA256 1ced4a153ba6516096647988595c6c14b6580d34b74a7796f089059bfd953f58 pax-utils-0.1.8-r1.ebuild 1211
MD5 1f2aacd06392ac7b7933f7619503e01b pax-utils-0.1.8.ebuild 1106
RMD160 432465006eed484ac2466db20c2f2e48f2c70992 pax-utils-0.1.8.ebuild 1106
SHA256 2f4a0215a7277d97cdea4ddf32d6d21c917bd17b0394953e967e77288fa50db6 pax-utils-0.1.8.ebuild 1106
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iQCVAwUBQ9vWGJ4WFLgrx1GWAQIcGAP9Fnop25cHageXKUmCeAvCw3UIc5QYUJhE
-Rf9/xsAQzFTWhGxYcKdP6TaUweeVnqrozKiRBtsv7Te9aQeSPeJ0/WFV36Vf5LgP
-+c+2we0q02jO7WjOxqSx2pVpYCZFtUFvuOv5Z0zcUi7R/croQUr/eLqWugXAsEsv
-c6ufpRc/pBM=
-=09TC
+iQCVAwUBQ9zk2Z4WFLgrx1GWAQKVfgQAhyhzw+1m3Y2rv6my8GMhZI7KRr/ylP8x
+Z/FaVYtNT8YI1Cu2RPKlS5cBdY8CGNkk4WAbv6NnTYeoGtcK1Rt1Hch3KbdNUbsi
+ZtsbjIEY+GrsQnbvVuMdMMQRkmEXgFIIPPQNSlw44Y+Ev9F8OzIJG9zbNuPYcNJX
+gTcjURHFMx4=
+=esnf
-----END PGP SIGNATURE-----
diff --git a/app-misc/pax-utils/files/digest-pax-utils-0.1.8-r1 b/app-misc/pax-utils/files/digest-pax-utils-0.1.8-r1
new file mode 100644
index 000000000000..d9f3f8c17f12
--- /dev/null
+++ b/app-misc/pax-utils/files/digest-pax-utils-0.1.8-r1
@@ -0,0 +1,3 @@
+MD5 2d2b9fae7deb5a32f22ba0b20df6a01d pax-utils-0.1.8.tar.bz2 49937
+RMD160 14a8d55793df809d791134c09872e14358a10d01 pax-utils-0.1.8.tar.bz2 49937
+SHA256 50f10e4bc94d52b799c5717d83577b3e6a0f92635d50a52f880464d144f6d13e pax-utils-0.1.8.tar.bz2 49937
diff --git a/app-misc/pax-utils/files/pax-utils-0.1.8-paxelf-fd-mmap.patch b/app-misc/pax-utils/files/pax-utils-0.1.8-paxelf-fd-mmap.patch
new file mode 100644
index 000000000000..7d271f8d5640
--- /dev/null
+++ b/app-misc/pax-utils/files/pax-utils-0.1.8-paxelf-fd-mmap.patch
@@ -0,0 +1,20 @@
+Index: paxelf.c
+===================================================================
+RCS file: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v
+retrieving revision 1.39
+retrieving revision 1.40
+diff -u -b -B -w -p -r1.39 -r1.40
+--- paxelf.c 24 Jan 2006 00:29:37 -0000 1.39
++++ paxelf.c 29 Jan 2006 14:36:41 -0000 1.40
+@@ -443,8 +443,10 @@ elfobj *_readelf_fd(const char *filename
+ ret = readelf_buffer(filename, buffer, len);
+ if (ret == NULL)
+ munmap(buffer, len);
+- else
++ else {
++ ret->fd = fd;
+ ret->is_mmap = 1;
++ }
+
+ return ret;
+ }
diff --git a/app-misc/pax-utils/pax-utils-0.1.8-r1.ebuild b/app-misc/pax-utils/pax-utils-0.1.8-r1.ebuild
new file mode 100644
index 000000000000..5da72aaa3f96
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-0.1.8-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.1.8-r1.ebuild,v 1.1 2006/01/29 15:52:45 solar Exp $
+
+inherit flag-o-matic toolchain-funcs eutils
+
+DESCRIPTION="Various ELF related utils for ELF32, ELF64 binaries useful tools that can check files for security relevant properties"
+HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
+SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.bz2
+ http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.bz2
+ http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="caps"
+
+DEPEND="caps? ( sys-libs/libcap )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}"/${PN}-${PV}-paxelf-fd-mmap.patch || die
+}
+
+src_compile() {
+ use caps && append-flags -DWANT_SYSCAP
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" dumpelf scanelf || die
+ use caps && append-ldflags -lcap
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" pspax || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+}