summaryrefslogtreecommitdiff
path: root/net-mgmt/mrtg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net-mgmt/mrtg/Makefile88
-rw-r--r--net-mgmt/mrtg/distinfo1
-rw-r--r--net-mgmt/mrtg/files/patch-configure120
-rw-r--r--net-mgmt/mrtg/pkg-descr12
-rw-r--r--net-mgmt/mrtg/pkg-plist85
5 files changed, 0 insertions, 306 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
deleted file mode 100644
index d48b5569ffa3..000000000000
--- a/net-mgmt/mrtg/Makefile
+++ /dev/null
@@ -1,88 +0,0 @@
-# New ports collection makefile for: MRTG
-# Date created: April 18th 1997
-# Whom: James FitzGibbon <jfitz@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mrtg
-PORTVERSION= 2.10.5
-PORTREVISION= 1
-PORTEPOCH= 1
-CATEGORIES= net ipv6
-MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/ \
- ftp://ftp.chg.ru/pub/networking/monitoring/mrtg/ \
- ${MASTER_SITE_RINGSERVER} \
- ftp://ftp.nstu.ru/pub/sources/nettools/monitoring/ \
- ftp://ftp.po.opole.pl/pub/unix/net/tools/mrtg/ \
- ftp://ftp.ujf-grenoble.fr/mirror/networking/mrtg/
-MASTER_SITE_SUBDIR= net/mrtg
-
-MAINTAINER= demon@FreeBSD.org
-COMMENT= The multi-router traffic grapher
-
-RUN_DEPENDS= ${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net/p5-SNMP_Session \
- ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-INET6
-
-.if defined(WITH_GD1)
-LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd1
-CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
- --with-gd-inc=${LOCALBASE}/include/gd
-.else
-LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
-CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
- --with-gd-inc=${LOCALBASE}/include
-.endif
-
-USE_PERL5= YES
-MAKE_ENV+= PERL=${PERL}
-
-GNU_CONFIGURE= YES
-
-CONFIGURE_ENV= PERL=${PERL}
-
-MAN1= cfgmaker.1 contrib.1 faq.1 forum.1 indexmaker.1 logfile.1 \
- mibhelp.1 mrtg.1 mrtg-ipv6.1 mrtg-rrd.1 mrtglib.1 nt-guide.1 \
- reference.1 squid.1 unix-guide.1 webserver.1
-
-post-patch:
- ${RM} ${WRKSRC}/lib/mrtg2/BER.pm ${WRKSRC}/lib/mrtg2/SNMP_*.pm
-.if defined(WITH_GD1)
- ${PERL} -pi -e 's:%%GD%%:-lgd1:g' ${WRKSRC}/configure
-.else
- ${PERL} -pi -e 's:%%GD%%:-lgd:g' ${WRKSRC}/configure
-.endif
-
-do-install:
- ${MKDIR} -m 755 ${PREFIX}/etc/mrtg
- ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
- ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod
- ${MKDIR} -m 755 ${DATADIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} -m 755 ${DOCSDIR}
- for file in ANNOUNCE CHANGES COPYRIGHT MANIFEST README \
- doc/*.html doc/*.pod doc/*.txt doc/*wml doc/*.png ; do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${DOCSDIR}; \
- done
-.endif
- ${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg ${PREFIX}/etc/mrtg/mrtg.cfg.sample
- ${INSTALL_DATA} ${WRKSRC}/images/* ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
- ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/Pod/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${PREFIX}/bin/
- for file in mrtg cfgmaker indexmaker; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/$$file ${PREFIX}/bin/; \
- done
-
-post-install:
-.if !defined(BATCH)
- @${ECHO} ""
- @${ECHO} "############################################################################"
- @${ECHO} "# Please create a MRTG config file in ${PREFIX}/etc/mrtg #"
- @${ECHO} "# A configuration file can be automatically generated with cfgmaker #"
- @${ECHO} "# A sample configuration file is installed as mrtg.cfg.sample #"
- @${ECHO} "############################################################################"
-.endif
-
-.include <bsd.port.mk>
diff --git a/net-mgmt/mrtg/distinfo b/net-mgmt/mrtg/distinfo
deleted file mode 100644
index b9f385f4e86f..000000000000
--- a/net-mgmt/mrtg/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (mrtg-2.10.5.tar.gz) = 5657edcdc3ca0af2d4e063867dbd1529
diff --git a/net-mgmt/mrtg/files/patch-configure b/net-mgmt/mrtg/files/patch-configure
deleted file mode 100644
index 4fe9b654edc6..000000000000
--- a/net-mgmt/mrtg/files/patch-configure
+++ /dev/null
@@ -1,120 +0,0 @@
---- configure.orig Sun Mar 9 02:17:40 2003
-+++ configure Sat Jul 5 23:55:07 2003
-@@ -3159,13 +3159,13 @@
- LDFLAGS="${LDFLAGS} ${MATHLIBS}"
-
- GDEXTRALIB=""
--echo "$as_me:$LINENO: checking for gdImageGif in -lgd" >&5
--echo $ECHO_N "checking for gdImageGif in -lgd... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for gdImageGif in %%GD%%" >&5
-+echo $ECHO_N "checking for gdImageGif in %%GD%%... $ECHO_C" >&6
- if test "${ac_cv_lib_gd_gdImageGif+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lgd -lgd ${MATHLIBS} $LIBS"
-+LIBS="%%GD%% %%GD%% ${MATHLIBS} $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
-@@ -3211,20 +3211,20 @@
- if test $ac_cv_lib_gd_gdImageGif = yes; then
-
- GDFORM_EXT=gif
-- GLIBS="-lgd"
-+ GLIBS="%%GD%%"
-
- else
- :
- fi
-
-
--echo "$as_me:$LINENO: checking for gdImagePng in -lgd" >&5
--echo $ECHO_N "checking for gdImagePng in -lgd... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for gdImagePng in %%GD%%" >&5
-+echo $ECHO_N "checking for gdImagePng in %%GD%%... $ECHO_C" >&6
- if test "${ac_cv_lib_gd_gdImagePng+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lgd -lgd -lpng -lz ${MATHLIBS} $LIBS"
-+LIBS="%%GD%% %%GD%% -lpng -lz ${MATHLIBS} $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
-@@ -3270,20 +3270,20 @@
- if test $ac_cv_lib_gd_gdImagePng = yes; then
-
- GDFORM_EXT=png
-- GLIBS="-lgd -lpng -lz"
-+ GLIBS="%%GD%% -lpng -lz"
-
- else
- :
- fi
-
-
--echo "$as_me:$LINENO: checking for gdImagePng_jpg in -lgd" >&5
--echo $ECHO_N "checking for gdImagePng_jpg in -lgd... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for gdImagePng_jpg in %%GD%%" >&5
-+echo $ECHO_N "checking for gdImagePng_jpg in %%GD%%... $ECHO_C" >&6
- if test "${ac_cv_lib_gd_gdImagePng_jpg+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lgd -lgd -lpng -lz -ljpeg ${MATHLIBS} $LIBS"
-+LIBS="%%GD%% %%GD%% -lpng -lz -ljpeg ${MATHLIBS} $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
-@@ -3329,20 +3329,20 @@
- if test $ac_cv_lib_gd_gdImagePng_jpg = yes; then
-
- GDFORM_EXT=png
-- GLIBS="-lgd -lpng -lz -ljpeg"
-+ GLIBS="%%GD%% -lpng -lz -ljpeg"
-
- else
- :
- fi
-
-
--echo "$as_me:$LINENO: checking for gdImagePng_jpg_ft in -lgd" >&5
--echo $ECHO_N "checking for gdImagePng_jpg_ft in -lgd... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for gdImagePng_jpg_ft in %%GD%%" >&5
-+echo $ECHO_N "checking for gdImagePng_jpg_ft in %%GD%%... $ECHO_C" >&6
- if test "${ac_cv_lib_gd_gdImagePng_jpg_ft+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lgd -lgd -lpng -lz -ljpeg -lfreetype ${MATHLIBS} $LIBS"
-+LIBS="%%GD%% %%GD%% -lpng -lz -ljpeg -lfreetype ${MATHLIBS} $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
-@@ -3388,7 +3388,7 @@
- if test $ac_cv_lib_gd_gdImagePng_jpg_ft = yes; then
-
- GDFORM_EXT=png
-- GLIBS="-lgd -lpng -lz -ljpeg -lfreetype"
-+ GLIBS="%%GD%% -lpng -lz -ljpeg -lfreetype"
-
- else
- :
-@@ -3399,13 +3399,13 @@
- CPPFLAGS="$CPPFLAGS -DGFORM_GD=gdImageGif"
- fi
-
--echo "$as_me:$LINENO: checking for gdImageGd in -lgd" >&5
--echo $ECHO_N "checking for gdImageGd in -lgd... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for gdImageGd in %%GD%%" >&5
-+echo $ECHO_N "checking for gdImageGd in %%GD%%... $ECHO_C" >&6
- if test "${ac_cv_lib_gd_gdImageGd+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lgd -Wl,-Bstatic ${GLIBS} -Wl,-Bdynamic $LIBS"
-+LIBS="%%GD%% -Wl,-Bstatic ${GLIBS} -Wl,-Bdynamic $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
diff --git a/net-mgmt/mrtg/pkg-descr b/net-mgmt/mrtg/pkg-descr
deleted file mode 100644
index 37269262fdfb..000000000000
--- a/net-mgmt/mrtg/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic
-load on network-links. MRTG generates HTML pages containing PNG images which
-provide a LIVE visual representation of this traffic. Check
-
-WWW: http://www.mrtg.org/
-
-for an example. MRTG is based on Perl and C and works under UNIX and Windows
-NT.
-
-MRTG is being successfully used on many sites around the net.
-Check the MRTG-Site-Map, which is at:
-http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/users.html
diff --git a/net-mgmt/mrtg/pkg-plist b/net-mgmt/mrtg/pkg-plist
deleted file mode 100644
index 949875428795..000000000000
--- a/net-mgmt/mrtg/pkg-plist
+++ /dev/null
@@ -1,85 +0,0 @@
-bin/cfgmaker
-bin/indexmaker
-bin/mrtg
-bin/rateup
-etc/mrtg/mrtg.cfg.sample
-%%SITE_PERL%%/MRTG_lib.pm
-%%SITE_PERL%%/Pod/InputObjects.pm
-%%SITE_PERL%%/Pod/Parser.pm
-%%SITE_PERL%%/Pod/PlainText.pm
-%%SITE_PERL%%/Pod/Select.pm
-%%SITE_PERL%%/Pod/Usage.pm
-%%SITE_PERL%%/locales_mrtg.pm
-%%PORTDOCS%%share/doc/mrtg/ANNOUNCE
-%%PORTDOCS%%share/doc/mrtg/CHANGES
-%%PORTDOCS%%share/doc/mrtg/COPYRIGHT
-%%PORTDOCS%%share/doc/mrtg/MANIFEST
-%%PORTDOCS%%share/doc/mrtg/README
-%%PORTDOCS%%share/doc/mrtg/cfgmaker.html
-%%PORTDOCS%%share/doc/mrtg/cfgmaker.pod
-%%PORTDOCS%%share/doc/mrtg/cfgmaker.txt
-%%PORTDOCS%%share/doc/mrtg/contrib.html
-%%PORTDOCS%%share/doc/mrtg/contrib.pod
-%%PORTDOCS%%share/doc/mrtg/contrib.txt
-%%PORTDOCS%%share/doc/mrtg/faq.html
-%%PORTDOCS%%share/doc/mrtg/faq.pod
-%%PORTDOCS%%share/doc/mrtg/faq.txt
-%%PORTDOCS%%share/doc/mrtg/forum.html
-%%PORTDOCS%%share/doc/mrtg/forum.pod
-%%PORTDOCS%%share/doc/mrtg/forum.txt
-%%PORTDOCS%%share/doc/mrtg/index.html
-%%PORTDOCS%%share/doc/mrtg/index.txt
-%%PORTDOCS%%share/doc/mrtg/index.wml
-%%PORTDOCS%%share/doc/mrtg/indexmaker.html
-%%PORTDOCS%%share/doc/mrtg/indexmaker.pod
-%%PORTDOCS%%share/doc/mrtg/indexmaker.txt
-%%PORTDOCS%%share/doc/mrtg/logfile.html
-%%PORTDOCS%%share/doc/mrtg/logfile.pod
-%%PORTDOCS%%share/doc/mrtg/logfile.txt
-%%PORTDOCS%%share/doc/mrtg/mibhelp.html
-%%PORTDOCS%%share/doc/mrtg/mibhelp.pod
-%%PORTDOCS%%share/doc/mrtg/mibhelp.txt
-%%PORTDOCS%%share/doc/mrtg/mrtg-ipv6.html
-%%PORTDOCS%%share/doc/mrtg/mrtg-ipv6.pod
-%%PORTDOCS%%share/doc/mrtg/mrtg-ipv6.txt
-%%PORTDOCS%%share/doc/mrtg/mrtg-l.png
-%%PORTDOCS%%share/doc/mrtg/mrtg-m.png
-%%PORTDOCS%%share/doc/mrtg/mrtg-r.png
-%%PORTDOCS%%share/doc/mrtg/mrtg-rrd.html
-%%PORTDOCS%%share/doc/mrtg/mrtg-rrd.pod
-%%PORTDOCS%%share/doc/mrtg/mrtg-rrd.txt
-%%PORTDOCS%%share/doc/mrtg/mrtg-ti.png
-%%PORTDOCS%%share/doc/mrtg/mrtg.html
-%%PORTDOCS%%share/doc/mrtg/mrtg.pod
-%%PORTDOCS%%share/doc/mrtg/mrtg.txt
-%%PORTDOCS%%share/doc/mrtg/mrtglib.html
-%%PORTDOCS%%share/doc/mrtg/mrtglib.pod
-%%PORTDOCS%%share/doc/mrtg/mrtglib.txt
-%%PORTDOCS%%share/doc/mrtg/nt-guide.html
-%%PORTDOCS%%share/doc/mrtg/nt-guide.pod
-%%PORTDOCS%%share/doc/mrtg/nt-guide.txt
-%%PORTDOCS%%share/doc/mrtg/reference.html
-%%PORTDOCS%%share/doc/mrtg/reference.pod
-%%PORTDOCS%%share/doc/mrtg/reference.txt
-%%PORTDOCS%%share/doc/mrtg/squid.html
-%%PORTDOCS%%share/doc/mrtg/squid.pod
-%%PORTDOCS%%share/doc/mrtg/squid.txt
-%%PORTDOCS%%share/doc/mrtg/unix-guide.html
-%%PORTDOCS%%share/doc/mrtg/unix-guide.pod
-%%PORTDOCS%%share/doc/mrtg/unix-guide.txt
-%%PORTDOCS%%share/doc/mrtg/webserver.html
-%%PORTDOCS%%share/doc/mrtg/webserver.pod
-%%PORTDOCS%%share/doc/mrtg/webserver.txt
-share/mrtg/favicon.ico
-share/mrtg/mrtg-l.gif
-share/mrtg/mrtg-l.png
-share/mrtg/mrtg-m.gif
-share/mrtg/mrtg-m.png
-share/mrtg/mrtg-r.gif
-share/mrtg/mrtg-r.png
-share/mrtg/mrtg-ti.gif
-share/mrtg/mrtg-ti.png
-@dirrm etc/mrtg
-@dirrm %%SITE_PERL%%/Pod
-%%PORTDOCS%%@dirrm share/doc/mrtg
-@dirrm share/mrtg