1 |
cedk 07/12/23 12:05:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nufw-2.2.10.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 net-firewall/nufw/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/nufw/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/nufw/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/nufw/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 23 Dec 2007 11:47:24 -0000 1.21 |
23 |
+++ ChangeLog 23 Dec 2007 12:05:44 -0000 1.22 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-firewall/nufw |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.21 2007/12/23 11:47:24 cedk Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.22 2007/12/23 12:05:44 cedk Exp $ |
29 |
+ |
30 |
+*nufw-2.2.10 (23 Dec 2007) |
31 |
+ |
32 |
+ 23 Dec 2007; Cédric Krier <cedk@g.o> |
33 |
+ +files/nufw-2.2.10-destdir.patch, +nufw-2.2.10.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
23 Dec 2007; Cédric Krier <cedk@g.o> nufw-2.2.7.ebuild, |
37 |
nufw-2.2.8.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-firewall/nufw/nufw-2.2.10.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/nufw/nufw-2.2.10.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/nufw/nufw-2.2.10.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nufw-2.2.10.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/nufw-2.2.10.ebuild,v 1.1 2007/12/23 12:05:44 cedk Exp $ |
51 |
|
52 |
inherit autotools ssl-cert eutils |
53 |
|
54 |
DESCRIPTION="An enterprise grade authenticating firewall based on netfilter" |
55 |
HOMEPAGE="http://www.nufw.org/" |
56 |
SRC_URI="http://www.nufw.org/download/${PN}/${P}.tar.bz2" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~x86" |
61 |
IUSE="debug ldap mysql pam pam_nuauth plaintext postgres prelude \ |
62 |
unicode nfqueue nfconntrack static syslog test" |
63 |
|
64 |
DEPEND=">=dev-libs/glib-2 |
65 |
dev-libs/libgcrypt |
66 |
>=dev-libs/cyrus-sasl-2 |
67 |
net-firewall/iptables |
68 |
>=net-libs/gnutls-1.1 |
69 |
ldap? ( >=net-nds/openldap-2 ) |
70 |
mysql? ( virtual/mysql ) |
71 |
pam? ( sys-libs/pam ) |
72 |
pam_nuauth? ( sys-libs/pam ) |
73 |
postgres? ( dev-db/postgresql ) |
74 |
nfqueue? ( net-libs/libnfnetlink |
75 |
net-libs/libnetfilter_queue ) |
76 |
nfconntrack? ( net-libs/libnetfilter_conntrack ) |
77 |
dev-python/ipy" |
78 |
RDEPEND=${DEPEND} |
79 |
|
80 |
src_unpack() { |
81 |
unpack ${A} |
82 |
cd "${S}" |
83 |
sed -i \ |
84 |
-e 's:^#\(nuauth_tls_key="/etc/nufw/\)nuauth-key.pem:\1nuauth.key:' \ |
85 |
-e 's:^#\(nuauth_tls_cert="/etc/nufw/\)nuauth-cert.pem:\1nuauth.pem:' \ |
86 |
conf/nuauth.conf || die "sed failed" |
87 |
epatch "${FILESDIR}/${P}-destdir.patch" |
88 |
|
89 |
# This tests requre inl_tests to be installed. We don't have it now in our |
90 |
# tree so we disable them for now... for more information see tests/README |
91 |
use test && sed -i "s:\(^TESTS=test_all.py\):#\1:" tests/Makefile.am |
92 |
|
93 |
eautoreconf |
94 |
} |
95 |
|
96 |
src_compile() { |
97 |
econf \ |
98 |
--with-shared \ |
99 |
$(use_enable static) \ |
100 |
$(use_enable pam_nuauth pam-nuauth) \ |
101 |
$(use_with prelude prelude-log) \ |
102 |
$(use_with mysql mysql-log) \ |
103 |
$(use_with mysql mysql-auth) \ |
104 |
$(use_with postgres pgsql-log) \ |
105 |
$(use_with syslog syslog-log) \ |
106 |
$(use_with plaintext plaintext-auth) \ |
107 |
--with-mark-group \ |
108 |
$(use_with pam system-auth) \ |
109 |
$(use_with ldap) \ |
110 |
$(use_with nfqueue) \ |
111 |
$(use_with nfconntrack) \ |
112 |
$(use_with unicode utf8) \ |
113 |
$(use_enable debug) \ |
114 |
--sysconfdir="/etc/nufw" \ |
115 |
--localstatedir="/var" \ |
116 |
|| die "econf failed" |
117 |
emake || die "emake failed" |
118 |
} |
119 |
|
120 |
src_test() { |
121 |
ewarn "Some tests are skiped! If you wish to run them read tests/README and" |
122 |
ewarn "do that manually." |
123 |
ebeep 5 |
124 |
make check |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
emake DESTDIR="${D}" install || die "emake install failed" |
129 |
|
130 |
newinitd "${FILESDIR}"/nufw-init.d nufw |
131 |
newconfd "${FILESDIR}"/nufw-conf.d nufw |
132 |
|
133 |
newinitd "${FILESDIR}"/nuauth-init.d nuauth |
134 |
newconfd "${FILESDIR}"/nuauth-conf.d nuauth |
135 |
|
136 |
insinto /etc/nufw |
137 |
doins conf/nuauth.conf |
138 |
keepdir /var/run/nuauth |
139 |
|
140 |
dodoc AUTHORS ChangeLog NEWS README TODO |
141 |
docinto scripts |
142 |
dodoc scripts/{clean_conntrack.pl,nuaclgen,nutop,README,ulog_rotate_daily.sh,ulog_rotate_weekly.sh} |
143 |
docinto conf |
144 |
dodoc conf/*.{nufw,schema,conf,dump,xml} |
145 |
} |
146 |
|
147 |
pkg_postinst() { |
148 |
docert nufw nuauth |
149 |
} |
150 |
|
151 |
|
152 |
|
153 |
-- |
154 |
gentoo-commits@g.o mailing list |