Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/tsocks/files/, net-proxy/tsocks/
Date: Sat, 25 Feb 2017 12:31:21
Message-Id: 1488025869.78d097a68eb884c4745e133e8da6677e2ac22ed1.bircoph@gentoo
1 commit: 78d097a68eb884c4745e133e8da6677e2ac22ed1
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 12:28:50 2017 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 12:31:09 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d097a6
7
8 net-proxy/tsocks: remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
12
13 net-proxy/tsocks/Manifest | 1 -
14 .../tsocks/files/tsocks-1.8_beta5-gentoo-r3.patch | 133 ---------------------
15 net-proxy/tsocks/tsocks-1.8_beta5-r5.ebuild | 60 ----------
16 3 files changed, 194 deletions(-)
17
18 diff --git a/net-proxy/tsocks/Manifest b/net-proxy/tsocks/Manifest
19 index 7bddb8d754..7c2c9f44f3 100644
20 --- a/net-proxy/tsocks/Manifest
21 +++ b/net-proxy/tsocks/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST tsocks-1.8b5-tordns1-gentoo-r1.patch.gz 20060 SHA256 d49f0eede6cf59a2e911ddf3ec14e880626369e94037c9ad853cf530ce5971dd SHA512 2b8ea526ea877459ebdbcc29ddf621afdad66fe9ebc304d46bdb8e75b3114bfff1ab68bdf114c53fc45fe4f61bcb98b4ba0e90b3070308d7207de6becd83d0ed WHIRLPOOL d202464cc1cc156a143a03d9182e3038a38cf4356039d767dc8515883a8fd73d8e508dd055055ca0cf46d096134560a989452577f503b6282fcb1a260400d4a4
24 DIST tsocks-1.8b5-tordns1-gentoo-r3.patch.xz 18468 SHA256 4b25f473ef08ce698bd12a92d65b3e6dffb706ec76289db8d5b75fac0bca16f8 SHA512 86cbc7a8733e9f9e19e0924d2a2b8481a66eb67a8d548b90c7bd02cc6ae42064a295ee6a002cf19a7b3d7d811388db2a34b641d9dbe239f4c0bc8a1f78c90682 WHIRLPOOL 5a4228be84b4797121b8deaf52c1030ea2d6716694f14602a473deca4919753abe5df9608e28056dcaecb8e57bbb0b5a290b7bcdacbda17fdc12df08a0f29fcb
25 DIST tsocks-1.8beta5.tar.gz 83928 SHA256 849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347 SHA512 b41636ea6b77abf0d1e3cda7bbca4e7ee96f3cdb1843f3a2c530650931e5567f67921de67b28ba9bab0f51df39770a3f7fb458cf7ac78aad7aa861923df2c4a9 WHIRLPOOL 9b50f66d63c870a37111450d76ea027fab79ecc4f62be8d6fab380f9fbfa6d1573f8bad5afe284571de3ee557460454826967449518d7665a80f563a2cfe5151
26
27 diff --git a/net-proxy/tsocks/files/tsocks-1.8_beta5-gentoo-r3.patch b/net-proxy/tsocks/files/tsocks-1.8_beta5-gentoo-r3.patch
28 deleted file mode 100644
29 index 1c9dd18cd5..0000000000
30 --- a/net-proxy/tsocks/files/tsocks-1.8_beta5-gentoo-r3.patch
31 +++ /dev/null
32 @@ -1,133 +0,0 @@
33 -diff -Nru tsocks-1.8.orig/Makefile.in tsocks-1.8/Makefile.in
34 ---- tsocks-1.8.orig/Makefile.in 2002-03-16 11:12:40.000000000 +0100
35 -+++ tsocks-1.8/Makefile.in 2009-06-20 13:56:56.000000000 +0200
36 -@@ -28,6 +28,7 @@
37 - INSTALL = @INSTALL@
38 - INSTALL_DATA = @INSTALL_DATA@
39 - CFLAGS = @CFLAGS@
40 -+LDFLAGS = @LDFLAGS@
41 - INCLUDES = -I.
42 - LIBS = @LIBS@
43 - SPECIALLIBS = @SPECIALLIBS@
44 -@@ -41,16 +42,16 @@
45 - all: ${TARGETS}
46 -
47 - ${VALIDATECONF}: ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o
48 -- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
49 -+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${VALIDATECONF} ${VALIDATECONF}.c ${COMMON}.o ${PARSER}.o ${LIBS}
50 -
51 - ${INSPECT}: ${INSPECT}.c ${COMMON}.o
52 -- ${SHCC} ${CFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
53 -+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS}
54 -
55 - ${SAVE}: ${SAVE}.c
56 -- ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c
57 -+ ${SHCC} ${LDFLAGS} ${INCLUDES} -o ${SAVE} ${SAVE}.c
58 -
59 - ${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o
60 -- ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
61 -+ ${SHCC} ${LDFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS}
62 - ln -sf ${SHLIB} ${LIB_NAME}.so
63 -
64 - %.so: %.c
65 -diff -Nru tsocks-1.8.orig/tsocks tsocks-1.8/tsocks
66 ---- tsocks-1.8.orig/tsocks 2002-03-16 11:27:18.000000000 +0100
67 -+++ tsocks-1.8/tsocks 2009-06-20 13:56:38.000000000 +0200
68 -@@ -46,14 +46,14 @@
69 - on)
70 - if [ -z "$LD_PRELOAD" ]
71 - then
72 -- export LD_PRELOAD="/usr/lib/libtsocks.so"
73 -+ export LD_PRELOAD="/lib/libtsocks.so"
74 - else
75 -- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
76 -- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
77 -+ echo $LD_PRELOAD | grep -q "/lib/libtsocks\.so" || \
78 -+ export LD_PRELOAD="/lib/libtsocks.so $LD_PRELOAD"
79 - fi
80 - ;;
81 - off)
82 -- export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib\/libtsocks.so \?//'`
83 -+ export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/lib\/libtsocks.so \?//'`
84 - if [ -z "$LD_PRELOAD" ]
85 - then
86 - unset LD_PRELOAD
87 -@@ -68,10 +68,10 @@
88 - *)
89 - if [ -z "$LD_PRELOAD" ]
90 - then
91 -- export LD_PRELOAD="/usr/lib/libtsocks.so"
92 -+ export LD_PRELOAD="/lib/libtsocks.so"
93 - else
94 -- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \
95 -- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD"
96 -+ echo $LD_PRELOAD | grep -q "/lib/libtsocks\.so" || \
97 -+ export LD_PRELOAD="/lib/libtsocks.so $LD_PRELOAD"
98 - fi
99 -
100 - if [ $# = 0 ]
101 -diff -Nru tsocks-1.8.orig/tsocks.8 tsocks-1.8/tsocks.8
102 ---- tsocks-1.8.orig/tsocks.8 2002-03-16 11:20:51.000000000 +0100
103 -+++ tsocks-1.8/tsocks.8 2009-06-20 13:56:38.000000000 +0200
104 -@@ -127,8 +127,8 @@
105 - libtsocks in /etc/ld.so.preload. Please make sure you correctly enter the
106 - full path to the library in this file if you do this. If you get it wrong,
107 - you will be UNABLE TO DO ANYTHING with the machine and will have to boot
108 --it with a rescue disk and remove the file (or try the saveme program, see
109 --the INSTALL file for more info). THIS IS A ***WARNING***, please be
110 -+it with a rescue disk and remove the file (or try the tsocks-saveme program,
111 -+simply unlinks /etc/ld.so.preload ). THIS IS A ***WARNING***, please be
112 - careful. Also be sure the library is in the root filesystem as all hell
113 - will break loose if the directory it is in is not available at boot time.
114 -
115 -diff -Nru tsocks-1.8.orig/tsocks.conf.5 tsocks-1.8/tsocks.conf.5
116 ---- tsocks-1.8.orig/tsocks.conf.5 2002-05-18 04:13:08.000000000 +0200
117 -+++ tsocks-1.8/tsocks.conf.5 2009-06-20 13:56:38.000000000 +0200
118 -@@ -139,21 +139,20 @@
119 - the version that server supports.
120 -
121 - .TP
122 --validateconf
123 --validateconf can be used to verify the configuration file. It checks the format
124 --of the file and also the contents for errors. Having read the file it dumps
125 --the configuration to the screen in a formatted, readable manner. This can be
126 --extremely useful in debugging problems.
127 --
128 --validateconf can read a configuration file from a location other than the
129 --location specified at compile time with the -f <filename> command line
130 --option.
131 --
132 --Normally validateconf simply dumps the configuration read to the screen (in
133 --a nicely readable format), however it also has a useful 'test' mode. When
134 --passed a hostname/ip on the command line like -t <hostname/ip>, validateconf
135 --determines which of the SOCKS servers specified in the configuration file
136 --would be used by tsocks to access the specified host.
137 -+tsocks-validateconf
138 -+tsocks-validateconf can be used to verify the configuration file. It checks
139 -+the format of the file and also the contents for errors. Having read the file
140 -+it dumps the configuration to the screen in a formatted, readable manner.
141 -+This can be extremely useful in debugging problems.
142 -+
143 -+tsocks-validateconf can read a configuration file from a location other than the
144 -+location specified at compile time with the -f <filename> command line option.
145 -+
146 -+Normally tsocks-validateconf simply dumps the configuration read to the screen
147 -+(in a nicely readable format), however it also has a useful 'test' mode. When
148 -+passed a hostname/ip on the command line like -t <hostname/ip>,
149 -+tsocks-validateconf determines which of the SOCKS servers specified in the
150 -+configuration file would be used by tsocks to access the specified host.
151 -
152 - .SH SEE ALSO
153 - tsocks(8)
154 -diff -Nru tsocks-1.8.orig/validateconf.c tsocks-1.8/validateconf.c
155 ---- tsocks-1.8.orig/validateconf.c 2002-02-07 11:49:59.000000000 +0100
156 -+++ tsocks-1.8/validateconf.c 2009-06-20 13:56:38.000000000 +0200
157 -@@ -23,7 +23,7 @@
158 - */
159 -
160 - /* Global configuration variables */
161 --char *progname = "validateconf"; /* Name for error msgs */
162 -+char *progname = "tsocks-validateconf"; /* Name for error msgs */
163 -
164 - /* Header Files */
165 - #include <config.h>
166
167 diff --git a/net-proxy/tsocks/tsocks-1.8_beta5-r5.ebuild b/net-proxy/tsocks/tsocks-1.8_beta5-r5.ebuild
168 deleted file mode 100644
169 index 99f72976b1..0000000000
170 --- a/net-proxy/tsocks/tsocks-1.8_beta5-r5.ebuild
171 +++ /dev/null
172 @@ -1,60 +0,0 @@
173 -# Copyright 1999-2015 Gentoo Foundation
174 -# Distributed under the terms of the GNU General Public License v2
175 -# $Id$
176 -
177 -EAPI="5"
178 -
179 -inherit multilib eutils autotools toolchain-funcs
180 -
181 -DESCRIPTION="Transparent SOCKS v4 proxying library"
182 -HOMEPAGE="http://tsocks.sourceforge.net/"
183 -SRC_URI="mirror://sourceforge/tsocks/${PN}-${PV/_}.tar.gz
184 - tordns? ( mirror://gentoo/${PN}-${PV/_beta/b}-tordns1-gentoo-r1.patch.gz )"
185 -
186 -LICENSE="GPL-2"
187 -SLOT="0"
188 -KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86 ~x86-fbsd"
189 -IUSE="tordns"
190 -
191 -S="${WORKDIR}/${P%%_*}"
192 -
193 -src_prepare() {
194 - epatch "${FILESDIR}/${P}-gentoo-r3.patch"
195 - epatch "${FILESDIR}/${P}-bsd.patch"
196 - use tordns && epatch "../${PN}-${PV/_beta/b}-tordns1-gentoo-r1.patch"
197 - eautoreconf
198 -}
199 -
200 -src_configure() {
201 - tc-export CC
202 -
203 - # NOTE: the docs say to install it into /lib. If you put it into
204 - # /usr/lib and add it to /etc/ld.so.preload on many systems /usr isn't
205 - # mounted in time :-( (Ben Lutgens) <lamer@g.o>
206 - econf \
207 - --with-conf=/etc/socks/tsocks.conf \
208 - --libdir=/$(get_libdir)
209 -}
210 -
211 -src_compile() {
212 - # Fix QA notice lack of SONAME
213 - emake DYNLIB_FLAGS=-Wl,--soname,libtsocks.so.${PV/_beta*}
214 -}
215 -
216 -src_install() {
217 - emake DESTDIR="${D}" install
218 - newbin validateconf tsocks-validateconf
219 - newbin saveme tsocks-saveme
220 - dobin inspectsocks
221 - insinto /etc/socks
222 - doins tsocks.conf.*.example
223 - dodoc FAQ
224 - use tordns && dodoc README*
225 -}
226 -
227 -pkg_postinst() {
228 - einfo "Make sure you create /etc/socks/tsocks.conf from one of the examples in that directory"
229 - einfo "The following executables have been renamed:"
230 - einfo " /usr/bin/saveme renamed to tsocks-saveme"
231 - einfo " /usr/bin/validateconf renamed to tsocks-validateconf"
232 -}