diff options
author | mnag <mnag@FreeBSD.org> | 2006-04-30 03:45:25 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2006-04-30 03:45:25 +0800 |
commit | 6dcf7ee4c409e2dda03d297ec8ca00e1cf8c6cf0 (patch) | |
tree | f68544fac758a5ad6c2a5509639a7c14c1724eaa /net/scand | |
parent | 9509f57c739146e5fa2ef74618e8c842af1a14b8 (diff) | |
download | freebsd-ports-gnome-6dcf7ee4c409e2dda03d297ec8ca00e1cf8c6cf0.tar.gz freebsd-ports-gnome-6dcf7ee4c409e2dda03d297ec8ca00e1cf8c6cf0.tar.zst freebsd-ports-gnome-6dcf7ee4c409e2dda03d297ec8ca00e1cf8c6cf0.zip |
- Update to 0.14
- Add rc.d script
PR: 94475
Submitted by: leha___pikenet.ru
Approved by: maintainer timeout (44 days)
Diffstat (limited to 'net/scand')
-rw-r--r-- | net/scand/Makefile | 14 | ||||
-rw-r--r-- | net/scand/distinfo | 6 | ||||
-rw-r--r-- | net/scand/files/scand.in | 27 | ||||
-rw-r--r-- | net/scand/pkg-message | 8 |
4 files changed, 50 insertions, 5 deletions
diff --git a/net/scand/Makefile b/net/scand/Makefile index fd57893280b5..58dfed09a0a5 100644 --- a/net/scand/Makefile +++ b/net/scand/Makefile @@ -6,14 +6,24 @@ # PORTNAME= scand -PORTVERSION= 0.12 +PORTVERSION= 0.14 CATEGORIES= net -MASTER_SITES= http://free.babolo.ru/src/ http://www.a.pike.ru/src/ +MASTER_SITES= http://free.babolo.ru/src/ \ + http://www.a.pike.ru/src/ MAINTAINER= sand@links.ru COMMENT= Flood scan detection and blocking daemon +USE_RC_SUBR= scand + MAN8= scand.8 scandctl.8 MANCOMPRESSED= yes +post-patch: + @${REINPLACE_CMD} -E -e "s|(install:.*)installscript(.*)|\1\2|" \ + ${WRKSRC}/Makefile + +post-install: + @${CAT} ${PKGMESSAGE} + .include <bsd.port.mk> diff --git a/net/scand/distinfo b/net/scand/distinfo index 7a46e9bc44f3..8a77f0ff6b3a 100644 --- a/net/scand/distinfo +++ b/net/scand/distinfo @@ -1,3 +1,3 @@ -MD5 (scand-0.12.tar.gz) = 8cdbdb5a56ccc7ccbc33b77ffc89d954 -SHA256 (scand-0.12.tar.gz) = 2417753c89cf75fa77ee1fdf60769a3dde132ba2242b0004fdcc90784a3e57e4 -SIZE (scand-0.12.tar.gz) = 19523 +MD5 (scand-0.14.tar.gz) = 975ffeb797133be532e7e2b909fbcc4b +SHA256 (scand-0.14.tar.gz) = dffaf7d702c5471f15e310f1628ce1e9d070df4380a6a213f9663281cf370b1c +SIZE (scand-0.14.tar.gz) = 20061 diff --git a/net/scand/files/scand.in b/net/scand/files/scand.in new file mode 100644 index 000000000000..4f76ffb29494 --- /dev/null +++ b/net/scand/files/scand.in @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: scand +# REQUIRE: DAEMON +# KEYWORD: FreeBSD +# +# Add the following line to /etc/rc.conf to enable scand: +# +# scand_enable="YES" +# + +. %%RC_SUBR%% + +name=scand +rcvar=${name}_enable + +load_rc_config $name + +: ${scand_enable="NO"} +: ${scand_flags="-p 9999 -B /var/net/log/block -o '5 5 3' -W '140 140 140'"} + +command="/usr/local/bin/scand" +command_args=" > /dev/null" + +run_rc_command "$1" diff --git a/net/scand/pkg-message b/net/scand/pkg-message new file mode 100644 index 000000000000..0292644c8f58 --- /dev/null +++ b/net/scand/pkg-message @@ -0,0 +1,8 @@ +************************************************************** + +To enable rc.d script add scand_enable="YES" in your rc.conf + +Don't forget to add IPDIVERT option in your kernel or load +ipdivert.ko module. + +************************************************************** |