Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/tsocks: ChangeLog tsocks-1.8_beta5-r6.ebuild
Date: Sat, 19 Nov 2011 17:04:55
Message-Id: 20111119162403.391A12004B@flycatcher.gentoo.org
1 naota 11/11/19 16:24:03
2
3 Modified: ChangeLog
4 Added: tsocks-1.8_beta5-r6.ebuild
5 Log:
6 Use MAP_ANON instread of MAP_ANONYMOUS if available. Bug #381917
7
8 (Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.37 net-proxy/tsocks/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/ChangeLog?rev=1.37&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/ChangeLog?rev=1.37&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/ChangeLog?r1=1.36&r2=1.37
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-proxy/tsocks/ChangeLog,v
20 retrieving revision 1.36
21 retrieving revision 1.37
22 diff -u -r1.36 -r1.37
23 --- ChangeLog 6 Jun 2010 14:40:38 -0000 1.36
24 +++ ChangeLog 19 Nov 2011 16:24:03 -0000 1.37
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-proxy/tsocks
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/ChangeLog,v 1.36 2010/06/06 14:40:38 armin76 Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/tsocks/ChangeLog,v 1.37 2011/11/19 16:24:03 naota Exp $
31 +
32 +*tsocks-1.8_beta5-r6 (19 Nov 2011)
33 +
34 + 19 Nov 2011; Naohiro Aota <naota@g.o> +tsocks-1.8_beta5-r6.ebuild:
35 + Use MAP_ANON instread of MAP_ANONYMOUS if available. Bug #381917
36
37 06 Jun 2010; Raúl Porcel <armin76@g.o> tsocks-1.8_beta5-r5.ebuild:
38 arm stable wrt #300830
39
40
41
42 1.1 net-proxy/tsocks/tsocks-1.8_beta5-r6.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/tsocks-1.8_beta5-r6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tsocks/tsocks-1.8_beta5-r6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: tsocks-1.8_beta5-r6.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $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 $
52
53 EAPI="2"
54
55 inherit multilib eutils autotools toolchain-funcs
56
57 DESCRIPTION="Transparent SOCKS v4 proxying library"
58 HOMEPAGE="http://tsocks.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/tsocks/${PN}-${PV/_}.tar.gz
60 tordns? ( http://dev.gentoo.org/~naota/patch/${PN}-${PV/_beta/b}-tordns1-gentoo-r2.patch.gz )"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="tordns"
66
67 S="${WORKDIR}/${P%%_*}"
68
69 src_prepare() {
70 epatch "${FILESDIR}/${P}-gentoo-r3.patch"
71 epatch "${FILESDIR}/${P}-bsd.patch"
72 use tordns && epatch "../${PN}-${PV/_beta/b}-tordns1-gentoo-r2.patch"
73 eautoreconf
74 }
75
76 src_configure() {
77 tc-export CC
78
79 # NOTE: the docs say to install it into /lib. If you put it into
80 # /usr/lib and add it to /etc/ld.so.preload on many systems /usr isn't
81 # mounted in time :-( (Ben Lutgens) <lamer@g.o>
82 econf \
83 --with-conf=/etc/socks/tsocks.conf \
84 --libdir=/$(get_libdir) || die "configure failed"
85 }
86
87 src_compile() {
88 # Fix QA notice lack of SONAME
89 emake DYNLIB_FLAGS=-Wl,--soname,libtsocks.so.${PV/_beta*} || die "emake failed"
90 }
91
92 src_install() {
93 emake DESTDIR="${D}" install || die "make install failed"
94 newbin validateconf tsocks-validateconf
95 newbin saveme tsocks-saveme
96 dobin inspectsocks
97 insinto /etc/socks
98 doins tsocks.conf.*.example
99 dodoc FAQ
100 use tordns && dodoc README*
101 }
102
103 pkg_postinst() {
104 einfo "Make sure you create /etc/socks/tsocks.conf from one of the examples in that directory"
105 einfo "The following executables have been renamed:"
106 einfo " /usr/bin/saveme renamed to tsocks-saveme"
107 einfo " /usr/bin/validateconf renamed to tsocks-validateconf"
108 }