summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2006-08-04 15:01:59 +0000
committerCédric Krier <cedk@gentoo.org>2006-08-04 15:01:59 +0000
commit9a2426365b7739baca3ed20748751cc4f60bbc87 (patch)
tree165e877c9af0161e66205694fdb879e8c20b1b57 /net-firewall
parentmedia-video/exaile: Version bump to v0.2_beta4 (diff)
downloadsunrise-9a2426365b7739baca3ed20748751cc4f60bbc87.tar.gz
sunrise-9a2426365b7739baca3ed20748751cc4f60bbc87.tar.bz2
sunrise-9a2426365b7739baca3ed20748751cc4f60bbc87.zip
net-firewall/nufw: version bump, add USE-flags
svn path=/sunrise/; revision=789
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.73
-rw-r--r--net-firewall/nufw/files/nufw-2.0.7-configure_ac.patch49
-rw-r--r--net-firewall/nufw/nufw-2.0.7.ebuild80
5 files changed, 152 insertions, 4 deletions
diff --git a/net-firewall/nufw/ChangeLog b/net-firewall/nufw/ChangeLog
index 360cdbb6b..eeba4654b 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: $
+ 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
+
04 Jul 2006; Cedric Krier <ced@ced.homedns.org> ChangeLog:
Add new version 2.0.4 - minor security fix
diff --git a/net-firewall/nufw/Manifest b/net-firewall/nufw/Manifest
index 7c2041133..df93fa189 100644
--- a/net-firewall/nufw/Manifest
+++ b/net-firewall/nufw/Manifest
@@ -10,6 +10,10 @@ AUX nufw-2.0.4-configure.patch 2583 RMD160 7ce7bf80574927b33665674baa77cdf14f5c4
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-2.0.7-configure_ac.patch 3498 RMD160 a825cbee76b7b77476db5f58b55fa4a93b026a11 SHA1 2b5df5c1ca213c57b3cf9008f685398c7959815c SHA256 350f66c5ed018743f9ee76b153476d396ae00a2b7a8db69377da1817777bf051
+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-conf.d 90 RMD160 a09db3fcdd129b512f0e8395914ede2ad66818dc SHA1 2cf4eb09a5c53cf1df2420636585ffa85246f336 SHA256 8f7b580ac0e362e570cbe80d62392b9477321cfcaef5e928a2d02e67dec20c6e
MD5 25aed9bba908f3e0c2d61cf4aa8b3479 files/nufw-conf.d 90
RMD160 a09db3fcdd129b512f0e8395914ede2ad66818dc files/nufw-conf.d 90
@@ -19,14 +23,19 @@ 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.4.tar.gz 980926 RMD160 52faa7c3b9200aa9eadfda563d2a90457149434b SHA1 f1467226a3f0e9967a81f434a7461245a13f2579 SHA256 525e1e53fe45a3d86913499ed6a5ea2a482b0d005226a25186fca94bb2b6e99e
+DIST nufw-2.0.7.tar.bz2 632813 RMD160 74605b65bc960a5c898ea794d0ff0e885c61f187 SHA1 b550b8c4e87ff8192eb19842a01af08a2000dd29 SHA256 b280ad3fb6100a97ce19cf17b03ba31a59d6cf42f1deb21dd73cb0cdd1af4038
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
SHA256 25c336ec1cb18a80a2c424dbb01e560eecb4137147f61512bf0ab8e19d89f333 nufw-2.0.4.ebuild 1808
-MISC ChangeLog 315 RMD160 3b8b58f185a5b8e3caf8756779a5b0ecddd9480a SHA1 cd1720cc7601dc548ed78203461be65a6cb79a2b SHA256 8d8371d66b745663959f29cdb3667e549e4d044e8b278f7061f208bc3764ac93
-MD5 0025f401b07becfb2204001a0485a90d ChangeLog 315
-RMD160 3b8b58f185a5b8e3caf8756779a5b0ecddd9480a ChangeLog 315
-SHA256 8d8371d66b745663959f29cdb3667e549e4d044e8b278f7061f208bc3764ac93 ChangeLog 315
+EBUILD nufw-2.0.7.ebuild 1958 RMD160 998e849d2d0a7e960a0d22d2361337b4af4f664a SHA1 c4c81e70a91f9bd8157502e34db86405533b8b6e SHA256 1eabe87c06bc3db034a195b814fa8dabfebb1318c86cbb220d156a432b2398a0
+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
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -34,3 +43,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
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
+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
diff --git a/net-firewall/nufw/files/digest-nufw-2.0.7 b/net-firewall/nufw/files/digest-nufw-2.0.7
new file mode 100644
index 000000000..609de9d57
--- /dev/null
+++ b/net-firewall/nufw/files/digest-nufw-2.0.7
@@ -0,0 +1,3 @@
+MD5 f5b44ef2db1d23c57b78ec7617e91c5e nufw-2.0.7.tar.bz2 632813
+RMD160 74605b65bc960a5c898ea794d0ff0e885c61f187 nufw-2.0.7.tar.bz2 632813
+SHA256 b280ad3fb6100a97ce19cf17b03ba31a59d6cf42f1deb21dd73cb0cdd1af4038 nufw-2.0.7.tar.bz2 632813
diff --git a/net-firewall/nufw/files/nufw-2.0.7-configure_ac.patch b/net-firewall/nufw/files/nufw-2.0.7-configure_ac.patch
new file mode 100644
index 000000000..07edea5c6
--- /dev/null
+++ b/net-firewall/nufw/files/nufw-2.0.7-configure_ac.patch
@@ -0,0 +1,49 @@
+--- nufw-2.0.7~/configure.ac 2006-08-03 13:38:50.000000000 +0200
++++ nufw-2.0.7/configure.ac 2006-08-03 14:09:21.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.7.ebuild b/net-firewall/nufw/nufw-2.0.7.ebuild
new file mode 100644
index 000000000..771ded8c2
--- /dev/null
+++ b/net-firewall/nufw/nufw-2.0.7.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/*
+}