bircoph 15/01/09 16:59:58 Modified: metadata.xml ChangeLog Added: tsocks-1.8_beta5-r7.ebuild Log: Fix bugs 316345, 383969, 387001, 430782, 456924. Add new USE flags. Signed-off-by: Andrew Savchenko <birc...@gentoo.org> (Portage version: 2.2.15/cvs/Linux i686, signed Manifest commit with key 565953B95372756C)
Revision Changes Path 1.5 net-proxy/tsocks/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/metadata.xml?rev=1.5&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/metadata.xml?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/metadata.xml?r1=1.4&r2=1.5 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-proxy/tsocks/metadata.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- metadata.xml 8 Jan 2015 14:58:40 -0000 1.4 +++ metadata.xml 9 Jan 2015 16:59:58 -0000 1.5 @@ -8,8 +8,9 @@ without any modification. It does this by intercepting the calls that applications make to establish network connections and negotating them through a SOCKS server as necessary.</longdescription> <use> - <flag name='tordns'> - Apply tordns patch which allows transparent TORification of the DNS queries - </flag> + <flag name='dns'>Force DNS queries to use SOCKS server via tcp</flag> + <flag name='envconf'>Allow TSOCKS_CONF_FILE to specify configuration file</flag> + <flag name='server-lookups'>Allow hostname resolution _for_ SOCKS servers</flag> + <flag name='tordns'>Apply tordns patch which allows transparent TORification of the DNS queries</flag> </use> </pkgmetadata> 1.43 net-proxy/tsocks/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/ChangeLog?rev=1.43&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/ChangeLog?rev=1.43&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/ChangeLog?r1=1.42&r2=1.43 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-proxy/tsocks/ChangeLog,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- ChangeLog 8 Jan 2015 14:58:40 -0000 1.42 +++ ChangeLog 9 Jan 2015 16:59:58 -0000 1.43 @@ -1,6 +1,24 @@ # ChangeLog for net-proxy/tsocks # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/ChangeLog,v 1.42 2015/01/08 14:58:40 bircoph Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/ChangeLog,v 1.43 2015/01/09 16:59:58 bircoph Exp $ + +*tsocks-1.8_beta5-r7 (09 Jan 2015) + + 09 Jan 2015; Andrew Savchenko <birc...@gentoo.org> + +tsocks-1.8_beta5-r7.ebuild, +files/tsocks-1.8_beta5-flags.patch, + +files/tsocks-1.8_beta5-ld_preload.patch, +files/tsocks-1.8_beta5-poll.patch, + +files/tsocks-1.8_beta5-rename.patch, metadata.xml: + Fix bug 316345: patch taken from Debian bug 576301, message 15. + Fix bug 383969: sed tsocks.8 as proposed by Denilson Sá. + Fix bug 387001: segfault happend only if tordns was enabled and no + config file (or proper server configuration there) provided. + tordns requires deadpool to be initialized early, thus disable + tordns if server is not configured properly (new tordns patch + provided). + Fix bug 430782: respect CFLAGS during linking too. + Fix bug 456924: remove dirs from LD_PRELOAD as proposed by Marien Zwart. + Add new USE flags for built-in dns support (alternative to tordns), + envconf control and DNS lookups for SOCKS servers. 08 Jan 2015; Andrew Savchenko <birc...@gentoo.org> metadata.xml: Add myself to maintainers. Update to EAPI=5. 1.1 net-proxy/tsocks/tsocks-1.8_beta5-r7.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/tsocks-1.8_beta5-r7.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/tsocks-1.8_beta5-r7.ebuild?rev=1.1&content-type=text/plain Index: tsocks-1.8_beta5-r7.ebuild =================================================================== # Copyright 1999-2015 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-r7.ebuild,v 1.1 2015/01/09 16:59:58 bircoph Exp $ EAPI="5" inherit autotools eutils multilib 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/~bircoph/patches/${PN}-${PV/_beta/b}-tordns1-gentoo-r3.patch.xz )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="dns envconf tordns server-lookups" REQUIRED_USE=" dns? ( !tordns !server-lookups ) tordns? ( !dns !server-lookups ) " S="${WORKDIR}/${P%%_*}" src_prepare() { epatch \ "${FILESDIR}/${P}-flags.patch" \ "${FILESDIR}/${P}-ld_preload.patch" \ "${FILESDIR}/${P}-rename.patch" \ "${FILESDIR}/${P}-bsd.patch" \ "${FILESDIR}/${P}-poll.patch" use tordns && epatch "../${PN}-${PV/_beta/b}-tordns1-gentoo-r3.patch" sed -i 's/TSOCKS_CONFFILE/TSOCKS_CONF_FILE/' tsocks.8 || die "sed tsocks.8 failed" 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) <la...@gentoo.org> econf \ $(use_enable dns socksdns) \ $(use_enable envconf) \ $(use_enable server-lookups hostnames) \ --with-conf=/etc/socks/tsocks.conf \ --libdir=/$(get_libdir) } src_compile() { # Fix QA notice lack of SONAME emake DYNLIB_FLAGS=-Wl,--soname,libtsocks.so.${PV/_beta*} } src_install() { emake DESTDIR="${D}" install 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" }