summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/nufw/ChangeLog4
-rw-r--r--net-firewall/nufw/Manifest20
-rw-r--r--net-firewall/nufw/files/digest-nufw-2.0.83
-rw-r--r--net-firewall/nufw/files/nufw-2.0.8-configure_ac.patch49
-rw-r--r--net-firewall/nufw/nufw-2.0.8.ebuild80
5 files changed, 152 insertions, 4 deletions
diff --git a/net-firewall/nufw/ChangeLog b/net-firewall/nufw/ChangeLog
index eeba4654b..cda96c645 100644
--- a/net-firewall/nufw/ChangeLog
+++ b/net-firewall/nufw/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Aug 2006; Cedric Krier <ced@ced.homedns.org> +nufw-2.0.8.ebuild,
+ +files/nufw-2.0.8-configure_ac.patch:
+ Version bump
+
04 Aug 2006; Cedric Krier <ced@ced.homedns.org> +nufw-2.0.7.ebuild,
+files/nufw-2.0.7-configure_ac.patch:
version bump, add USE-flags
diff --git a/net-firewall/nufw/Manifest b/net-firewall/nufw/Manifest
index df93fa189..96527184e 100644
--- a/net-firewall/nufw/Manifest
+++ b/net-firewall/nufw/Manifest
@@ -14,6 +14,10 @@ AUX nufw-2.0.7-configure_ac.patch 3498 RMD160 a825cbee76b7b77476db5f58b55fa4a93b
MD5 4ab496af0ce7465a067b87afa234754e files/nufw-2.0.7-configure_ac.patch 3498
RMD160 a825cbee76b7b77476db5f58b55fa4a93b026a11 files/nufw-2.0.7-configure_ac.patch 3498
SHA256 350f66c5ed018743f9ee76b153476d396ae00a2b7a8db69377da1817777bf051 files/nufw-2.0.7-configure_ac.patch 3498
+AUX nufw-2.0.8-configure_ac.patch 3498 RMD160 4edccba133e705aaebca9326209684d35b679f75 SHA1 112a2ad833cdf39bfe5d2fcf1ec46277b8b8cdb4 SHA256 b4144aef1746c945123f0a3ef296b2f13719fd8503af80fc8e3c55ef0b8775d4
+MD5 6cee949198f05d4a44dc59626a4bf304 files/nufw-2.0.8-configure_ac.patch 3498
+RMD160 4edccba133e705aaebca9326209684d35b679f75 files/nufw-2.0.8-configure_ac.patch 3498
+SHA256 b4144aef1746c945123f0a3ef296b2f13719fd8503af80fc8e3c55ef0b8775d4 files/nufw-2.0.8-configure_ac.patch 3498
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
@@ -24,6 +28,7 @@ RMD160 3aae0f4b5d77f4af5c1966570112fed29dda17a1 files/nufw-init.d 276
SHA256 972c3c94a7e290985cc7e8a0ccc40dfa0e10d7eee44e218c70f6fc7f8ed73f9d files/nufw-init.d 276
DIST nufw-2.0.4.tar.gz 980926 RMD160 52faa7c3b9200aa9eadfda563d2a90457149434b SHA1 f1467226a3f0e9967a81f434a7461245a13f2579 SHA256 525e1e53fe45a3d86913499ed6a5ea2a482b0d005226a25186fca94bb2b6e99e
DIST nufw-2.0.7.tar.bz2 632813 RMD160 74605b65bc960a5c898ea794d0ff0e885c61f187 SHA1 b550b8c4e87ff8192eb19842a01af08a2000dd29 SHA256 b280ad3fb6100a97ce19cf17b03ba31a59d6cf42f1deb21dd73cb0cdd1af4038
+DIST nufw-2.0.8.tar.bz2 645677 RMD160 671f8cc77ba7504a239c57c4f4b80625bc425d76 SHA1 102e6b9cac2fdc9520f8b05b1ab35c05891afeed SHA256 00d0e6945f4439694b1ef7ae5a526a78d738a2ba9a62377fd3d06a6aca4dba34
EBUILD nufw-2.0.4.ebuild 1808 RMD160 374cb282f371d3eeac96492ff81016bdd98e1367 SHA1 598d5edc3767df11dee5ff6423810d846c9eb034 SHA256 25c336ec1cb18a80a2c424dbb01e560eecb4137147f61512bf0ab8e19d89f333
MD5 68607bf665ab6b2640cfdab4ba2dc6e8 nufw-2.0.4.ebuild 1808
RMD160 374cb282f371d3eeac96492ff81016bdd98e1367 nufw-2.0.4.ebuild 1808
@@ -32,10 +37,14 @@ EBUILD nufw-2.0.7.ebuild 1958 RMD160 998e849d2d0a7e960a0d22d2361337b4af4f664a SH
MD5 b132eadd9150f51ea37b10b5e387822f nufw-2.0.7.ebuild 1958
RMD160 998e849d2d0a7e960a0d22d2361337b4af4f664a nufw-2.0.7.ebuild 1958
SHA256 1eabe87c06bc3db034a195b814fa8dabfebb1318c86cbb220d156a432b2398a0 nufw-2.0.7.ebuild 1958
-MISC ChangeLog 456 RMD160 3b401e71876be5323816c3c3fd6771711a029e75 SHA1 3efa209c95c6a1c70bde31e4baedbff6094b8920 SHA256 3a84f9ec913d86530de6ff481540eab0f27ac55e721c6db8eb3266fc4ae0fa38
-MD5 24f9f7d3d97d69c574f382fc0ad39eb9 ChangeLog 456
-RMD160 3b401e71876be5323816c3c3fd6771711a029e75 ChangeLog 456
-SHA256 3a84f9ec913d86530de6ff481540eab0f27ac55e721c6db8eb3266fc4ae0fa38 ChangeLog 456
+EBUILD nufw-2.0.8.ebuild 1958 RMD160 998e849d2d0a7e960a0d22d2361337b4af4f664a SHA1 c4c81e70a91f9bd8157502e34db86405533b8b6e SHA256 1eabe87c06bc3db034a195b814fa8dabfebb1318c86cbb220d156a432b2398a0
+MD5 b132eadd9150f51ea37b10b5e387822f nufw-2.0.8.ebuild 1958
+RMD160 998e849d2d0a7e960a0d22d2361337b4af4f664a nufw-2.0.8.ebuild 1958
+SHA256 1eabe87c06bc3db034a195b814fa8dabfebb1318c86cbb220d156a432b2398a0 nufw-2.0.8.ebuild 1958
+MISC ChangeLog 582 RMD160 e9ec2b9d33d14e319650fdea80c15c30664b2d52 SHA1 a8ba848a99de160c026d3a1bdb6520a9650be9d3 SHA256 f9ec73fc3459d800bb7a9666a528fb12d2027f543416d2b26ff13284f1991197
+MD5 9e9e999cdc29448aac3c7d7cbf951be5 ChangeLog 582
+RMD160 e9ec2b9d33d14e319650fdea80c15c30664b2d52 ChangeLog 582
+SHA256 f9ec73fc3459d800bb7a9666a528fb12d2027f543416d2b26ff13284f1991197 ChangeLog 582
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -46,3 +55,6 @@ SHA256 d9a183a1abc4669a6b9576b9ae81d4fa2673081232479186a4f72df7d1a70ccd files/di
MD5 37f741180430d7451f5b0cb55f36b92c files/digest-nufw-2.0.7 235
RMD160 cc539284039362ebcd847854cc0588af9b548e3a files/digest-nufw-2.0.7 235
SHA256 ba4565d444ea3df136d064d4ff5466a3e43836c6541e0a80058970070a7cda96 files/digest-nufw-2.0.7 235
+MD5 fa72d5ba413cccc46615125fc24091fd files/digest-nufw-2.0.8 235
+RMD160 c32f100e6181de31db23544ab82415aab0ff8cb3 files/digest-nufw-2.0.8 235
+SHA256 5830e4a167901bbf66bd889d94388681ba893169d1db4f6bccc720d05c9b0e57 files/digest-nufw-2.0.8 235
diff --git a/net-firewall/nufw/files/digest-nufw-2.0.8 b/net-firewall/nufw/files/digest-nufw-2.0.8
new file mode 100644
index 000000000..c1d1e7034
--- /dev/null
+++ b/net-firewall/nufw/files/digest-nufw-2.0.8
@@ -0,0 +1,3 @@
+MD5 f18cd8d60392af618e81af8aa6ee8867 nufw-2.0.8.tar.bz2 645677
+RMD160 671f8cc77ba7504a239c57c4f4b80625bc425d76 nufw-2.0.8.tar.bz2 645677
+SHA256 00d0e6945f4439694b1ef7ae5a526a78d738a2ba9a62377fd3d06a6aca4dba34 nufw-2.0.8.tar.bz2 645677
diff --git a/net-firewall/nufw/files/nufw-2.0.8-configure_ac.patch b/net-firewall/nufw/files/nufw-2.0.8-configure_ac.patch
new file mode 100644
index 000000000..3d66aa690
--- /dev/null
+++ b/net-firewall/nufw/files/nufw-2.0.8-configure_ac.patch
@@ -0,0 +1,49 @@
+--- nufw-2.0.8~/configure.ac 2006-08-12 22:41:14.000000000 +0200
++++ nufw-2.0.8/configure.ac 2006-08-12 22:41:40.000000000 +0200
+@@ -55,23 +55,24 @@
+ AC_ARG_WITH(prelude-log,
+ [AC_HELP_STRING(--with-prelude-log,
+ Support user activity logging in Prelude)],
+- enable_prelude_log="yes",
++ enable_prelude_log=$withval,
+ enable_prelude_log="")
+-AC_ARG_WITH(mysql-log, [AC_HELP_STRING(--with-mysql-log, Support user activity logging in Mysql database)], enable_mysql_log="yes", enable_mysql_log="")
+-AC_ARG_WITH(pgsql-log, [AC_HELP_STRING(--with-pgsql-log, Support user activity logging in PostgreSQL database)], enable_pgsql_log="yes", enable_pgsql_log="")
++AC_ARG_WITH(mysql-log, [AC_HELP_STRING(--with-mysql-log, Support user activity logging in Mysql database)], enable_mysql_log=$withval, enable_mysql_log="")
++AC_ARG_WITH(pgsql-log, [AC_HELP_STRING(--with-pgsql-log, Support user activity logging in PostgreSQL database)], enable_pgsql_log=$withval, enable_pgsql_log="")
+
+-AC_ARG_WITH(system-auth, [AC_HELP_STRING(--with-system-auth, Support PAM+NSS authentication)], enable_system_auth="yes", enable_system_auth="")
++AC_ARG_WITH(system-auth, [AC_HELP_STRING(--with-system-auth, Support PAM+NSS authentication)], enable_system_auth=$withval, enable_system_auth="")
+
+-AC_ARG_WITH(ldap, [AC_HELP_STRING(--with-ldap, Support LDAP directory for users and acl lookup)],ldap="yes", ldap="")
+-AC_ARG_WITH(gdbm, [AC_HELP_STRING(--with-gdbm, Support gdbm users lookup)],gdbm="yes", gdbm="")
+-AC_ARG_WITH(ident, [AC_HELP_STRING(--with-ident, Support ident users authentication)],ident="yes", ident="")
++AC_ARG_WITH(ldap, [AC_HELP_STRING(--with-ldap, Support LDAP directory for users and acl lookup)],ldap=$withval, ldap="")
++AC_ARG_WITH(gdbm, [AC_HELP_STRING(--with-gdbm, Support gdbm users lookup)],gdbm=$withval, gdbm="")
++AC_ARG_WITH(ident, [AC_HELP_STRING(--with-ident, Support ident users authentication)],ident=$withval, ident="")
+
+
+-AC_ARG_WITH(nfqueue, [AC_HELP_STRING(--with-nfqueue, Compile for NFQUEUE instead of QUEUE)],use_nfqueue="yes", use_nfqueue="")
++AC_ARG_WITH(nfqueue, [AC_HELP_STRING(--with-nfqueue, Compile for NFQUEUE instead of QUEUE)],use_nfqueue=$withval, use_nfqueue="")
++AC_ARG_WITH(nfconntrack, [AC_HELP_STRING(--with-nfconntrack, Compile with netfilter_conntrack)],use_nfconntrack=$withval, use_nfconntrack="")
+
+
+ AC_ARG_WITH(utf8, [AC_HELP_STRING(--with-utf8, Use UTF8 exchange between client and server)], AC_DEFINE_UNQUOTED([USE_UTF8],[1],[Will use UTF8 exchange]))
+-AC_ARG_WITH(fixedtimeout, [AC_HELP_STRING(--with-fixedtimeout, Assume libconntrack has fixed timeout extension )],have_conntrack_fixedtimeout="yes" )
++AC_ARG_WITH(fixedtimeout, [AC_HELP_STRING(--with-fixedtimeout, Assume libconntrack has fixed timeout extension )],have_conntrack_fixedtimeout=$withval )
+
+
+ AC_ARG_ENABLE(debug, [AC_HELP_STRING(--enable-debug, Add development debug messages (default no))],debug=$enableval, debug="")
+@@ -173,7 +174,11 @@
+ fi
+ fi
+
+-AC_CHECK_LIB([netfilter_conntrack], [nfct_dump_conntrack_table], have_conntrack="yes", have_conntrack="",[-ldl -lnfnetlink])
++if test "${use_nfconntrack}" = "yes"; then
++ AC_CHECK_LIB([netfilter_conntrack], [nfct_dump_conntrack_table], have_conntrack="yes", have_conntrack="",[-ldl -lnfnetlink])
++else
++ have_conntrack=""
++fi
+
+ if test "${have_conntrack}" = "yes"; then
+ AC_DEFINE_UNQUOTED([HAVE_LIBCONNTRACK],[1],[libconntrack has been found])
diff --git a/net-firewall/nufw/nufw-2.0.8.ebuild b/net-firewall/nufw/nufw-2.0.8.ebuild
new file mode 100644
index 000000000..771ded8c2
--- /dev/null
+++ b/net-firewall/nufw/nufw-2.0.8.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils autotools
+
+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? ( dev-db/mysql )
+ pam_auth? ( sys-libs/pam )
+ postgres? ( dev-db/postgresql )
+ nfqueue? ( net-firewall/libnfnetlink
+ net-firewall/libnetfilter_queue )
+ nfconntrack? ( net-firewall/libnetfilter_conntrack )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-configure_ac.patch"
+}
+
+src_compile() {
+ eautoreconf
+ 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
+ keepdir /var/run/nuauth
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ docinto scripts
+ dodoc scripts/*
+ docinto conf
+ dodoc conf/*
+}