diff options
author | Peter Volkov <pva@gentoo.org> | 2007-11-12 13:06:33 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2007-11-12 13:06:33 +0000 |
commit | 417522ff4ed5bb39d9ba83f979ae253f63cbb65a (patch) | |
tree | 208425ebec6277efc617ad12f480a0e812731e1f /net-firewall | |
parent | remove logrotate local useflag for ocsigen (diff) | |
download | gentoo-2-417522ff4ed5bb39d9ba83f979ae253f63cbb65a.tar.gz gentoo-2-417522ff4ed5bb39d9ba83f979ae253f63cbb65a.tar.bz2 gentoo-2-417522ff4ed5bb39d9ba83f979ae253f63cbb65a.zip |
Version bump. Fixed security bug #197576. Cleaned old vulnerable version.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/nufw/ChangeLog | 9 | ||||
-rw-r--r-- | net-firewall/nufw/files/digest-nufw-2.0.19 | 3 | ||||
-rw-r--r-- | net-firewall/nufw/files/digest-nufw-2.0.20 | 3 | ||||
-rw-r--r-- | net-firewall/nufw/files/digest-nufw-2.2.4 | 3 | ||||
-rw-r--r-- | net-firewall/nufw/files/digest-nufw-2.2.5 | 3 | ||||
-rw-r--r-- | net-firewall/nufw/files/digest-nufw-2.2.6 | 3 | ||||
-rw-r--r-- | net-firewall/nufw/files/digest-nufw-2.2.7 | 3 | ||||
-rw-r--r-- | net-firewall/nufw/nufw-2.0.19.ebuild | 84 | ||||
-rw-r--r-- | net-firewall/nufw/nufw-2.0.20.ebuild | 84 | ||||
-rw-r--r-- | net-firewall/nufw/nufw-2.2.4.ebuild | 84 | ||||
-rw-r--r-- | net-firewall/nufw/nufw-2.2.5.ebuild | 84 | ||||
-rw-r--r-- | net-firewall/nufw/nufw-2.2.7.ebuild (renamed from net-firewall/nufw/nufw-2.2.6.ebuild) | 27 |
12 files changed, 31 insertions, 359 deletions
diff --git a/net-firewall/nufw/ChangeLog b/net-firewall/nufw/ChangeLog index 84907e86b7be..27d79d8c525e 100644 --- a/net-firewall/nufw/ChangeLog +++ b/net-firewall/nufw/ChangeLog @@ -1,6 +1,13 @@ # 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.18 2007/10/13 18:03:16 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.19 2007/11/12 13:06:33 pva Exp $ + +*nufw-2.2.7 (12 Nov 2007) + + 12 Nov 2007; <pva@gentoo.org> -nufw-2.0.19.ebuild, -nufw-2.0.20.ebuild, + -nufw-2.2.4.ebuild, -nufw-2.2.5.ebuild, -nufw-2.2.6.ebuild, + +nufw-2.2.7.ebuild: + Version bump. Fixed security bug #197576. Cleaned old vulnerable version. *nufw-2.2.6 (13 Oct 2007) diff --git a/net-firewall/nufw/files/digest-nufw-2.0.19 b/net-firewall/nufw/files/digest-nufw-2.0.19 deleted file mode 100644 index c1ce47f35461..000000000000 --- a/net-firewall/nufw/files/digest-nufw-2.0.19 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2b13f6e66eaaa887150e7c3afeadc31e nufw-2.0.19.tar.bz2 686993 -RMD160 67f67ad1d677b04b8f8405efed0ba7e0147bd57d nufw-2.0.19.tar.bz2 686993 -SHA256 1343e169559478d5b0e8cf6b155004267d35b0c78eef49d440a70107692fc744 nufw-2.0.19.tar.bz2 686993 diff --git a/net-firewall/nufw/files/digest-nufw-2.0.20 b/net-firewall/nufw/files/digest-nufw-2.0.20 deleted file mode 100644 index dc167d2201f4..000000000000 --- a/net-firewall/nufw/files/digest-nufw-2.0.20 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 43362b8d6d6cc73c131cca9d0aa863e1 nufw-2.0.20.tar.bz2 689034 -RMD160 e0bab63e43d3be6da6ec1e1be1bdf02561df3c8f nufw-2.0.20.tar.bz2 689034 -SHA256 cab2f195fda47cde4388d9a5402e8141ad3d4088b0fe578682c94bdaf90f53e2 nufw-2.0.20.tar.bz2 689034 diff --git a/net-firewall/nufw/files/digest-nufw-2.2.4 b/net-firewall/nufw/files/digest-nufw-2.2.4 deleted file mode 100644 index 80cd09351eca..000000000000 --- a/net-firewall/nufw/files/digest-nufw-2.2.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 df78330beae79f57a0240981cd577ca4 nufw-2.2.4.tar.bz2 765476 -RMD160 a723d834ed7629fc1e1c146f76db38fbebac74f8 nufw-2.2.4.tar.bz2 765476 -SHA256 188a674aa872aceeeea68cbc4ad598040766b84d7ecaccb21f7d89079b77b099 nufw-2.2.4.tar.bz2 765476 diff --git a/net-firewall/nufw/files/digest-nufw-2.2.5 b/net-firewall/nufw/files/digest-nufw-2.2.5 deleted file mode 100644 index 84d697f0a5e6..000000000000 --- a/net-firewall/nufw/files/digest-nufw-2.2.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 275c2efa71915599446ecceb4e393ace nufw-2.2.5.tar.bz2 772407 -RMD160 ccad64b2984ee9c2a763129aef4c9d529c9a4e4d nufw-2.2.5.tar.bz2 772407 -SHA256 a2d1cb5d8b103313621184491f1a8a650282bed033cbc04fece472aaccde6969 nufw-2.2.5.tar.bz2 772407 diff --git a/net-firewall/nufw/files/digest-nufw-2.2.6 b/net-firewall/nufw/files/digest-nufw-2.2.6 deleted file mode 100644 index 07f0ee9942f2..000000000000 --- a/net-firewall/nufw/files/digest-nufw-2.2.6 +++ /dev/null @@ -1,3 +0,0 @@ -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/digest-nufw-2.2.7 b/net-firewall/nufw/files/digest-nufw-2.2.7 new file mode 100644 index 000000000000..a4a4173b614b --- /dev/null +++ b/net-firewall/nufw/files/digest-nufw-2.2.7 @@ -0,0 +1,3 @@ +MD5 3f51aac3fe5a03ac2793f43e9376b9c3 nufw-2.2.7.tar.bz2 793735 +RMD160 f80930ddc8979c860106c5505d7712ba1e157250 nufw-2.2.7.tar.bz2 793735 +SHA256 2bd4599b37c726843986d35dbcc72d469cd26e1ae061bca5a99e7fc7ed96577d nufw-2.2.7.tar.bz2 793735 diff --git a/net-firewall/nufw/nufw-2.0.19.ebuild b/net-firewall/nufw/nufw-2.0.19.ebuild deleted file mode 100644 index a6f0b07b1065..000000000000 --- a/net-firewall/nufw/nufw-2.0.19.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# 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.19.ebuild,v 1.2 2007/09/18 21:34:17 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 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 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.0.20.ebuild b/net-firewall/nufw/nufw-2.0.20.ebuild deleted file mode 100644 index fefe71300dc8..000000000000 --- a/net-firewall/nufw/nufw-2.0.20.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# 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.20.ebuild,v 1.2 2007/09/18 21:34:17 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 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 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.2.4.ebuild b/net-firewall/nufw/nufw-2.2.4.ebuild deleted file mode 100644 index 3e48ec133b9a..000000000000 --- a/net-firewall/nufw/nufw-2.2.4.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# 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.4.ebuild,v 1.2 2007/09/18 21:34:17 cedk Exp $ - -inherit 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" -} - -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 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} -} diff --git a/net-firewall/nufw/nufw-2.2.5.ebuild b/net-firewall/nufw/nufw-2.2.5.ebuild deleted file mode 100644 index ebd04fce52c4..000000000000 --- a/net-firewall/nufw/nufw-2.2.5.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# 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.5.ebuild,v 1.1 2007/09/18 21:54:57 cedk Exp $ - -inherit 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" -} - -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 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} -} diff --git a/net-firewall/nufw/nufw-2.2.6.ebuild b/net-firewall/nufw/nufw-2.2.7.ebuild index 13d581dd89f9..87b70bba1b2a 100644 --- a/net-firewall/nufw/nufw-2.2.6.ebuild +++ b/net-firewall/nufw/nufw-2.2.7.ebuild @@ -1,6 +1,6 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/nufw-2.2.7.ebuild,v 1.1 2007/11/12 13:06:33 pva Exp $ inherit autotools ssl-cert eutils @@ -12,7 +12,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="debug ldap mysql pam pam_nuauth plaintext postgres prelude \ -unicode nfqueue nfconntrack static syslog" +unicode nfqueue nfconntrack static syslog test" DEPEND=">=dev-libs/glib-2 dev-libs/libgcrypt @@ -33,10 +33,17 @@ src_unpack() { unpack ${A} cd "${S}" sed -i \ - -e "s/nuauth-key.pem/nuauth.key/" \ - -e "s/nuauth-cert.pem/nuauth.pem/" \ + -e 's:^#\(nuauth_tls_key="/etc/nufw/\)nuauth-key.pem:\1nuauth.key:' \ + -e 's:^#\(nuauth_tls_cert="/etc/nufw/\)nuauth-cert.pem:\1nuauth.pem:' \ conf/nuauth.conf || die "sed failed" - epatch "$FILESDIR"/${P}-auth_mysql.patch + epatch "$FILESDIR"/${PN}-2.2.6-auth_mysql.patch + sed -i 's:^gcc.*dummy_client.*:libtool --mode=link gcc -o dummy_client dummy_client.c -I../ ../libnuclient.la || exit;:' \ + src/clients/lib/tests/build_dummy_client.sh || die "sed failed" + + # This tests requre inl_tests to be installed. We don't have it now in our + # tree so we disable them for now... for more information see tests/README + use test && sed -i "s:\(^TESTS=test_all.py\):#\1:" tests/Makefile.am + eautoreconf } @@ -64,6 +71,13 @@ src_compile() { emake || die "emake failed" } +src_test() { + ewarn "Some tests are skiped! If you wish to run them read tests/README and" + ewarn "do that manually." + ebeep 5 + make check +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed" @@ -75,8 +89,7 @@ src_install() { insinto /etc/nufw doins conf/nuauth.conf - docert nufw - docert nuauth + docert nufw nuauth keepdir /var/run/nuauth dodoc AUTHORS ChangeLog NEWS README TODO |