summaryrefslogtreecommitdiff
path: root/net-mgmt/nefu/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nefu/files')
-rw-r--r--net-mgmt/nefu/files/nefu.in30
-rw-r--r--net-mgmt/nefu/files/patch-Makefile.in11
-rw-r--r--net-mgmt/nefu/files/patch-main.c13
-rw-r--r--net-mgmt/nefu/files/patch-publish.c15
4 files changed, 0 insertions, 69 deletions
diff --git a/net-mgmt/nefu/files/nefu.in b/net-mgmt/nefu/files/nefu.in
deleted file mode 100644
index ea9a068305d6..000000000000
--- a/net-mgmt/nefu/files/nefu.in
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: nefu
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-#
-# Add the following line to /etc/rc.conf[.local] to enable nefu
-#
-# nefu_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable nefu.
-# nefu_config (str): Custom config file for nefu.
-# (default /usr/local/etc/nefu.conf)
-# nefu_flags (str): Custom additional arguments to be passed to nefu
-#
-
-. /etc/rc.subr
-
-name="nefu"
-rcvar=nefu_enable
-command=%%PREFIX%%/bin/${name}
-
-load_rc_config $name
-
-# set default
-: ${nefu_enable="NO"}
-: ${nefu_config="%%PREFIX%%/etc/nefu.conf"}
-
-command_args="-f ${nefu_config}"
-
-run_rc_command "$1"
diff --git a/net-mgmt/nefu/files/patch-Makefile.in b/net-mgmt/nefu/files/patch-Makefile.in
deleted file mode 100644
index 0b90584d11e4..000000000000
--- a/net-mgmt/nefu/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig 2006-09-29 22:13:42.000000000 +0200
-+++ Makefile.in 2013-02-27 17:07:55.046746676 +0100
-@@ -64,7 +64,7 @@
-
- FRC :
-
--libtest : FRC
-+libtest/libtest.a : FRC
- cd libtest; ${MAKE} ${MFLAGS} CC=${CC} OPTOPTS="${OPTOPTS}" LIBDIRS="${LIBDIRS}"
-
- libsnet/libsnet.la : FRC
diff --git a/net-mgmt/nefu/files/patch-main.c b/net-mgmt/nefu/files/patch-main.c
deleted file mode 100644
index f8514021c4fe..000000000000
--- a/net-mgmt/nefu/files/patch-main.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- main.c 2006-11-10 20:32:33.000000000 +0100
-+++ main.c 2008-06-23 20:26:45.000000000 +0200
-@@ -409,6 +409,10 @@
- }
- }
-
-+ /* fix the html_dir */
-+ if(no_html == 1)
-+ nefu_html_dir = NULL;
-+
- /* initalize html pages */
- html_init( &s );
-
diff --git a/net-mgmt/nefu/files/patch-publish.c b/net-mgmt/nefu/files/patch-publish.c
deleted file mode 100644
index 7f1d3f91f253..000000000000
--- a/net-mgmt/nefu/files/patch-publish.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- publish.c 2005-08-01 16:08:43.000000000 +0200
-+++ publish.c 2008-06-24 14:11:41.000000000 +0200
-@@ -750,7 +750,11 @@
- return( 1 );
- }
-
-- return( html_plan( s ));
-+ if ( nefu_html_dir != NULL ) {
-+ return( html_plan( s ));
-+ }
-+
-+ return ( 0 );
- }
-
-