summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-01-04 21:27:33 +0000
committerCédric Krier <cedk@gentoo.org>2007-01-04 21:27:33 +0000
commite075653111cf213bb35d68c118701ac6012948b1 (patch)
treeccdf3417d8958acb3c22cc2a46be72f499e0ec66 /net-firewall/nufw
parentAdd use flags for net-firewall/nufw (diff)
downloadgentoo-2-e075653111cf213bb35d68c118701ac6012948b1.tar.gz
gentoo-2-e075653111cf213bb35d68c118701ac6012948b1.tar.bz2
gentoo-2-e075653111cf213bb35d68c118701ac6012948b1.zip
Version bump
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-firewall/nufw')
-rw-r--r--net-firewall/nufw/ChangeLog11
-rw-r--r--net-firewall/nufw/files/digest-nufw-2.0.133
-rw-r--r--net-firewall/nufw/files/digest-nufw-2.1.13
-rw-r--r--net-firewall/nufw/nufw-2.0.13.ebuild85
-rw-r--r--net-firewall/nufw/nufw-2.1.1.ebuild84
5 files changed, 184 insertions, 2 deletions
diff --git a/net-firewall/nufw/ChangeLog b/net-firewall/nufw/ChangeLog
index 6c49b5603191..21123df44806 100644
--- a/net-firewall/nufw/ChangeLog
+++ b/net-firewall/nufw/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-firewall/nufw
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.3 2006/12/02 13:40:11 cedk Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.4 2007/01/04 21:27:33 cedk Exp $
+
+*nufw-2.1.1 (04 Jan 2007)
+*nufw-2.0.13 (04 Jan 2007)
+
+ 04 Jan 2007; Cedric Krier <cedk@gentoo.org> +nufw-2.0.13.ebuild,
+ +nufw-2.1.1.ebuild:
+ Version bump
*nufw-2.0.11 (02 Dec 2006)
diff --git a/net-firewall/nufw/files/digest-nufw-2.0.13 b/net-firewall/nufw/files/digest-nufw-2.0.13
new file mode 100644
index 000000000000..8b157eca475c
--- /dev/null
+++ b/net-firewall/nufw/files/digest-nufw-2.0.13
@@ -0,0 +1,3 @@
+MD5 bf2b231d799de5e4fcc2f9476a26b90a nufw-2.0.13.tar.bz2 684627
+RMD160 e6cfb5660a4f89421ef52c4c6f41cc7e68af07a3 nufw-2.0.13.tar.bz2 684627
+SHA256 ce29f7b7d0064ef94ac12264f4f38c7ba9282abacab58a9ede962c27fbdca6f3 nufw-2.0.13.tar.bz2 684627
diff --git a/net-firewall/nufw/files/digest-nufw-2.1.1 b/net-firewall/nufw/files/digest-nufw-2.1.1
new file mode 100644
index 000000000000..77c052033079
--- /dev/null
+++ b/net-firewall/nufw/files/digest-nufw-2.1.1
@@ -0,0 +1,3 @@
+MD5 d1f1620955993564e582e780cab166e4 nufw-2.1.1.tar.bz2 728051
+RMD160 45312e0a508aaeebf4f9ddd8112dda22c1865030 nufw-2.1.1.tar.bz2 728051
+SHA256 5b28b09a27f8d71b3b5cd185f3e881afeb91128d7a9854381b86889a3153134c nufw-2.1.1.tar.bz2 728051
diff --git a/net-firewall/nufw/nufw-2.0.13.ebuild b/net-firewall/nufw/nufw-2.0.13.ebuild
new file mode 100644
index 000000000000..dd0e86af5b4e
--- /dev/null
+++ b/net-firewall/nufw/nufw-2.0.13.ebuild
@@ -0,0 +1,85 @@
+# 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.0.13.ebuild,v 1.1 2007/01/04 21:27:33 cedk Exp $
+
+inherit ssl-cert
+
+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 gdbm ident ldap mysql pam pam_nuauth pic postgres prelude \
+unicode nfqueue nfconntrack static"
+
+DEPEND=">=dev-libs/glib-2
+ dev-libs/libgcrypt
+ >=dev-libs/cyrus-sasl-2
+ net-firewall/iptables
+ >=net-libs/gnutls-1.1
+ gdbm? ( sys-libs/gdbm )
+ ident? ( net-libs/libident )
+ 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 )"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s/nuauth-key.pem/nuauth.key/" \
+ -e "s/nuauth-cert.pem/nuauth.pem/" \
+ conf/nuauth.conf || die "sed failed"
+}
+
+src_compile() {
+ econf \
+ $(use_enable static) \
+ $(use_enable pam_nuauth pam-nuauth) \
+ $(use_with pic) \
+ $(use_with prelude prelude-log) \
+ $(use_with mysql mysql-log) \
+ $(use_with postgres pgsql-log) \
+ $(use_with pam system-auth) \
+ $(use_with ldap) \
+ $(use_with gdbm) \
+ $(use_with ident) \
+ $(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_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
+ docert nufw
+ docert nuauth
+ keepdir /var/run/nuauth
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ docinto scripts
+ dodoc scripts/*
+ docinto conf
+ dodoc conf/*.{nufw,schema,conf,dump,xml}
+}
diff --git a/net-firewall/nufw/nufw-2.1.1.ebuild b/net-firewall/nufw/nufw-2.1.1.ebuild
new file mode 100644
index 000000000000..3637660d514f
--- /dev/null
+++ b/net-firewall/nufw/nufw-2.1.1.ebuild
@@ -0,0 +1,84 @@
+# 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.1.1.ebuild,v 1.1 2007/01/04 21:27:33 cedk Exp $
+
+inherit ssl-cert
+
+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 pic plaintext postgres prelude \
+unicode nfqueue nfconntrack static syslog"
+
+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 )"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s/nuauth-key.pem/nuauth.key/" \
+ -e "s/nuauth-cert.pem/nuauth.pem/" \
+ conf/nuauth.conf || die "sed failed"
+}
+
+src_compile() {
+ econf \
+ --with-shared \
+ $(use_enable static) \
+ $(use_with pic) \
+ $(use_with prelude prelude-log) \
+ $(use_with mysql mysql-log) \
+ $(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_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
+ docert nufw
+ docert nuauth
+ keepdir /var/run/nuauth
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ docinto scripts
+ dodoc scripts/*
+ docinto conf
+ dodoc conf/*.{nufw,schema,conf,dump,xml}
+}