diff options
Diffstat (limited to 'www/squidstats')
-rw-r--r-- | www/squidstats/Makefile | 33 | ||||
-rw-r--r-- | www/squidstats/distinfo | 2 | ||||
-rw-r--r-- | www/squidstats/files/patch-graph__src__Makefile | 38 | ||||
-rw-r--r-- | www/squidstats/files/pkg-message.in | 35 | ||||
-rw-r--r-- | www/squidstats/pkg-descr | 4 | ||||
-rw-r--r-- | www/squidstats/pkg-plist | 24 |
6 files changed, 0 insertions, 136 deletions
diff --git a/www/squidstats/Makefile b/www/squidstats/Makefile deleted file mode 100644 index f432773e6c6d..000000000000 --- a/www/squidstats/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# Created by: Adrian Chadd <adrian@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= squidstats -PORTVERSION= 54 -PORTREVISION= 4 -CATEGORIES= www -MASTER_SITES= GOOGLE_CODE -DISTNAME= squidstats-r${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Collection of simple statistical analysis bits for Squid - -BROKEN= Unfetchable (google code has gone away) -DEPRECATED= Unfetchable for more than six months (google code has gone away) -EXPIRATION_DATE= 2017-04-30 - -RUN_DEPENDS= p5-Config-IniFiles>=2.39:devel/p5-Config-IniFiles \ - p5-RRD-Simple>=1.44:databases/p5-RRD-Simple \ - p5-SNMP_Session>=1.11:net-mgmt/p5-SNMP_Session - -USES= perl5 shebangfix -SHEBANG_FILES= graph/src/stats.pl.in \ - graph/src/graph-summary.cgi.in - -USERS= squid -GROUPS= squid -PLIST_SUB+= WWWOWN=${WWWOWN} SQUID_USER=${USERS} -NO_ARCH= yes - -SUB_FILES= pkg-message - -.include <bsd.port.mk> diff --git a/www/squidstats/distinfo b/www/squidstats/distinfo deleted file mode 100644 index 843a91342569..000000000000 --- a/www/squidstats/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (squidstats-r54.tar.gz) = 9dbdcafebddbb3b62abca398da351894967cbf2e758a9c4df3df45ea82ba99c0 -SIZE (squidstats-r54.tar.gz) = 9504 diff --git a/www/squidstats/files/patch-graph__src__Makefile b/www/squidstats/files/patch-graph__src__Makefile deleted file mode 100644 index 3adeb057152d..000000000000 --- a/www/squidstats/files/patch-graph__src__Makefile +++ /dev/null @@ -1,38 +0,0 @@ ---- ./graph/src/Makefile.orig 2009-01-07 19:20:02.000000000 +0100 -+++ ./graph/src/Makefile 2014-07-24 01:02:02.000000000 +0200 -@@ -33,21 +33,21 @@ - $(RM) stats.pl config.ini graph-summary.cgi - - install_templates: -- $(INSTALL_DIR) -m 0755 $(TEMPLATEDIR) -+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(TEMPLATEDIR) - @for dep in $(TEMPLATES); do \ -- echo $(INSTALL) -m 0644 templates/$$dep $(TEMPLATEDIR)/$$dep; \ -- $(INSTALL) -m 0644 templates/$$dep $(TEMPLATEDIR)/$$dep; \ -+ echo $(INSTALL) -m 0644 templates/$$dep $(DESTDIR)$(TEMPLATEDIR)/$$dep; \ -+ $(INSTALL) -m 0644 templates/$$dep $(DESTDIR)$(TEMPLATEDIR)/$$dep; \ - done - - install: all install_templates -- $(INSTALL_DIR) -m 0755 -o $(WEB_USER) $(GRAPH_DATADIR) -- $(INSTALL_DIR) -m 0755 -o $(STATS_USER) $(RRD_DATADIR) -- $(INSTALL_DIR) -m 0755 $(WEB_DATADIR) -- $(INSTALL_DIR) -m 0755 $(CGIDIR) -- $(INSTALL_DIR) -m 0755 $(ETCDIR) -- $(INSTALL) -m 0755 stats.pl $(BINDIR)/squidstats.pl -- $(INSTALL) -m 0755 graph-summary.cgi $(CGIDIR)/graph-summary.cgi -- $(INSTALL) -m 0644 config.ini $(ETCDIR)/config.ini -- $(INSTALL) -m 0644 templates.conf $(ETCDIR)/templates.conf -- $(INSTALL) -m 0644 snmp_monitor.cfg $(ETCDIR)/snmp_monitor.cfg -- $(INSTALL) -m 0644 graph.css $(WEB_DATADIR)/graph.css -+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(GRAPH_DATADIR) -+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(RRD_DATADIR) -+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(WEB_DATADIR) -+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(CGIDIR) -+ $(INSTALL_DIR) -m 0755 $(DESTDIR)$(ETCDIR) -+ $(INSTALL) -m 0755 stats.pl $(DESTDIR)$(BINDIR)/squidstats.pl -+ $(INSTALL) -m 0755 graph-summary.cgi $(DESTDIR)$(CGIDIR)/graph-summary.cgi -+ $(INSTALL) -m 0644 config.ini $(DESTDIR)$(ETCDIR)/config.ini -+ $(INSTALL) -m 0644 templates.conf $(DESTDIR)$(ETCDIR)/templates.conf -+ $(INSTALL) -m 0644 snmp_monitor.cfg $(DESTDIR)$(ETCDIR)/snmp_monitor.cfg -+ $(INSTALL) -m 0644 graph.css $(DESTDIR)$(WEB_DATADIR)/graph.css diff --git a/www/squidstats/files/pkg-message.in b/www/squidstats/files/pkg-message.in deleted file mode 100644 index 6449c701c6e2..000000000000 --- a/www/squidstats/files/pkg-message.in +++ /dev/null @@ -1,35 +0,0 @@ - -To setup the database, run the following command as the statistics -user (generally "squid") : - -# su -m squid -c "%%PREFIX%%/bin/squidstats.pl createdb" - -Then, add a configuration section to squid.conf to allow SNMP from -localhost: - -# snmp config -acl snmp_host src 127.0.0.1 -acl all src 0.0.0.0/0 -snmp_port 3401 -acl snmppublic snmp_community public -snmp_access allow snmppublic snmp_host -snmp_access deny all - -Then make sure the following line is added to the squid crontab: -*/5 * * * * %%PREFIX%%/bin/squidstats.pl gather 2>/dev/null - -Next, the supplied graph.css file will need to be copied or -symlinked from %%PREFIX%%/share/squidstats/htdocs/graph.css -to wherever your webserver root is. - -Finally, you will need to ensure that the graph directory and -cgi-bin script are in the right place. By default, the cgi script -is installed in %%PREFIX%%/www/cgi-bin/ and the graph directory -is in /var/db/squidstats/graphs; you will need to copy the graph -script into the correct place and symlink the graph directory -into your webserver root directory. - -For example, this will symlink the graph directory into the -apache 1.x web root: - -# ln -s /var/db/squidstats/graphs /usr/local/www/data/ diff --git a/www/squidstats/pkg-descr b/www/squidstats/pkg-descr deleted file mode 100644 index c3203c463e83..000000000000 --- a/www/squidstats/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -This is a series of scripts for gathering and presenting statistical -information about a running Squid or Cacheboy application. - -WWW: http://code.google.com/p/squidstats/ diff --git a/www/squidstats/pkg-plist b/www/squidstats/pkg-plist deleted file mode 100644 index 84fd36813689..000000000000 --- a/www/squidstats/pkg-plist +++ /dev/null @@ -1,24 +0,0 @@ -bin/squidstats.pl -%%ETCDIR%%/config.ini -%%ETCDIR%%/snmp_monitor.cfg -%%ETCDIR%%/templates.conf -%%DATADIR%%/htdocs/graph.css -%%DATADIR%%/templates/cache -%%DATADIR%%/templates/clients -%%DATADIR%%/templates/cpu -%%DATADIR%%/templates/dnsreq -%%DATADIR%%/templates/dnssvc -%%DATADIR%%/templates/fds -%%DATADIR%%/templates/fqdncachereq -%%DATADIR%%/templates/hitratio -%%DATADIR%%/templates/httpsvc -%%DATADIR%%/templates/icp -%%DATADIR%%/templates/incoming -%%DATADIR%%/templates/ipcachereq -%%DATADIR%%/templates/objects -%%DATADIR%%/templates/outgoing -%%DATADIR%%/templates/requests -www/cgi-bin/graph-summary.cgi -@dir(%%WWWOWN%%,,) /var/db/squidstats/graphs -@dir(%%SQUID_USER%%,,) /var/db/squidstats/rrd -@dir /var/db/squidstats |