From 45281fb79d053dd900056513da18513a785b5f34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Krier?= Date: Sun, 21 Jan 2007 19:26:27 +0000 Subject: [PATCH] net-analyzer/nessus-libraries: Add patch for bug #161968 Package-Manager: portage-2.1.1-r2 --- net-analyzer/nessus-libraries/ChangeLog | 9 +++- net-analyzer/nessus-libraries/Manifest | 48 ++++++++----------- .../nessus-libraries-2.3.1-ldflags.patch | 25 ++++++++++ .../nessus-libraries-2.3.1.ebuild | 13 +++-- 4 files changed, 63 insertions(+), 32 deletions(-) create mode 100644 net-analyzer/nessus-libraries/files/nessus-libraries-2.3.1-ldflags.patch diff --git a/net-analyzer/nessus-libraries/ChangeLog b/net-analyzer/nessus-libraries/ChangeLog index d099aada1b56..40c1e0317077 100644 --- a/net-analyzer/nessus-libraries/ChangeLog +++ b/net-analyzer/nessus-libraries/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/nessus-libraries -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog,v 1.82 2006/06/01 21:34:57 jokey Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/ChangeLog,v 1.83 2007/01/21 19:26:27 cedk Exp $ + + 21 Jan 2007; Cedric Krier + +files/nessus-libraries-2.3.1-ldflags.patch, + nessus-libraries-2.3.1.ebuild: + Add patch for bug #161968 *nessus-libraries-2.2.8 (01 Jun 2006) diff --git a/net-analyzer/nessus-libraries/Manifest b/net-analyzer/nessus-libraries/Manifest index 3df1c71e29a9..8d2f077daec2 100644 --- a/net-analyzer/nessus-libraries/Manifest +++ b/net-analyzer/nessus-libraries/Manifest @@ -1,35 +1,36 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX linux26.patch 1278 RMD160 9ee5a9f371480c1b2ae903bf585dcb94197b8dac SHA1 97c65f4b15222e743a8e6e1332087ef2acd66899 SHA256 2a07d9c07799bed57085cd77abe4c0ea19ce46e69297bdcc433e90011c74a649 size 1278 +AUX linux26.patch 1278 RMD160 9ee5a9f371480c1b2ae903bf585dcb94197b8dac SHA1 97c65f4b15222e743a8e6e1332087ef2acd66899 SHA256 2a07d9c07799bed57085cd77abe4c0ea19ce46e69297bdcc433e90011c74a649 MD5 33d8a49602ab3e7f0c037188ed7d4cb7 files/linux26.patch 1278 RMD160 9ee5a9f371480c1b2ae903bf585dcb94197b8dac files/linux26.patch 1278 SHA256 2a07d9c07799bed57085cd77abe4c0ea19ce46e69297bdcc433e90011c74a649 files/linux26.patch 1278 -DIST nessus-libraries-2.2.6.tar.gz 426911 RMD160 6fd4b60515fa17657a015a3a31d380ee5d2c23ba SHA256 3389d0579aa28e6c2da86682cad994976e15938fd47bcf31ef6decc2841cbc67 size 426911 -DIST nessus-libraries-2.2.7.tar.gz 426429 RMD160 08f0602635cd9ca5f2bc4513067c0c5251249a97 SHA256 5aefd97c5a400088ddbf793cd4b2b688a5a9b7aec51c1403be316453f86f1834 size 426429 -DIST nessus-libraries-2.2.8.tar.gz 426546 RMD160 9f498c04c6084c9b27b799c2af6dfad26060dd83 SHA256 ed3e072d241352e5cc941d9b5b9acc2f38858c7d806b7a0e4a865c854193aa03 size 426546 -DIST nessus-libraries-2.3.1.tar.gz 424748 RMD160 c219015f13e5b7ccba3856823605b2aa71d680d3 SHA256 04528fe8882b51da65860ab4fe823fada56f4009d7961ca92970ace32a796c27 size 424748 -EBUILD nessus-libraries-2.2.6.ebuild 866 RMD160 8acf16d9583df4cfe17e445d39fde3f0308ab50d SHA1 4a0e68bd21c3ba4fecb6aba0cc9b385f982ebb56 SHA256 421fb52d3e3800636f1970d7d13eb6a7356f264b6fcfb372dbd8a55ba6cf6df7 size 866 +AUX nessus-libraries-2.3.1-ldflags.patch 1010 RMD160 382f930f6eec35405264f9cf0baffa29cd55a15b SHA1 a78554996cb28929aeed729b9ee088482cf99b59 SHA256 8c5cdd22850134641eee93045391f4c4566d44287cec7a7c81c6d219de3e24af +MD5 13e18f8d0f4c2a8ee8db0253a2b724f6 files/nessus-libraries-2.3.1-ldflags.patch 1010 +RMD160 382f930f6eec35405264f9cf0baffa29cd55a15b files/nessus-libraries-2.3.1-ldflags.patch 1010 +SHA256 8c5cdd22850134641eee93045391f4c4566d44287cec7a7c81c6d219de3e24af files/nessus-libraries-2.3.1-ldflags.patch 1010 +DIST nessus-libraries-2.2.6.tar.gz 426911 RMD160 6fd4b60515fa17657a015a3a31d380ee5d2c23ba SHA1 7552cb5c48ace2e38537d8b58a1c7968172399cc SHA256 3389d0579aa28e6c2da86682cad994976e15938fd47bcf31ef6decc2841cbc67 +DIST nessus-libraries-2.2.7.tar.gz 426429 RMD160 08f0602635cd9ca5f2bc4513067c0c5251249a97 SHA256 5aefd97c5a400088ddbf793cd4b2b688a5a9b7aec51c1403be316453f86f1834 +DIST nessus-libraries-2.2.8.tar.gz 426546 RMD160 9f498c04c6084c9b27b799c2af6dfad26060dd83 SHA256 ed3e072d241352e5cc941d9b5b9acc2f38858c7d806b7a0e4a865c854193aa03 +DIST nessus-libraries-2.3.1.tar.gz 424748 RMD160 c219015f13e5b7ccba3856823605b2aa71d680d3 SHA1 f62214122bfd42db8057b87b357d7ed8f35b8d70 SHA256 04528fe8882b51da65860ab4fe823fada56f4009d7961ca92970ace32a796c27 +EBUILD nessus-libraries-2.2.6.ebuild 866 RMD160 8acf16d9583df4cfe17e445d39fde3f0308ab50d SHA1 4a0e68bd21c3ba4fecb6aba0cc9b385f982ebb56 SHA256 421fb52d3e3800636f1970d7d13eb6a7356f264b6fcfb372dbd8a55ba6cf6df7 MD5 d0678dcb72fb35fa7adfce5efe45bfa7 nessus-libraries-2.2.6.ebuild 866 RMD160 8acf16d9583df4cfe17e445d39fde3f0308ab50d nessus-libraries-2.2.6.ebuild 866 SHA256 421fb52d3e3800636f1970d7d13eb6a7356f264b6fcfb372dbd8a55ba6cf6df7 nessus-libraries-2.2.6.ebuild 866 -EBUILD nessus-libraries-2.2.7.ebuild 877 RMD160 f897f4055c2b59efc9d03592fbfd387c260f2e03 SHA1 99fefebe984033d01a147d533142132536ed296c SHA256 cff012248a930a96501eeb88695c33e05433965ccd17efbad835bcf51c6f658c size 877 +EBUILD nessus-libraries-2.2.7.ebuild 877 RMD160 f897f4055c2b59efc9d03592fbfd387c260f2e03 SHA1 99fefebe984033d01a147d533142132536ed296c SHA256 cff012248a930a96501eeb88695c33e05433965ccd17efbad835bcf51c6f658c MD5 5b35a63d60f660cb738dd50b38c383b1 nessus-libraries-2.2.7.ebuild 877 RMD160 f897f4055c2b59efc9d03592fbfd387c260f2e03 nessus-libraries-2.2.7.ebuild 877 SHA256 cff012248a930a96501eeb88695c33e05433965ccd17efbad835bcf51c6f658c nessus-libraries-2.2.7.ebuild 877 -EBUILD nessus-libraries-2.2.8.ebuild 872 RMD160 14ee74104248474bfc1dc874c60bc9658c7a86fd SHA1 31f91caa5900a6780c67e6b2deaa41f82784cc74 SHA256 79c6b180bd892c20862efce6d2750fa9fdd870d72f529ab78651cca7b2cb2ebd size 872 +EBUILD nessus-libraries-2.2.8.ebuild 872 RMD160 14ee74104248474bfc1dc874c60bc9658c7a86fd SHA1 31f91caa5900a6780c67e6b2deaa41f82784cc74 SHA256 79c6b180bd892c20862efce6d2750fa9fdd870d72f529ab78651cca7b2cb2ebd MD5 6e9b32437dcafa53a44202d418dd8075 nessus-libraries-2.2.8.ebuild 872 RMD160 14ee74104248474bfc1dc874c60bc9658c7a86fd nessus-libraries-2.2.8.ebuild 872 SHA256 79c6b180bd892c20862efce6d2750fa9fdd870d72f529ab78651cca7b2cb2ebd nessus-libraries-2.2.8.ebuild 872 -EBUILD nessus-libraries-2.3.1.ebuild 892 RMD160 d5ca2ab0eb038224639f53ab1c647258fdbd609c SHA1 249c9e0fcd9164f159fff78f162869ddb129e777 SHA256 0f49d47079c0e2de97fa06d4d756a8b703d2c8eb20b9fdce9dcaa2e06f0df1e1 size 892 -MD5 577c7ee51b774829cf464200655ee864 nessus-libraries-2.3.1.ebuild 892 -RMD160 d5ca2ab0eb038224639f53ab1c647258fdbd609c nessus-libraries-2.3.1.ebuild 892 -SHA256 0f49d47079c0e2de97fa06d4d756a8b703d2c8eb20b9fdce9dcaa2e06f0df1e1 nessus-libraries-2.3.1.ebuild 892 -MISC ChangeLog 11477 RMD160 1644bacf5cf227b040b1e2ea9f327161af09a111 SHA1 566f6004862bd27a1cf2d405e20f451e0ac09d5c SHA256 2042daf82d31a35b2465bfa42d8996cbcb55e3f73c6f9aaebd7ec1f54f99b403 size 11477 -MD5 1f7218cb4ba57ef80c36d9a3efa7b576 ChangeLog 11477 -RMD160 1644bacf5cf227b040b1e2ea9f327161af09a111 ChangeLog 11477 -SHA256 2042daf82d31a35b2465bfa42d8996cbcb55e3f73c6f9aaebd7ec1f54f99b403 ChangeLog 11477 -MISC metadata.xml 249 RMD160 733e7145e60c54eb0c583195b4c0c6ebb91756c0 SHA1 0a5d282d1381312bc9eaee4f4cc282811ba33a64 SHA256 14643d9de5c8caeb0c6ab8044426e00b98dab06667ef8d75472a365ef8011754 size 249 +EBUILD nessus-libraries-2.3.1.ebuild 980 RMD160 c104e6ca76a964e8a68a706aec68bf119149c512 SHA1 bd0a90f3deb97e7f4be9c4d55318cac2fe7c48be SHA256 c469062d37c65df2762e47a55db380ec770706c674f83f901ab832bf35a32be9 +MD5 b1194ccd81171f4b25028969f15a46da nessus-libraries-2.3.1.ebuild 980 +RMD160 c104e6ca76a964e8a68a706aec68bf119149c512 nessus-libraries-2.3.1.ebuild 980 +SHA256 c469062d37c65df2762e47a55db380ec770706c674f83f901ab832bf35a32be9 nessus-libraries-2.3.1.ebuild 980 +MISC ChangeLog 11631 RMD160 6f74ef08e917c96de77dccf7b696d000b789f215 SHA1 972dfc86fecd9f31b04df22454e56a7d8fac3c6c SHA256 dc1f630e6f81368ae154c1992c940fd1ad7fe566aeb8322d60a74060289394b9 +MD5 f363e0ebbd0894fa4b78331af6aecb01 ChangeLog 11631 +RMD160 6f74ef08e917c96de77dccf7b696d000b789f215 ChangeLog 11631 +SHA256 dc1f630e6f81368ae154c1992c940fd1ad7fe566aeb8322d60a74060289394b9 ChangeLog 11631 +MISC metadata.xml 249 RMD160 733e7145e60c54eb0c583195b4c0c6ebb91756c0 SHA1 0a5d282d1381312bc9eaee4f4cc282811ba33a64 SHA256 14643d9de5c8caeb0c6ab8044426e00b98dab06667ef8d75472a365ef8011754 MD5 fda214dc78c8ac3a9e8d50f5f0cee8aa metadata.xml 249 RMD160 733e7145e60c54eb0c583195b4c0c6ebb91756c0 metadata.xml 249 SHA256 14643d9de5c8caeb0c6ab8044426e00b98dab06667ef8d75472a365ef8011754 metadata.xml 249 @@ -45,10 +46,3 @@ SHA256 575758d8f374f9fd5bafc30521ebd3b551fac1c0d547ad5afd7c40ff40bb3248 files/di MD5 d7021bafc902079e801dc40d97e85858 files/digest-nessus-libraries-2.3.1 268 RMD160 73d53a535e90a5865c2c3ecaee0c74451f0dcafc files/digest-nessus-libraries-2.3.1 268 SHA256 b3d0daf5dbf1eb09c10359b5e05fce821c135e2fb3b6e829b1cf62499f8195df files/digest-nessus-libraries-2.3.1 268 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) - -iD8DBQFEf12Qz974XjDVpbkRAj1qAKC3S0qepqlr4KBhkU8jqziQRymPNwCeIf7h -l5B5/Z2ftwHpOVB22567DsA= -=deIk ------END PGP SIGNATURE----- diff --git a/net-analyzer/nessus-libraries/files/nessus-libraries-2.3.1-ldflags.patch b/net-analyzer/nessus-libraries/files/nessus-libraries-2.3.1-ldflags.patch new file mode 100644 index 000000000000..9aca9ab9ba01 --- /dev/null +++ b/net-analyzer/nessus-libraries/files/nessus-libraries-2.3.1-ldflags.patch @@ -0,0 +1,25 @@ +diff -ru nessus-libraries~/libnessus/Makefile nessus-libraries/libnessus/Makefile +--- nessus-libraries~/libnessus/Makefile 2007-01-21 19:49:30.000000000 +0100 ++++ nessus-libraries/libnessus/Makefile 2007-01-21 20:17:59.000000000 +0100 +@@ -101,7 +101,7 @@ + $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c snprintf.c + libnessus.la: $(OBJS) + $(LIBTOOL) $(CC) -o libnessus.la $(LO_OBJS) -rpath ${libdir} \ +- -version-info ${PACKAGE_VERSION} ++ -version-info ${PACKAGE_VERSION} ${PCAP_FLAG} ${SSL_FLAG} + + install : libnessus.la + test -d $(DESTDIR)${libdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${libdir} +diff -ru nessus-libraries~/nessus.tmpl.in nessus-libraries/nessus.tmpl.in +--- nessus-libraries~/nessus.tmpl.in 2007-01-21 19:49:30.000000000 +0100 ++++ nessus-libraries/nessus.tmpl.in 2007-01-21 20:17:45.000000000 +0100 +@@ -61,6 +61,9 @@ + # + BUILD_PCAP=@BUILD_PCAP@ + ++PCAP_FLAG=@pcap_flag@ ++SSL_FLAG=@ssl@ ++ + + # Some defines you may want to modify + DEFS=@DEFS@ $(DEBUG_SSL) $(USE_CIPHER) $(DEBUG) diff --git a/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild b/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild index dddbffce8193..1fade84cde25 100644 --- a/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild +++ b/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild,v 1.2 2006/02/18 19:43:48 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-libraries/nessus-libraries-2.3.1.ebuild,v 1.3 2007/01/21 19:26:27 cedk Exp $ -inherit toolchain-funcs +inherit toolchain-funcs eutils DESCRIPTION="A remote security scanner for Linux (nessus-libraries)" HOMEPAGE="http://www.nessus.org/" @@ -16,6 +16,13 @@ IUSE="" DEPEND=">=dev-libs/openssl-0.9.6d" S=${WORKDIR}/${PN} +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-ldflags.patch +} + src_compile() { export CC=$(tc-getCC) econf --with-ssl=/usr/lib || die "econf failed" -- 2.26.2