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