diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-03-08 18:41:25 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-03-08 18:41:25 +0000 |
commit | 8c9b4db79f36190ccb4042301d653296758865a8 (patch) | |
tree | 6fa308368690d9cb183e775c0c26f923458897e2 /net-proxy | |
parent | Mask wifi and crashreporter also on www-client/firefox (diff) | |
download | historical-8c9b4db79f36190ccb4042301d653296758865a8.tar.gz historical-8c9b4db79f36190ccb4042301d653296758865a8.tar.bz2 historical-8c9b4db79f36190ccb4042301d653296758865a8.zip |
Patch to suppress warning messages about symbols not found in shared library
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/torsocks/ChangeLog | 6 | ||||
-rw-r--r-- | net-proxy/torsocks/Manifest | 10 | ||||
-rw-r--r-- | net-proxy/torsocks/files/suppress-warning-msgs.patch | 15 | ||||
-rw-r--r-- | net-proxy/torsocks/torsocks-1.2-r2.ebuild | 41 |
4 files changed, 68 insertions, 4 deletions
diff --git a/net-proxy/torsocks/ChangeLog b/net-proxy/torsocks/ChangeLog index 1a8290a24d3c..5c8028add9b7 100644 --- a/net-proxy/torsocks/ChangeLog +++ b/net-proxy/torsocks/ChangeLog @@ -1,5 +1,11 @@ +*torsocks-1.2-r2 (08 Mar 2012) + + 08 Mar 2012; Anthony G. Basile <blueness@gentoo.org> +torsocks-1.2-r2.ebuild, + +files/suppress-false-error-msgs.patch: + Patch to suppress warning messages about symbols not found in shared library + 27 Dec 2011; Anthony G. Basile <blueness@gentoo.org> torsocks-1.2-r1.ebuild: Added README TODO INSTALL ChangeLog to docs diff --git a/net-proxy/torsocks/Manifest b/net-proxy/torsocks/Manifest index 1eff2fad9f2d..619493c255c3 100644 --- a/net-proxy/torsocks/Manifest +++ b/net-proxy/torsocks/Manifest @@ -2,17 +2,19 @@ Hash: SHA256 AUX fix-docdir.patch 1245 RMD160 e2b79f7a841a31504e49c89306a957a586831fec SHA1 1cb59c1e7f60983de5279f3b8b56d6da0d115ddf SHA256 0f5e2a84b1c77893902a35f2df5575087558822536bd64335c543f91d4bb70f0 +AUX suppress-warning-msgs.patch 657 RMD160 9420d95a6bbd35b97db8bea4b1aab637e52ad9e7 SHA1 cbcd7c1b5469e1c1384f488ce730ecc6ee069c95 SHA256 1700733259fae6b9e4915ec9ec4d678bff84fa50821e212f65d4bbe424c9f759 DIST torsocks-1.1a.tar.gz 375896 RMD160 ace896fad0dfccb18259cda03709e1bc7bf6ebe3 SHA1 7889bb0680d911689d1c280ec41ae6918b9241cb SHA256 86cdf9eb88aff7a2fe9ff327aaf5b0663448c0a2104901cf87e6a39da897420f DIST torsocks-1.2.tar.gz 456453 RMD160 eb4b16833c5f7a09424d7acb9993c6dd04f8a8d0 SHA1 b8afeb217db299892a628e28f2327a1d2697f9ad SHA256 bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4 EBUILD torsocks-1.1a.ebuild 771 RMD160 7584c2718d17763e383efef655c689575c4527b5 SHA1 0aeb1d0d699d32c2ca88a68ca4d983bec675b90a SHA256 9adf24498712dfdf9c0b0f0dff8619ed2fba9dfe23dec5384d4f8cd9783fe394 EBUILD torsocks-1.2-r1.ebuild 936 RMD160 b0baad1c2edd7955c762d6521566c0e0e72b41a5 SHA1 dd6c2e6a8eaf05d65a49be95cf5783e2214d2821 SHA256 084990d327f25cd91435d48f6c71c984f635163c2fd23aeb9ee3a23f013077dd +EBUILD torsocks-1.2-r2.ebuild 986 RMD160 9618dc1012cf36c81458fccbece563ad91fa0590 SHA1 e40c074c30d68a6f046fd3495db4b684b0c5e391 SHA256 22d1e0e7680f392d0c136a568f80b34cb14e4c13a6e5eb27f1f9c51fe2a571de EBUILD torsocks-1.2.ebuild 765 RMD160 e11bdbe7312184d4cebb5819eac36290db8b9d4a SHA1 ce348904f983364425d7d82abf5c3b4e359f2f9b SHA256 516e12861139063a948e720de4efcff760c66d97a53e306c3a5ca8affd1bd9ca -MISC ChangeLog 788 RMD160 638d7abe44fd72df7e4bdd3cacc0c7c8c8f00763 SHA1 e89b7fd133ab4779722ff12bef015a35ea4cfd49 SHA256 5db4871a896a5bf1ebfcc0aa0d361271a170d6ea19c1bfff2e260ef145d3ba4a +MISC ChangeLog 1022 RMD160 a992a42e2b79212e4b04565716219628e0bc8e72 SHA1 91556377863c7555eee56e7b5a4751de88bf75e0 SHA256 53d52a7930aff7cd6f51ccd4f817831019dc3a1e7b515dd376fb9779b11170a1 MISC metadata.xml 238 RMD160 6401efde1642c40e91d5a41a966b9dbff0512eab SHA1 9751c07b46aec3d4f96133758cdd23a3e2ca2835 SHA256 f13e6e7b65d20beb9ae945d520160ef0dba80c1965754958945904d7e3c0a75f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk75JTgACgkQl5yvQNBFVTXDSwCgpxOKWArE26CauIr0dhD9dB0+ -FVkAoKEtfUVISHg32U8BY+V5Sy4Mg5C0 -=IY+H +iEYEAREIAAYFAk9Y/V8ACgkQl5yvQNBFVTWdSACfZVT0gm/Xjv4vw+xv90DjvP2h +bVwAnimtUy10TxKmYQkuTqeFgk2wUKxQ +=2l1c -----END PGP SIGNATURE----- diff --git a/net-proxy/torsocks/files/suppress-warning-msgs.patch b/net-proxy/torsocks/files/suppress-warning-msgs.patch new file mode 100644 index 000000000000..7470b9fa7f4b --- /dev/null +++ b/net-proxy/torsocks/files/suppress-warning-msgs.patch @@ -0,0 +1,15 @@ +--- torsocks-1.2.orig/src/torsocks.c 2011-10-25 17:49:50.000000000 -0400 ++++ torsocks-1.2/src/torsocks.c 2012-02-21 11:09:20.000000000 -0500 +@@ -124,9 +124,9 @@ + #define LOAD_ERROR(s,l) { \ + const char *error; \ + error = dlerror(); \ +- show_msg(l, "The symbol %s() was not found in any shared " \ +- "library. The error reported was: %s!\n", s, \ +- (error)?error:"not found"); \ ++ if (error) \ ++ show_msg(l, "The symbol %s() was not found in any shared " \ ++ "library. The error reported was: %s!\n", s, error); \ + dlerror(); \ + } + pthread_mutex_lock(&torsocks_init_mutex); diff --git a/net-proxy/torsocks/torsocks-1.2-r2.ebuild b/net-proxy/torsocks/torsocks-1.2-r2.ebuild new file mode 100644 index 000000000000..c9e213d9edde --- /dev/null +++ b/net-proxy/torsocks/torsocks-1.2-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/torsocks/torsocks-1.2-r2.ebuild,v 1.1 2012/03/08 18:41:25 blueness Exp $ + +EAPI="4" + +inherit autotools eutils multilib + +DESCRIPTION="Use most socks-friendly applications with Tor." +HOMEPAGE="http://code.google.com/p/torsocks" +SRC_URI="http://${PN}.googlecode.com/files/${PN}-1.2.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +# We do not depend on tor which might be running on a different box +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/suppress-warning-msgs.patch + epatch "${FILESDIR}"/fix-docdir.patch + eautoreconf +} + +src_configure() { + econf --docdir=/usr/share/doc/${PF} \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc README TODO INSTALL ChangeLog + + #Remove libtool .la files + cd "${D}"/usr/$(get_libdir)/torsocks + rm -f *.la +} |