1 |
commit: 4b7ea45449c1d97f3cf3124e64ec95d7ff3850a7 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 9 22:53:46 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 9 22:53:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7ea454 |
7 |
|
8 |
net-proxy/dante: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
net-proxy/dante/dante-1.4.1-r3.ebuild | 102 ---------------------------------- |
14 |
1 file changed, 102 deletions(-) |
15 |
|
16 |
diff --git a/net-proxy/dante/dante-1.4.1-r3.ebuild b/net-proxy/dante/dante-1.4.1-r3.ebuild |
17 |
deleted file mode 100644 |
18 |
index 3049bca8888..00000000000 |
19 |
--- a/net-proxy/dante/dante-1.4.1-r3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,102 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit autotools systemd |
28 |
- |
29 |
-DESCRIPTION="A free socks4,5 and msproxy implementation" |
30 |
-HOMEPAGE="https://www.inet.no/dante/" |
31 |
-SRC_URI="https://www.inet.no/dante/files/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="BSD GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" |
36 |
-IUSE="debug kerberos pam selinux static-libs tcpd upnp" |
37 |
- |
38 |
-CDEPEND=" |
39 |
- kerberos? ( virtual/krb5 ) |
40 |
- pam? ( sys-libs/pam ) |
41 |
- tcpd? ( sys-apps/tcp-wrappers ) |
42 |
- upnp? ( net-libs/miniupnpc:= ) |
43 |
- userland_GNU? ( sys-apps/shadow ) |
44 |
-" |
45 |
-DEPEND=" |
46 |
- ${CDEPEND} |
47 |
- sys-devel/bison |
48 |
- sys-devel/flex |
49 |
-" |
50 |
-RDEPEND=" |
51 |
- ${CDEPEND} |
52 |
- acct-user/sockd |
53 |
- selinux? ( sec-policy/selinux-dante ) |
54 |
-" |
55 |
- |
56 |
-DOCS="BUGS CREDITS NEWS README SUPPORT doc/README* doc/*.txt doc/SOCKS4.protocol" |
57 |
- |
58 |
-PATCHES=( |
59 |
- "${FILESDIR}"/${PN}-1.4.0-socksify.patch |
60 |
- "${FILESDIR}"/${PN}-1.4.0-osdep-format-macro.patch |
61 |
- "${FILESDIR}"/${PN}-1.4.0-cflags.patch |
62 |
- "${FILESDIR}"/${PN}-1.4.0-HAVE_SENDBUF_IOCTL.patch |
63 |
- "${FILESDIR}"/${PN}-1.4.1-sigpwr-siginfo.patch #517528 |
64 |
- "${FILESDIR}"/${PN}-1.4.1-miniupnp14.patch #564680 |
65 |
-) |
66 |
- |
67 |
-src_prepare() { |
68 |
- default |
69 |
- |
70 |
- sed -i \ |
71 |
- -e 's:/etc/socks\.conf:"${EPREFIX}"/etc/socks/socks.conf:' \ |
72 |
- -e 's:/etc/sockd\.conf:"${EPREFIX}"/etc/socks/sockd.conf:' \ |
73 |
- doc/{socksify.1,socks.conf.5,sockd.conf.5,sockd.8} \ |
74 |
- || die |
75 |
- |
76 |
- sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die |
77 |
- |
78 |
- eautoreconf |
79 |
-} |
80 |
- |
81 |
-src_configure() { |
82 |
- # hardcoded the libc name otherwise the scan on a amd64 multilib system |
83 |
- # ends up finding /usr/lib32/libc.so.5. That cascades and causes the |
84 |
- # preload/libdsocks to not be built. |
85 |
- econf \ |
86 |
- --with-socks-conf="${EPREFIX}"/etc/socks/socks.conf \ |
87 |
- --with-sockd-conf="${EPREFIX}"/etc/socks/sockd.conf \ |
88 |
- --enable-preload \ |
89 |
- --enable-clientdl \ |
90 |
- --enable-serverdl \ |
91 |
- --enable-drt-fallback \ |
92 |
- --with-libc=libc.so.6 \ |
93 |
- $(use_enable debug) \ |
94 |
- $(use_with kerberos gssapi) \ |
95 |
- $(use_with pam) \ |
96 |
- $(use_with upnp) \ |
97 |
- $(use_enable static-libs static) \ |
98 |
- $(use_with tcpd libwrap) |
99 |
-} |
100 |
- |
101 |
-src_install() { |
102 |
- default |
103 |
- |
104 |
- # default configuration files |
105 |
- insinto /etc/socks |
106 |
- doins "${FILESDIR}"/sock?.conf |
107 |
- pushd "${ED}"/etc/socks > /dev/null |
108 |
- use pam && eapply -p0 "${FILESDIR}"/sockd.conf-with-pam.patch |
109 |
- use tcpd && eapply -p0 "${FILESDIR}"/sockd.conf-with-libwrap.patch |
110 |
- popd > /dev/null |
111 |
- |
112 |
- # init script |
113 |
- newinitd "${FILESDIR}"/${PN}-1.3.2-sockd-init dante-sockd |
114 |
- newconfd "${FILESDIR}"/dante-sockd-conf dante-sockd |
115 |
- |
116 |
- systemd_dounit "${FILESDIR}"/dante-sockd.service |
117 |
- |
118 |
- # example configuration files |
119 |
- docinto examples |
120 |
- dodoc example/*.conf |
121 |
- |
122 |
- find "${ED}" -name '*.la' -delete || die |
123 |
-} |