--- /dev/null
+# ChangeLog for net-firewall/nufw
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/ChangeLog,v 1.1 2006/11/13 22:36:25 cedk Exp $
+
+*nufw-2.0.10 (13 Nov 2006)
+
+ 13 Nov 2006; Cedric Krier <ced@ced.homedns.org> +files/nuauth-conf.d,
+ +files/nuauth-init.d, +files/nufw-conf.d, +files/nufw-init.d,
+ +metadata.xml, +nufw-2.0.10.ebuild:
+ New ebuild
+
--- /dev/null
+AUX nuauth-conf.d 19 RMD160 be74e62976926a6ebe6930a2d2bf2032dd3ae704 SHA1 2ac3ff2ea1b11b6534df2856849904b515119086 SHA256 dc562afba21239a5a30889b04c021b36b9c19ca17a6d8071bb848eab2d70c538
+MD5 e67375cd91e75b4b456a97396c5a566f files/nuauth-conf.d 19
+RMD160 be74e62976926a6ebe6930a2d2bf2032dd3ae704 files/nuauth-conf.d 19
+SHA256 dc562afba21239a5a30889b04c021b36b9c19ca17a6d8071bb848eab2d70c538 files/nuauth-conf.d 19
+AUX nuauth-init.d 522 RMD160 89f255a1ebe12ef629ec9963834c445e0df4a6dc SHA1 0d9c6b0d3434da7f29967e9a727c9b6dbe2a8f8e SHA256 18c988dccda3cbbef92d0a218a8eba62694b5a5fc66980a9120bbd146629ccf3
+MD5 65f60dfaa7909e33329c7c605767bda8 files/nuauth-init.d 522
+RMD160 89f255a1ebe12ef629ec9963834c445e0df4a6dc files/nuauth-init.d 522
+SHA256 18c988dccda3cbbef92d0a218a8eba62694b5a5fc66980a9120bbd146629ccf3 files/nuauth-init.d 522
+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
+SHA256 c616bb91451f7bf34cfe3139a972be01a562ece6c372d2ee39c3cd5009d2354d files/nufw-conf.d 81
+AUX nufw-init.d 276 RMD160 3aae0f4b5d77f4af5c1966570112fed29dda17a1 SHA1 8154d2a7c2c70077b81ae19cd53e98ae8380774a SHA256 972c3c94a7e290985cc7e8a0ccc40dfa0e10d7eee44e218c70f6fc7f8ed73f9d
+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.10-1.tar.bz2 652723 RMD160 84d8585caa1b2567eed10946bba78f44f6ed0c44 SHA1 7715610c270639cdad7892bae6d650a2130b347a SHA256 f99e416e907974bcc87717d45129530eea8be7fce1bfd39d7132380e4e91dec9
+EBUILD nufw-2.0.10.ebuild 2182 RMD160 bb7105fe0ea904b04dd611560e80c94eb51c6a1c SHA1 cce647f8b9d79e1be9fbd202f026603dfd169626 SHA256 87771f168fd10f45d031f939dd54407eda798be74192a6de98ad6e56b30d4331
+MD5 7fea3bf75c73b44904df0efdd515b28c nufw-2.0.10.ebuild 2182
+RMD160 bb7105fe0ea904b04dd611560e80c94eb51c6a1c nufw-2.0.10.ebuild 2182
+SHA256 87771f168fd10f45d031f939dd54407eda798be74192a6de98ad6e56b30d4331 nufw-2.0.10.ebuild 2182
+MISC ChangeLog 421 RMD160 c229338f742c2e2cbee30df5ddf15ca7bedd8119 SHA1 db7e0117a7f645dee86e1d5068620f75ba2cd031 SHA256 e87b481aed5377b8b1f48bcd215a07a43a024a5fd6838011572a603f3152420a
+MD5 32ca8d92a95dfbccdfa6939d1043e07b ChangeLog 421
+RMD160 c229338f742c2e2cbee30df5ddf15ca7bedd8119 ChangeLog 421
+SHA256 e87b481aed5377b8b1f48bcd215a07a43a024a5fd6838011572a603f3152420a ChangeLog 421
+MISC metadata.xml 317 RMD160 7462c099b149003e014c1f17e08dd5783de779c4 SHA1 15f04c20107acb198979af7c4270b40d6e0156a7 SHA256 4812839c16f73def560f5191e6141117e5729871ebbab6d02fc4a53bec2d9869
+MD5 4b3e13fee26f7b6dccc9dab192144b92 metadata.xml 317
+RMD160 7462c099b149003e014c1f17e08dd5783de779c4 metadata.xml 317
+SHA256 4812839c16f73def560f5191e6141117e5729871ebbab6d02fc4a53bec2d9869 metadata.xml 317
+MD5 69f454c31f2a1ca93887739c351fe11c files/digest-nufw-2.0.10 244
+RMD160 b217f5cc05bbcfcd47de10841d72694a0f5014e5 files/digest-nufw-2.0.10 244
+SHA256 6ffea502a0c912e41762dce527bc4a60133bd6aa7c215c6cd2220ce5f4709698 files/digest-nufw-2.0.10 244
--- /dev/null
+MD5 bdaaf07c32f2aa79ba649f8136445171 nufw-2.0.10-1.tar.bz2 652723
+RMD160 84d8585caa1b2567eed10946bba78f44f6ed0c44 nufw-2.0.10-1.tar.bz2 652723
+SHA256 f99e416e907974bcc87717d45129530eea8be7fce1bfd39d7132380e4e91dec9 nufw-2.0.10-1.tar.bz2 652723
--- /dev/null
+
+NUAUTH_OPTIONS=""
--- /dev/null
+#!/sbin/runscript
+
+depend() {
+ before net
+}
+
+checkconfig() {
+ if [ ! -e /etc/nufw/nuauth.conf ]; then
+ eerror "You need a /etc/nufw/nuauth.conf file to run nuauth"
+ eerror "There is sample file in /usr/share/doc/nufw-version/"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting nuauth"
+ start-stop-daemon --start --quiet --exec /usr/sbin/nuauth -- -D ${NUAUTH_OPTIONS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping nuauth"
+ start-stop-daemon --stop --quiet --pidfile /var/run/nuauth/nuauth.pid
+ eend $?
+}
--- /dev/null
+
+NUFW_OPTIONS="-k /etc/nufw/nufw.key -c /etc/nufw/nufw.pem -d 127.0.0.1 -p 4129"
--- /dev/null
+#!/sbin/runscript
+
+depend() {
+ before net
+}
+
+start() {
+ ebegin "Starting nufw"
+ start-stop-daemon --start --quiet --exec /usr/sbin/nufw -- -D ${NUFW_OPTIONS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping nufw"
+ start-stop-daemon --stop --quiet --pidfile /var/run/nufw.pid
+ eend $?
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+<maintainer>
+ <email>cedk@gentoo.org</email>
+</maintainer>
+<longdescription>An enterprise grade authenticating firewall based on netfilter</longdescription>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/nufw/nufw-2.0.10.ebuild,v 1.1 2006/11/13 22:36:25 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}-1.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? ( 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 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
+ 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}
+}