diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-29 19:45:25 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-29 19:45:25 +0000 |
commit | 5d258ed7af10ee8c769e1d089424db2f88c3e61e (patch) | |
tree | 9cd8d00dfe3f4039ad93896eec8acede5f05c995 /net/scand | |
parent | 0e63472ec7e47f6fed1a2f961a0f845130f6aca5 (diff) | |
download | ports-5d258ed7af10ee8c769e1d089424db2f88c3e61e.tar.gz ports-5d258ed7af10ee8c769e1d089424db2f88c3e61e.zip |
Notes
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. + +************************************************************** |