summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/nufw/ChangeLog3
-rw-r--r--net-firewall/nufw/Manifest12
-rw-r--r--net-firewall/nufw/files/digest-nufw-2.0.43
-rw-r--r--net-firewall/nufw/files/nufw-2.0.4-configure.patch107
-rw-r--r--net-firewall/nufw/nufw-2.0.4.ebuild80
5 files changed, 205 insertions, 0 deletions
diff --git a/net-firewall/nufw/ChangeLog b/net-firewall/nufw/ChangeLog
index 1574efe47..360cdbb6b 100644
--- a/net-firewall/nufw/ChangeLog
+++ b/net-firewall/nufw/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 04 Jul 2006; Cedric Krier <ced@ced.homedns.org> ChangeLog:
+ Add new version 2.0.4 - minor security fix
+
28 Jun 2006; Cedric Krier <ced@ced.homedns.org> ChangeLog:
New Ebuild for bug 138378
diff --git a/net-firewall/nufw/Manifest b/net-firewall/nufw/Manifest
index ff596e376..78b0c11b8 100644
--- a/net-firewall/nufw/Manifest
+++ b/net-firewall/nufw/Manifest
@@ -10,6 +10,10 @@ AUX nufw-2.0.3-configure.patch 2583 RMD160 7ce7bf80574927b33665674baa77cdf14f5c4
MD5 cb9b263f7902d6bbf689c3b6c8ade487 files/nufw-2.0.3-configure.patch 2583
RMD160 7ce7bf80574927b33665674baa77cdf14f5c4a16 files/nufw-2.0.3-configure.patch 2583
SHA256 61b2fd30d218c94a965b6adf39a1ca57270fee46810e10ccd962622516037493 files/nufw-2.0.3-configure.patch 2583
+AUX nufw-2.0.4-configure.patch 2583 RMD160 7ce7bf80574927b33665674baa77cdf14f5c4a16 SHA1 998909192928bb1dee0be4f4ce05fc8a6db036c0 SHA256 61b2fd30d218c94a965b6adf39a1ca57270fee46810e10ccd962622516037493
+MD5 cb9b263f7902d6bbf689c3b6c8ade487 files/nufw-2.0.4-configure.patch 2583
+RMD160 7ce7bf80574927b33665674baa77cdf14f5c4a16 files/nufw-2.0.4-configure.patch 2583
+SHA256 61b2fd30d218c94a965b6adf39a1ca57270fee46810e10ccd962622516037493 files/nufw-2.0.4-configure.patch 2583
AUX nufw-conf.d 90 RMD160 a09db3fcdd129b512f0e8395914ede2ad66818dc SHA1 2cf4eb09a5c53cf1df2420636585ffa85246f336 SHA256 8f7b580ac0e362e570cbe80d62392b9477321cfcaef5e928a2d02e67dec20c6e
MD5 25aed9bba908f3e0c2d61cf4aa8b3479 files/nufw-conf.d 90
RMD160 a09db3fcdd129b512f0e8395914ede2ad66818dc files/nufw-conf.d 90
@@ -19,10 +23,15 @@ MD5 7b79848ae7a975b23eed5e1ad223f220 files/nufw-init.d 276
RMD160 3aae0f4b5d77f4af5c1966570112fed29dda17a1 files/nufw-init.d 276
SHA256 972c3c94a7e290985cc7e8a0ccc40dfa0e10d7eee44e218c70f6fc7f8ed73f9d files/nufw-init.d 276
DIST nufw-2.0.3.tar.gz 976961 RMD160 47ec2bb290e5370a7dc10f27cab8b1b0f202aa47 SHA1 e68c3975e02e755ab166672caa4288060e07cf72 SHA256 89d2b16c2813e34c0efa11070f1f084254f09d09ed136889289a252e3de559cd
+DIST nufw-2.0.4.tar.gz 980926 RMD160 52faa7c3b9200aa9eadfda563d2a90457149434b SHA1 f1467226a3f0e9967a81f434a7461245a13f2579 SHA256 525e1e53fe45a3d86913499ed6a5ea2a482b0d005226a25186fca94bb2b6e99e
EBUILD nufw-2.0.3.ebuild 1755 RMD160 a48d5bfd8c885d9ffe11f51336162ee4c60d5e14 SHA1 9553a9443c0a2ab069db735962bd11e2120f59f0 SHA256 5e67ac47339dcf15a9c0b8b8596e5462097f6fcbb409f7a28a6808efbfd16a9f
MD5 88ca54ac0e3d3b15d6874444b78a232f nufw-2.0.3.ebuild 1755
RMD160 a48d5bfd8c885d9ffe11f51336162ee4c60d5e14 nufw-2.0.3.ebuild 1755
SHA256 5e67ac47339dcf15a9c0b8b8596e5462097f6fcbb409f7a28a6808efbfd16a9f nufw-2.0.3.ebuild 1755
+EBUILD nufw-2.0.4.ebuild 1755 RMD160 a48d5bfd8c885d9ffe11f51336162ee4c60d5e14 SHA1 9553a9443c0a2ab069db735962bd11e2120f59f0 SHA256 5e67ac47339dcf15a9c0b8b8596e5462097f6fcbb409f7a28a6808efbfd16a9f
+MD5 88ca54ac0e3d3b15d6874444b78a232f nufw-2.0.4.ebuild 1755
+RMD160 a48d5bfd8c885d9ffe11f51336162ee4c60d5e14 nufw-2.0.4.ebuild 1755
+SHA256 5e67ac47339dcf15a9c0b8b8596e5462097f6fcbb409f7a28a6808efbfd16a9f nufw-2.0.4.ebuild 1755
MISC ChangeLog 208 RMD160 d521291eb88fd2e60543f8f48ed035ca83544ee4 SHA1 38a20fc70a419dc638d972c825570c2cd32d85ab SHA256 0540fbab1a86024f89c850e6367017c2fc2780b715bd25195cf1ef4363aea68a
MD5 dc42d040068ceb4998526719a8e8e815 ChangeLog 208
RMD160 d521291eb88fd2e60543f8f48ed035ca83544ee4 ChangeLog 208
@@ -34,3 +43,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 7a8bf2dcab133fa20ebf14ab5c6a5cb0 files/digest-nufw-2.0.3 232
RMD160 6db4b0c6edf2ab8ab0d70c01cd761959e1520a56 files/digest-nufw-2.0.3 232
SHA256 640c0e900b8436399db9b77a808ab3cad703b4ab5a0aa1f2ba41a27e69fa261b files/digest-nufw-2.0.3 232
+MD5 e93051f9cc494e5152ae37efa19b63bf files/digest-nufw-2.0.4 232
+RMD160 a561f32a8a8f2bccab473decb96bfc5ca83675f5 files/digest-nufw-2.0.4 232
+SHA256 d9a183a1abc4669a6b9576b9ae81d4fa2673081232479186a4f72df7d1a70ccd files/digest-nufw-2.0.4 232
diff --git a/net-firewall/nufw/files/digest-nufw-2.0.4 b/net-firewall/nufw/files/digest-nufw-2.0.4
new file mode 100644
index 000000000..30d056c5b
--- /dev/null
+++ b/net-firewall/nufw/files/digest-nufw-2.0.4
@@ -0,0 +1,3 @@
+MD5 70041559564f037447909f020bd9d483 nufw-2.0.4.tar.gz 980926
+RMD160 52faa7c3b9200aa9eadfda563d2a90457149434b nufw-2.0.4.tar.gz 980926
+SHA256 525e1e53fe45a3d86913499ed6a5ea2a482b0d005226a25186fca94bb2b6e99e nufw-2.0.4.tar.gz 980926
diff --git a/net-firewall/nufw/files/nufw-2.0.4-configure.patch b/net-firewall/nufw/files/nufw-2.0.4-configure.patch
new file mode 100644
index 000000000..18d2ea036
--- /dev/null
+++ b/net-firewall/nufw/files/nufw-2.0.4-configure.patch
@@ -0,0 +1,107 @@
+diff -ur nufw-2.0.3~/configure nufw-2.0.3/configure
+--- nufw-2.0.3~/configure 2006-06-28 01:34:15.000000000 +0200
++++ nufw-2.0.3/configure 2006-06-28 01:39:09.000000000 +0200
+@@ -20041,59 +20041,59 @@
+ # Check whether --with-prelude-log or --without-prelude-log was given.
+ if test "${with_prelude_log+set}" = set; then
+ withval="$with_prelude_log"
+- enable_prelude_log="yes"
++ enable_prelude_log=$withval
+ else
+- enable_prelude_log=""
++ enable_prelude_log="no"
+ fi;
+
+ # Check whether --with-mysql-log or --without-mysql-log was given.
+ if test "${with_mysql_log+set}" = set; then
+ withval="$with_mysql_log"
+- enable_mysql_log="yes"
++ enable_mysql_log=$withval
+ else
+- enable_mysql_log=""
++ enable_mysql_log="no"
+ fi;
+
+ # Check whether --with-pgsql-log or --without-pgsql-log was given.
+ if test "${with_pgsql_log+set}" = set; then
+ withval="$with_pgsql_log"
+- enable_pgsql_log="yes"
++ enable_pgsql_log=$withval
+ else
+- enable_pgsql_log=""
++ enable_pgsql_log="no"
+ fi;
+
+
+ # Check whether --with-system-auth or --without-system-auth was given.
+ if test "${with_system_auth+set}" = set; then
+ withval="$with_system_auth"
+- enable_system_auth="yes"
++ enable_system_auth=$withval
+ else
+- enable_system_auth=""
++ enable_system_auth="no"
+ fi;
+
+
+ # Check whether --with-ldap or --without-ldap was given.
+ if test "${with_ldap+set}" = set; then
+ withval="$with_ldap"
+- ldap="yes"
++ ldap=$withval
+ else
+- ldap=""
++ ldap="no"
+ fi;
+
+ # Check whether --with-gdbm or --without-gdbm was given.
+ if test "${with_gdbm+set}" = set; then
+ withval="$with_gdbm"
+- gdbm="yes"
++ gdbm=$withval
+ else
+- gdbm=""
++ gdbm="no"
+ fi;
+
+ # Check whether --with-ident or --without-ident was given.
+ if test "${with_ident+set}" = set; then
+ withval="$with_ident"
+- ident="yes"
++ ident=$withval
+ else
+- ident=""
++ ident="no"
+ fi;
+
+
+@@ -20101,9 +20101,9 @@
+ # Check whether --with-nfqueue or --without-nfqueue was given.
+ if test "${with_nfqueue+set}" = set; then
+ withval="$with_nfqueue"
+- use_nfqueue="yes"
++ use_nfqueue=$withval
+ else
+- use_nfqueue=""
++ use_nfqueue="no"
+ fi;
+
+
+@@ -20121,7 +20121,7 @@
+ # Check whether --with-fixedtimeout or --without-fixedtimeout was given.
+ if test "${with_fixedtimeout+set}" = set; then
+ withval="$with_fixedtimeout"
+- have_conntrack_fixedtimeout="yes"
++ have_conntrack_fixedtimeout=${withval}
+ fi;
+
+
+@@ -20130,7 +20130,7 @@
+ enableval="$enable_debug"
+ debug=$enableval
+ else
+- debug=""
++ debug="no"
+ fi;
+ # Check whether --enable-nufw or --disable-nufw was given.
+ if test "${enable_nufw+set}" = set; then
diff --git a/net-firewall/nufw/nufw-2.0.4.ebuild b/net-firewall/nufw/nufw-2.0.4.ebuild
new file mode 100644
index 000000000..71462188b
--- /dev/null
+++ b/net-firewall/nufw/nufw-2.0.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="an authenticating gateway"
+HOMEPAGE="http://www.nufw.org/"
+SRC_URI="http://www.nufw.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="pam_nuauth pic prelude mysql postgres pam ldap gdbm ident unicode doc
+debug"
+
+DEPEND=">=dev-libs/glib-2
+ net-firewall/iptables
+ >=net-libs/gnutls-1.1
+ dev-libs/libgcrypt
+ >=dev-libs/cyrus-sasl-2
+ pam_auth? ( sys-libs/pam )
+ mysql? ( dev-db/mysql )
+ postgres? ( dev-db/postgresql )
+ ldap? ( >=net-nds/openldap-2 )
+ gdbm? ( sys-libs/gdbm )
+ ident? ( net-libs/libident )"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-configure.patch"
+}
+
+src_compile() {
+ econf \
+ $(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 indent) \
+ $(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
+ keepdir /var/run/nuauth
+
+ dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+ if use doc; then
+ docinto doc
+ dodoc doc/*
+ docinto doc/modules
+ dodoc doc/modules/*
+ docinto scripts
+ dodoc scripts/*
+ docinto conf
+ dodoc conf/*
+ fi
+}