summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/nufw/files')
-rw-r--r--net-firewall/nufw/files/digest-nufw-2.0.33
-rw-r--r--net-firewall/nufw/files/nuauth-conf.d5
-rw-r--r--net-firewall/nufw/files/nuauth-init.d20
-rw-r--r--net-firewall/nufw/files/nufw-2.0.3-configure.patch107
-rw-r--r--net-firewall/nufw/files/nufw-conf.d5
-rw-r--r--net-firewall/nufw/files/nufw-init.d20
6 files changed, 160 insertions, 0 deletions
diff --git a/net-firewall/nufw/files/digest-nufw-2.0.3 b/net-firewall/nufw/files/digest-nufw-2.0.3
new file mode 100644
index 000000000..20a6ad67f
--- /dev/null
+++ b/net-firewall/nufw/files/digest-nufw-2.0.3
@@ -0,0 +1,3 @@
+MD5 7331d902fa6fa6a0317d02c423171a09 nufw-2.0.3.tar.gz 976961
+RMD160 47ec2bb290e5370a7dc10f27cab8b1b0f202aa47 nufw-2.0.3.tar.gz 976961
+SHA256 89d2b16c2813e34c0efa11070f1f084254f09d09ed136889289a252e3de559cd nufw-2.0.3.tar.gz 976961
diff --git a/net-firewall/nufw/files/nuauth-conf.d b/net-firewall/nufw/files/nuauth-conf.d
new file mode 100644
index 000000000..1e4b079f3
--- /dev/null
+++ b/net-firewall/nufw/files/nuauth-conf.d
@@ -0,0 +1,5 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+NUAUTH_OPTIONS=""
diff --git a/net-firewall/nufw/files/nuauth-init.d b/net-firewall/nufw/files/nuauth-init.d
new file mode 100644
index 000000000..1e73faee2
--- /dev/null
+++ b/net-firewall/nufw/files/nuauth-init.d
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ before net
+}
+
+start() {
+ 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 $?
+}
diff --git a/net-firewall/nufw/files/nufw-2.0.3-configure.patch b/net-firewall/nufw/files/nufw-2.0.3-configure.patch
new file mode 100644
index 000000000..18d2ea036
--- /dev/null
+++ b/net-firewall/nufw/files/nufw-2.0.3-configure.patch
@@ -0,0 +1,107 @@
+diff -ur nufw-2.0.3~/configure nufw-2.0.3/configure
+--- nufw-2.0.3~/configure 2006-06-28 01:34:15.000000000 +0200
++++ nufw-2.0.3/configure 2006-06-28 01:39:09.000000000 +0200
+@@ -20041,59 +20041,59 @@
+ # Check whether --with-prelude-log or --without-prelude-log was given.
+ if test "${with_prelude_log+set}" = set; then
+ withval="$with_prelude_log"
+- enable_prelude_log="yes"
++ enable_prelude_log=$withval
+ else
+- enable_prelude_log=""
++ enable_prelude_log="no"
+ fi;
+
+ # Check whether --with-mysql-log or --without-mysql-log was given.
+ if test "${with_mysql_log+set}" = set; then
+ withval="$with_mysql_log"
+- enable_mysql_log="yes"
++ enable_mysql_log=$withval
+ else
+- enable_mysql_log=""
++ enable_mysql_log="no"
+ fi;
+
+ # Check whether --with-pgsql-log or --without-pgsql-log was given.
+ if test "${with_pgsql_log+set}" = set; then
+ withval="$with_pgsql_log"
+- enable_pgsql_log="yes"
++ enable_pgsql_log=$withval
+ else
+- enable_pgsql_log=""
++ enable_pgsql_log="no"
+ fi;
+
+
+ # Check whether --with-system-auth or --without-system-auth was given.
+ if test "${with_system_auth+set}" = set; then
+ withval="$with_system_auth"
+- enable_system_auth="yes"
++ enable_system_auth=$withval
+ else
+- enable_system_auth=""
++ enable_system_auth="no"
+ fi;
+
+
+ # Check whether --with-ldap or --without-ldap was given.
+ if test "${with_ldap+set}" = set; then
+ withval="$with_ldap"
+- ldap="yes"
++ ldap=$withval
+ else
+- ldap=""
++ ldap="no"
+ fi;
+
+ # Check whether --with-gdbm or --without-gdbm was given.
+ if test "${with_gdbm+set}" = set; then
+ withval="$with_gdbm"
+- gdbm="yes"
++ gdbm=$withval
+ else
+- gdbm=""
++ gdbm="no"
+ fi;
+
+ # Check whether --with-ident or --without-ident was given.
+ if test "${with_ident+set}" = set; then
+ withval="$with_ident"
+- ident="yes"
++ ident=$withval
+ else
+- ident=""
++ ident="no"
+ fi;
+
+
+@@ -20101,9 +20101,9 @@
+ # Check whether --with-nfqueue or --without-nfqueue was given.
+ if test "${with_nfqueue+set}" = set; then
+ withval="$with_nfqueue"
+- use_nfqueue="yes"
++ use_nfqueue=$withval
+ else
+- use_nfqueue=""
++ use_nfqueue="no"
+ fi;
+
+
+@@ -20121,7 +20121,7 @@
+ # Check whether --with-fixedtimeout or --without-fixedtimeout was given.
+ if test "${with_fixedtimeout+set}" = set; then
+ withval="$with_fixedtimeout"
+- have_conntrack_fixedtimeout="yes"
++ have_conntrack_fixedtimeout=${withval}
+ fi;
+
+
+@@ -20130,7 +20130,7 @@
+ enableval="$enable_debug"
+ debug=$enableval
+ else
+- debug=""
++ debug="no"
+ fi;
+ # Check whether --enable-nufw or --disable-nufw was given.
+ if test "${enable_nufw+set}" = set; then
diff --git a/net-firewall/nufw/files/nufw-conf.d b/net-firewall/nufw/files/nufw-conf.d
new file mode 100644
index 000000000..07d0c127c
--- /dev/null
+++ b/net-firewall/nufw/files/nufw-conf.d
@@ -0,0 +1,5 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+NUFW_OPTIONS="-k /etc/nufw/nufw-key.pem -c /etc/nufw/nufw-cert.pem -d 127.0.0.1 -p 4129"
diff --git a/net-firewall/nufw/files/nufw-init.d b/net-firewall/nufw/files/nufw-init.d
new file mode 100644
index 000000000..6379eb375
--- /dev/null
+++ b/net-firewall/nufw/files/nufw-init.d
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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 $?
+}