aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/scand/Makefile24
-rw-r--r--net/scand/distinfo4
-rw-r--r--net/scand/files/patch-viewstat.c11
-rw-r--r--net/scand/pkg-descr4
-rw-r--r--net/scand/pkg-plist3
5 files changed, 8 insertions, 38 deletions
diff --git a/net/scand/Makefile b/net/scand/Makefile
index c29dadae9f2..fd57893280b 100644
--- a/net/scand/Makefile
+++ b/net/scand/Makefile
@@ -6,30 +6,14 @@
#
PORTNAME= scand
-PORTVERSION= 0.11
+PORTVERSION= 0.12
CATEGORIES= net
-MASTER_SITES= http://free.babolo.ru/src/
+MASTER_SITES= http://free.babolo.ru/src/ http://www.a.pike.ru/src/
MAINTAINER= sand@links.ru
-COMMENT= Scan detection and blocking daemon
+COMMENT= Flood scan detection and blocking daemon
MAN8= scand.8 scandctl.8
MANCOMPRESSED= yes
-.include <bsd.port.pre.mk>
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/scandctl ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/scand.8.gz ${MANPREFIX}/man/man8
- ${INSTALL_MAN} ${WRKSRC}/scandctl.8.gz ${MANPREFIX}/man/man8
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in README README.ru
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/scand/distinfo b/net/scand/distinfo
index c99a4b6afe7..7ea020d7d11 100644
--- a/net/scand/distinfo
+++ b/net/scand/distinfo
@@ -1,2 +1,2 @@
-MD5 (scand-0.11.tar.gz) = 0df9728e8180788cb7df05500a53bfad
-SIZE (scand-0.11.tar.gz) = 10546
+MD5 (scand-0.12.tar.gz) = 8cdbdb5a56ccc7ccbc33b77ffc89d954
+SIZE (scand-0.12.tar.gz) = 19523
diff --git a/net/scand/files/patch-viewstat.c b/net/scand/files/patch-viewstat.c
deleted file mode 100644
index 5403dff1d81..00000000000
--- a/net/scand/files/patch-viewstat.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- viewstat.c.orig Wed Nov 19 12:49:59 2003
-+++ viewstat.c Wed Nov 19 12:50:15 2003
-@@ -122,7 +122,7 @@
- if (fstat(fd,&filestat)) Quit("fstat");
-
- printf("Number of clusters = %d\n",
-- (int) filestat.st_size / sizeof (clusterItem));
-+ (int) filestat.st_size / (int) sizeof (clusterItem));
- }
-
- while ( sizeof(clusterItem) == read( fd, &temp, sizeof(clusterItem)) ) {
diff --git a/net/scand/pkg-descr b/net/scand/pkg-descr
index 9dd9282bc51..6680a7a5049 100644
--- a/net/scand/pkg-descr
+++ b/net/scand/pkg-descr
@@ -1,4 +1,4 @@
-This program provides a TCP SYN and UDP port scanning detection and blocking
+This program provides a TCP SYN, UDP and ICMP flood detection and blocking
facility for use with divert(4) sockets under FreeBSD.
-WWW: http://www.duty.ru/~sand/scand/
+WWW: http://www.duty.ru/~sand/scand/
diff --git a/net/scand/pkg-plist b/net/scand/pkg-plist
index e29c13dbb93..b08af21469d 100644
--- a/net/scand/pkg-plist
+++ b/net/scand/pkg-plist
@@ -1,5 +1,2 @@
bin/scand
bin/scandctl
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.ru
-%%PORTDOCS%%@dirrm %%DOCSDIR%%