Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/proxychains/, net-misc/proxychains/files/
Date: Fri, 05 Jan 2018 07:28:54
Message-Id: 1515137219.9abca29a95ff1f6eb90a2d97527af37fd6bb7892.radhermit@gentoo
1 commit: 9abca29a95ff1f6eb90a2d97527af37fd6bb7892
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 5 07:26:59 2018 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 5 07:26:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9abca29a
7
8 net-misc/proxychains: remove old
9
10 net-misc/proxychains/Manifest | 1 -
11 .../files/proxychains-4.10-makefile.patch | 45 ---------------------
12 net-misc/proxychains/proxychains-4.11.ebuild | 46 ----------------------
13 3 files changed, 92 deletions(-)
14
15 diff --git a/net-misc/proxychains/Manifest b/net-misc/proxychains/Manifest
16 index d73bad1a3b2..3be42d78392 100644
17 --- a/net-misc/proxychains/Manifest
18 +++ b/net-misc/proxychains/Manifest
19 @@ -1,2 +1 @@
20 -DIST proxychains-ng-4.11.tar.bz2 31856 BLAKE2B 6ff8611a9c5d3c38a148e7d3c1109d0a738f95641e61b965d24a7fa71db0a4c803fa98d4b32349c11013858b0a9de83c3754eb8703c969140ea604c6a3f0de06 SHA512 241365e8a8bbcead22c7844a2970f59bfc1ee9ef9a42a3f800823e70008bd976835d705a8b9894980c46307dce3a886514051023bafef113845531cb5d928e1c
21 DIST proxychains-ng-4.12.tar.xz 31816 BLAKE2B 1267cd67ca3a21737abe9e510103c35e409a4afebf30c8917b7be8a84f1bb4edc55b6ec633eb5e63682ed2f6c277a464e16adaa52c70c8bac2588cfe7b36f1a6 SHA512 c1319065b2885fb16f1cd10092a25f49c20ace82dc67edcb2e8845fe79274fe63f5214d117eef3bfdffdc6aa8bf6904ea216047bd626043c5ecb36cd15d5560a
22
23 diff --git a/net-misc/proxychains/files/proxychains-4.10-makefile.patch b/net-misc/proxychains/files/proxychains-4.10-makefile.patch
24 deleted file mode 100644
25 index 5a3a2e1a6e8..00000000000
26 --- a/net-misc/proxychains/files/proxychains-4.10-makefile.patch
27 +++ /dev/null
28 @@ -1,45 +0,0 @@
29 ---- proxychains-ng-4.10.orig/Makefile
30 -+++ proxychains-ng-4.10/Makefile
31 -@@ -22,11 +22,9 @@
32 -
33 - GENH = src/version.h
34 -
35 --CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe
36 --NO_AS_NEEDED = -Wl,--no-as-needed
37 --LIBDL = -ldl
38 --LDFLAGS = -shared -fPIC $(NO_AS_NEEDED) $(LIBDL) -lpthread
39 --INC =
40 -+CFLAGS = -Wall -std=c99 -D_GNU_SOURCE
41 -+LIBS = -ldl -lpthread
42 -+INC =
43 - PIC = -fPIC
44 - AR = $(CROSS_COMPILE)ar
45 - RANLIB = $(CROSS_COMPILE)ranlib
46 -@@ -35,11 +33,11 @@
47 - LD_SET_SONAME = -Wl,-soname=
48 - INSTALL = ./tools/install.sh
49 -
50 --LDSO_PATHNAME = libproxychains4.$(LDSO_SUFFIX)
51 -+LDSO_PATHNAME = libproxychains.$(LDSO_SUFFIX)
52 -
53 - SHARED_LIBS = $(LDSO_PATHNAME)
54 - ALL_LIBS = $(SHARED_LIBS)
55 --PXCHAINS = proxychains4
56 -+PXCHAINS = proxychains
57 - ALL_TOOLS = $(PXCHAINS)
58 - ALL_CONFIGS = src/proxychains.conf
59 -
60 -@@ -81,11 +79,10 @@
61 - $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_MAIN) $(INC) $(PIC) -c -o $@ $<
62 -
63 - $(LDSO_PATHNAME): $(LOBJS)
64 -- $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) $(USER_LDFLAGS) \
65 -- -o $@ $(LOBJS)
66 -+ $(CC) $(LDFLAGS) -shared $(PIC) $(LD_SET_SONAME)$(LDSO_PATHNAME) -o $@ $(LOBJS) $(LIBS)
67 -
68 - $(ALL_TOOLS): $(OBJS)
69 -- $(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS)
70 -+ $(CC) $(LDFLAGS) src/main.o src/common.o -o $(PXCHAINS) $(LIBS)
71 -
72 -
73 - .PHONY: all clean install install-config install-libs install-tools
74
75 diff --git a/net-misc/proxychains/proxychains-4.11.ebuild b/net-misc/proxychains/proxychains-4.11.ebuild
76 deleted file mode 100644
77 index 653885331f4..00000000000
78 --- a/net-misc/proxychains/proxychains-4.11.ebuild
79 +++ /dev/null
80 @@ -1,46 +0,0 @@
81 -# Copyright 1999-2016 Gentoo Foundation
82 -# Distributed under the terms of the GNU General Public License v2
83 -
84 -EAPI=5
85 -
86 -inherit toolchain-funcs eutils multilib
87 -
88 -MY_PN=${PN}-ng
89 -MY_P=${MY_PN}-${PV}
90 -
91 -DESCRIPTION="force any tcp connections to flow through a proxy (or proxy chain)"
92 -HOMEPAGE="https://github.com/rofl0r/proxychains-ng/"
93 -SRC_URI="https://github.com/rofl0r/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.bz2"
94 -
95 -LICENSE="GPL-2"
96 -SLOT="0"
97 -KEYWORDS="amd64 ppc ~sparc x86"
98 -
99 -S=${WORKDIR}/${MY_P}
100 -
101 -src_prepare() {
102 - epatch "${FILESDIR}"/${PN}-4.10-makefile.patch
103 - sed -i "s/^\(LDSO_SUFFIX\).*/\1 = so.${PV}/" Makefile || die
104 - tc-export CC
105 -}
106 -
107 -src_configure() {
108 - # not autotools
109 - ./configure \
110 - --prefix="${EPREFIX}"/usr \
111 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
112 - --sysconfdir="${EPREFIX}"/etc \
113 - || die
114 -}
115 -
116 -src_install() {
117 - dobin ${PN}
118 - dodoc AUTHORS README TODO
119 -
120 - dolib.so lib${PN}.so.${PV}
121 - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1}
122 - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
123 -
124 - insinto /etc
125 - doins src/${PN}.conf
126 -}