summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-02-27 20:58:34 +0000
committerCédric Krier <cedk@gentoo.org>2008-02-27 20:58:34 +0000
commitadd888a77adb0ab36bc4ce9b3328d00d660999fd (patch)
tree6b3199e9edfb88cc12bad43868f5d6699e93a391 /net-firewall/nufw
parentchange elog/ewarn info (diff)
downloadhistorical-add888a77adb0ab36bc4ce9b3328d00d660999fd.tar.gz
historical-add888a77adb0ab36bc4ce9b3328d00d660999fd.tar.bz2
historical-add888a77adb0ab36bc4ce9b3328d00d660999fd.zip
Add pam.d file for bug #210828
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-firewall/nufw')
-rw-r--r--net-firewall/nufw/ChangeLog7
-rw-r--r--net-firewall/nufw/Manifest3
-rw-r--r--net-firewall/nufw/nufw-2.2.10-r1.ebuild107
3 files changed, 115 insertions, 2 deletions
diff --git a/net-firewall/nufw/ChangeLog b/net-firewall/nufw/ChangeLog
index 82081a4baa82..56406c81fa2d 100644
--- a/net-firewall/nufw/ChangeLog
+++ b/net-firewall/nufw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-firewall/nufw
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.26 2008/01/15 08:07:16 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.27 2008/02/27 20:58:34 cedk Exp $
+
+*nufw-2.2.10-r1 (27 Feb 2008)
+
+ 27 Feb 2008; Cédric Krier <cedk@gentoo.org> +nufw-2.2.10-r1.ebuild:
+ Add pam.d file for bug #210828
15 Jan 2008; Christian Faulhammer <opfer@gentoo.org> nufw-2.2.8.ebuild:
stable x86, bug 203132
diff --git a/net-firewall/nufw/Manifest b/net-firewall/nufw/Manifest
index a2a6fc3cb071..10b7b3b08fc8 100644
--- a/net-firewall/nufw/Manifest
+++ b/net-firewall/nufw/Manifest
@@ -6,7 +6,8 @@ AUX nufw-conf.d 81 RMD160 7bb1a7172915561570f0839e553e9021144421a8 SHA1 1b75760c
AUX nufw-init.d 276 RMD160 3aae0f4b5d77f4af5c1966570112fed29dda17a1 SHA1 8154d2a7c2c70077b81ae19cd53e98ae8380774a SHA256 972c3c94a7e290985cc7e8a0ccc40dfa0e10d7eee44e218c70f6fc7f8ed73f9d
DIST nufw-2.2.10.tar.bz2 554056 RMD160 42d6bfd7b6389b69a35c4f3609b38a3896741846 SHA1 4b51b225c27fb8828699b388079950c6b014a1ee SHA256 f150a3668a347c2055d64c07bb5aede128c98e00b8dd92ebf1245a1a02f4dc11
DIST nufw-2.2.8.tar.bz2 542010 RMD160 8723d70b66fe0d0f07ecb89a806356b6554be304 SHA1 858e1ce82fd4f8ea2a8a29d289b95e6a31c8b581 SHA256 ef479e7006e2037d78331d5f7f35fa6fffc23bcea9e05e793db723a5052dbf1f
+EBUILD nufw-2.2.10-r1.ebuild 2978 RMD160 a3fb26596d4c395ce8fef25cb1d7c0f344b03519 SHA1 971121f5b50456fb745c19a4d4a4ba0d31a2e004 SHA256 561582642904f93d4d3740abc738bd0d90763eded5f4766ea3eec2fb30b38a04
EBUILD nufw-2.2.10.ebuild 2888 RMD160 bbd14c8bb792222490795de7d707b3fd8fb78137 SHA1 41adf78216cda43c645d5be47f5ddfd7e23724eb SHA256 32e00585331547fce7aa0000a2f78131783feab3f221ac82f83f7597d85b4d26
EBUILD nufw-2.2.8.ebuild 2879 RMD160 1acc2839454f22c77869b8a18e0112c000780640 SHA1 5780b8f70ce1edaca6a84440717fe2af58346901 SHA256 8bbf23de74efbb2555230be438f2ff59ebcdabbf9a2e190f366fa4be8cd84a7f
-MISC ChangeLog 3505 RMD160 8ec5cf221f2ee8483fa04cf803f96a263fdb7d23 SHA1 cf5793a7ea00796f64e4350ac507b3c94c723cc7 SHA256 641f46651664b47a2858ac7856dbc2aa5ec85507674f6626a0b7a17d5047aa9d
+MISC ChangeLog 3640 RMD160 fc9b4f8c983d347972b177f55d3e93e52f71c182 SHA1 c825338b437a43d4a7d7a6d837e20ced4caf46d5 SHA256 7c2ffd83dcceb3044f5af2de79ff01eb79dd05548f58bf26f150907f5058c759
MISC metadata.xml 317 RMD160 7462c099b149003e014c1f17e08dd5783de779c4 SHA1 15f04c20107acb198979af7c4270b40d6e0156a7 SHA256 4812839c16f73def560f5191e6141117e5729871ebbab6d02fc4a53bec2d9869
diff --git a/net-firewall/nufw/nufw-2.2.10-r1.ebuild b/net-firewall/nufw/nufw-2.2.10-r1.ebuild
new file mode 100644
index 000000000000..7617d7b7cc7b
--- /dev/null
+++ b/net-firewall/nufw/nufw-2.2.10-r1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/nufw-2.2.10-r1.ebuild,v 1.1 2008/02/27 20:58:34 cedk Exp $
+
+inherit autotools ssl-cert eutils pam
+
+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 test"
+
+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 )
+ prelude? ( dev-libs/libprelude )
+ dev-python/ipy"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -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}-destdir.patch"
+
+ # 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
+}
+
+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_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"
+
+ 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/{clean_conntrack.pl,nuaclgen,nutop,README,ulog_rotate_daily.sh,ulog_rotate_weekly.sh}
+ docinto conf
+ dodoc conf/*.{nufw,schema,conf,dump,xml}
+
+ if use pam; then
+ pamd_mimic system-auth nufw auth account password session
+ fi
+}
+
+pkg_postinst() {
+ install_cert /etc/nufw/{nufw,nuauth}
+}