From 9aac569eaa031e27191a3f4165b389a17f467ad2 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Sun, 5 Aug 2012 23:19:36 +0000 Subject: Move the rc.d scripts of the form *.sh.in to *.in Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op --- net/siproxd/Makefile | 2 +- net/siproxd/files/siproxd.in | 28 ++++++++++++++++++++++++++++ net/siproxd/files/siproxd.sh.in | 28 ---------------------------- 3 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 net/siproxd/files/siproxd.in delete mode 100644 net/siproxd/files/siproxd.sh.in (limited to 'net/siproxd') diff --git a/net/siproxd/Makefile b/net/siproxd/Makefile index a4b974ae32ea..cbc9b90f7de0 100644 --- a/net/siproxd/Makefile +++ b/net/siproxd/Makefile @@ -16,7 +16,7 @@ COMMENT= A proxy/masquerading daemon for the SIP protocol LIB_DEPENDS= osip2.9:${PORTSDIR}/net/libosip -USE_RC_SUBR= siproxd.sh +USE_RC_SUBR= siproxd GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-doc --with-libosip-prefix=${PREFIX} diff --git a/net/siproxd/files/siproxd.in b/net/siproxd/files/siproxd.in new file mode 100644 index 000000000000..c3f0cd38c733 --- /dev/null +++ b/net/siproxd/files/siproxd.in @@ -0,0 +1,28 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: siproxd +# REQUIRE: DAEMON + +# Define these siproxd_* variables in one of these files: +# /etc/rc.conf +# /etc/rc.conf.local +# /etc/rc.conf.d/siproxd +# +# DO NOT CHANGE THESE DEFAULT VALUES HERE +# siproxd_enable="YES" +# siproxd_flags Flags to siproxd program + +siproxd_enable=${siproxd_enable:-"NO"} # Enable siproxd + +. /etc/rc.subr + +name="siproxd" +rcvar=siproxd_enable +command="%%PREFIX%%/sbin/${name}" + +load_rc_config $name + +run_rc_command "$1" diff --git a/net/siproxd/files/siproxd.sh.in b/net/siproxd/files/siproxd.sh.in deleted file mode 100644 index c3f0cd38c733..000000000000 --- a/net/siproxd/files/siproxd.sh.in +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: siproxd -# REQUIRE: DAEMON - -# Define these siproxd_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/siproxd -# -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# siproxd_enable="YES" -# siproxd_flags Flags to siproxd program - -siproxd_enable=${siproxd_enable:-"NO"} # Enable siproxd - -. /etc/rc.subr - -name="siproxd" -rcvar=siproxd_enable -command="%%PREFIX%%/sbin/${name}" - -load_rc_config $name - -run_rc_command "$1" -- cgit v1.2.3