1 |
tomwij 13/03/04 12:41:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dante-1.4.0_pre1.ebuild |
5 |
Log: |
6 |
Version bump to 1.4.0_pre1. |
7 |
|
8 |
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.65 net-proxy/dante/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/dante/ChangeLog?rev=1.65&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/dante/ChangeLog?rev=1.65&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/dante/ChangeLog?r1=1.64&r2=1.65 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-proxy/dante/ChangeLog,v |
20 |
retrieving revision 1.64 |
21 |
retrieving revision 1.65 |
22 |
diff -u -r1.64 -r1.65 |
23 |
--- ChangeLog 26 Apr 2012 16:53:40 -0000 1.64 |
24 |
+++ ChangeLog 4 Mar 2013 12:41:03 -0000 1.65 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-proxy/dante |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/dante/ChangeLog,v 1.64 2012/04/26 16:53:40 aballier Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/dante/ChangeLog,v 1.65 2013/03/04 12:41:03 tomwij Exp $ |
31 |
+ |
32 |
+*dante-1.4.0_pre1 (04 Mar 2013) |
33 |
+ |
34 |
+ 04 Mar 2013; Tom Wijsman <TomWij@g.o> +dante-1.4.0_pre1.ebuild: |
35 |
+ Version bump to 1.4.0_pre1. |
36 |
|
37 |
26 Apr 2012; Alexis Ballier <aballier@g.o> dante-1.3.2.ebuild: |
38 |
keyword ~amd64-fbsd |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-proxy/dante/dante-1.4.0_pre1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/dante/dante-1.4.0_pre1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/dante/dante-1.4.0_pre1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dante-1.4.0_pre1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-proxy/dante/dante-1.4.0_pre1.ebuild,v 1.1 2013/03/04 12:41:03 tomwij Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
|
55 |
inherit autotools eutils |
56 |
|
57 |
DESCRIPTION="A free socks4,5 and msproxy implementation" |
58 |
HOMEPAGE="http://www.inet.no/dante/" |
59 |
MY_P="${P/_/-}" |
60 |
SRC_URI="ftp://ftp.inet.no/pub/socks/${MY_P}.tar.gz" |
61 |
|
62 |
LICENSE="BSD" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
65 |
IUSE="debug kerberos pam selinux static-libs tcpd" |
66 |
|
67 |
RDEPEND="pam? ( virtual/pam ) |
68 |
kerberos? ( virtual/krb5 ) |
69 |
selinux? ( sec-policy/selinux-dante ) |
70 |
tcpd? ( sys-apps/tcp-wrappers ) |
71 |
userland_GNU? ( virtual/shadow )" |
72 |
DEPEND="${RDEPEND} |
73 |
sys-devel/flex |
74 |
sys-devel/bison" |
75 |
|
76 |
DOCS="BUGS CREDITS NEWS README SUPPORT doc/README* doc/*.txt doc/SOCKS4.protocol" |
77 |
|
78 |
S="${WORKDIR}/${MY_P}" |
79 |
|
80 |
src_prepare() { |
81 |
epatch \ |
82 |
"${FILESDIR}"/${PN}-1.3.0-socksify.patch |
83 |
|
84 |
sed -i \ |
85 |
-e 's:/etc/socks\.conf:"${EPREFIX}"/etc/socks/socks.conf:' \ |
86 |
-e 's:/etc/sockd\.conf:"${EPREFIX}"/etc/socks/sockd.conf:' \ |
87 |
doc/{socksify.1,socks.conf.5,sockd.conf.5,sockd.8} \ |
88 |
|| die |
89 |
eautoreconf |
90 |
} |
91 |
|
92 |
src_configure() { |
93 |
econf \ |
94 |
--with-socks-conf="${EPREFIX}"/etc/socks/socks.conf \ |
95 |
--with-sockd-conf="${EPREFIX}"/etc/socks/sockd.conf \ |
96 |
--without-upnp \ |
97 |
$(use_enable debug) \ |
98 |
$(use_with kerberos gssapi) \ |
99 |
$(use_with pam) \ |
100 |
$(use_enable static-libs static) \ |
101 |
$(use_enable tcpd libwrap) |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
default |
106 |
|
107 |
# default configuration files |
108 |
insinto /etc/socks |
109 |
doins "${FILESDIR}"/sock?.conf |
110 |
pushd "${ED}/etc/socks" > /dev/null |
111 |
use pam && epatch "${FILESDIR}/sockd.conf-with-pam.patch" |
112 |
use tcpd && epatch "${FILESDIR}/sockd.conf-with-libwrap.patch" |
113 |
popd > /dev/null |
114 |
|
115 |
# init script |
116 |
newinitd "${FILESDIR}/dante-sockd-init" dante-sockd |
117 |
newconfd "${FILESDIR}/dante-sockd-conf" dante-sockd |
118 |
|
119 |
# example configuration files |
120 |
docinto examples |
121 |
dodoc example/*.conf |
122 |
|
123 |
use static-libs || find "${ED}" -name '*.la' -exec rm '{}' + |
124 |
} |
125 |
|
126 |
pkg_postinst() { |
127 |
enewuser sockd -1 -1 /etc/socks daemon |
128 |
} |