diff options
author | Naohiro Aota <naota@gentoo.org> | 2011-11-19 16:24:03 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2011-11-19 16:24:03 +0000 |
commit | 5069a157a6dd033ccd376109c46d71ec7185538f (patch) | |
tree | cf92b1537f4aeb0e47a0c528cec2de209b75f55e /net-proxy | |
parent | Initial commit (diff) | |
download | historical-5069a157a6dd033ccd376109c46d71ec7185538f.tar.gz historical-5069a157a6dd033ccd376109c46d71ec7185538f.tar.bz2 historical-5069a157a6dd033ccd376109c46d71ec7185538f.zip |
Use MAP_ANON instread of MAP_ANONYMOUS if available. Bug #381917
Package-Manager: portage-2.2.0_alpha75/cvs/Linux x86_64
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/tsocks/ChangeLog | 9 | ||||
-rw-r--r-- | net-proxy/tsocks/Manifest | 24 | ||||
-rw-r--r-- | net-proxy/tsocks/tsocks-1.8_beta5-r6.ebuild | 60 |
3 files changed, 90 insertions, 3 deletions
diff --git a/net-proxy/tsocks/ChangeLog b/net-proxy/tsocks/ChangeLog index 0835909418d8..1693599336cc 100644 --- a/net-proxy/tsocks/ChangeLog +++ b/net-proxy/tsocks/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/tsocks -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/ChangeLog,v 1.36 2010/06/06 14:40:38 armin76 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/ChangeLog,v 1.37 2011/11/19 16:24:03 naota Exp $ + +*tsocks-1.8_beta5-r6 (19 Nov 2011) + + 19 Nov 2011; Naohiro Aota <naota@gentoo.org> +tsocks-1.8_beta5-r6.ebuild: + Use MAP_ANON instread of MAP_ANONYMOUS if available. Bug #381917 06 Jun 2010; Raúl Porcel <armin76@gentoo.org> tsocks-1.8_beta5-r5.ebuild: arm stable wrt #300830 diff --git a/net-proxy/tsocks/Manifest b/net-proxy/tsocks/Manifest index 21993bfcf76f..c3db0837df2f 100644 --- a/net-proxy/tsocks/Manifest +++ b/net-proxy/tsocks/Manifest @@ -1,11 +1,33 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX tsocks-1.8_beta5-bsd.patch 932 RMD160 d17f6927c4e18b25505139a9893c59afc39775aa SHA1 98b77ce698a8a9ad072f1c7275a3aeb8e2177f86 SHA256 c49851ca7581684788945f0c5cca17536459975b966b65bccb4f0588fc85a42d AUX tsocks-1.8_beta5-gentoo-r1.patch 5655 RMD160 8d4908a8a3ddd60493c45f62b8498046623ed915 SHA1 def7eb78180930cefb2e85d554dd416871014dd2 SHA256 678daeb7683a8ded19bf14c665271158f452a715c92d855dee47d78838723b2a AUX tsocks-1.8_beta5-gentoo-r2.patch 5879 RMD160 84ac84bd59b85dddc204d9e63e4ae43a278a6ef4 SHA1 64a99abc72242a6e931337c9ef59075d018c2e8b SHA256 0c77bba8e579dc05469c4c4c336fc728085944df1f7fc6ad0d05024f6836817f AUX tsocks-1.8_beta5-gentoo-r3.patch 5866 RMD160 2dffa4d10f82a2fd9adacebf987064d24f23aa42 SHA1 35ac9f759102cc7089b7b83757e2942e4d2d3c4a SHA256 5bc4ec52f9d473e50948a5136fd657a26906603e97f779786b76244f026d73ca DIST tsocks-1.8b5-tordns1-gentoo-r1.patch.gz 20060 RMD160 5c77013987262331c9285e9d53738f9f7a3ecf45 SHA1 df0474aedd7ae9639053ec11968b10a68b4f82ed SHA256 d49f0eede6cf59a2e911ddf3ec14e880626369e94037c9ad853cf530ce5971dd +DIST tsocks-1.8b5-tordns1-gentoo-r2.patch.gz 20060 RMD160 5c77013987262331c9285e9d53738f9f7a3ecf45 SHA1 df0474aedd7ae9639053ec11968b10a68b4f82ed SHA256 d49f0eede6cf59a2e911ddf3ec14e880626369e94037c9ad853cf530ce5971dd DIST tsocks-1.8beta5.tar.gz 83928 RMD160 12e3eeeafaf7f3be21dd8901da38d5890659b09e SHA1 489f88c5df999ba21b27cdaa7836d9426d062aec SHA256 849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347 EBUILD tsocks-1.8_beta5-r3.ebuild 1823 RMD160 8ebff6a9b5e53b87c0ab274383f8d9559041badf SHA1 1e117dd2832d40c8e731f43aa60ecd2f60991d2f SHA256 909734cdf53dea07375279cb53c7f19cce42ae5c7bb76e1b237421efe34998ae EBUILD tsocks-1.8_beta5-r4.ebuild 1829 RMD160 59e4408efdbc5959a9d0fa84d7c2aabc6b39ae31 SHA1 5769d1c864f394783997e4f6ee7cf1881abc7f37 SHA256 da386f9c42a802247e26724170838bf9a7cf4657ade4740975e46e10c28058ed EBUILD tsocks-1.8_beta5-r5.ebuild 1831 RMD160 d96eee3267761f3d9fbb6756efc2f8cb827239d7 SHA1 41412fb6b8ecbcb3f890a87d775ffce7baf4582d SHA256 afde50f512ce37d403a83a82fd9dcbb46b0fb99e07291fdb66e4363833c3163a -MISC ChangeLog 6304 RMD160 f7fd57a56b7e13a551b38b2741a8343677a4b7f9 SHA1 c3a160953e630155a57910c34f9aa263f5049b72 SHA256 abbecfa1bec9353cbe24bce0d91bdca34f07cbf417959326b2f68c755dd9674f +EBUILD tsocks-1.8_beta5-r6.ebuild 1855 RMD160 3ee47c4f06041cc9f38c6c5d8a37ec5ed8eed6e6 SHA1 b7ec91afe503abec60e5969097ef481b58d85844 SHA256 6991aea50dba89122ecb6265062b1a3d7bdd6674bb6bb689c61d7a2be274037f +MISC ChangeLog 6482 RMD160 a761d8a445f3bc8d9e3b26c0285e68a27f069840 SHA1 c5d14e9d42a1e9959eea64ac5a1156f2a38cca61 SHA256 72345883076841728a2620404785d0cc29e953b7c730412954ebc682559d1d8b MISC metadata.xml 593 RMD160 31a381655437e3f21b9d4bd0982356eac43b79bf SHA1 8bd4c29f69a1ca1456fbb99523e46356eca2454c SHA256 08fa435f16b6ec09e7cfb979843b309354230db8986894227436699eb588a2d0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQIcBAEBCAAGBQJOx9gwAAoJEDYO1FT4VRUUOH0P/RYjI+THer1oWl1XdJFDuvom +tS++iQfK3pXEqarY/yrLZbbpo3S515y1E53smhisLpb9jhKGRQDp+HYbRtAU49ey +zXf5Flkdwz0y/7+Y3nHanw8ghuKSrjX7QqKh4hQFWoktFzmeuv7yi0ODLLn1RZyb +ZCVQsPE3Po9NeKCHULLRNgcVWnHKSUPNR8taa7CzAdZ8uz/fTKFqSa9UGmKz2FIq +9i25pjVXhGqje9yafsSHkODmBaOCVJnKCwRKdsSBC2rTl2/mPvlEbGnoask5cs0Y +0mMv8DTZ5jhgqSmKzqvFcxyasxmbNOHJqq/fLHDaT5UP3p5zpf6yr16Kht1Q0Ojm +FPjG3iLBWZZ5PWrBQzc1v3xQhEuPooavehFNyhZvLOAa9AWyOSnt8dp2EWjh3VAY +IB8KqJJiNShGIpEdpo8LFazYj9nRqyN0gFXoCWMpSg3vW+ESRZjVzV6a1B0zmYTO +qF2KHGAq4Lfb7gNtT+tAbyFGkk+qzboINcZVpYxY393ALVgPOIUCEfI/FYSlfxjy +WET64IL5xnx6oGRbQ27geoD9ogPNELFtNQYBdQvVb94MRgrTQepsWykT3l7H/fO/ +GXF14gNMp+moXk9CRKaKKIJLPT18MinaNGQH9NElECbPeQicKEdjlIVrKCfyofI7 +UQ/6nGkFLsVgNKVan4Zv +=KJVE +-----END PGP SIGNATURE----- diff --git a/net-proxy/tsocks/tsocks-1.8_beta5-r6.ebuild b/net-proxy/tsocks/tsocks-1.8_beta5-r6.ebuild new file mode 100644 index 000000000000..9c926e81beda --- /dev/null +++ b/net-proxy/tsocks/tsocks-1.8_beta5-r6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/tsocks-1.8_beta5-r6.ebuild,v 1.1 2011/11/19 16:24:03 naota Exp $ + +EAPI="2" + +inherit multilib eutils autotools toolchain-funcs + +DESCRIPTION="Transparent SOCKS v4 proxying library" +HOMEPAGE="http://tsocks.sourceforge.net/" +SRC_URI="mirror://sourceforge/tsocks/${PN}-${PV/_}.tar.gz + tordns? ( http://dev.gentoo.org/~naota/patch/${PN}-${PV/_beta/b}-tordns1-gentoo-r2.patch.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="tordns" + +S="${WORKDIR}/${P%%_*}" + +src_prepare() { + epatch "${FILESDIR}/${P}-gentoo-r3.patch" + epatch "${FILESDIR}/${P}-bsd.patch" + use tordns && epatch "../${PN}-${PV/_beta/b}-tordns1-gentoo-r2.patch" + eautoreconf +} + +src_configure() { + tc-export CC + + # NOTE: the docs say to install it into /lib. If you put it into + # /usr/lib and add it to /etc/ld.so.preload on many systems /usr isn't + # mounted in time :-( (Ben Lutgens) <lamer@gentoo.org> + econf \ + --with-conf=/etc/socks/tsocks.conf \ + --libdir=/$(get_libdir) || die "configure failed" +} + +src_compile() { + # Fix QA notice lack of SONAME + emake DYNLIB_FLAGS=-Wl,--soname,libtsocks.so.${PV/_beta*} || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + newbin validateconf tsocks-validateconf + newbin saveme tsocks-saveme + dobin inspectsocks + insinto /etc/socks + doins tsocks.conf.*.example + dodoc FAQ + use tordns && dodoc README* +} + +pkg_postinst() { + einfo "Make sure you create /etc/socks/tsocks.conf from one of the examples in that directory" + einfo "The following executables have been renamed:" + einfo " /usr/bin/saveme renamed to tsocks-saveme" + einfo " /usr/bin/validateconf renamed to tsocks-validateconf" +} |