summaryrefslogtreecommitdiff
path: root/net/ntop/files
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-12-21 14:22:17 +0000
committerRene Ladan <rene@FreeBSD.org>2018-12-21 14:22:17 +0000
commitdd1112a2b0969cbefc68c8e7a2657b35c7d23e02 (patch)
treec2e1247ae398f1f3cb25e16c3df9da2d46dc768d /net/ntop/files
parentnet-mgmt/collectd5: remove optional dependency on expired multimedia/xmms (diff)
Remove expired ports:
2018-12-19 net/ntop: Broken for more than 6 months 2018-12-19 textproc/ots: Broken for more than 6 months 2018-12-20 x11/xdialog: Uses obsolete glib12 2018-12-20 net/netdude: Uses obsolete glib12 2018-12-20 japanese/jmode-skk: Uses obsolete glib12 2018-12-20 print/gsview: Uses obsolete glib12 2018-12-20 x11/dgs: Uses obsolete glib12 2018-12-20 japanese/jmode: Uses obsolete glib12 2018-12-20 multimedia/xmms: Uses obsolete glib12
Notes
Notes: svn path=/head/; revision=488006
Diffstat (limited to 'net/ntop/files')
-rw-r--r--net/ntop/files/ntop.in37
-rw-r--r--net/ntop/files/patch-Makefile.am95
-rw-r--r--net/ntop/files/patch-autogen.sh43
-rw-r--r--net/ntop/files/patch-configure.in47
-rw-r--r--net/ntop/files/patch-ntop.c11
-rw-r--r--net/ntop/files/pkg-deinstall.in25
6 files changed, 0 insertions, 258 deletions
diff --git a/net/ntop/files/ntop.in b/net/ntop/files/ntop.in
deleted file mode 100644
index bbedc786ffef..000000000000
--- a/net/ntop/files/ntop.in
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: ntop
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf to enable ntop:
-#
-# ntop_enable (bool): Set it to "YES" to enable ntop
-# Default is "NO".
-# ntop_flags (flags): Set extra flags to ntop
-# Default is "-d --use-syslog=daemon". see ntop(8).
-#
-
-. /etc/rc.subr
-
-name=ntop
-rcvar=ntop_enable
-
-load_rc_config $name
-
-: ${ntop_enable="NO"}
-: ${ntop_flags="-d --use-syslog=daemon"}
-
-command=%%PREFIX%%/bin/ntop
-start_precmd="${name}_checkpw"
-
-ntop_checkpw()
-{
- if [ ! -f %%DBDIR%%/ntop/ntop_pw.db ]; then
- err 1 "Please set admin password for ntop. Run '%%PREFIX%%/bin/ntop -u nobody -A'"
- fi
-}
-
-run_rc_command "$1"
diff --git a/net/ntop/files/patch-Makefile.am b/net/ntop/files/patch-Makefile.am
deleted file mode 100644
index 552d2070ad05..000000000000
--- a/net/ntop/files/patch-Makefile.am
+++ /dev/null
@@ -1,95 +0,0 @@
---- Makefile.am.orig 2012-08-02 04:39:52.000000000 -0300
-+++ Makefile.am 2013-01-08 10:43:54.000000000 -0200
-@@ -61,8 +61,6 @@
-
- ETTER_PASSIVE_FILE = etter.finger.os
- ETTER_PASSIVE = $(ETTER_PASSIVE_FILE).gz
--ETTER_PASSIVE_DOWNLOAD_FROM = "http://ettercap.cvs.sourceforge.net/ettercap/ettercap_ng/share"
--ETTER_PASSIVE_DOWNLOAD_PARMS = "rev=HEAD"
-
- NTOPDATA = ntop-cert.pem \
- $(ETTER_PASSIVE) \
-@@ -308,16 +306,13 @@
- echo " WARNING: This install created a directory for the ntop"; \
- echo " files and databases:"; \
- echo ""; \
-- echo " $(DESTDIR)$(datadir)/ntop"; \
-+ echo " $(CFG_DBFILE_DIR)"; \
- echo ""; \
- echo " This directory MUST be owned by the user"; \
- echo " which you are going to use to run ntop."; \
- echo ""; \
- echo " The command you must issue is something like:"; \
- echo ""; \
-- echo " chown -R ntop.ntop $(DESTDIR)$(datadir)/ntop"; \
-- echo " or chown -R ntop:users $(DESTDIR)$(datadir)/ntop"; \
-- echo ""; \
- echo " man chown to check the syntax for YOUR system"; \
- echo ""; \
- echo "************************************************************"; \
-@@ -334,7 +329,6 @@
- chcon -t textrel_shlib_t $(DESTDIR)$(libdir)/*ntop*.so
-
- install-data-local: ntop.txt ntop.html faq.html
-- @$(top_srcdir)/mkinstalldirs $(DESTDIR)/$(libdir)/plugins;
- @if ! test -d $(DESTDIR)$(datadir)/ntop; then \
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/ntop; \
- touch $(DESTDIR)$(datadir)/ntop/warnuser; \
-@@ -370,21 +364,6 @@
- @echo ""
- @echo ""
- @echo -n "Preparing "
-- @if test -f oui.txt; then \
-- rm -rf oui.txt; \
-- fi
-- @if test -f oui.txt.gz.old; then \
-- rm -rf oui.txt.gz.old; \
-- fi;
-- @mv oui.txt.gz oui.txt.gz.old
-- @echo "(old oui.txt.gz file is now oui.txt.gz.old)"
-- @echo ""
-- @wget -c http://standards.ieee.org/regauth/oui/oui.txt
-- @gzip oui.txt
-- @echo ""
-- @echo ""
-- @echo -n "Old file lines were: "
-- @gunzip -c oui.txt.gz.old | wc -l
- @echo -n "New file lines are: "
- @gunzip -c oui.txt.gz | wc -l
- @echo ""
-@@ -402,35 +381,6 @@
- @echo ""
- @echo "Preparing "
- @echo ""
--
-- @if test -f $(ETTER_PASSIVE).old; then \
-- echo "...Deleting prior file, $(ETTER_PASSIVE).old..."; \
-- rm -rf $(ETTER_PASSIVE).old; \
-- fi;
-- @if test -f $(ETTER_PASSIVE); then \
-- echo "...Moving current $(ETTER_PASSIVE) to $(ETTER_PASSIVE).old"; \
-- mv $(ETTER_PASSIVE) $(ETTER_PASSIVE).old; \
-- fi;
-- @for file in $(ETTER_PASSIVE) $(ETTER_PASSIVE).gz \
-- $(ETTER_PASSIVE_FILE) $(ETTER_PASSIVE_FILE).gz; do \
-- if test -f $$file; then \
-- echo "...Deleting prior file, $$file..."; \
-- rm -rf $$file; \
-- fi; \
-- done
-- @echo ""
-- @echo "...Downloading new file..."
-- @wget -O $(ETTER_PASSIVE_FILE) \
-- $(ETTER_PASSIVE_DOWNLOAD_FROM)/$(ETTER_PASSIVE_FILE)?$(ETTER_PASSIVE_DOWNLOAD_PARMS)
-- @echo ""
-- @echo "gziping downloaded file..."
-- @gzip $(ETTER_PASSIVE_FILE)
-- @echo ""
-- @echo ""
-- @if test -f $(ETTER_PASSIVE).old; then \
-- echo -n "Old file lines were: "; \
-- gunzip -c $(ETTER_PASSIVE).old | wc -l; \
-- fi;
- @echo -n "New file lines are: "
- @gunzip -c $(ETTER_PASSIVE) | wc -l
- @echo ""
diff --git a/net/ntop/files/patch-autogen.sh b/net/ntop/files/patch-autogen.sh
deleted file mode 100644
index bd9147fe77b4..000000000000
--- a/net/ntop/files/patch-autogen.sh
+++ /dev/null
@@ -1,43 +0,0 @@
---- autogen.sh.orig 2012-02-20 14:35:43.000000000 +0400
-+++ autogen.sh 2014-06-10 16:29:45.873177238 +0400
-@@ -202,30 +202,6 @@
- GNU_OR_DIE=0
- }
-
--WGET=`find_command 'wget*'`
--($WGET --version) < /dev/null > /dev/null 2>&1 ||
--{
-- echo
-- echo "You must have wget installed to compile $progname."
-- echo "Download the appropriate package for your distribution, or get the"
-- echo "source tarball from ftp://ftp.gnu.org/pub/gnu/wget"
-- GNU_OR_DIE=0
--}
--
--if test "$GNU_OR_DIE" -eq 0; then
-- exit 1
--fi
--
--SVN=`find_command 'svn'`
--($SVN --version) < /dev/null > /dev/null 2>&1 ||
--{
-- echo
-- echo "You must have svn/subversion installed to compile $progname."
-- echo "Download the appropriate package for your distribution, or get the"
-- echo "source from http://subversion.tigris.org"
-- GNU_OR_DIE=0
--}
--
- if test "$GNU_OR_DIE" -eq 0; then
- exit 1
- fi
-@@ -442,7 +418,8 @@
- if test -d nDPI; then
- echo "nDPI already available"
- else
-- svn co $NDPI_URL
-+ echo "nDPI not bundled"
-+ exit 1
- fi
-
- dnl> nDPI compilation
diff --git a/net/ntop/files/patch-configure.in b/net/ntop/files/patch-configure.in
deleted file mode 100644
index 780a4b50083c..000000000000
--- a/net/ntop/files/patch-configure.in
+++ /dev/null
@@ -1,47 +0,0 @@
---- configure.in.orig 2012-08-13 04:35:26.000000000 -0300
-+++ configure.in 2013-01-09 13:11:12.000000000 -0200
-@@ -560,7 +560,7 @@
- test -d ${TMP_ROOT} &&
- test -r ${TMP_ROOT}/libpcap.a; then
- PCAP_ROOT=${TMP_ROOT}
-- CORELIBS="${CORELIBS} -L${TMP_ROOT} -L${HOME}/PF_RING/userland/lib -lpfring -lpcap "
-+ CORELIBS="${CORELIBS}-L${TMP_ROOT}-L${HOME}/PF_RING/userland/lib -lpfring -lpcap "
- INCS="${INCS} -I ${PCAP_ROOT}"
- AC_MSG_RESULT([found in $PCAP_ROOT])
- elif test ".${PCAP_ROOT}" != .; then
-@@ -568,7 +568,7 @@
- test -r $PCAP_ROOT/lib/libpcap.a &&
- test -r $PCAP_ROOT/include/pcap.h; then
- PCAP_ROOT=`cd ${PCAP_ROOT} && pwd`
-- CORELIBS="${CORELIBS} -L ${PCAP_ROOT}/lib -lpcap"
-+ CORELIBS="${CORELIBS}-L${PCAP_ROOT}/lib -lpcap"
- INCS="${INCS} -I ${PCAP_ROOT}/include"
- AC_MSG_RESULT([found in $PCAP_ROOT])
- else
-@@ -584,7 +584,7 @@
- test -r /usr/local/lib/libpcap.a &&
- test -r /usr/local/include/pcap.h; then
- PCAP_ROOT="/usr/local"
-- CORELIBS="${CORELIBS} -L$PCAP_ROOT/lib -lpcap"
-+ CORELIBS="${CORELIBS}-L$PCAP_ROOT/lib -lpcap"
- INCS="${INCS} -I$PCAP_ROOT/include"
- AC_MSG_RESULT([found in $PCAP_ROOT])
- dnl>
-@@ -1744,8 +1744,6 @@
- else
- if test -f "3rd_party/GeoLiteCity.dat.gz"; then
- cp 3rd_party/GeoLiteCity.dat.gz .
-- else
-- wget http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
- fi
-
- gunzip GeoLiteCity.dat.gz
-@@ -1758,8 +1756,6 @@
- else
- if test -f "3rd_party/GeoIPASNum.dat.gz"; then
- cp 3rd_party/GeoIPASNum.dat.gz .
-- else
-- wget http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
- fi
-
- gunzip GeoIPASNum.dat.gz
diff --git a/net/ntop/files/patch-ntop.c b/net/ntop/files/patch-ntop.c
deleted file mode 100644
index 06e42f37b34b..000000000000
--- a/net/ntop/files/patch-ntop.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./ntop.c.orig 2011-02-02 10:23:03.000000000 +0100
-+++ ./ntop.c 2011-02-02 10:24:12.000000000 +0100
-@@ -187,7 +187,7 @@
- #endif
- signal(SIGQUIT, SIG_IGN);
-
-- if((childpid=fork()) < 0)
-+ if((childpid=rfork(RFPROC)) < 0)
- traceEvent(CONST_TRACE_ERROR, "INIT: Occurred while daemonizing (errno=%d)", errno);
- else {
- #ifdef DEBUG
diff --git a/net/ntop/files/pkg-deinstall.in b/net/ntop/files/pkg-deinstall.in
deleted file mode 100644
index a55e12e99d9d..000000000000
--- a/net/ntop/files/pkg-deinstall.in
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-case $2 in
- DEINSTALL)
- ;;
- POST-DEINSTALL)
- if [ -d %%DBDIR%%/ntop ];then
- echo "===> post-deinstallation information for $1"
- echo ""
- echo " Please note that ntop was not completely removed"
- echo " from this system:"
- echo ""
- echo " %%DBDIR%%/ntop can be removed if this port will not be"
- echo " reinstalled."
- echo ""
- fi
- ;;
- *)
- exit 64
- ;;
-esac
-exit 0