diff options
author | gabor <gabor@FreeBSD.org> | 2006-12-28 06:46:05 +0800 |
---|---|---|
committer | gabor <gabor@FreeBSD.org> | 2006-12-28 06:46:05 +0800 |
commit | cf93fa9352ae014c09cd40daa080858e80736f8a (patch) | |
tree | 3c4a494712df61481b8688d477e39fb0877ced98 /security/expiretable | |
parent | f4ab5fe4ba07a9327dfd14825160e6d1edf5c9b3 (diff) | |
download | freebsd-ports-graphics-cf93fa9352ae014c09cd40daa080858e80736f8a.tar.gz freebsd-ports-graphics-cf93fa9352ae014c09cd40daa080858e80736f8a.tar.zst freebsd-ports-graphics-cf93fa9352ae014c09cd40daa080858e80736f8a.zip |
- Add rc.d script
- Bump PORTREVISION
PR: ports/107208
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Approved by: erwin (mentor)
Diffstat (limited to 'security/expiretable')
-rw-r--r-- | security/expiretable/Makefile | 1 | ||||
-rw-r--r-- | security/expiretable/files/expiretable.in | 21 | ||||
-rw-r--r-- | security/expiretable/pkg-plist | 1 |
3 files changed, 23 insertions, 0 deletions
diff --git a/security/expiretable/Makefile b/security/expiretable/Makefile index 301f413b977..f145123da22 100644 --- a/security/expiretable/Makefile +++ b/security/expiretable/Makefile @@ -13,6 +13,7 @@ MASTER_SITES= http://expiretable.fnord.se/ MAINTAINER= cris@gufi.org COMMENT= Utility to remove entries from the pf(4) table based on their age +USE_RC_SUBR= expiretable MAN1= expiretable.1 .include <bsd.port.pre.mk> diff --git a/security/expiretable/files/expiretable.in b/security/expiretable/files/expiretable.in new file mode 100644 index 00000000000..8f10aa4711a --- /dev/null +++ b/security/expiretable/files/expiretable.in @@ -0,0 +1,21 @@ +#!/bin/sh +# $Id$ + +# PROVIDE: expiretable +# KEYWORD: shutdown + +# /etc/rc.conf tunables. +# - expiretable_enable set to "YES" to enable expiretable startup +# - expiretable_flags specify your own flags to expiretable + +. /etc/rc.subr + +name="expiretable" +rcvar=`set_rcvar` +command="/usr/local/sbin/expiretable" +load_rc_config "$name" + +expiretable_enable=${expiretable_enable-"NO"} +expiretable_flags=${expiretable_flags-""} + +run_rc_command "$1" diff --git a/security/expiretable/pkg-plist b/security/expiretable/pkg-plist index 0b420e3b0ab..c2930378f7d 100644 --- a/security/expiretable/pkg-plist +++ b/security/expiretable/pkg-plist @@ -1 +1,2 @@ sbin/expiretable +@unexec %%RC_DIR%%/etc/rc.d/expiretable%%RC_SUFX%% stop 2>&1 >/dev/null || true |