mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
USE_RC_SUBR (bump PORTREV)
PR: ports/85158 Submitted by: maintainer
This commit is contained in:
parent
60bdac9350
commit
9a8c9c7082
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141578
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= widentd
|
||||
PORTVERSION= 1.03
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://www.webweaving.org/widentd/
|
||||
EXTRACT_SUFX= .tgz
|
||||
@ -18,6 +19,7 @@ COMMENT= RFC1413 auth/identd daemon with fixed fake reply
|
||||
MAN8= widentd.8
|
||||
MANCOMPRESSED= yes
|
||||
PLIST_FILES= sbin/widentd
|
||||
USE_RC_SUBR= widentd.sh
|
||||
|
||||
MAKE_ENV+= BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/man/man"
|
||||
|
||||
|
38
net/widentd/files/widentd.sh.in
Normal file
38
net/widentd/files/widentd.sh.in
Normal file
@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
# Start or stop widentd
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: widentd
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: FreeBSD startup and shutdown
|
||||
#
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these widentd_* variables in one of these files:
|
||||
#
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
#
|
||||
# e.g.
|
||||
# widentd_enable="YES"
|
||||
#
|
||||
# see the man page at widentd(8) for
|
||||
# some additional flags to set the IP address
|
||||
# beeing bound to, or how to set a differernt
|
||||
# fake user id beeing replied as.
|
||||
#
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
widentd_enable=${widentd_enable-"NO"}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="widentd"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/sbin/widentd"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
run_rc_command "$1"
|
Loading…
Reference in New Issue
Block a user