summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-12-23 12:05:45 +0000
committerCédric Krier <cedk@gentoo.org>2007-12-23 12:05:45 +0000
commitbafb364099a6c5db11514ad046a5640ae53bd54e (patch)
treedb6688b61e7e890e8ef37dee87accf4f4cdd84cd /net-firewall
parentMove docert for bug #201673 (diff)
downloadhistorical-bafb364099a6c5db11514ad046a5640ae53bd54e.tar.gz
historical-bafb364099a6c5db11514ad046a5640ae53bd54e.tar.bz2
historical-bafb364099a6c5db11514ad046a5640ae53bd54e.zip
Version bump
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/nufw/ChangeLog8
-rw-r--r--net-firewall/nufw/Manifest20
-rw-r--r--net-firewall/nufw/files/digest-nufw-2.2.103
-rw-r--r--net-firewall/nufw/files/nufw-2.2.10-destdir.patch23
-rw-r--r--net-firewall/nufw/nufw-2.2.10.ebuild102
5 files changed, 151 insertions, 5 deletions
diff --git a/net-firewall/nufw/ChangeLog b/net-firewall/nufw/ChangeLog
index cb36a8009974..32fe8e65a37c 100644
--- a/net-firewall/nufw/ChangeLog
+++ b/net-firewall/nufw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/nufw
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.21 2007/12/23 11:47:24 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.22 2007/12/23 12:05:44 cedk Exp $
+
+*nufw-2.2.10 (23 Dec 2007)
+
+ 23 Dec 2007; Cédric Krier <cedk@gentoo.org>
+ +files/nufw-2.2.10-destdir.patch, +nufw-2.2.10.ebuild:
+ Version bump
23 Dec 2007; Cédric Krier <cedk@gentoo.org> nufw-2.2.7.ebuild,
nufw-2.2.8.ebuild:
diff --git a/net-firewall/nufw/Manifest b/net-firewall/nufw/Manifest
index 75f16b97c5d4..a76d125cc990 100644
--- a/net-firewall/nufw/Manifest
+++ b/net-firewall/nufw/Manifest
@@ -6,6 +6,10 @@ AUX nuauth-init.d 522 RMD160 89f255a1ebe12ef629ec9963834c445e0df4a6dc SHA1 0d9c6
MD5 65f60dfaa7909e33329c7c605767bda8 files/nuauth-init.d 522
RMD160 89f255a1ebe12ef629ec9963834c445e0df4a6dc files/nuauth-init.d 522
SHA256 18c988dccda3cbbef92d0a218a8eba62694b5a5fc66980a9120bbd146629ccf3 files/nuauth-init.d 522
+AUX nufw-2.2.10-destdir.patch 1164 RMD160 0c00d6e460dc3166150a16bc0bea47958d1367a9 SHA1 4793e70a0175a06723ac2ec739427c700260a069 SHA256 e8d7bc8e99cfe074a2e44c0d47518249904c7f37ddca038e48b96d219157ebd7
+MD5 2aa48ca552780a230e724d8e45aeeefb files/nufw-2.2.10-destdir.patch 1164
+RMD160 0c00d6e460dc3166150a16bc0bea47958d1367a9 files/nufw-2.2.10-destdir.patch 1164
+SHA256 e8d7bc8e99cfe074a2e44c0d47518249904c7f37ddca038e48b96d219157ebd7 files/nufw-2.2.10-destdir.patch 1164
AUX nufw-2.2.6-auth_mysql.patch 734 RMD160 a30e44787aefbe153aaaa35f05b8a8e513151ffb SHA1 885876c8c6545841bbad62c3f32086f05a6c7568 SHA256 e7785b9a46c575cedb6b792af88674fac1e0ab3629e5e084df136d55b0ead9b0
MD5 52ae012e7db0369fd87bb9f3f6994969 files/nufw-2.2.6-auth_mysql.patch 734
RMD160 a30e44787aefbe153aaaa35f05b8a8e513151ffb files/nufw-2.2.6-auth_mysql.patch 734
@@ -18,8 +22,13 @@ AUX nufw-init.d 276 RMD160 3aae0f4b5d77f4af5c1966570112fed29dda17a1 SHA1 8154d2a
MD5 7b79848ae7a975b23eed5e1ad223f220 files/nufw-init.d 276
RMD160 3aae0f4b5d77f4af5c1966570112fed29dda17a1 files/nufw-init.d 276
SHA256 972c3c94a7e290985cc7e8a0ccc40dfa0e10d7eee44e218c70f6fc7f8ed73f9d files/nufw-init.d 276
+DIST nufw-2.2.10.tar.bz2 554056 RMD160 42d6bfd7b6389b69a35c4f3609b38a3896741846 SHA1 4b51b225c27fb8828699b388079950c6b014a1ee SHA256 f150a3668a347c2055d64c07bb5aede128c98e00b8dd92ebf1245a1a02f4dc11
DIST nufw-2.2.7.tar.bz2 793735 RMD160 f80930ddc8979c860106c5505d7712ba1e157250 SHA1 46a0e868afeba6da558181e0fa789925181b2b8e SHA256 2bd4599b37c726843986d35dbcc72d469cd26e1ae061bca5a99e7fc7ed96577d
DIST nufw-2.2.8.tar.bz2 542010 RMD160 8723d70b66fe0d0f07ecb89a806356b6554be304 SHA1 858e1ce82fd4f8ea2a8a29d289b95e6a31c8b581 SHA256 ef479e7006e2037d78331d5f7f35fa6fffc23bcea9e05e793db723a5052dbf1f
+EBUILD nufw-2.2.10.ebuild 2836 RMD160 2f51aab3c821dc7f0d500465224493a51e7de4f0 SHA1 8bd0474ccad420bc208aef282871afbde2e5829e SHA256 c5f769d1830e803247077814987d1cf7b1c04626ebc2aa1fb4214979af8ae751
+MD5 52f4c5b7adde66922c545b0524a836c2 nufw-2.2.10.ebuild 2836
+RMD160 2f51aab3c821dc7f0d500465224493a51e7de4f0 nufw-2.2.10.ebuild 2836
+SHA256 c5f769d1830e803247077814987d1cf7b1c04626ebc2aa1fb4214979af8ae751 nufw-2.2.10.ebuild 2836
EBUILD nufw-2.2.7.ebuild 3017 RMD160 64849cbc38b36dd23f9bc98ebd71b6c881704374 SHA1 4439bd2f0ea810951c0a932b5bbdd018b3af0e3b SHA256 81124c6c8b7d4a13c56a930a12b2342a7a6138a4e906e0dd01bb67728a527d9a
MD5 da15bc1b3a6f0483afd6928eb24d5fe4 nufw-2.2.7.ebuild 3017
RMD160 64849cbc38b36dd23f9bc98ebd71b6c881704374 nufw-2.2.7.ebuild 3017
@@ -28,14 +37,17 @@ EBUILD nufw-2.2.8.ebuild 2827 RMD160 d5612a659f754c2902fd21db9d3ccc3cfb0ca9ba SH
MD5 a843e8258da37784ce4af3fd1077fd4d nufw-2.2.8.ebuild 2827
RMD160 d5612a659f754c2902fd21db9d3ccc3cfb0ca9ba nufw-2.2.8.ebuild 2827
SHA256 f1cdaf628f248347f33cd9598b36dfbb013c4e2d689bd3dd02cdc68b41e5d7e8 nufw-2.2.8.ebuild 2827
-MISC ChangeLog 2930 RMD160 a6d2e92228d596f14ab2695b11b9324d738e30fb SHA1 b241cf92fe2710bbf39c970817251bea672561a1 SHA256 531eed4ce98200bc0759c5b899aff39f1b0c3bdcb3efcaf525dd51094b911dbe
-MD5 2715766506776ddd63b2b7a81cee709f ChangeLog 2930
-RMD160 a6d2e92228d596f14ab2695b11b9324d738e30fb ChangeLog 2930
-SHA256 531eed4ce98200bc0759c5b899aff39f1b0c3bdcb3efcaf525dd51094b911dbe ChangeLog 2930
+MISC ChangeLog 3078 RMD160 07c45a8a6d70e7379adf678ae9526245d561acf0 SHA1 6cfddff97623e53caf9afbe7732c22f0c16ed7d7 SHA256 c63296b40e73e13a363ee74aa8d875e88755ab9d8ccb6706aa445416e2ff3a95
+MD5 b7b691ca9644edbb50592ed33893b84e ChangeLog 3078
+RMD160 07c45a8a6d70e7379adf678ae9526245d561acf0 ChangeLog 3078
+SHA256 c63296b40e73e13a363ee74aa8d875e88755ab9d8ccb6706aa445416e2ff3a95 ChangeLog 3078
MISC metadata.xml 317 RMD160 7462c099b149003e014c1f17e08dd5783de779c4 SHA1 15f04c20107acb198979af7c4270b40d6e0156a7 SHA256 4812839c16f73def560f5191e6141117e5729871ebbab6d02fc4a53bec2d9869
MD5 4b3e13fee26f7b6dccc9dab192144b92 metadata.xml 317
RMD160 7462c099b149003e014c1f17e08dd5783de779c4 metadata.xml 317
SHA256 4812839c16f73def560f5191e6141117e5729871ebbab6d02fc4a53bec2d9869 metadata.xml 317
+MD5 a50498422ea84a2d31ffa8f32740bbc7 files/digest-nufw-2.2.10 238
+RMD160 851141cb81388b67de7a0aa5346799df7f28264a files/digest-nufw-2.2.10 238
+SHA256 653023b8cf04f9d4b12c17d0bc1241c66ceb196a3351deda2d59cdb26773347b files/digest-nufw-2.2.10 238
MD5 5b53f3fbeb08e649d16816ac04bc360d files/digest-nufw-2.2.7 235
RMD160 1b0f7b522b91557287919c6ed97d3bd30d9457db files/digest-nufw-2.2.7 235
SHA256 a6c565808adfb0773a0ce6407444af69008bd5dfa0b99e07e14126558ef2ebb0 files/digest-nufw-2.2.7 235
diff --git a/net-firewall/nufw/files/digest-nufw-2.2.10 b/net-firewall/nufw/files/digest-nufw-2.2.10
new file mode 100644
index 000000000000..23ca363c6382
--- /dev/null
+++ b/net-firewall/nufw/files/digest-nufw-2.2.10
@@ -0,0 +1,3 @@
+MD5 99b99121d9a20127d1da0912de6be20a nufw-2.2.10.tar.bz2 554056
+RMD160 42d6bfd7b6389b69a35c4f3609b38a3896741846 nufw-2.2.10.tar.bz2 554056
+SHA256 f150a3668a347c2055d64c07bb5aede128c98e00b8dd92ebf1245a1a02f4dc11 nufw-2.2.10.tar.bz2 554056
diff --git a/net-firewall/nufw/files/nufw-2.2.10-destdir.patch b/net-firewall/nufw/files/nufw-2.2.10-destdir.patch
new file mode 100644
index 000000000000..751e776d27d2
--- /dev/null
+++ b/net-firewall/nufw/files/nufw-2.2.10-destdir.patch
@@ -0,0 +1,23 @@
+diff -uNr nufw-2.2.10/scripts/nuauth_command/Makefile.am nufw-2.2.10-nw/scripts/nuauth_command/Makefile.am
+--- nufw-2.2.10/scripts/nuauth_command/Makefile.am 2007-12-01 06:55:58.000000000 -0700
++++ nufw-2.2.10-nw/scripts/nuauth_command/Makefile.am 2007-12-20 09:49:35.000000000 -0700
+@@ -5,6 +5,6 @@
+ EXTRA_DIST = setup.py
+
+ install-exec-local:
+- $(PYTHON) $(srcdir)/setup.py install --prefix $(prefix)
++ $(PYTHON) $(srcdir)/setup.py install --prefix $(DESTDIR)$(prefix)
+
+ endif
+diff -uNr nufw-2.2.10/scripts/nuauth_command/Makefile.in nufw-2.2.10-nw/scripts/nuauth_command/Makefile.in
+--- nufw-2.2.10/scripts/nuauth_command/Makefile.in 2007-12-04 13:50:41.000000000 -0700
++++ nufw-2.2.10-nw/scripts/nuauth_command/Makefile.in 2007-12-20 09:49:13.000000000 -0700
+@@ -533,7 +533,7 @@
+
+
+ @BUILD_NUAUTH_COMMAND_TRUE@install-exec-local:
+-@BUILD_NUAUTH_COMMAND_TRUE@ $(PYTHON) $(srcdir)/setup.py install --prefix $(prefix)
++@BUILD_NUAUTH_COMMAND_TRUE@ $(PYTHON) $(srcdir)/setup.py install --prefix $(DESTDIR)$(prefix)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/net-firewall/nufw/nufw-2.2.10.ebuild b/net-firewall/nufw/nufw-2.2.10.ebuild
new file mode 100644
index 000000000000..65cc22973ccd
--- /dev/null
+++ b/net-firewall/nufw/nufw-2.2.10.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/nufw-2.2.10.ebuild,v 1.1 2007/12/23 12:05:44 cedk Exp $
+
+inherit autotools ssl-cert eutils
+
+DESCRIPTION="An enterprise grade authenticating firewall based on netfilter"
+HOMEPAGE="http://www.nufw.org/"
+SRC_URI="http://www.nufw.org/download/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="debug ldap mysql pam pam_nuauth plaintext postgres prelude \
+unicode nfqueue nfconntrack static syslog test"
+
+DEPEND=">=dev-libs/glib-2
+ dev-libs/libgcrypt
+ >=dev-libs/cyrus-sasl-2
+ net-firewall/iptables
+ >=net-libs/gnutls-1.1
+ ldap? ( >=net-nds/openldap-2 )
+ mysql? ( virtual/mysql )
+ pam? ( sys-libs/pam )
+ pam_nuauth? ( sys-libs/pam )
+ postgres? ( dev-db/postgresql )
+ nfqueue? ( net-libs/libnfnetlink
+ net-libs/libnetfilter_queue )
+ nfconntrack? ( net-libs/libnetfilter_conntrack )
+ dev-python/ipy"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:^#\(nuauth_tls_key="/etc/nufw/\)nuauth-key.pem:\1nuauth.key:' \
+ -e 's:^#\(nuauth_tls_cert="/etc/nufw/\)nuauth-cert.pem:\1nuauth.pem:' \
+ conf/nuauth.conf || die "sed failed"
+ epatch "${FILESDIR}/${P}-destdir.patch"
+
+ # This tests requre inl_tests to be installed. We don't have it now in our
+ # tree so we disable them for now... for more information see tests/README
+ use test && sed -i "s:\(^TESTS=test_all.py\):#\1:" tests/Makefile.am
+
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ --with-shared \
+ $(use_enable static) \
+ $(use_enable pam_nuauth pam-nuauth) \
+ $(use_with prelude prelude-log) \
+ $(use_with mysql mysql-log) \
+ $(use_with mysql mysql-auth) \
+ $(use_with postgres pgsql-log) \
+ $(use_with syslog syslog-log) \
+ $(use_with plaintext plaintext-auth) \
+ --with-mark-group \
+ $(use_with pam system-auth) \
+ $(use_with ldap) \
+ $(use_with nfqueue) \
+ $(use_with nfconntrack) \
+ $(use_with unicode utf8) \
+ $(use_enable debug) \
+ --sysconfdir="/etc/nufw" \
+ --localstatedir="/var" \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_test() {
+ ewarn "Some tests are skiped! If you wish to run them read tests/README and"
+ ewarn "do that manually."
+ ebeep 5
+ make check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ newinitd "${FILESDIR}"/nufw-init.d nufw
+ newconfd "${FILESDIR}"/nufw-conf.d nufw
+
+ newinitd "${FILESDIR}"/nuauth-init.d nuauth
+ newconfd "${FILESDIR}"/nuauth-conf.d nuauth
+
+ insinto /etc/nufw
+ doins conf/nuauth.conf
+ keepdir /var/run/nuauth
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ docinto scripts
+ dodoc scripts/{clean_conntrack.pl,nuaclgen,nutop,README,ulog_rotate_daily.sh,ulog_rotate_weekly.sh}
+ docinto conf
+ dodoc conf/*.{nufw,schema,conf,dump,xml}
+}
+
+pkg_postinst() {
+ docert nufw nuauth
+}