summaryrefslogtreecommitdiff
path: root/net-mgmt/nefu
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nefu')
-rw-r--r--net-mgmt/nefu/Makefile63
-rw-r--r--net-mgmt/nefu/distinfo2
-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
-rw-r--r--net-mgmt/nefu/pkg-descr6
-rw-r--r--net-mgmt/nefu/pkg-plist9
8 files changed, 0 insertions, 149 deletions
diff --git a/net-mgmt/nefu/Makefile b/net-mgmt/nefu/Makefile
deleted file mode 100644
index 17968510cfa9..000000000000
--- a/net-mgmt/nefu/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-# Created by: Kirill Ponomarew <krion@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= nefu
-PORTVERSION= 1.5
-PORTREVISION= 2
-CATEGORIES= net-mgmt
-MASTER_SITES= http://rsug.itd.umich.edu/software/nefu/files/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Network monitoring daemon
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-USES= tar:tgz ssl
-USE_RC_SUBR= nefu
-GNU_CONFIGURE= yes
-MAKE_JOBS_UNSAFE= yes
-CONFIGURE_ENV= YACC=${YACC} \
- OPENSSL_CFLAGS="-I${OPENSSLINC}" \
- OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} \
- --without-sasl \
- --without-zlib \
- --without-shelltests
-
-USERS= nefu
-GROUPS= nefu
-
-OPTIONS_DEFINE= LDAP HTML
-HTML_DESC= HTML support
-OPTIONS_SUB= yes
-
-DBDIR= /var/db/nefu
-
-LDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE}/lib
-LDAP_CONFIGURE_OFF= --without-ldap
-LDAP_USE= OPENLDAP=yes
-
-HTML_CONFIGURE_ON= --with-html=${WWWDIR}
-HTML_CONFIGURE_OFF= --without-html
-
-post-patch:
- @${REINPLACE_CMD} -e 's|-lsasl2||' \
- ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|-lssl|-lssl -lcrypto|' \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|== x_|= x_|' \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|== x_|= x_|' \
- ${WRKSRC}/libsnet/configure
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/nefu.1 ${STAGEDIR}${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/nefu.conf.4 ${STAGEDIR}${PREFIX}/man/man4
- @${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${DBDIR}
-
-.include <bsd.port.mk>
diff --git a/net-mgmt/nefu/distinfo b/net-mgmt/nefu/distinfo
deleted file mode 100644
index ae2da96278e0..000000000000
--- a/net-mgmt/nefu/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (nefu-1.5.tgz) = 832e70217cc3c70312fa7bc545482f8d1729904f5370468f14c4011b1f6bfb4b
-SIZE (nefu-1.5.tgz) = 284160
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 );
- }
-
-
diff --git a/net-mgmt/nefu/pkg-descr b/net-mgmt/nefu/pkg-descr
deleted file mode 100644
index dcc0e8f50514..000000000000
--- a/net-mgmt/nefu/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-nefu monitors network services and reports outages. Working
-from a description of the network topography, nefu's algorithm
-prevents "false alarms" in the event of a network outage due to
-a dependency failure.
-
-WWW: http://rsug.itd.umich.edu/software/nefu/
diff --git a/net-mgmt/nefu/pkg-plist b/net-mgmt/nefu/pkg-plist
deleted file mode 100644
index ced09cc772e1..000000000000
--- a/net-mgmt/nefu/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-bin/nefu
-man/man1/nefu.1.gz
-man/man4/nefu.conf.4.gz
-@owner nefu
-@group nefu
-@dir %%WWWDIR%%
-@dir /var/db/nefu
-@group
-@owner