summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/nufw')
-rw-r--r--net-firewall/nufw/ChangeLog7
-rw-r--r--net-firewall/nufw/Manifest4
-rw-r--r--net-firewall/nufw/nufw-2.2.14.ebuild107
3 files changed, 116 insertions, 2 deletions
diff --git a/net-firewall/nufw/ChangeLog b/net-firewall/nufw/ChangeLog
index 436ae765538f..28ff24fb5048 100644
--- a/net-firewall/nufw/ChangeLog
+++ b/net-firewall/nufw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-firewall/nufw
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.28 2008/03/28 00:10:19 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.29 2008/04/05 10:24:24 cedk Exp $
+
+*nufw-2.2.14 (05 Apr 2008)
+
+ 05 Apr 2008; CĂ©dric Krier <cedk@gentoo.org> +nufw-2.2.14.ebuild:
+ Version bump
*nufw-2.2.13 (28 Mar 2008)
diff --git a/net-firewall/nufw/Manifest b/net-firewall/nufw/Manifest
index 58beebc03b8f..58b76df9a692 100644
--- a/net-firewall/nufw/Manifest
+++ b/net-firewall/nufw/Manifest
@@ -5,8 +5,10 @@ AUX nufw-2.2.6-auth_mysql.patch 734 RMD160 a30e44787aefbe153aaaa35f05b8a8e513151
AUX nufw-conf.d 81 RMD160 7bb1a7172915561570f0839e553e9021144421a8 SHA1 1b75760cb661366c8dc1e4307796e3c7e2c25c8d SHA256 c616bb91451f7bf34cfe3139a972be01a562ece6c372d2ee39c3cd5009d2354d
AUX nufw-init.d 276 RMD160 3aae0f4b5d77f4af5c1966570112fed29dda17a1 SHA1 8154d2a7c2c70077b81ae19cd53e98ae8380774a SHA256 972c3c94a7e290985cc7e8a0ccc40dfa0e10d7eee44e218c70f6fc7f8ed73f9d
DIST nufw-2.2.13.tar.bz2 580217 RMD160 536849af58da8cbe632a05bd519f717a6eb115da SHA1 06dd7d5f59cc85c6f1c7ed16ba996a8d0b1eb0b2 SHA256 5c842c4f5dcbf7e6051dc1dcfac5f029f77726f1d45760911e54e3cdbaffb552
+DIST nufw-2.2.14.tar.bz2 571192 RMD160 2ca88ca1e23d96c8d13e09c3260741686a60af01 SHA1 7b7cf829a6a29684b3a4d5abc1d788f2731fde84 SHA256 5553ab6d6ca1a30775be69803d58b32ff5748f9a5615df107ac3f72ddf7aabc5
DIST nufw-2.2.8.tar.bz2 542010 RMD160 8723d70b66fe0d0f07ecb89a806356b6554be304 SHA1 858e1ce82fd4f8ea2a8a29d289b95e6a31c8b581 SHA256 ef479e7006e2037d78331d5f7f35fa6fffc23bcea9e05e793db723a5052dbf1f
EBUILD nufw-2.2.13.ebuild 2976 RMD160 af894902ab8d9aece6b84a706d42b18926110432 SHA1 fc8abe6145bb7afaefd31436acb5ff76919f9c05 SHA256 8f835f7ba776ed57a3d8b44a9a00eff872625788a971fceedf7df09ceb5e0db2
+EBUILD nufw-2.2.14.ebuild 2984 RMD160 18d3623a8f7be1fcb9b631889ab110205d676f63 SHA1 f299903a53ca9f1f264b5d1fcb4b15f881087863 SHA256 422211d191ba641b3a53de1d44298e3c63f8abd39383e1daa19f644727ece7ad
EBUILD nufw-2.2.8.ebuild 2879 RMD160 1acc2839454f22c77869b8a18e0112c000780640 SHA1 5780b8f70ce1edaca6a84440717fe2af58346901 SHA256 8bbf23de74efbb2555230be438f2ff59ebcdabbf9a2e190f366fa4be8cd84a7f
-MISC ChangeLog 3869 RMD160 20cf5f785b536e266c05ee42ae5b4cb7b139b3a9 SHA1 57aa9b3dd7661add65b5707ca1789c42f24b1793 SHA256 dc06afdd68eab2715af9ac5a52f4e5f0a9194db9f7a2ca439b7d0701d3e95b2f
+MISC ChangeLog 3981 RMD160 0e9ccb55176dd3f7d5c82edb0880b3154b0ee4bf SHA1 f121729440ec661872ab1fed5aeba57fcf413bfa SHA256 2404501ed52d01d9451eb6ecbf06e6b6ee60e26d5d5a8b9677347e9389e26ccb
MISC metadata.xml 317 RMD160 7462c099b149003e014c1f17e08dd5783de779c4 SHA1 15f04c20107acb198979af7c4270b40d6e0156a7 SHA256 4812839c16f73def560f5191e6141117e5729871ebbab6d02fc4a53bec2d9869
diff --git a/net-firewall/nufw/nufw-2.2.14.ebuild b/net-firewall/nufw/nufw-2.2.14.ebuild
new file mode 100644
index 000000000000..253ad6d0edb8
--- /dev/null
+++ b/net-firewall/nufw/nufw-2.2.14.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/nufw-2.2.14.ebuild,v 1.1 2008/04/05 10:24:24 cedk Exp $
+
+inherit autotools ssl-cert eutils pam
+
+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 )
+ prelude? ( dev-libs/libprelude )
+ 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}"/${PN}-2.2.13-destdir.patch
+
+ # This tests require 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}
+
+ if use pam; then
+ pamd_mimic system-auth nufw auth account password session
+ fi
+}
+
+pkg_postinst() {
+ install_cert /etc/nufw/{nufw,nuauth}
+}