summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-07-16 15:44:11 +0000
committerRene Ladan <rene@FreeBSD.org>2019-07-16 15:44:11 +0000
commitfc82af5b80c53268add5c91904a551fafb187f91 (patch)
tree095ddc62d6edbb15c324a7e4da31a20e6ea45391
parentDeprecate: no longer maintained (diff)
Remove expired port:
2019-07-15 security/snortreport: Abandonware
Notes
Notes: svn path=/head/; revision=506747
-rw-r--r--MOVED1
-rw-r--r--security/Makefile1
-rw-r--r--security/snortreport/Makefile54
-rw-r--r--security/snortreport/distinfo2
-rw-r--r--security/snortreport/files/patch-ipdetail.php23
-rw-r--r--security/snortreport/files/patch-sigdetail.php41
-rw-r--r--security/snortreport/files/pkg-message.in7
-rw-r--r--security/snortreport/pkg-descr6
-rw-r--r--security/snortreport/pkg-plist31
9 files changed, 1 insertions, 165 deletions
diff --git a/MOVED b/MOVED
index 269da8751fb5..d9df994a7861 100644
--- a/MOVED
+++ b/MOVED
@@ -12849,3 +12849,4 @@ textproc/apache-solr3|textproc/apache-solr|2019-07-12|Obsolete
misc/tcb||2019-07-13|Has expired: Abandonware that uses sys/dir.h
editors/xed||2019-07-13|Has expired: Abandonware using sys/dir.h
databases/gtksql||2019-07-13|Has expired: Abandonware using sys/dir.h
+security/snortreport||2019-07-16|Has expired: Abandonware
diff --git a/security/Makefile b/security/Makefile
index 4743bd8a26a0..c4196c618376 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1212,7 +1212,6 @@
SUBDIR += snort-rep
SUBDIR += snort2pfcd
SUBDIR += snort3
- SUBDIR += snortreport
SUBDIR += snortsam
SUBDIR += snortsnarf
SUBDIR += snuffleupagus
diff --git a/security/snortreport/Makefile b/security/snortreport/Makefile
deleted file mode 100644
index 4da998be2676..000000000000
--- a/security/snortreport/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-# Created by: Andrea Venturoli <freebsd@netfence.it>
-# $FreeBSD$
-
-PORTNAME= snortreport
-PORTVERSION= 1.3.4
-CATEGORIES= security www
-MASTER_SITES= http://symmetrixtech.com/download/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Add-on module for snort to generate real-time web reports
-
-LICENSE= GPLv2
-
-DEPRECATED= Abandonware
-EXPIRATION_DATE= 2019-07-15
-
-OPTIONS_DEFINE= BARNYARD JPGRAPH MYSQL PGSQL DOCS
-
-BARNYARD_DESC= Depend on Barnyard2
-JPGRAPH_DESC= Graphical charting
-
-BARNYARD_RUN_DEPENDS= barnyard2:security/barnyard2
-JPGRAPH_RUN_DEPENDS= ${LOCALBASE}/share/jpgraph/jpgraph.php:graphics/jpgraph2
-
-NO_BUILD= yes
-SUB_FILES= pkg-message
-PORTDOCS= INSTALL Performance.txt create_indexes.sql
-FTYPES= css html js php phps png sample
-
-USES= php:web
-
-MYSQL_BROKEN= USE_PHP=mysql no longer supported
-#MYSQL_USE= php=mysql
-PGSQL_USE= php=pgsql
-
-pre-everything::
- @${ECHO} ""
- @${ECHO} "You have to configure PHP either with MySQL or PostgreSQL"
- @${ECHO} "support in order to let snortreport collect its data."
- @${ECHO} ""
-
-post-patch:
- ${MV} ${WRKSRC}/srconf.php ${WRKSRC}/srconf.php.sample
-
-do-install:
-# srconf.conf contains snort database login credentials
- ${INSTALL} -o ${WWWOWN} -g ${WWWGRP} -m 750 -d ${STAGEDIR}${WWWDIR}
- ${INSTALL_DATA} ${FTYPES:S|^|${WRKSRC}/*|} ${STAGEDIR}${WWWDIR}
-
-post-install-DOCS-on:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/security/snortreport/distinfo b/security/snortreport/distinfo
deleted file mode 100644
index ad41d4d58e77..000000000000
--- a/security/snortreport/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (snortreport-1.3.4.tar.gz) = b57cc8e6cab84a91af7d5edd74950995d08bfad3a6fd9fa7069516d1caa096a9
-SIZE (snortreport-1.3.4.tar.gz) = 50861
diff --git a/security/snortreport/files/patch-ipdetail.php b/security/snortreport/files/patch-ipdetail.php
deleted file mode 100644
index 4e35a5f57edf..000000000000
--- a/security/snortreport/files/patch-ipdetail.php
+++ /dev/null
@@ -1,23 +0,0 @@
-*** /usr/local/www/snortreport/ipdetail.php Thu Dec 22 06:07:07 2005
---- ./ipdetail.php Thu Nov 9 14:28:57 2006
-***************
-*** 40,48 ****
-
- // set up the SQL query
- if ($type == "src") {
-! $query = "SELECT event.cid, event.sid, event.signature, event.timestamp, iphdr.ip_src, iphdr.ip_dst, iphdr.ip_ver, iphdr.ip_hlen, iphdr.ip_tos, iphdr.ip_len, iphdr.ip_id, iphdr.ip_flags, iphdr.ip_off, iphdr.ip_ttl, iphdr.ip_proto, iphdr.ip_csum, signature.sig_name, signature.sig_id, signature.sig_sid FROM event, iphdr, signature WHERE event.cid = iphdr.cid AND event.sid = iphdr.sid AND event.signature = signature.sig_id AND iphdr.ip_src = ".$ipAddress." AND event.timestamp > ".$db->timestamp($beginTime)." AND event.timestamp < ".$db->timestamp($endTime) or die("Error in query");
- } else {
-! $query = "SELECT event.cid, event.sid, event.signature, event.timestamp, iphdr.ip_src, iphdr.ip_dst, iphdr.ip_ver, iphdr.ip_hlen, iphdr.ip_tos, iphdr.ip_len, iphdr.ip_id, iphdr.ip_flags, iphdr.ip_off, iphdr.ip_ttl, iphdr.ip_proto, iphdr.ip_csum, signature.sig_name, signature.sig_id, signature.sig_sid FROM event, iphdr, signature WHERE event.cid = iphdr.cid AND event.sid = iphdr.sid AND event.signature = signature.sig_id AND iphdr.ip_dst = ".$ipAddress." AND event.timestamp > ".$db->timestamp($beginTime)." AND event.timestamp < ".$db->timestamp($endTime) or die("Error in query");
- }
-
- // run the query on the database
---- 40,48 ----
-
- // set up the SQL query
- if ($type == "src") {
-! $query = "SELECT event.cid, event.sid, event.signature, ".$db->timeSinceEpoch('event.timestamp').", iphdr.ip_src, iphdr.ip_dst, iphdr.ip_ver, iphdr.ip_hlen, iphdr.ip_tos, iphdr.ip_len, iphdr.ip_id, iphdr.ip_flags, iphdr.ip_off, iphdr.ip_ttl, iphdr.ip_proto, iphdr.ip_csum, signature.sig_name, signature.sig_id, signature.sig_sid FROM event, iphdr, signature WHERE event.cid = iphdr.cid AND event.sid = iphdr.sid AND event.signature = signature.sig_id AND iphdr.ip_src = ".$ipAddress." AND ".$db->timeSinceEpoch('event.timestamp')." > ".$db->timestamp($beginTime)." AND ".$db->timeSinceEpoch("event.timestamp")." < ".$db->timestamp($endTime) or die("Error in query");
- } else {
-! $query = "SELECT event.cid, event.sid, event.signature, ".$db->timeSinceEpoch("event.timestamp").", iphdr.ip_src, iphdr.ip_dst, iphdr.ip_ver, iphdr.ip_hlen, iphdr.ip_tos, iphdr.ip_len, iphdr.ip_id, iphdr.ip_flags, iphdr.ip_off, iphdr.ip_ttl, iphdr.ip_proto, iphdr.ip_csum, signature.sig_name, signature.sig_id, signature.sig_sid FROM event, iphdr, signature WHERE event.cid = iphdr.cid AND event.sid = iphdr.sid AND event.signature = signature.sig_id AND iphdr.ip_dst = ".$ipAddress." AND ".$db->timeSinceEpoch("event.timestamp")." > ".$db->timestamp($beginTime)." AND ".$db->timeSinceEpoch("event.timestamp")." < ".$db->timestamp($endTime) or die("Error in query");
- }
-
- // run the query on the database
diff --git a/security/snortreport/files/patch-sigdetail.php b/security/snortreport/files/patch-sigdetail.php
deleted file mode 100644
index cb933069a20a..000000000000
--- a/security/snortreport/files/patch-sigdetail.php
+++ /dev/null
@@ -1,41 +0,0 @@
-*** /usr/local/www/snortreport/sigdetail.php Thu Dec 22 06:07:07 2005
---- ./sigdetail.php Thu Nov 9 14:28:57 2006
-***************
-*** 38,44 ****
- assert($beginTime < $endTime);
-
- $URLTimeConstraint = "beginTime=$beginTime&endTime=$endTime";
-! $DBTimeConstraint = "(event.timestamp > " . $db->timestamp($beginTime) . " AND event.timestamp < " . $db->timestamp($endTime) . ")";
-
- $sigid = intval($sigid) or die("Invalid signature ID");
-
---- 38,44 ----
- assert($beginTime < $endTime);
-
- $URLTimeConstraint = "beginTime=$beginTime&endTime=$endTime";
-! $DBTimeConstraint = "(".$db->timeSinceEpoch("event.timestamp")." > " . $db->timestamp($beginTime) . " AND ".$db->timeSinceEpoch("event.timestamp")." < " . $db->timestamp($endTime) . ")";
-
- $sigid = intval($sigid) or die("Invalid signature ID");
-
-***************
-*** 101,106 ****
---- 101,108 ----
- }
- }
-
-+ if (!empty($Sources)) {
-+
- if (PROFILING) elapsedTimer(__FILE__ . ": " . __LINE__);
- // Get the total number of alerts for each source
-
-***************
-*** 327,332 ****
---- 329,336 ----
- print "<b><a href=\"sigdetail.php?$qs\">$anchor</a></b><br>\n";
-
- if (PROFILING) elapsedTimer(__FILE__ . ": " . __LINE__);
-+
-+ }
-
- require_once("page_bottom.php");
-
diff --git a/security/snortreport/files/pkg-message.in b/security/snortreport/files/pkg-message.in
deleted file mode 100644
index 1f7c45df5fe4..000000000000
--- a/security/snortreport/files/pkg-message.in
+++ /dev/null
@@ -1,7 +0,0 @@
-***************************************************************
-Snortreport has been installed in %%WWWDIR%%.
-Change into this directory and make any necessary change to
-the config file (srconf.php).
-Also modify your web server configuration to let access to this
-directory.
-***************************************************************
diff --git a/security/snortreport/pkg-descr b/security/snortreport/pkg-descr
deleted file mode 100644
index e1943059f13a..000000000000
--- a/security/snortreport/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Snort Report is an add-on module for the Snort Intrusion Detection System.
-
-It generates real-time intrusion detection reports in an easy to read format
-based on data collected from a MySQL or PostgreSQL database.
-
-WWW: http://www.symmetrixtech.com/download.html
diff --git a/security/snortreport/pkg-plist b/security/snortreport/pkg-plist
deleted file mode 100644
index eec01eea629f..000000000000
--- a/security/snortreport/pkg-plist
+++ /dev/null
@@ -1,31 +0,0 @@
-%%WWWDIR%%/DB.php
-%%WWWDIR%%/DB_mysql.php
-%%WWWDIR%%/DB_pgsql.php
-%%WWWDIR%%/GlowStick_Histogram.php
-%%WWWDIR%%/GlowStick_Piechart.php
-%%WWWDIR%%/alertchart.php
-%%WWWDIR%%/alerts.php
-%%WWWDIR%%/default.css
-%%WWWDIR%%/functions.php
-%%WWWDIR%%/go.png
-%%WWWDIR%%/histogram.php
-%%WWWDIR%%/index.php
-%%WWWDIR%%/info-retrieval.php
-%%WWWDIR%%/ipdetail.php
-%%WWWDIR%%/menu.html
-%%WWWDIR%%/nbtscan.php
-%%WWWDIR%%/nmap.php
-%%WWWDIR%%/nodata.png
-%%WWWDIR%%/page_bottom.php
-%%WWWDIR%%/page_top.php
-%%WWWDIR%%/png.php
-%%WWWDIR%%/portscan.php
-%%WWWDIR%%/profiling.phps
-%%WWWDIR%%/psdetail.php
-%%WWWDIR%%/sig-by-time-chart.php
-%%WWWDIR%%/sigdetail.php
-@sample %%WWWDIR%%/srconf.php.sample
-%%WWWDIR%%/srlogo.png
-%%WWWDIR%%/ssm.js
-%%WWWDIR%%/ssmItems.js
-%%WWWDIR%%/timespan.php