summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-10-13 18:03:17 +0000
committerCédric Krier <cedk@gentoo.org>2007-10-13 18:03:17 +0000
commitacbcc139a7635ab4756c20623202878fb84a401b (patch)
treefea7ca9f417dd1809a86ae1703605c73817c0d4b /net-firewall/nufw
parentUpdating the HOMEPAGE, fixing #191330. (diff)
downloadhistorical-acbcc139a7635ab4756c20623202878fb84a401b.tar.gz
historical-acbcc139a7635ab4756c20623202878fb84a401b.tar.bz2
historical-acbcc139a7635ab4756c20623202878fb84a401b.zip
Version bump
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'net-firewall/nufw')
-rw-r--r--net-firewall/nufw/ChangeLog8
-rw-r--r--net-firewall/nufw/Manifest20
-rw-r--r--net-firewall/nufw/files/digest-nufw-2.2.63
-rw-r--r--net-firewall/nufw/files/nufw-2.2.6-auth_mysql.patch18
-rw-r--r--net-firewall/nufw/nufw-2.2.6.ebuild87
5 files changed, 131 insertions, 5 deletions
diff --git a/net-firewall/nufw/ChangeLog b/net-firewall/nufw/ChangeLog
index bd456ce17539..84907e86b7be 100644
--- a/net-firewall/nufw/ChangeLog
+++ b/net-firewall/nufw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/nufw
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.17 2007/09/18 21:54:57 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.18 2007/10/13 18:03:16 cedk Exp $
+
+*nufw-2.2.6 (13 Oct 2007)
+
+ 13 Oct 2007; Cédric Krier <cedk@gentoo.org>
+ +files/nufw-2.2.6-auth_mysql.patch, +nufw-2.2.6.ebuild:
+ Version bump
*nufw-2.2.5 (18 Sep 2007)
diff --git a/net-firewall/nufw/Manifest b/net-firewall/nufw/Manifest
index e70b7503c2d6..c675d0a226d9 100644
--- a/net-firewall/nufw/Manifest
+++ b/net-firewall/nufw/Manifest
@@ -6,6 +6,10 @@ AUX nuauth-init.d 522 RMD160 89f255a1ebe12ef629ec9963834c445e0df4a6dc SHA1 0d9c6
MD5 65f60dfaa7909e33329c7c605767bda8 files/nuauth-init.d 522
RMD160 89f255a1ebe12ef629ec9963834c445e0df4a6dc files/nuauth-init.d 522
SHA256 18c988dccda3cbbef92d0a218a8eba62694b5a5fc66980a9120bbd146629ccf3 files/nuauth-init.d 522
+AUX nufw-2.2.6-auth_mysql.patch 734 RMD160 a30e44787aefbe153aaaa35f05b8a8e513151ffb SHA1 885876c8c6545841bbad62c3f32086f05a6c7568 SHA256 e7785b9a46c575cedb6b792af88674fac1e0ab3629e5e084df136d55b0ead9b0
+MD5 52ae012e7db0369fd87bb9f3f6994969 files/nufw-2.2.6-auth_mysql.patch 734
+RMD160 a30e44787aefbe153aaaa35f05b8a8e513151ffb files/nufw-2.2.6-auth_mysql.patch 734
+SHA256 e7785b9a46c575cedb6b792af88674fac1e0ab3629e5e084df136d55b0ead9b0 files/nufw-2.2.6-auth_mysql.patch 734
AUX nufw-conf.d 81 RMD160 7bb1a7172915561570f0839e553e9021144421a8 SHA1 1b75760cb661366c8dc1e4307796e3c7e2c25c8d SHA256 c616bb91451f7bf34cfe3139a972be01a562ece6c372d2ee39c3cd5009d2354d
MD5 6b50505adbb2699687984a213d57ca38 files/nufw-conf.d 81
RMD160 7bb1a7172915561570f0839e553e9021144421a8 files/nufw-conf.d 81
@@ -18,6 +22,7 @@ DIST nufw-2.0.19.tar.bz2 686993 RMD160 67f67ad1d677b04b8f8405efed0ba7e0147bd57d
DIST nufw-2.0.20.tar.bz2 689034 RMD160 e0bab63e43d3be6da6ec1e1be1bdf02561df3c8f SHA1 7864060644ad47725dd0e12f4509ecb0c709f8ee SHA256 cab2f195fda47cde4388d9a5402e8141ad3d4088b0fe578682c94bdaf90f53e2
DIST nufw-2.2.4.tar.bz2 765476 RMD160 a723d834ed7629fc1e1c146f76db38fbebac74f8 SHA1 369f3aafe838376be0f18fa46c395c2cec1aec13 SHA256 188a674aa872aceeeea68cbc4ad598040766b84d7ecaccb21f7d89079b77b099
DIST nufw-2.2.5.tar.bz2 772407 RMD160 ccad64b2984ee9c2a763129aef4c9d529c9a4e4d SHA1 44a0b83feeb6fe5a24d39b56afabb73e94d1d833 SHA256 a2d1cb5d8b103313621184491f1a8a650282bed033cbc04fece472aaccde6969
+DIST nufw-2.2.6.tar.bz2 794431 RMD160 5b872b125fd35260c8a77689e8a5d02426cd68a4 SHA1 ac2684d9c581b8daf768650a8b194f6286c330ac SHA256 7e85a7344c69ba033d0b459993798271032e894fcdf3a5716ad68e3b523875ef
EBUILD nufw-2.0.19.ebuild 2157 RMD160 46641bbcaaf83ef64119149f468d9d870becb809 SHA1 ae476601d9b824deb4d7641230542724e35fd774 SHA256 92ef49502f51dce0a7f930632b62569b44e9c3aed9127c348122ee24df31c781
MD5 e051e05c67b36b90fc9626668154a6c8 nufw-2.0.19.ebuild 2157
RMD160 46641bbcaaf83ef64119149f468d9d870becb809 nufw-2.0.19.ebuild 2157
@@ -34,10 +39,14 @@ EBUILD nufw-2.2.5.ebuild 2270 RMD160 1fb8b27fd24c82619a2f6df9991afee0e109d7d3 SH
MD5 733c5a1f25690f630949026be118e108 nufw-2.2.5.ebuild 2270
RMD160 1fb8b27fd24c82619a2f6df9991afee0e109d7d3 nufw-2.2.5.ebuild 2270
SHA256 41fd528bf9612d836bbf3ea1277c5bbbafa27bc5fd173aa4dea1bff6c5d8b067 nufw-2.2.5.ebuild 2270
-MISC ChangeLog 2292 RMD160 1bfd4c38442c6d95cc77e8d3f02f83a7b101b202 SHA1 d34c4eb3c96182e9fafa7b9da80c5774ad3aff6b SHA256 40f807650f0eb30276f4feb57a273a99dc105a136240cc2287360d884421bb50
-MD5 f439ec460f82b674eb3a22b7fd9273b0 ChangeLog 2292
-RMD160 1bfd4c38442c6d95cc77e8d3f02f83a7b101b202 ChangeLog 2292
-SHA256 40f807650f0eb30276f4feb57a273a99dc105a136240cc2287360d884421bb50 ChangeLog 2292
+EBUILD nufw-2.2.6.ebuild 2368 RMD160 265179c39a3034c15aa1ef3ea42a147414949f1c SHA1 f0e8cb20a68d4489ee0df063e668fcb61827a9f1 SHA256 3283fcda4e9daef3d943d89164363cd51487f437333c619f91d18b0f45198094
+MD5 25ac62a764faebd94de4ad78c9ef2a39 nufw-2.2.6.ebuild 2368
+RMD160 265179c39a3034c15aa1ef3ea42a147414949f1c nufw-2.2.6.ebuild 2368
+SHA256 3283fcda4e9daef3d943d89164363cd51487f437333c619f91d18b0f45198094 nufw-2.2.6.ebuild 2368
+MISC ChangeLog 2440 RMD160 6626da8ecd126cb3b32791f59208cdeb57fe83e5 SHA1 75de2b523f1f2d824fa062b131734815a14f13cc SHA256 2bca4117e0a072309614c6579e2e4cf437a541958b96eb02594eb344f6382475
+MD5 8065686b8c3d5eee66a803dda973691d ChangeLog 2440
+RMD160 6626da8ecd126cb3b32791f59208cdeb57fe83e5 ChangeLog 2440
+SHA256 2bca4117e0a072309614c6579e2e4cf437a541958b96eb02594eb344f6382475 ChangeLog 2440
MISC metadata.xml 317 RMD160 7462c099b149003e014c1f17e08dd5783de779c4 SHA1 15f04c20107acb198979af7c4270b40d6e0156a7 SHA256 4812839c16f73def560f5191e6141117e5729871ebbab6d02fc4a53bec2d9869
MD5 4b3e13fee26f7b6dccc9dab192144b92 metadata.xml 317
RMD160 7462c099b149003e014c1f17e08dd5783de779c4 metadata.xml 317
@@ -54,3 +63,6 @@ SHA256 bc349b3f95fbbf9c9c43785f4d415d610ac51a1d5f28570963d9d96ab59c449b files/di
MD5 cb74e17e44e6dc5ace2020bdbf3e4a13 files/digest-nufw-2.2.5 235
RMD160 4e4d7171a84977d4c124266e81287d8af44a49a0 files/digest-nufw-2.2.5 235
SHA256 674206fbb65afa402a61eb09416a4e74b583b0475373f9d18258887b58cc6041 files/digest-nufw-2.2.5 235
+MD5 12f0f0737d85576d71478d000a20a340 files/digest-nufw-2.2.6 235
+RMD160 3f9110095d35e7faa5e9dc94107631edddb6bae6 files/digest-nufw-2.2.6 235
+SHA256 719ffe76dfac3359bcd1070f48da2db5b06ffe80139d62ccb63b6e4bbb09467f files/digest-nufw-2.2.6 235
diff --git a/net-firewall/nufw/files/digest-nufw-2.2.6 b/net-firewall/nufw/files/digest-nufw-2.2.6
new file mode 100644
index 000000000000..07f0ee9942f2
--- /dev/null
+++ b/net-firewall/nufw/files/digest-nufw-2.2.6
@@ -0,0 +1,3 @@
+MD5 c2a6395042e1ddd8aa2acd051ad4b648 nufw-2.2.6.tar.bz2 794431
+RMD160 5b872b125fd35260c8a77689e8a5d02426cd68a4 nufw-2.2.6.tar.bz2 794431
+SHA256 7e85a7344c69ba033d0b459993798271032e894fcdf3a5716ad68e3b523875ef nufw-2.2.6.tar.bz2 794431
diff --git a/net-firewall/nufw/files/nufw-2.2.6-auth_mysql.patch b/net-firewall/nufw/files/nufw-2.2.6-auth_mysql.patch
new file mode 100644
index 000000000000..7eae19b849d3
--- /dev/null
+++ b/net-firewall/nufw/files/nufw-2.2.6-auth_mysql.patch
@@ -0,0 +1,18 @@
+diff -ru nufw-2.2.6~/src/nuauth/modules/auth_mysql/Makefile.am nufw-2.2.6/src/nuauth/modules/auth_mysql/Makefile.am
+--- nufw-2.2.6~/src/nuauth/modules/auth_mysql/Makefile.am 2007-10-13 19:45:36.000000000 +0200
++++ nufw-2.2.6/src/nuauth/modules/auth_mysql/Makefile.am 2007-10-13 19:46:01.000000000 +0200
+@@ -1,6 +1,6 @@
+ # auth_mysql plugin
+
+-# if USE_MYSQL_AUTH
++if USE_MYSQL_AUTH
+
+ AM_CPPFLAGS = -DCONFIG_DIR=\"$(sysconfdir)\" -DMODULE_DIR=\"$(libdir)\"
+
+@@ -22,5 +22,5 @@
+ libauth_mysql.la: $(libauth_mysql_la_OBJECTS) $(libauth_mysql_la_DEPENDENCIES)
+ $(LINK) -rpath $(plugindir) $(am_libauth_mysql_la_rpath) $(libauth_mysql_la_LDFLAGS) $(libauth_mysql_la_OBJECTS) $(MYSQL_LIBS) $(libauth_mysql_la_LIBADD)
+
+-# endif
++endif
+
diff --git a/net-firewall/nufw/nufw-2.2.6.ebuild b/net-firewall/nufw/nufw-2.2.6.ebuild
new file mode 100644
index 000000000000..13d581dd89f9
--- /dev/null
+++ b/net-firewall/nufw/nufw-2.2.6.ebuild
@@ -0,0 +1,87 @@
+# 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.2.6.ebuild,v 1.1 2007/10/13 18:03:16 cedk Exp $
+
+inherit autotools ssl-cert eutils
+
+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"
+
+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"
+ epatch "$FILESDIR"/${P}-auth_mysql.patch
+ 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_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/{clean_conntrack.pl,nuaclgen,nutop,README,ulog_rotate_daily.sh,ulog_rotate_weekly.sh}
+ docinto conf
+ dodoc conf/*.{nufw,schema,conf,dump,xml}
+}