diff options
851 files changed, 870 insertions, 870 deletions
diff --git a/accessibility/speech-dispatcher/files/speechd.in b/accessibility/speech-dispatcher/files/speechd.in index 1bba57c5de70..d17a7238e706 100644 --- a/accessibility/speech-dispatcher/files/speechd.in +++ b/accessibility/speech-dispatcher/files/speechd.in @@ -8,7 +8,7 @@ # speechd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr speechd_enable=${speechd_enable-"NO"} diff --git a/astro/gpsd/files/gpsd.in b/astro/gpsd/files/gpsd.in index ef36a41829e4..71a0d0738166 100644 --- a/astro/gpsd/files/gpsd.in +++ b/astro/gpsd/files/gpsd.in @@ -21,7 +21,7 @@ # Example: "/dev/cuaU0" for a USB serial GPS. # -. %%RC_SUBR%% +. /etc/rc.subr name=gpsd rcvar=`set_rcvar` diff --git a/audio/aureal-kmod/files/aureal.in b/audio/aureal-kmod/files/aureal.in index 4c9ac678fbfe..09cf9b91ee8c 100644 --- a/audio/aureal-kmod/files/aureal.in +++ b/audio/aureal-kmod/files/aureal.in @@ -20,7 +20,7 @@ # aureal_viakx133fix="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="aureal" rcvar=${name}_enable diff --git a/audio/autocd/files/autocd.in b/audio/autocd/files/autocd.in index 653057eeb831..a46cc53bceb7 100644 --- a/audio/autocd/files/autocd.in +++ b/audio/autocd/files/autocd.in @@ -15,7 +15,7 @@ # See autocd(8) for relevant values for autocd_flags # -. %%RC_SUBR%% +. /etc/rc.subr name=autocd rcvar=${name}_enable diff --git a/audio/ezstream/files/ezstream.in b/audio/ezstream/files/ezstream.in index 51abe397d0fa..620868bc70ea 100644 --- a/audio/ezstream/files/ezstream.in +++ b/audio/ezstream/files/ezstream.in @@ -15,7 +15,7 @@ # ezstream_flags="<set as needed>" # -. %%RC_SUBR%% +. /etc/rc.subr name="ezstream" rcvar=`set_rcvar` diff --git a/audio/firefly/files/mt-daapd.in b/audio/firefly/files/mt-daapd.in index 4d081ff7f12a..0a600ef0bc91 100644 --- a/audio/firefly/files/mt-daapd.in +++ b/audio/firefly/files/mt-daapd.in @@ -4,7 +4,7 @@ # PROVIDE: firefly # REQUIRE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr : ${firefly_enable=NO} diff --git a/audio/gnump3d/files/gnump3d.sh.in b/audio/gnump3d/files/gnump3d.sh.in index 15bc9cf35bf8..815966924b08 100644 --- a/audio/gnump3d/files/gnump3d.sh.in +++ b/audio/gnump3d/files/gnump3d.sh.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON NETWORKING LOGIN # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr gnump3d_enable=${gnump3d_enable-"NO"} gnump3d_program=${gnump3d_program:-%%PREFIX%%/bin/gnump3d} diff --git a/audio/icecast2/files/icecast2.sh.in b/audio/icecast2/files/icecast2.sh.in index 292bf15f9e60..6c85793a0bc2 100644 --- a/audio/icecast2/files/icecast2.sh.in +++ b/audio/icecast2/files/icecast2.sh.in @@ -17,7 +17,7 @@ # not commented out - icecast refuses to run as root. # -. "%%RC_SUBR%%" +. /etc/rc.subr name="icecast" rcvar=`set_rcvar` diff --git a/audio/liquidsoap/files/liquidsoap.sh.in b/audio/liquidsoap/files/liquidsoap.sh.in index 9b8f432f3389..1b10429985fc 100644 --- a/audio/liquidsoap/files/liquidsoap.sh.in +++ b/audio/liquidsoap/files/liquidsoap.sh.in @@ -9,7 +9,7 @@ # liquidsoap_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr sig_stop=KILL diff --git a/audio/mpdas/files/mpdas.in b/audio/mpdas/files/mpdas.in index 1ce6ce9333f6..f9d17b01f7ca 100644 --- a/audio/mpdas/files/mpdas.in +++ b/audio/mpdas/files/mpdas.in @@ -9,7 +9,7 @@ # #mpdas_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name=mpdas rcvar=`set_rcvar` diff --git a/audio/mpdscribble/files/mpdscribble.in b/audio/mpdscribble/files/mpdscribble.in index af7b046bb095..1193858e03eb 100644 --- a/audio/mpdscribble/files/mpdscribble.in +++ b/audio/mpdscribble/files/mpdscribble.in @@ -9,7 +9,7 @@ # #mpdscribble_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name=mpdscribble rcvar=`set_rcvar` diff --git a/audio/mt-daapd/files/mt-daapd.sh.in b/audio/mt-daapd/files/mt-daapd.sh.in index 9b7f6e9b9db6..89fc2b719262 100644 --- a/audio/mt-daapd/files/mt-daapd.sh.in +++ b/audio/mt-daapd/files/mt-daapd.sh.in @@ -6,7 +6,7 @@ # PROVIDE: mt-daapd # REQUIRE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr name="mtdaapd" rcvar="mt_daapd_enable" diff --git a/audio/murmur/files/murmur.in b/audio/murmur/files/murmur.in index e5a9c2565c17..2c1881762bce 100644 --- a/audio/murmur/files/murmur.in +++ b/audio/murmur/files/murmur.in @@ -13,7 +13,7 @@ # Set it to YES to enable murmur. # -. %%RC_SUBR%% +. /etc/rc.subr # Set some defaults murmur_user=${murmur_user:-"murmur"} diff --git a/audio/musicpd/files/musicpd.in b/audio/musicpd/files/musicpd.in index a78bbb7f6316..1147b9ad6cac 100644 --- a/audio/musicpd/files/musicpd.in +++ b/audio/musicpd/files/musicpd.in @@ -9,7 +9,7 @@ # #musicpd_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name=musicpd rcvar=`set_rcvar` diff --git a/audio/oss/files/oss.in b/audio/oss/files/oss.in index 96b8ead42915..aa4a8a93b3cd 100644 --- a/audio/oss/files/oss.in +++ b/audio/oss/files/oss.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON # KEYWORD: nojail shutdown -. %%RC_SUBR%% +. /etc/rc.subr name="oss" rcvar=`set_rcvar` diff --git a/audio/squeezeboxserver/files/squeezeboxserver.sh.in b/audio/squeezeboxserver/files/squeezeboxserver.sh.in index 67fe352b231c..39745682acc7 100644 --- a/audio/squeezeboxserver/files/squeezeboxserver.sh.in +++ b/audio/squeezeboxserver/files/squeezeboxserver.sh.in @@ -13,7 +13,7 @@ #%%PORTNAME%%_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=%%PORTNAME%% start_precmd="%%PORTNAME%%_start_precmd" diff --git a/audio/teamspeak3-server/files/teamspeak-server.in b/audio/teamspeak3-server/files/teamspeak-server.in index 11a614b5b2bd..450b096b377f 100644 --- a/audio/teamspeak3-server/files/teamspeak-server.in +++ b/audio/teamspeak3-server/files/teamspeak-server.in @@ -13,7 +13,7 @@ # Set it to YES to enable teamspeak. # -. %%RC_SUBR%% +. /etc/rc.subr # Set some defaults teamspeak_user=${teamspeak_user:-"teamspeak"} diff --git a/audio/teamspeak_server/files/teamspeak-server.in b/audio/teamspeak_server/files/teamspeak-server.in index 11a614b5b2bd..450b096b377f 100644 --- a/audio/teamspeak_server/files/teamspeak-server.in +++ b/audio/teamspeak_server/files/teamspeak-server.in @@ -13,7 +13,7 @@ # Set it to YES to enable teamspeak. # -. %%RC_SUBR%% +. /etc/rc.subr # Set some defaults teamspeak_user=${teamspeak_user:-"teamspeak"} diff --git a/audio/ventrilo-server/files/ventrilo-server.sh.in b/audio/ventrilo-server/files/ventrilo-server.sh.in index 9240390397bb..9b3df6607428 100644 --- a/audio/ventrilo-server/files/ventrilo-server.sh.in +++ b/audio/ventrilo-server/files/ventrilo-server.sh.in @@ -6,7 +6,7 @@ # REQUIRE: DAEMON # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=ventrilo homedir="%%PREFIX%%/ventrilo-server" diff --git a/comms/atslog/files/atslogd.in b/comms/atslog/files/atslogd.in index fa17f8ec3981..f8ccc67f06a6 100644 --- a/comms/atslog/files/atslogd.in +++ b/comms/atslog/files/atslogd.in @@ -12,7 +12,7 @@ # atslogd_enable (bool): Set to "NO" by default. # Set it to "YES" to enable atslogd. -. %%RC_SUBR%% +. /etc/rc.subr name="atslogd" rcvar=${name}_enable diff --git a/comms/conserver-com/files/conserver.sh.in b/comms/conserver-com/files/conserver.sh.in index 89092fdd830c..d73e9c5fc987 100644 --- a/comms/conserver-com/files/conserver.sh.in +++ b/comms/conserver-com/files/conserver.sh.in @@ -7,7 +7,7 @@ # REQUIRE: DAEMON # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name="conserver" rcvar=`set_rcvar` diff --git a/comms/lirc/files/lircd.sh.in b/comms/lirc/files/lircd.sh.in index cf53297778d2..a1241894bb37 100644 --- a/comms/lirc/files/lircd.sh.in +++ b/comms/lirc/files/lircd.sh.in @@ -10,7 +10,7 @@ # lircd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="lircd" rcvar=`set_rcvar` diff --git a/comms/qpage/files/qpage.in b/comms/qpage/files/qpage.in index 038e681d4f72..dc29bc609441 100644 --- a/comms/qpage/files/qpage.in +++ b/comms/qpage/files/qpage.in @@ -15,7 +15,7 @@ # parameters if desired. # -. %%RC_SUBR%% +. /etc/rc.subr name="qpage" rcvar=${name}_enable diff --git a/comms/ser2net/files/ser2net.in b/comms/ser2net/files/ser2net.in index 8aa7c28284a9..7d6e3cdaa7fe 100644 --- a/comms/ser2net/files/ser2net.in +++ b/comms/ser2net/files/ser2net.in @@ -12,7 +12,7 @@ # ser2net_enable="YES" # ser2net_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name="ser2net" rcvar=`set_rcvar` diff --git a/comms/smstools/files/smsd.sh.in b/comms/smstools/files/smsd.sh.in index 5f499bb5bda4..c442a32db913 100644 --- a/comms/smstools/files/smsd.sh.in +++ b/comms/smstools/files/smsd.sh.in @@ -10,7 +10,7 @@ # smsd_enable=${smsd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="smsd" rcvar=`set_rcvar` diff --git a/comms/smstools3/files/smsd.in b/comms/smstools3/files/smsd.in index b1d7d1fcda02..68ca1681314b 100644 --- a/comms/smstools3/files/smsd.in +++ b/comms/smstools3/files/smsd.in @@ -10,7 +10,7 @@ # # smsd_enable="YES" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="smsd" diff --git a/comms/thebridge/files/tbd.in b/comms/thebridge/files/tbd.in index 395ca6aed405..6ba5d9749bfc 100644 --- a/comms/thebridge/files/tbd.in +++ b/comms/thebridge/files/tbd.in @@ -17,7 +17,7 @@ tbd_enable=${tbd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="tbd" rcvar=`set_rcvar` diff --git a/comms/tits/files/tits.in b/comms/tits/files/tits.in index 2d5aa86012bb..fe2ebd239220 100644 --- a/comms/tits/files/tits.in +++ b/comms/tits/files/tits.in @@ -16,7 +16,7 @@ tits_enable="${tits_enable-NO}" #tits_pidfile="/var/run/tits.pid" -. %%RC_SUBR%% +. /etc/rc.subr name="tits" rcvar=`set_rcvar` diff --git a/databases/couchdb/files/couchdb.in b/databases/couchdb/files/couchdb.in index f1e21a1af04f..2feceb0e3d97 100644 --- a/databases/couchdb/files/couchdb.in +++ b/databases/couchdb/files/couchdb.in @@ -23,7 +23,7 @@ couchdb_enablelogs="${couchdb_enablelogs:-"YES"}" couchdb_etcdir="${couchdb_etcdir:-"%%PREFIX%%/etc/couchdb"}" couchdb_respawn="${couchdb_respawn:-"0"}" -. %%RC_SUBR%% +. /etc/rc.subr name="couchdb" rcvar=${name}_enable diff --git a/databases/cyrus-imspd/files/imspd.in b/databases/cyrus-imspd/files/imspd.in index 224a83b117a5..9644df1388a4 100644 --- a/databases/cyrus-imspd/files/imspd.in +++ b/databases/cyrus-imspd/files/imspd.in @@ -10,7 +10,7 @@ # # Tweakable parameters for users to override in rc.conf -. "%%RC_SUBR%%" +. /etc/rc.subr name=imspd diff --git a/databases/exist/files/eXist.in b/databases/exist/files/eXist.in index 0e9e0df92cb6..b0cd4330034a 100644 --- a/databases/exist/files/eXist.in +++ b/databases/exist/files/eXist.in @@ -14,7 +14,7 @@ # eXist_flags (str): Set to "-server" by default. # Extra JVM flags. # -. %%RC_SUBR%% +. /etc/rc.subr name="eXist" rcvar=`set_rcvar` diff --git a/databases/frontbase/files/frontbase.sh.in b/databases/frontbase/files/frontbase.sh.in index 2f231c8b9460..14b69a30711e 100644 --- a/databases/frontbase/files/frontbase.sh.in +++ b/databases/frontbase/files/frontbase.sh.in @@ -20,7 +20,7 @@ frontbase_flags="${frontbase_flags--autostart}" frontbase_pidfile="${frontbase_pidfile-/var/run/frontbase.pid}" frontbase_logfile="${frontbase_logfile-/var/log/frontbase.log}" -. %%RC_SUBR%% +. /etc/rc.subr rcvar=`set_rcvar` diff --git a/databases/memcached/files/memcached.in b/databases/memcached/files/memcached.in index f06fdf17aeda..73110c6720c6 100644 --- a/databases/memcached/files/memcached.in +++ b/databases/memcached/files/memcached.in @@ -15,7 +15,7 @@ # Default is "nobody". # -. %%RC_SUBR%% +. /etc/rc.subr name="memcached" rcvar=${name}_enable diff --git a/databases/memcachedb/files/memcachedb.in b/databases/memcachedb/files/memcachedb.in index 8fc606bac21d..ec4331ee24a5 100644 --- a/databases/memcachedb/files/memcachedb.in +++ b/databases/memcachedb/files/memcachedb.in @@ -11,7 +11,7 @@ # memcachedb_enable (bool): Set to NO by default. # Set it to YES to enable memcachedb. # -. %%RC_SUBR%% +. /etc/rc.subr name="memcachedb" rcvar=`set_rcvar` diff --git a/databases/mongodb-devel/files/mongod.in b/databases/mongodb-devel/files/mongod.in index ddfd1d5400ea..8d00bd03b098 100644 --- a/databases/mongodb-devel/files/mongod.in +++ b/databases/mongodb-devel/files/mongod.in @@ -17,7 +17,7 @@ # mongod_dbpath (path): Set to /var/db/mongod by default # mongod_user (username): Set to "mongod" by default -. %%RC_SUBR%% +. /etc/rc.subr name="mongod" rcvar=${name}_enable diff --git a/databases/mongodb/files/mongod.in b/databases/mongodb/files/mongod.in index ddfd1d5400ea..8d00bd03b098 100644 --- a/databases/mongodb/files/mongod.in +++ b/databases/mongodb/files/mongod.in @@ -17,7 +17,7 @@ # mongod_dbpath (path): Set to /var/db/mongod by default # mongod_user (username): Set to "mongod" by default -. %%RC_SUBR%% +. /etc/rc.subr name="mongod" rcvar=${name}_enable diff --git a/databases/mysql-proxy/files/mysql-proxy.sh.in b/databases/mysql-proxy/files/mysql-proxy.sh.in index 770179975cde..fe328e56a363 100644 --- a/databases/mysql-proxy/files/mysql-proxy.sh.in +++ b/databases/mysql-proxy/files/mysql-proxy.sh.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/databases/mysql-proxy/files/Attic/mysql-proxy.sh.in,v 1.3 2009-10-27 12:31:22 clsung Exp $ +# $FreeBSD: /tmp/pcvs/ports/databases/mysql-proxy/files/Attic/mysql-proxy.sh.in,v 1.4 2010-03-27 00:12:46 dougb Exp $ # # PROVIDE: mysql-proxy @@ -27,7 +27,7 @@ # --proxy-lua-script=<file> - filename of the lua script # --no-proxy - don't start proxy-server -. %%RC_SUBR%% +. /etc/rc.subr name="mysql_proxy" rcvar=`set_rcvar` diff --git a/databases/mysql323-server/files/mysql-server.sh.in b/databases/mysql323-server/files/mysql-server.sh.in index e03ccd396987..fbb17f8f0eac 100644 --- a/databases/mysql323-server/files/mysql-server.sh.in +++ b/databases/mysql323-server/files/mysql-server.sh.in @@ -20,7 +20,7 @@ # to mysqld_safe (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="mysql" rcvar=`set_rcvar` diff --git a/databases/mysql40-server/files/mysql-server.sh.in b/databases/mysql40-server/files/mysql-server.sh.in index dceda04eb484..d99e529a683f 100644 --- a/databases/mysql40-server/files/mysql-server.sh.in +++ b/databases/mysql40-server/files/mysql-server.sh.in @@ -20,7 +20,7 @@ # to mysqld_safe (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="mysql" rcvar=`set_rcvar` diff --git a/databases/mysql41-server/files/mysql-server.sh.in b/databases/mysql41-server/files/mysql-server.sh.in index ab764934f82c..a7b8858ad15c 100644 --- a/databases/mysql41-server/files/mysql-server.sh.in +++ b/databases/mysql41-server/files/mysql-server.sh.in @@ -20,7 +20,7 @@ # to mysqld_safe (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="mysql" rcvar=`set_rcvar` diff --git a/databases/mysql50-server/files/mysql-server.sh.in b/databases/mysql50-server/files/mysql-server.sh.in index a5481112aceb..4b70f5880ca6 100644 --- a/databases/mysql50-server/files/mysql-server.sh.in +++ b/databases/mysql50-server/files/mysql-server.sh.in @@ -22,7 +22,7 @@ # to mysqld_safe (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="mysql" rcvar=`set_rcvar` diff --git a/databases/mysql51-server/files/mysql-server.sh.in b/databases/mysql51-server/files/mysql-server.sh.in index 2896a9effe5c..305db44dc57b 100644 --- a/databases/mysql51-server/files/mysql-server.sh.in +++ b/databases/mysql51-server/files/mysql-server.sh.in @@ -20,7 +20,7 @@ # to mysqld_safe (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="mysql" rcvar=`set_rcvar` diff --git a/databases/mysql55-server/files/mysql-server.sh.in b/databases/mysql55-server/files/mysql-server.sh.in index 2896a9effe5c..305db44dc57b 100644 --- a/databases/mysql55-server/files/mysql-server.sh.in +++ b/databases/mysql55-server/files/mysql-server.sh.in @@ -20,7 +20,7 @@ # to mysqld_safe (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="mysql" rcvar=`set_rcvar` diff --git a/databases/mysqlard/files/mysqlard.sh.in b/databases/mysqlard/files/mysqlard.sh.in index 4065e3736c7a..fcd25baf9441 100644 --- a/databases/mysqlard/files/mysqlard.sh.in +++ b/databases/mysqlard/files/mysqlard.sh.in @@ -13,7 +13,7 @@ # config: %%PREFIX%%/etc/mysqlard.cnf # pidfile: /var/run/mysqlard.pid -. %%RC_SUBR%% +. /etc/rc.subr # Source the config script if [ -z "$datadir" ] ; then diff --git a/databases/percona55-server/files/mysql-server.sh.in b/databases/percona55-server/files/mysql-server.sh.in index 2896a9effe5c..305db44dc57b 100644 --- a/databases/percona55-server/files/mysql-server.sh.in +++ b/databases/percona55-server/files/mysql-server.sh.in @@ -20,7 +20,7 @@ # to mysqld_safe (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="mysql" rcvar=`set_rcvar` diff --git a/databases/pgbouncer/files/pgbouncer.sh.in b/databases/pgbouncer/files/pgbouncer.sh.in index cd0f609fb3f9..29c4ecf65ab8 100644 --- a/databases/pgbouncer/files/pgbouncer.sh.in +++ b/databases/pgbouncer/files/pgbouncer.sh.in @@ -14,7 +14,7 @@ # pgbouncer_flags="<set as needed>" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="pgbouncer" rcvar=`set_rcvar` diff --git a/databases/pgcluster/files/pgcluster.in b/databases/pgcluster/files/pgcluster.in index 005e1d66d960..cfc9216be57b 100644 --- a/databases/pgcluster/files/pgcluster.in +++ b/databases/pgcluster/files/pgcluster.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/databases/pgcluster/files/Attic/pgcluster.in,v 1.2 2007-07-26 16:05:04 rafan Exp $ +# $FreeBSD: /tmp/pcvs/ports/databases/pgcluster/files/Attic/pgcluster.in,v 1.3 2010-03-27 00:12:48 dougb Exp $ # # PROVIDE: pgcluster # REQUIRE: DAEMON @@ -14,7 +14,7 @@ # pgcluster_flags="-w -s" # -. %%RC_SUBR%% +. /etc/rc.subr name="pgcluster" rcvar=`set_rcvar` diff --git a/databases/pgcluster/files/pglb.in b/databases/pgcluster/files/pglb.in index bf54beefa38b..11a60b985071 100644 --- a/databases/pgcluster/files/pglb.in +++ b/databases/pgcluster/files/pglb.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/databases/pgcluster/files/Attic/pglb.in,v 1.2 2007-07-26 16:05:04 rafan Exp $ +# $FreeBSD: /tmp/pcvs/ports/databases/pgcluster/files/Attic/pglb.in,v 1.3 2010-03-27 00:12:48 dougb Exp $ # # PROVIDE: pglb # REQUIRE: DAEMON @@ -10,7 +10,7 @@ # pglb_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="pglb" rcvar=`set_rcvar` diff --git a/databases/pgcluster/files/pgreplicate.in b/databases/pgcluster/files/pgreplicate.in index d2fed68f5483..977229b839ab 100644 --- a/databases/pgcluster/files/pgreplicate.in +++ b/databases/pgcluster/files/pgreplicate.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/databases/pgcluster/files/Attic/pgreplicate.in,v 1.2 2007-07-26 16:05:04 rafan Exp $ +# $FreeBSD: /tmp/pcvs/ports/databases/pgcluster/files/Attic/pgreplicate.in,v 1.3 2010-03-27 00:12:48 dougb Exp $ # # PROVIDE: pgreplicate # REQUIRE: DAEMON @@ -11,7 +11,7 @@ # pgreplicate_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="pgreplicate" rcvar=`set_rcvar` diff --git a/databases/pgpool-II-22/files/pgpool.in b/databases/pgpool-II-22/files/pgpool.in index 058b531550c4..6566ef9fa3be 100644 --- a/databases/pgpool-II-22/files/pgpool.in +++ b/databases/pgpool-II-22/files/pgpool.in @@ -19,7 +19,7 @@ # pgpool_user (uid): User ID to run as (default nobody) # -. %%RC_SUBR%% +. /etc/rc.subr name=pgpool rcvar=${name}_enable diff --git a/databases/pgpool-II-23/files/pgpool.in b/databases/pgpool-II-23/files/pgpool.in index 058b531550c4..6566ef9fa3be 100644 --- a/databases/pgpool-II-23/files/pgpool.in +++ b/databases/pgpool-II-23/files/pgpool.in @@ -19,7 +19,7 @@ # pgpool_user (uid): User ID to run as (default nobody) # -. %%RC_SUBR%% +. /etc/rc.subr name=pgpool rcvar=${name}_enable diff --git a/databases/pgpool-II-30/files/pgpool.in b/databases/pgpool-II-30/files/pgpool.in index 058b531550c4..6566ef9fa3be 100644 --- a/databases/pgpool-II-30/files/pgpool.in +++ b/databases/pgpool-II-30/files/pgpool.in @@ -19,7 +19,7 @@ # pgpool_user (uid): User ID to run as (default nobody) # -. %%RC_SUBR%% +. /etc/rc.subr name=pgpool rcvar=${name}_enable diff --git a/databases/pgpool-II/files/pgpool.in b/databases/pgpool-II/files/pgpool.in index 058b531550c4..6566ef9fa3be 100644 --- a/databases/pgpool-II/files/pgpool.in +++ b/databases/pgpool-II/files/pgpool.in @@ -19,7 +19,7 @@ # pgpool_user (uid): User ID to run as (default nobody) # -. %%RC_SUBR%% +. /etc/rc.subr name=pgpool rcvar=${name}_enable diff --git a/databases/pgpool/files/pgpool.in b/databases/pgpool/files/pgpool.in index 012accf2b7f3..0654f230e4a9 100644 --- a/databases/pgpool/files/pgpool.in +++ b/databases/pgpool/files/pgpool.in @@ -16,7 +16,7 @@ # pgpool_user (uid): User ID to run as (default nobody) # -. %%RC_SUBR%% +. /etc/rc.subr name=pgpool rcvar=${name}_enable diff --git a/databases/postgresql-relay/files/postgresql-relay.in b/databases/postgresql-relay/files/postgresql-relay.in index a4329a15bdbb..15017eef0b10 100644 --- a/databases/postgresql-relay/files/postgresql-relay.in +++ b/databases/postgresql-relay/files/postgresql-relay.in @@ -16,7 +16,7 @@ # See postgresql-relay(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=postgresqlrelay rcvar=`set_rcvar` diff --git a/databases/postgresql73-server/files/postgresql.in b/databases/postgresql73-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql73-server/files/postgresql.in +++ b/databases/postgresql73-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/postgresql74-server/files/postgresql.in b/databases/postgresql74-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql74-server/files/postgresql.in +++ b/databases/postgresql74-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/postgresql80-server/files/postgresql.in b/databases/postgresql80-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql80-server/files/postgresql.in +++ b/databases/postgresql80-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/postgresql81-server/files/postgresql.in b/databases/postgresql81-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql81-server/files/postgresql.in +++ b/databases/postgresql81-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/postgresql82-server/files/postgresql.in b/databases/postgresql82-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql82-server/files/postgresql.in +++ b/databases/postgresql82-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/postgresql83-server/files/postgresql.in b/databases/postgresql83-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql83-server/files/postgresql.in +++ b/databases/postgresql83-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/postgresql84-server/files/postgresql.in b/databases/postgresql84-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql84-server/files/postgresql.in +++ b/databases/postgresql84-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/postgresql90-server/files/postgresql.in b/databases/postgresql90-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql90-server/files/postgresql.in +++ b/databases/postgresql90-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/postgresql91-server/files/postgresql.in b/databases/postgresql91-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql91-server/files/postgresql.in +++ b/databases/postgresql91-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/postgresql92-server/files/postgresql.in b/databases/postgresql92-server/files/postgresql.in index 6d8dcd21f154..405d2efaa4d3 100644 --- a/databases/postgresql92-server/files/postgresql.in +++ b/databases/postgresql92-server/files/postgresql.in @@ -25,7 +25,7 @@ command=%%PREFIX%%/bin/pg_ctl -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config postgresql diff --git a/databases/redis-devel/files/redis.sh.in b/databases/redis-devel/files/redis.sh.in index 27c3b8d08fbd..30d006b15c54 100644 --- a/databases/redis-devel/files/redis.sh.in +++ b/databases/redis-devel/files/redis.sh.in @@ -13,7 +13,7 @@ #redis_enable="YES" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="redis" rcvar=`set_rcvar` diff --git a/databases/redis/files/redis.sh.in b/databases/redis/files/redis.sh.in index 27c3b8d08fbd..30d006b15c54 100644 --- a/databases/redis/files/redis.sh.in +++ b/databases/redis/files/redis.sh.in @@ -13,7 +13,7 @@ #redis_enable="YES" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="redis" rcvar=`set_rcvar` diff --git a/databases/redis1/files/redis.sh.in b/databases/redis1/files/redis.sh.in index 27c3b8d08fbd..30d006b15c54 100644 --- a/databases/redis1/files/redis.sh.in +++ b/databases/redis1/files/redis.sh.in @@ -13,7 +13,7 @@ #redis_enable="YES" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="redis" rcvar=`set_rcvar` diff --git a/databases/redis2/files/redis.sh.in b/databases/redis2/files/redis.sh.in index 27c3b8d08fbd..30d006b15c54 100644 --- a/databases/redis2/files/redis.sh.in +++ b/databases/redis2/files/redis.sh.in @@ -13,7 +13,7 @@ #redis_enable="YES" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="redis" rcvar=`set_rcvar` diff --git a/databases/tokyotyrant/files/ttserver.in b/databases/tokyotyrant/files/ttserver.in index 45955a3929d0..d4ed5d6099dc 100644 --- a/databases/tokyotyrant/files/ttserver.in +++ b/databases/tokyotyrant/files/ttserver.in @@ -7,7 +7,7 @@ # REQUIRE: DAEMON # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name="ttserver" rcvar=`set_rcvar` diff --git a/databases/virtuoso/files/virtuoso.sh.in b/databases/virtuoso/files/virtuoso.sh.in index 559107af8f7b..136b4ce28f19 100644 --- a/databases/virtuoso/files/virtuoso.sh.in +++ b/databases/virtuoso/files/virtuoso.sh.in @@ -20,7 +20,7 @@ command=%%PREFIX%%/bin/virtuoso -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config virtuoso diff --git a/devel/cvsd/files/cvsd.in b/devel/cvsd/files/cvsd.in index addffe43661c..171cd7edd678 100644 --- a/devel/cvsd/files/cvsd.in +++ b/devel/cvsd/files/cvsd.in @@ -5,7 +5,7 @@ # REQUIRE: LOGIN syslogd # KEYWORD: nojail shutdown -. %%RC_SUBR%% +. /etc/rc.subr name="cvsd" rcvar=${name}_enable diff --git a/devel/cvsnt/files/cvslockd.sh.in b/devel/cvsnt/files/cvslockd.sh.in index 4d087f2f0a62..a1c6bc1ddef7 100644 --- a/devel/cvsnt/files/cvslockd.sh.in +++ b/devel/cvsnt/files/cvslockd.sh.in @@ -1,12 +1,12 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/devel/cvsnt/files/Attic/cvslockd.sh.in,v 1.2 2006-02-20 20:46:54 dougb Exp $ +# $FreeBSD: /tmp/pcvs/ports/devel/cvsnt/files/Attic/cvslockd.sh.in,v 1.3 2010-03-27 00:12:51 dougb Exp $ # # PROVIDE: cvslockd # REQUIRE: LOGIN # KEYWORD: shutdown # -. %%RC_SUBR%% +. /etc/rc.subr [ -z "$cvslockd_enable" ] && cvslockd_enable="NO" diff --git a/devel/dbus/files/dbus.in b/devel/dbus/files/dbus.in index 59ef29ec7692..1d06ee130079 100644 --- a/devel/dbus/files/dbus.in +++ b/devel/dbus/files/dbus.in @@ -10,7 +10,7 @@ # dbus_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr . %%GNOME_SUBR%% dbus_enable=${dbus_enable-${gnome_enable}} diff --git a/devel/distcc/files/distccd.sh.in b/devel/distcc/files/distccd.sh.in index 0942b3014f7a..8d80c6b8a2ea 100644 --- a/devel/distcc/files/distccd.sh.in +++ b/devel/distcc/files/distccd.sh.in @@ -16,7 +16,7 @@ distccd_enable=${distccd_enable-"NO"} distccd_flags=${distccd_flags-"-a 127.0.0.0/8 --user distcc --daemon -P %%DISTCCD_PIDFILE%%"} -. %%RC_SUBR%% +. /etc/rc.subr name=distccd rcvar=`set_rcvar` diff --git a/devel/fossology/files/fossology.in b/devel/fossology/files/fossology.in index 5428bc97ff8b..adeb72a88e0a 100644 --- a/devel/fossology/files/fossology.in +++ b/devel/fossology/files/fossology.in @@ -6,7 +6,7 @@ # PROVIDE: fossology # -. %%RC_SUBR%% +. /etc/rc.subr name="fossology" rcvar=`set_rcvar` diff --git a/devel/gearmand/files/gearmand.sh.in b/devel/gearmand/files/gearmand.sh.in index 0ed9c999006e..0b311622d9c9 100644 --- a/devel/gearmand/files/gearmand.sh.in +++ b/devel/gearmand/files/gearmand.sh.in @@ -6,7 +6,7 @@ # PROVIDE: gearmand # REQUIRE: DAEMON -. "%%RC_SUBR%%" +. /etc/rc.subr name="gearmand" rcvar=`set_rcvar` diff --git a/devel/git/files/git_daemon.in b/devel/git/files/git_daemon.in index 41b14541cc0d..f44db9347baa 100644 --- a/devel/git/files/git_daemon.in +++ b/devel/git/files/git_daemon.in @@ -12,7 +12,7 @@ # #git_daemon_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name="git_daemon" rcvar=`set_rcvar` diff --git a/devel/linux-js/files/jscal.sh.in b/devel/linux-js/files/jscal.sh.in index d9cf58f5fa4a..824930889cfe 100644 --- a/devel/linux-js/files/jscal.sh.in +++ b/devel/linux-js/files/jscal.sh.in @@ -9,7 +9,7 @@ jscal_enable=${jscal_enable-"NO"} jscal_devices="${jscal_devices:-/dev/input/js*}" jscal_state="${jscal_state:-/var/db/jscal-state}" -. %%RC_SUBR%% +. /etc/rc.subr name="jscal" rcvar=`set_rcvar` diff --git a/devel/linux-js/files/linux_js.sh.in b/devel/linux-js/files/linux_js.sh.in index 9768f1b3aa31..3d519d1ac692 100644 --- a/devel/linux-js/files/linux_js.sh.in +++ b/devel/linux-js/files/linux_js.sh.in @@ -6,7 +6,7 @@ linux_js_enable=${linux_js_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="linux_js" rcvar=`set_rcvar` diff --git a/devel/p5-Gearman-Server/files/gearmand.in b/devel/p5-Gearman-Server/files/gearmand.in index 034b0060a58b..14ecec70601a 100644 --- a/devel/p5-Gearman-Server/files/gearmand.in +++ b/devel/p5-Gearman-Server/files/gearmand.in @@ -10,7 +10,7 @@ # #%%NAME%%_enable="YES" -. "%%RC_SUBR%%" +. /etc/rc.subr name="%%NAME%%" rcvar=`set_rcvar` diff --git a/devel/p5-Java/files/javaserver.sh.in b/devel/p5-Java/files/javaserver.sh.in index 89cd32975ac1..9f80eb175f11 100644 --- a/devel/p5-Java/files/javaserver.sh.in +++ b/devel/p5-Java/files/javaserver.sh.in @@ -17,7 +17,7 @@ # javaserver_user (str): Set to "nobody" by default. # Define owner of the javaserver process. -. %%RC_SUBR%% +. /etc/rc.subr name="javaserver" rcvar=`set_rcvar` diff --git a/devel/pcsc-lite/files/pcscd.in b/devel/pcsc-lite/files/pcscd.in index f5ff87d3151e..6d0d5548862a 100644 --- a/devel/pcsc-lite/files/pcscd.in +++ b/devel/pcsc-lite/files/pcscd.in @@ -9,7 +9,7 @@ # # pcscd_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name="pcscd" rcvar="pcscd_enable" diff --git a/devel/subversion/files/svnserve.in b/devel/subversion/files/svnserve.in index 113b1b5cd985..ca09c07c4b41 100644 --- a/devel/subversion/files/svnserve.in +++ b/devel/subversion/files/svnserve.in @@ -22,7 +22,7 @@ # If you want svnserve binding at ipv4 address, you have # to use option 'svnserve_flags' with --listen-host parameter -. "%%RC_SUBR%%" +. /etc/rc.subr # Set some defaults svnserve_enable=${svnserve_enable:-"NO"} diff --git a/devel/subversion16/files/svnserve.in b/devel/subversion16/files/svnserve.in index 113b1b5cd985..ca09c07c4b41 100644 --- a/devel/subversion16/files/svnserve.in +++ b/devel/subversion16/files/svnserve.in @@ -22,7 +22,7 @@ # If you want svnserve binding at ipv4 address, you have # to use option 'svnserve_flags' with --listen-host parameter -. "%%RC_SUBR%%" +. /etc/rc.subr # Set some defaults svnserve_enable=${svnserve_enable:-"NO"} diff --git a/devel/viewvc/files/viewvc.in b/devel/viewvc/files/viewvc.in index 667a7cb9a397..e3cdd0baefca 100644 --- a/devel/viewvc/files/viewvc.in +++ b/devel/viewvc/files/viewvc.in @@ -28,7 +28,7 @@ # from 7467 to 49152 # see http://viewvc.tigris.org/issues/show_bug.cgi?id=234 -. %%RC_SUBR%% +. /etc/rc.subr name="viewvc" rcvar=${name}_enable diff --git a/dns/bindgraph/files/bindgraph.in b/dns/bindgraph/files/bindgraph.in index 30fa1f47f66a..2856d87006b2 100644 --- a/dns/bindgraph/files/bindgraph.in +++ b/dns/bindgraph/files/bindgraph.in @@ -10,7 +10,7 @@ # bindgraph_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="bindgraph" rcvar=`set_rcvar` diff --git a/dns/ddclient/files/ddclient.in b/dns/ddclient/files/ddclient.in index a475ea97dd40..e0080afc9f34 100644 --- a/dns/ddclient/files/ddclient.in +++ b/dns/ddclient/files/ddclient.in @@ -11,7 +11,7 @@ # ddclient_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="ddclient" rcvar=${name}_enable diff --git a/dns/dhid/files/dhid.in b/dns/dhid/files/dhid.in index 2a628529d421..c5e0d9a9eff2 100644 --- a/dns/dhid/files/dhid.in +++ b/dns/dhid/files/dhid.in @@ -14,7 +14,7 @@ # dhid_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="dhid" rcvar=`set_rcvar` diff --git a/dns/dnrd/files/dnrd.sh.in b/dns/dnrd/files/dnrd.sh.in index 13eef265db65..0ec87c0d7df2 100644 --- a/dns/dnrd/files/dnrd.sh.in +++ b/dns/dnrd/files/dnrd.sh.in @@ -12,7 +12,7 @@ # override these variables in /etc/rc.conf dnrd_enable=${dnrd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=dnrd rcvar=$(set_rcvar) diff --git a/dns/dns_balance/files/dns_balance.sh.in b/dns/dns_balance/files/dns_balance.sh.in index e7add698b4bb..cbeac7ab8d2d 100644 --- a/dns/dns_balance/files/dns_balance.sh.in +++ b/dns/dns_balance/files/dns_balance.sh.in @@ -9,7 +9,7 @@ # dns_balance_enable="YES" # dns_balance_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name=dns_balance rcvar=`set_rcvar` diff --git a/dns/dnsmasq/files/dnsmasq.sh.in b/dns/dnsmasq/files/dnsmasq.sh.in index f073c597bc7d..50a604c1a6c5 100644 --- a/dns/dnsmasq/files/dnsmasq.sh.in +++ b/dns/dnsmasq/files/dnsmasq.sh.in @@ -20,7 +20,7 @@ # line arguments if desired. # -. %%RC_SUBR%% +. /etc/rc.subr name=dnsmasq rcvar=$(set_rcvar) diff --git a/dns/dnsproxy/files/dnsproxy.in b/dns/dnsproxy/files/dnsproxy.in index 65815da63b91..e35fd5660d43 100644 --- a/dns/dnsproxy/files/dnsproxy.in +++ b/dns/dnsproxy/files/dnsproxy.in @@ -21,7 +21,7 @@ dnsproxy_enable=${dnsproxy_enable:-"NO"} command_args=${dnsproxy_flags:-"-c %%ETCDIR%%/dnsproxy.conf -d"} -. %%RC_SUBR%% +. /etc/rc.subr name="dnsproxy" rcvar=`set_rcvar` diff --git a/dns/dnsreflector/files/dnsreflector.in b/dns/dnsreflector/files/dnsreflector.in index dcd5343179d9..6d51b18cdda0 100644 --- a/dns/dnsreflector/files/dnsreflector.in +++ b/dns/dnsreflector/files/dnsreflector.in @@ -21,7 +21,7 @@ dnsreflector_enable=${dnsreflector_enable:-"NO"} command_args=${dnsreflector_flags:-"-d -a 127.0.0.1 -p 53000"} -. %%RC_SUBR%% +. /etc/rc.subr name="dnsreflector" rcvar=`set_rcvar` diff --git a/dns/ez-ipupdate/files/ez-ipupdate.sh.in b/dns/ez-ipupdate/files/ez-ipupdate.sh.in index e276e4cc9624..fb9a4a77cc5d 100644 --- a/dns/ez-ipupdate/files/ez-ipupdate.sh.in +++ b/dns/ez-ipupdate/files/ez-ipupdate.sh.in @@ -13,7 +13,7 @@ #ez_ipupdate_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=ez_ipupdate rcvar=`set_rcvar` diff --git a/dns/inadyn/files/inadyn.in b/dns/inadyn/files/inadyn.in index 2898b3a00703..e7ed8818edc0 100644 --- a/dns/inadyn/files/inadyn.in +++ b/dns/inadyn/files/inadyn.in @@ -20,7 +20,7 @@ # Don't forget to include --background in either method! # -. %%RC_SUBR%% +. /etc/rc.subr name="inadyn" rcvar=`set_rcvar` diff --git a/dns/maradns/files/maradns.in b/dns/maradns/files/maradns.in index 98fd40e2e0a5..dafc71d470f3 100644 --- a/dns/maradns/files/maradns.in +++ b/dns/maradns/files/maradns.in @@ -9,7 +9,7 @@ # KEYWORD: shutdown # -. %%RC_SUBR%% +. /etc/rc.subr : ${maradns_enable="NO"} : ${maradns_conf="%%PREFIX%%/etc/mararc"} diff --git a/dns/maradns/files/zoneserver.in b/dns/maradns/files/zoneserver.in index cecb6998ba9f..84e59315b98f 100644 --- a/dns/maradns/files/zoneserver.in +++ b/dns/maradns/files/zoneserver.in @@ -9,7 +9,7 @@ # KEYWORD: shutdown # -. %%RC_SUBR%% +. /etc/rc.subr : ${zoneserver_enable="NO"} : ${maradns_conf="%%PREFIX%%/etc/mararc"} diff --git a/dns/mydns-ng/files/mydns.in b/dns/mydns-ng/files/mydns.in index c4332e643140..20bd91a7931d 100644 --- a/dns/mydns-ng/files/mydns.in +++ b/dns/mydns-ng/files/mydns.in @@ -13,7 +13,7 @@ # Set it to "YES" to enable MyDNS. # -. %%RC_SUBR%% +. /etc/rc.subr name="mydns" rcvar=`set_rcvar` diff --git a/dns/mydns/files/mydns.sh.in b/dns/mydns/files/mydns.sh.in index c4332e643140..20bd91a7931d 100644 --- a/dns/mydns/files/mydns.sh.in +++ b/dns/mydns/files/mydns.sh.in @@ -13,7 +13,7 @@ # Set it to "YES" to enable MyDNS. # -. %%RC_SUBR%% +. /etc/rc.subr name="mydns" rcvar=`set_rcvar` diff --git a/dns/noip/files/noip.in b/dns/noip/files/noip.in index 8630038bd2e6..b9e7326f0355 100644 --- a/dns/noip/files/noip.in +++ b/dns/noip/files/noip.in @@ -12,7 +12,7 @@ # noip_flags: Set to -c %%PREFIX%%/etc/no-ip2.conf by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="noip" rcvar=`set_rcvar` diff --git a/dns/nsd/files/nsd.in b/dns/nsd/files/nsd.in index 4138ef9fec55..632ea4910a60 100644 --- a/dns/nsd/files/nsd.in +++ b/dns/nsd/files/nsd.in @@ -10,7 +10,7 @@ # nsd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=nsd rcvar=`set_rcvar` diff --git a/dns/nsd2/files/nsd.sh.in b/dns/nsd2/files/nsd.sh.in index b8e2881047e0..90ed6a4bfc63 100644 --- a/dns/nsd2/files/nsd.sh.in +++ b/dns/nsd2/files/nsd.sh.in @@ -11,7 +11,7 @@ # nsd_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name=nsd rcvar=`set_rcvar` diff --git a/dns/opendd/files/opendd.in b/dns/opendd/files/opendd.in index a66c3e41fdeb..b8f3ce6dfddd 100644 --- a/dns/opendd/files/opendd.in +++ b/dns/opendd/files/opendd.in @@ -10,7 +10,7 @@ # opendd_enable (bool): Set to "NO" by default. # Set it to "YES" to enable opendd. -. %%RC_SUBR%% +. /etc/rc.subr name="opendd" rcvar=${name}_enable diff --git a/dns/pdnsd/files/pdnsd.in b/dns/pdnsd/files/pdnsd.in index 9ee8ff06b777..1d8172b210fe 100644 --- a/dns/pdnsd/files/pdnsd.in +++ b/dns/pdnsd/files/pdnsd.in @@ -4,7 +4,7 @@ # REQUIRE: netif # BEFORE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr name="pdnsd" rcvar=${name}_enable diff --git a/dns/powerdns-devel/files/pdns-devel.in b/dns/powerdns-devel/files/pdns-devel.in index 54037e068a59..5d4e241c4e81 100644 --- a/dns/powerdns-devel/files/pdns-devel.in +++ b/dns/powerdns-devel/files/pdns-devel.in @@ -16,7 +16,7 @@ # See pdns_server(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name=pdns rcvar=`set_rcvar` diff --git a/dns/powerdns-recursor/files/pdns-recursor.in b/dns/powerdns-recursor/files/pdns-recursor.in index f828e180a28c..fa96b8e928ae 100644 --- a/dns/powerdns-recursor/files/pdns-recursor.in +++ b/dns/powerdns-recursor/files/pdns-recursor.in @@ -17,7 +17,7 @@ # See pdns_recursor(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name=pdns_recursor rcvar=`set_rcvar` diff --git a/dns/powerdns/files/pdns.in b/dns/powerdns/files/pdns.in index 65260e2dbf34..164f222c13e8 100644 --- a/dns/powerdns/files/pdns.in +++ b/dns/powerdns/files/pdns.in @@ -16,7 +16,7 @@ # See pdns_server(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name=pdns rcvar=`set_rcvar` diff --git a/dns/rbldnsd/files/rbldnsd.in b/dns/rbldnsd/files/rbldnsd.in index 2336e182e649..799d4c707190 100644 --- a/dns/rbldnsd/files/rbldnsd.in +++ b/dns/rbldnsd/files/rbldnsd.in @@ -15,7 +15,7 @@ # See rbldnsd(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name=rbldnsd rcvar=`set_rcvar` diff --git a/dns/totd/files/totd.in b/dns/totd/files/totd.in index 9710c6477f38..d66cdfa44a22 100644 --- a/dns/totd/files/totd.in +++ b/dns/totd/files/totd.in @@ -17,7 +17,7 @@ totd_enable=${totd_enable:-"NO"} # Enable totd # totd_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name="totd" rcvar=`set_rcvar` diff --git a/dns/unbound/files/unbound.in b/dns/unbound/files/unbound.in index cc45a2751050..a6125df1778e 100644 --- a/dns/unbound/files/unbound.in +++ b/dns/unbound/files/unbound.in @@ -10,7 +10,7 @@ # REQUIRE: SERVERS cleanvar # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name="unbound" rcvar=`set_rcvar` diff --git a/emulators/open-vm-tools/files/vmware-guestd.sh.in b/emulators/open-vm-tools/files/vmware-guestd.sh.in index 5176e77a247f..08b77e5e3bed 100644 --- a/emulators/open-vm-tools/files/vmware-guestd.sh.in +++ b/emulators/open-vm-tools/files/vmware-guestd.sh.in @@ -7,7 +7,7 @@ # REQUIRE: DAEMON # BEFORE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr # Global checkvm_cmd="%%PREFIX%%/bin/vmware-checkvm > /dev/null" diff --git a/emulators/open-vm-tools/files/vmware-kmod.sh.in b/emulators/open-vm-tools/files/vmware-kmod.sh.in index 68f6cd630296..323f804979d7 100644 --- a/emulators/open-vm-tools/files/vmware-kmod.sh.in +++ b/emulators/open-vm-tools/files/vmware-kmod.sh.in @@ -7,7 +7,7 @@ # REQUIRE: FILESYSTEMS # BEFORE: netif -. %%RC_SUBR%% +. /etc/rc.subr # Global checkvm_cmd="%%PREFIX%%/bin/vmware-checkvm > /dev/null" diff --git a/emulators/virtualbox-ose-additions/files/vboxguest.in b/emulators/virtualbox-ose-additions/files/vboxguest.in index 08d1f6dbe3d7..702b83499763 100644 --- a/emulators/virtualbox-ose-additions/files/vboxguest.in +++ b/emulators/virtualbox-ose-additions/files/vboxguest.in @@ -15,7 +15,7 @@ # vboxguest_enable (bool): Set to NO by default. # Set it to YES to enable vboxguest on startup -. %%RC_SUBR%% +. /etc/rc.subr name="vboxguest" rcvar=${name}_enable diff --git a/emulators/virtualbox-ose-kmod-legacy/files/vboxnet.in b/emulators/virtualbox-ose-kmod-legacy/files/vboxnet.in index 69cb0e402521..17f079bd900c 100644 --- a/emulators/virtualbox-ose-kmod-legacy/files/vboxnet.in +++ b/emulators/virtualbox-ose-kmod-legacy/files/vboxnet.in @@ -15,7 +15,7 @@ # vboxnet_enable (bool): Set to NO by default. # Set it to YES to load network related kernel modules on startup -. %%RC_SUBR%% +. /etc/rc.subr name="vboxnet" rcvar=${name}_enable diff --git a/emulators/virtualbox-ose-kmod/files/vboxnet.in b/emulators/virtualbox-ose-kmod/files/vboxnet.in index 69cb0e402521..17f079bd900c 100644 --- a/emulators/virtualbox-ose-kmod/files/vboxnet.in +++ b/emulators/virtualbox-ose-kmod/files/vboxnet.in @@ -15,7 +15,7 @@ # vboxnet_enable (bool): Set to NO by default. # Set it to YES to load network related kernel modules on startup -. %%RC_SUBR%% +. /etc/rc.subr name="vboxnet" rcvar=${name}_enable diff --git a/emulators/vmware-guestd4/files/vmware-guestd.sh.in b/emulators/vmware-guestd4/files/vmware-guestd.sh.in index 4f5072ce1f41..8c9521ad98c6 100644 --- a/emulators/vmware-guestd4/files/vmware-guestd.sh.in +++ b/emulators/vmware-guestd4/files/vmware-guestd.sh.in @@ -8,7 +8,7 @@ # BEFORE: LOGIN PREFIX=%%PREFIX%% -. %%RC_SUBR%% +. /etc/rc.subr # Global checkvm_cmd="${PREFIX}/sbin/vmware-checkvm > /dev/null" diff --git a/emulators/vmware-guestd5/files/vmware-guestd.sh.in b/emulators/vmware-guestd5/files/vmware-guestd.sh.in index 158e88bf56bd..d66fccbc7892 100644 --- a/emulators/vmware-guestd5/files/vmware-guestd.sh.in +++ b/emulators/vmware-guestd5/files/vmware-guestd.sh.in @@ -8,7 +8,7 @@ # BEFORE: LOGIN PREFIX=%%PREFIX%% -. %%RC_SUBR%% +. /etc/rc.subr # Global checkvm_cmd="${PREFIX}/sbin/vmware-checkvm > /dev/null" diff --git a/emulators/vmware-guestd6/files/vmware-guestd.sh.in b/emulators/vmware-guestd6/files/vmware-guestd.sh.in index 158e88bf56bd..d66fccbc7892 100644 --- a/emulators/vmware-guestd6/files/vmware-guestd.sh.in +++ b/emulators/vmware-guestd6/files/vmware-guestd.sh.in @@ -8,7 +8,7 @@ # BEFORE: LOGIN PREFIX=%%PREFIX%% -. %%RC_SUBR%% +. /etc/rc.subr # Global checkvm_cmd="${PREFIX}/sbin/vmware-checkvm > /dev/null" diff --git a/finance/openerp-server/files/openerpd.in b/finance/openerp-server/files/openerpd.in index ccd8c784bd8a..6e0e845b73d9 100644 --- a/finance/openerp-server/files/openerpd.in +++ b/finance/openerp-server/files/openerpd.in @@ -15,7 +15,7 @@ # can also use openerpd_flags for additional # command line arguments. -. %%RC_SUBR%% +. /etc/rc.subr name="openerpd" rcvar=${name}_enable diff --git a/finance/openerp/files/openerpd.in b/finance/openerp/files/openerpd.in index ccd8c784bd8a..6e0e845b73d9 100644 --- a/finance/openerp/files/openerpd.in +++ b/finance/openerp/files/openerpd.in @@ -15,7 +15,7 @@ # can also use openerpd_flags for additional # command line arguments. -. %%RC_SUBR%% +. /etc/rc.subr name="openerpd" rcvar=${name}_enable diff --git a/french/plgrenouille/files/plgrenouille.sh.in b/french/plgrenouille/files/plgrenouille.sh.in index 4bfe6d0fc377..e06b25cef563 100644 --- a/french/plgrenouille/files/plgrenouille.sh.in +++ b/french/plgrenouille/files/plgrenouille.sh.in @@ -1,6 +1,6 @@ #! /bin/sh # -# $FreeBSD: /tmp/pcvs/ports/french/plgrenouille/files/Attic/plgrenouille.sh.in,v 1.1 2006-04-01 13:32:03 edwin Exp $ +# $FreeBSD: /tmp/pcvs/ports/french/plgrenouille/files/Attic/plgrenouille.sh.in,v 1.2 2010-03-27 00:12:59 dougb Exp $ # # PROVIDE: plgrenouille # REQUIRE: DAEMON @@ -13,7 +13,7 @@ plgrenouille_enable=NO plgrenouille_flags=-b -. %%RC_SUBR%% +. /etc/rc.subr name=plgrenouille rcvar=$(set_rcvar) diff --git a/ftp/bbftp/files/bbftpd.in b/ftp/bbftp/files/bbftpd.in index 8e8ec232db20..0c02f39fd59f 100644 --- a/ftp/bbftp/files/bbftpd.in +++ b/ftp/bbftp/files/bbftpd.in @@ -10,7 +10,7 @@ # Set it to YES to enable bbftpd. # -. %%RC_SUBR%% +. /etc/rc.subr name="bbftpd" rcvar=${name}_enable diff --git a/ftp/bsdftpd-ssl/files/bsdftpd-ssl.in b/ftp/bsdftpd-ssl/files/bsdftpd-ssl.in index b7eebbd26cc7..dd04d4e87631 100644 --- a/ftp/bsdftpd-ssl/files/bsdftpd-ssl.in +++ b/ftp/bsdftpd-ssl/files/bsdftpd-ssl.in @@ -14,7 +14,7 @@ # # bsdftpd_ssl_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name="bsdftpd_ssl" rcvar=`set_rcvar` diff --git a/ftp/frox/files/frox.sh.in b/ftp/frox/files/frox.sh.in index fc4152072c92..d87392621742 100644 --- a/ftp/frox/files/frox.sh.in +++ b/ftp/frox/files/frox.sh.in @@ -16,7 +16,7 @@ # See frox(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=frox rcvar=`set_rcvar` diff --git a/ftp/ftp-proxy/files/ftp-proxy.in b/ftp/ftp-proxy/files/ftp-proxy.in index 2964fa4ef1c1..ed74e5a0d7ce 100644 --- a/ftp/ftp-proxy/files/ftp-proxy.in +++ b/ftp/ftp-proxy/files/ftp-proxy.in @@ -11,7 +11,7 @@ # Default is "". See ftp-proxy(8). # -. %%RC_SUBR%% +. /etc/rc.subr name="ftpproxy" rcvar=${name}_enable diff --git a/ftp/ftpd-tls/files/ftpd-tls.sh.in b/ftp/ftpd-tls/files/ftpd-tls.sh.in index 5e9bfe5bc562..d6344c01de48 100644 --- a/ftp/ftpd-tls/files/ftpd-tls.sh.in +++ b/ftp/ftpd-tls/files/ftpd-tls.sh.in @@ -19,7 +19,7 @@ # ftpd_tls_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="ftpd_tls" rcvar=${name}_enable diff --git a/ftp/ftpsesame/files/ftpsesame.sh.in b/ftp/ftpsesame/files/ftpsesame.sh.in index 4fc8c9971f26..eb8b16dc6fa4 100644 --- a/ftp/ftpsesame/files/ftpsesame.sh.in +++ b/ftp/ftpsesame/files/ftpsesame.sh.in @@ -17,7 +17,7 @@ # ftpsesame_flags (str): Additional options (See ftpsesame(8)). # -. %%RC_SUBR%% +. /etc/rc.subr name=ftpsesame rcvar=`set_rcvar` diff --git a/ftp/jftpgw/files/jftpgw.in b/ftp/jftpgw/files/jftpgw.in index 27b3de7ac050..44a5f078ebd8 100644 --- a/ftp/jftpgw/files/jftpgw.in +++ b/ftp/jftpgw/files/jftpgw.in @@ -11,7 +11,7 @@ # jftpgw_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=jftpgw rcvar=`set_rcvar` diff --git a/ftp/moftpd/files/moftpd.in b/ftp/moftpd/files/moftpd.in index 49c2a706e1d2..53265f487f05 100644 --- a/ftp/moftpd/files/moftpd.in +++ b/ftp/moftpd/files/moftpd.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/ftp/moftpd/files/Attic/moftpd.in,v 1.2 2009-07-15 16:55:42 dougb Exp $ +# $FreeBSD: /tmp/pcvs/ports/ftp/moftpd/files/Attic/moftpd.in,v 1.3 2010-03-27 00:13:01 dougb Exp $ # # PROVIDE: moftpd @@ -19,7 +19,7 @@ # moftpdlimits_args (str): Default to "-e -C daemon" # Arguments of pre-start limits run. # -. %%RC_SUBR%% +. /etc/rc.subr name="moftpd" rcvar=`set_rcvar` diff --git a/ftp/ncftpd/files/ncftpd.sh.in b/ftp/ncftpd/files/ncftpd.sh.in index 88fa2bc8bffd..5c4d30935f32 100644 --- a/ftp/ncftpd/files/ncftpd.sh.in +++ b/ftp/ncftpd/files/ncftpd.sh.in @@ -11,7 +11,7 @@ # ncftpd_config="/path/to/general.cf /path/to/domain.cf" # Not required # -. %%RC_SUBR%% +. /etc/rc.subr name="ncftpd" rcvar=`set_rcvar` diff --git a/ftp/proftpd-devel/files/proftpd.sh.in b/ftp/proftpd-devel/files/proftpd.sh.in index 362a2d37f6a0..739fefff431e 100644 --- a/ftp/proftpd-devel/files/proftpd.sh.in +++ b/ftp/proftpd-devel/files/proftpd.sh.in @@ -17,7 +17,7 @@ # See proftpd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=proftpd rcvar=`set_rcvar` diff --git a/ftp/proftpd/files/proftpd.in b/ftp/proftpd/files/proftpd.in index 44b5e0e8a0df..1ea8d03fb39f 100644 --- a/ftp/proftpd/files/proftpd.in +++ b/ftp/proftpd/files/proftpd.in @@ -17,7 +17,7 @@ # See proftpd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=proftpd rcvar=`set_rcvar` diff --git a/ftp/pure-ftpd/files/pure-ftpd.sh.in b/ftp/pure-ftpd/files/pure-ftpd.sh.in index 2f0133dafb32..2ef475e040dd 100644 --- a/ftp/pure-ftpd/files/pure-ftpd.sh.in +++ b/ftp/pure-ftpd/files/pure-ftpd.sh.in @@ -15,7 +15,7 @@ # pureftpd_uploadscript="/full/path/to/launch_script" # -. %%RC_SUBR%% +. /etc/rc.subr name=pureftpd rcvar=`set_rcvar` diff --git a/ftp/smbftpd/files/smbftpd.sh.in b/ftp/smbftpd/files/smbftpd.sh.in index c1c560e5807f..4a2ed7d2b2de 100644 --- a/ftp/smbftpd/files/smbftpd.sh.in +++ b/ftp/smbftpd/files/smbftpd.sh.in @@ -11,7 +11,7 @@ # smbftpd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=smbftpd rcvar=`set_rcvar` diff --git a/ftp/vsftpd-ext/files/vsftpd.sh.in b/ftp/vsftpd-ext/files/vsftpd.sh.in index 53d137b67a4b..27d6c9c8255b 100644 --- a/ftp/vsftpd-ext/files/vsftpd.sh.in +++ b/ftp/vsftpd-ext/files/vsftpd.sh.in @@ -20,7 +20,7 @@ # # Samples are provided at the end of the configuration file. -. "%%RC_SUBR%%" +. /etc/rc.subr name="vsftpd" rcvar=`set_rcvar` diff --git a/ftp/vsftpd/files/vsftpd.sh.in b/ftp/vsftpd/files/vsftpd.sh.in index 53d137b67a4b..27d6c9c8255b 100644 --- a/ftp/vsftpd/files/vsftpd.sh.in +++ b/ftp/vsftpd/files/vsftpd.sh.in @@ -20,7 +20,7 @@ # # Samples are provided at the end of the configuration file. -. "%%RC_SUBR%%" +. /etc/rc.subr name="vsftpd" rcvar=`set_rcvar` diff --git a/ftp/wzdftpd/files/wzdftpd.sh.in b/ftp/wzdftpd/files/wzdftpd.sh.in index ca4dc35cb034..77eb75af474b 100644 --- a/ftp/wzdftpd/files/wzdftpd.sh.in +++ b/ftp/wzdftpd/files/wzdftpd.sh.in @@ -15,7 +15,7 @@ wzdftpd_enable=${wzdftpd_enable:-"NO"} # Enable wzdftpd -. %%RC_SUBR%% +. /etc/rc.subr name="wzdftpd" rcvar=`set_rcvar` diff --git a/games/mtaserver/files/mtad.in b/games/mtaserver/files/mtad.in index b28e342773c5..654167633bf5 100644 --- a/games/mtaserver/files/mtad.in +++ b/games/mtaserver/files/mtad.in @@ -10,7 +10,7 @@ # mtad_enable (bool): Set to "NO" by default. # Set it to "YES" to enable mtad. -. %%RC_SUBR%% +. /etc/rc.subr name="mtad" rcvar=${name}_enable diff --git a/games/pvpgn/files/bnetd.sh.in b/games/pvpgn/files/bnetd.sh.in index 38f5d1e1152a..f8389f652bdb 100644 --- a/games/pvpgn/files/bnetd.sh.in +++ b/games/pvpgn/files/bnetd.sh.in @@ -17,7 +17,7 @@ # See bnetd(1) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=bnetd rcvar=`set_rcvar` diff --git a/games/quaqut/files/quaqut.in b/games/quaqut/files/quaqut.in index 193cc2c6176f..30e3cf5fc288 100644 --- a/games/quaqut/files/quaqut.in +++ b/games/quaqut/files/quaqut.in @@ -15,7 +15,7 @@ # It must be a number between 10 and 9999. # -. %%RC_SUBR%% +. /etc/rc.subr name="quaqut" rcvar=${name}_enable diff --git a/games/sampsvr/files/sampd.in b/games/sampsvr/files/sampd.in index 75f6fc5fe54c..d766cafd0f56 100644 --- a/games/sampsvr/files/sampd.in +++ b/games/sampsvr/files/sampd.in @@ -10,7 +10,7 @@ # sampd_enable (bool): Set to "NO" by default. # Set it to "YES" to enable sampd. -. %%RC_SUBR%% +. /etc/rc.subr name="sampd" rcvar=${name}_enable diff --git a/games/utserver/files/ucc.in b/games/utserver/files/ucc.in index 661f952feb64..d3382d77d65e 100644 --- a/games/utserver/files/ucc.in +++ b/games/utserver/files/ucc.in @@ -10,7 +10,7 @@ # ucc_enable (bool): Set to "NO" by default. # Set it to "YES" to enable ucc. -. %%RC_SUBR%% +. /etc/rc.subr name="ucc" rcvar=${name}_enable diff --git a/games/wolfpack/files/wolfpack.in b/games/wolfpack/files/wolfpack.in index 43adb7fe4551..be0ab909a0c0 100644 --- a/games/wolfpack/files/wolfpack.in +++ b/games/wolfpack/files/wolfpack.in @@ -10,7 +10,7 @@ # about configuring the server and creating a world first. # -. %%RC_SUBR%% +. /etc/rc.subr name=wolfpack rcvar=`set_rcvar` diff --git a/graphics/geoserver/files/geoserver.in b/graphics/geoserver/files/geoserver.in index 75af8f1a68b0..ceb676651bbf 100644 --- a/graphics/geoserver/files/geoserver.in +++ b/graphics/geoserver/files/geoserver.in @@ -11,7 +11,7 @@ # Set it to "YES" to enable geoserver. -. %%RC_SUBR%% +. /etc/rc.subr name="geoserver" rcvar=${name}_enable diff --git a/irc/anope/files/anope.in b/irc/anope/files/anope.in index 45efaba76729..c3df3a6cf93e 100644 --- a/irc/anope/files/anope.in +++ b/irc/anope/files/anope.in @@ -14,7 +14,7 @@ # anope_chroot="%%PREFIX%%/share/anope" # -. %%RC_SUBR%% +. /etc/rc.subr name="anope" rcvar=`set_rcvar` diff --git a/irc/bitlbee-otr/files/bitlbee.in b/irc/bitlbee-otr/files/bitlbee.in index 17499e50eea8..9be4dba4d057 100644 --- a/irc/bitlbee-otr/files/bitlbee.in +++ b/irc/bitlbee-otr/files/bitlbee.in @@ -10,7 +10,7 @@ # bitlbee_enable="YES" # bitlbee_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name="bitlbee" rcvar=`set_rcvar` diff --git a/irc/bitlbee/files/bitlbee.in b/irc/bitlbee/files/bitlbee.in index b53c8adef9c9..ac68f0955ea0 100644 --- a/irc/bitlbee/files/bitlbee.in +++ b/irc/bitlbee/files/bitlbee.in @@ -10,7 +10,7 @@ # bitlbee_enable="YES" # bitlbee_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name="bitlbee" rcvar=`set_rcvar` diff --git a/irc/bopm/files/bopm.in b/irc/bopm/files/bopm.in index 64afa18c4ccc..95d040dcf177 100644 --- a/irc/bopm/files/bopm.in +++ b/irc/bopm/files/bopm.in @@ -13,7 +13,7 @@ # bopm_flags (str): Custom flags passed to the bopm # daemon (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="bopm" rcvar=`set_rcvar` diff --git a/irc/ircd-ratbox-devel/files/ircd-ratbox.sh.in b/irc/ircd-ratbox-devel/files/ircd-ratbox.sh.in index 2bc4c75fee55..26ff7cace9bd 100644 --- a/irc/ircd-ratbox-devel/files/ircd-ratbox.sh.in +++ b/irc/ircd-ratbox-devel/files/ircd-ratbox.sh.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON # BEFORE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr name="ircd_ratbox" rcvar=`set_rcvar` diff --git a/irc/ircd-ratbox/files/ircd-ratbox.sh.in b/irc/ircd-ratbox/files/ircd-ratbox.sh.in index 2c42999e475d..3cac766fcb27 100644 --- a/irc/ircd-ratbox/files/ircd-ratbox.sh.in +++ b/irc/ircd-ratbox/files/ircd-ratbox.sh.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON # BEFORE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr name="ircd_ratbox" rcvar=`set_rcvar` diff --git a/irc/ircd-ru/files/ircd.in b/irc/ircd-ru/files/ircd.in index 88fafa601507..a7d5e339d575 100644 --- a/irc/ircd-ru/files/ircd.in +++ b/irc/ircd-ru/files/ircd.in @@ -5,7 +5,7 @@ # REQUIRE: LOGIN syslogd # KEYWORD: shutdown -. "%%RC_SUBR%%" +. /etc/rc.subr name="ircd" rcvar=${name}_enable diff --git a/irc/ircservices/files/ircservices.in b/irc/ircservices/files/ircservices.in index e7f16e74d874..702a6c002036 100644 --- a/irc/ircservices/files/ircservices.in +++ b/irc/ircservices/files/ircservices.in @@ -5,7 +5,7 @@ # REQUIRE: LOGIN # KEYWORDS: nojail shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=ircservices rcvar=${name}_enable diff --git a/irc/ngircd/files/ngircd.in b/irc/ngircd/files/ngircd.in index a79e843150f5..d0ffeb741709 100644 --- a/irc/ngircd/files/ngircd.in +++ b/irc/ngircd/files/ngircd.in @@ -15,7 +15,7 @@ # Default is empty "". # -. %%RC_SUBR%% +. /etc/rc.subr name="ngircd" rcvar=`set_rcvar` diff --git a/irc/ptlink-ircd/files/ptlink-ircd.sh.in b/irc/ptlink-ircd/files/ptlink-ircd.sh.in index 8c7898b548f7..7c9f11acb2e2 100644 --- a/irc/ptlink-ircd/files/ptlink-ircd.sh.in +++ b/irc/ptlink-ircd/files/ptlink-ircd.sh.in @@ -14,7 +14,7 @@ ircd_enable=${ircd_enable-"NO"} ircd_user=${ircd_user-"ircd"} -. %%RC_SUBR%% +. /etc/rc.subr name="ircd" rcvar=`set_rcvar` diff --git a/irc/ptlink-services/files/ptlink-services.sh.in b/irc/ptlink-services/files/ptlink-services.sh.in index 1e3ecd40238b..c8e606750116 100644 --- a/irc/ptlink-services/files/ptlink-services.sh.in +++ b/irc/ptlink-services/files/ptlink-services.sh.in @@ -14,7 +14,7 @@ services_enable=${services_enable-"NO"} services_user=${services_user-"ircd"} -. %%RC_SUBR%% +. /etc/rc.subr name="services" rcvar=`set_rcvar` diff --git a/irc/ratbox-services/files/ratbox-services.sh.in b/irc/ratbox-services/files/ratbox-services.sh.in index 321384a3d0f8..e2467d296c8a 100644 --- a/irc/ratbox-services/files/ratbox-services.sh.in +++ b/irc/ratbox-services/files/ratbox-services.sh.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON # BEFORE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr name="ratbox_services" rcvar=`set_rcvar` diff --git a/irc/thales/files/thales.sh.in b/irc/thales/files/thales.sh.in index 177420c7b09c..4c070fc174f2 100644 --- a/irc/thales/files/thales.sh.in +++ b/irc/thales/files/thales.sh.in @@ -14,7 +14,7 @@ # Set it to "YES" to enable Thales # -. %%RC_SUBR%% +. /etc/rc.subr name="thales" rcvar=`set_rcvar` diff --git a/irc/tircd/files/tircd.sh.in b/irc/tircd/files/tircd.sh.in index 437cbd9c5c99..aaef1c8b0653 100644 --- a/irc/tircd/files/tircd.sh.in +++ b/irc/tircd/files/tircd.sh.in @@ -11,7 +11,7 @@ # tircd_enable (bool): Set to NO by default. # Set it to YES to enable tircd. -. %%RC_SUBR%% +. /etc/rc.subr name="tircd" rcvar=${name}_enable diff --git a/irc/tr-ircd/files/trircd.in b/irc/tr-ircd/files/trircd.in index 165a2ec11818..23af95c00f6b 100644 --- a/irc/tr-ircd/files/trircd.in +++ b/irc/tr-ircd/files/trircd.in @@ -9,7 +9,7 @@ # # Tweakable parameters for users to override in rc.conf -. "%%RC_SUBR%%" +. /etc/rc.subr name=trircd diff --git a/irc/undernet-ircu/files/undernet.sh.in b/irc/undernet-ircu/files/undernet.sh.in index b95cbda59032..4eea938b2a44 100644 --- a/irc/undernet-ircu/files/undernet.sh.in +++ b/irc/undernet-ircu/files/undernet.sh.in @@ -11,7 +11,7 @@ # undernet_config (path): Set to %%PREFIX%%/etc/ircd.conf # by default. -. %%RC_SUBR%% +. /etc/rc.subr name=undernet rcvar=`set_rcvar` diff --git a/irc/unreal/files/unrealircd.sh.in b/irc/unreal/files/unrealircd.sh.in index e2b14c722393..57ffc03b6ea4 100644 --- a/irc/unreal/files/unrealircd.sh.in +++ b/irc/unreal/files/unrealircd.sh.in @@ -14,7 +14,7 @@ # Set it to "YES" to enable Unreal IRCd # -. %%RC_SUBR%% +. /etc/rc.subr name="unrealircd" rcvar=`set_rcvar` diff --git a/japanese/FreeWnn-server/files/cwnn.sh.in b/japanese/FreeWnn-server/files/cwnn.sh.in index 236bf3ea3827..ba07c664fd15 100644 --- a/japanese/FreeWnn-server/files/cwnn.sh.in +++ b/japanese/FreeWnn-server/files/cwnn.sh.in @@ -6,7 +6,7 @@ # KEYWORD: shutdown # -. %%RC_SUBR%% +. /etc/rc.subr name=cwnn rcvar=`set_rcvar` diff --git a/japanese/FreeWnn-server/files/kwnn.sh.in b/japanese/FreeWnn-server/files/kwnn.sh.in index 5a51feb74634..eeae088659e4 100644 --- a/japanese/FreeWnn-server/files/kwnn.sh.in +++ b/japanese/FreeWnn-server/files/kwnn.sh.in @@ -6,7 +6,7 @@ # KEYWORD: shutdown # -. %%RC_SUBR%% +. /etc/rc.subr name=kwnn rcvar=`set_rcvar` diff --git a/japanese/FreeWnn-server/files/twnn.sh.in b/japanese/FreeWnn-server/files/twnn.sh.in index 0553c2bbdea3..753d0b857023 100644 --- a/japanese/FreeWnn-server/files/twnn.sh.in +++ b/japanese/FreeWnn-server/files/twnn.sh.in @@ -6,7 +6,7 @@ # KEYWORD: shutdown # -. %%RC_SUBR%% +. /etc/rc.subr name=twnn rcvar=`set_rcvar` diff --git a/japanese/FreeWnn-server/files/wnn.sh.in b/japanese/FreeWnn-server/files/wnn.sh.in index de6a1f4dc0ed..1a76d02351d3 100644 --- a/japanese/FreeWnn-server/files/wnn.sh.in +++ b/japanese/FreeWnn-server/files/wnn.sh.in @@ -6,7 +6,7 @@ # KEYWORD: shutdown # -. %%RC_SUBR%% +. /etc/rc.subr name=wnn rcvar=`set_rcvar` diff --git a/japanese/ebnetd/files/ebnetd.sh b/japanese/ebnetd/files/ebnetd.sh index 57fff3017479..c3cd2f516883 100644 --- a/japanese/ebnetd/files/ebnetd.sh +++ b/japanese/ebnetd/files/ebnetd.sh @@ -23,7 +23,7 @@ # ebhttpd_flags (str): Set to "" by default. # Extra flags passed to start ebhttpd. -. %%RC_SUBR%% +. /etc/rc.subr # ebnetd name=ebnetd diff --git a/japanese/esecanna/files/esecanna.sh b/japanese/esecanna/files/esecanna.sh index 3fb6b40b747e..fd4390a787f4 100644 --- a/japanese/esecanna/files/esecanna.sh +++ b/japanese/esecanna/files/esecanna.sh @@ -7,7 +7,7 @@ # BEFORE: LOGIN # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=esecanna rcvar=`set_rcvar` diff --git a/japanese/multiskkserv/files/multiskkserv.in b/japanese/multiskkserv/files/multiskkserv.in index fa430dbb2239..93740cdcc30f 100644 --- a/japanese/multiskkserv/files/multiskkserv.in +++ b/japanese/multiskkserv/files/multiskkserv.in @@ -14,7 +14,7 @@ # See `%%PREFIX%%/sbin/multiskkserv -h` for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=multiskkserv rcvar=`set_rcvar` diff --git a/japanese/p5-Mail-SpamAssassin/files/sa-spamd.sh.in b/japanese/p5-Mail-SpamAssassin/files/sa-spamd.sh.in index 5a6c36a325ed..ce42c0a390fd 100644 --- a/japanese/p5-Mail-SpamAssassin/files/sa-spamd.sh.in +++ b/japanese/p5-Mail-SpamAssassin/files/sa-spamd.sh.in @@ -16,7 +16,7 @@ # See spamd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=spamd rcvar=`set_rcvar` diff --git a/japanese/rskkserv/files/rskkserv.sh.in b/japanese/rskkserv/files/rskkserv.sh.in index cdcb5f71fc6c..b9d1e9119f70 100644 --- a/japanese/rskkserv/files/rskkserv.sh.in +++ b/japanese/rskkserv/files/rskkserv.sh.in @@ -12,7 +12,7 @@ prefix=%%PREFIX%% rskkserv_enable=${rskkserv_enable:-"NO"} rskkserv_flags=${rskkserv_flags:-""} -. %%RC_SUBR%% +. /etc/rc.subr name="rskkserv" rcvar=`set_rcvar` diff --git a/japanese/sj3-server/files/sj3.sh.in b/japanese/sj3-server/files/sj3.sh.in index c9d3db5e5ed8..3753bf726c56 100644 --- a/japanese/sj3-server/files/sj3.sh.in +++ b/japanese/sj3-server/files/sj3.sh.in @@ -18,7 +18,7 @@ sj3_enable=${sj3_enable:-"NO"} # Enable sj3 #sj3_program="%%PREFIX%%/sbin/sj3serv" # Location of sj3 -. %%RC_SUBR%% +. /etc/rc.subr name="sj3" rcvar=`set_rcvar` diff --git a/japanese/skkserv/files/skkserv.sh.in b/japanese/skkserv/files/skkserv.sh.in index c8b364a7ca67..ab94342e58cc 100644 --- a/japanese/skkserv/files/skkserv.sh.in +++ b/japanese/skkserv/files/skkserv.sh.in @@ -6,7 +6,7 @@ # KEYWORD: shutdown # -. %%RC_SUBR%% +. /etc/rc.subr name=skkserv rcvar=`set_rcvar` diff --git a/japanese/tiarra/files/tiarra.in b/japanese/tiarra/files/tiarra.in index 816af2e7959a..816c3678d3db 100644 --- a/japanese/tiarra/files/tiarra.in +++ b/japanese/tiarra/files/tiarra.in @@ -16,7 +16,7 @@ tiarra_flags=${tiarra_flags:-"--quiet"} tiarra_user=${tiarra_user:-"%%TIARRA_USER%%"} tiarra_chdir=${tiarra_chdir:-"${prefix}/${name}"} -. %%RC_SUBR%% +. /etc/rc.subr rcvar=`set_rcvar` diff --git a/java/avis/files/avisd.in b/java/avis/files/avisd.in index 50b4b7f0298c..2b1c9f0671e3 100644 --- a/java/avis/files/avisd.in +++ b/java/avis/files/avisd.in @@ -21,7 +21,7 @@ # by default # -. %%RC_SUBR%% +. /etc/rc.subr name="avisd" rcvar=`set_rcvar` diff --git a/java/jboss3/files/jboss3.in b/java/jboss3/files/jboss3.in index b77e6479d88d..8b9a80e4fd65 100644 --- a/java/jboss3/files/jboss3.in +++ b/java/jboss3/files/jboss3.in @@ -16,7 +16,7 @@ # %%APP_SHORTNAME%%_config (str): Set to "" by default # JBoss server config, eg {all|default|minimal|standard} # -. %%RC_SUBR%% +. /etc/rc.subr name="%%APP_SHORTNAME%%" rcvar=`set_rcvar` diff --git a/java/jboss4/files/jboss4.in b/java/jboss4/files/jboss4.in index 4bcb6d3fd8a2..3aa8b32c76b8 100644 --- a/java/jboss4/files/jboss4.in +++ b/java/jboss4/files/jboss4.in @@ -17,7 +17,7 @@ # %%APP_SHORTNAME%%_config (str): Set to "" by default # JBoss server config, eg {all|default|minimal|standard} # -. %%RC_SUBR%% +. /etc/rc.subr name="%%APP_SHORTNAME%%" rcvar=`set_rcvar` diff --git a/java/jboss5/files/jboss5.sh.in b/java/jboss5/files/jboss5.sh.in index 1bb4a35b0434..2f8bc2aa62f0 100644 --- a/java/jboss5/files/jboss5.sh.in +++ b/java/jboss5/files/jboss5.sh.in @@ -15,7 +15,7 @@ # %%APP_SHORTNAME%%_logging (str) JBoss log output. A pipe command may be used. # -. %%RC_SUBR%% +. /etc/rc.subr %%APP_SHORTNAME%%_user="%%USER%%" %%APP_SHORTNAME%%_logdir="%%LOG_DIR%%" diff --git a/lang/erlang/files/epmd.sh.in b/lang/erlang/files/epmd.sh.in index 6658c7c8f226..7782174bb965 100644 --- a/lang/erlang/files/epmd.sh.in +++ b/lang/erlang/files/epmd.sh.in @@ -12,7 +12,7 @@ epmd_enable=${epmd_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=epmd rcvar=`set_rcvar` diff --git a/lang/erlang14/files/epmd.sh.in b/lang/erlang14/files/epmd.sh.in index 6658c7c8f226..7782174bb965 100644 --- a/lang/erlang14/files/epmd.sh.in +++ b/lang/erlang14/files/epmd.sh.in @@ -12,7 +12,7 @@ epmd_enable=${epmd_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=epmd rcvar=`set_rcvar` diff --git a/mail/archivesmtp/files/archivesmtp.in b/mail/archivesmtp/files/archivesmtp.in index 37bee1625c6e..97d85084d720 100644 --- a/mail/archivesmtp/files/archivesmtp.in +++ b/mail/archivesmtp/files/archivesmtp.in @@ -3,7 +3,7 @@ # PROVIDE: archivesmtp # BEFORE: mail -. %%RC_SUBR%% +. /etc/rc.subr name="archivesmtp" rcvar=`set_rcvar` diff --git a/mail/assp/files/510.assp.in b/mail/assp/files/510.assp.in index 0bce9032d2d3..a9de078eadad 100644 --- a/mail/assp/files/510.assp.in +++ b/mail/assp/files/510.assp.in @@ -17,7 +17,7 @@ else %%PERL%% %%DATADIR%%/rebuildspamdb.pl && rc_spamdb=0 || rc_spamdb=3 fi -. %%RC_SUBR%% +. /etc/rc.subr name=assp rcvar=`set_rcvar` load_rc_config $name diff --git a/mail/assp/files/assp.in b/mail/assp/files/assp.in index bc5f119715d1..9fdd0b3b6227 100644 --- a/mail/assp/files/assp.in +++ b/mail/assp/files/assp.in @@ -7,7 +7,7 @@ # REQUIRE: LOGIN # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=assp rcvar=`set_rcvar` diff --git a/mail/assp/files/periodic-assp.sh.in b/mail/assp/files/periodic-assp.sh.in index 0bce9032d2d3..a9de078eadad 100644 --- a/mail/assp/files/periodic-assp.sh.in +++ b/mail/assp/files/periodic-assp.sh.in @@ -17,7 +17,7 @@ else %%PERL%% %%DATADIR%%/rebuildspamdb.pl && rc_spamdb=0 || rc_spamdb=3 fi -. %%RC_SUBR%% +. /etc/rc.subr name=assp rcvar=`set_rcvar` load_rc_config $name diff --git a/mail/batv-milter/files/milter-batv.sh.in b/mail/batv-milter/files/milter-batv.sh.in index e9af1bd7ca76..852a72a1d994 100644 --- a/mail/batv-milter/files/milter-batv.sh.in +++ b/mail/batv-milter/files/milter-batv.sh.in @@ -30,7 +30,7 @@ # milterbatv_key (str): Path to the private key file to sign with. # milterbatv_flags (str): Flags passed to start command. -. %%RC_SUBR%% +. /etc/rc.subr name="milterbatv" rcvar=`set_rcvar` diff --git a/mail/courier-imap/files/courier-imap-imapd-ssl.in b/mail/courier-imap/files/courier-imap-imapd-ssl.in index 4da0a261fdfd..5c140b505ec8 100644 --- a/mail/courier-imap/files/courier-imap-imapd-ssl.in +++ b/mail/courier-imap/files/courier-imap-imapd-ssl.in @@ -15,7 +15,7 @@ courier_imap_imapd_ssl_enable=${courier_imap_imapd_ssl_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="courier_imap_imapd_ssl" rcvar=`set_rcvar` diff --git a/mail/courier-imap/files/courier-imap-imapd.in b/mail/courier-imap/files/courier-imap-imapd.in index bb132e3d3c01..783a18c814b5 100644 --- a/mail/courier-imap/files/courier-imap-imapd.in +++ b/mail/courier-imap/files/courier-imap-imapd.in @@ -15,7 +15,7 @@ courier_imap_imapd_enable=${courier_imap_imapd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="courier_imap_imapd" rcvar=`set_rcvar` diff --git a/mail/courier-imap/files/courier-imap-pop3d-ssl.in b/mail/courier-imap/files/courier-imap-pop3d-ssl.in index 7679a8f4a4b9..165ab126694f 100644 --- a/mail/courier-imap/files/courier-imap-pop3d-ssl.in +++ b/mail/courier-imap/files/courier-imap-pop3d-ssl.in @@ -15,7 +15,7 @@ courier_imap_pop3d_ssl_enable=${courier_imap_pop3d_ssl_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="courier_imap_pop3d_ssl" rcvar=`set_rcvar` diff --git a/mail/courier-imap/files/courier-imap-pop3d.in b/mail/courier-imap/files/courier-imap-pop3d.in index b17f465c4bba..5f8d3fc20c36 100644 --- a/mail/courier-imap/files/courier-imap-pop3d.in +++ b/mail/courier-imap/files/courier-imap-pop3d.in @@ -15,7 +15,7 @@ courier_imap_pop3d_enable=${courier_imap_pop3d_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="courier_imap_pop3d" rcvar=`set_rcvar` diff --git a/mail/courier/files/courier.sh.in b/mail/courier/files/courier.sh.in index 9fe3af90cef4..977b14d61160 100644 --- a/mail/courier/files/courier.sh.in +++ b/mail/courier/files/courier.sh.in @@ -33,7 +33,7 @@ datadir="${prefix}/share/courier" # courier_enable=${courier_enable:-"NO"} # Run Courier-MTA (YES/NO). -. %%RC_SUBR%% +. /etc/rc.subr name="courier" rcvar=`set_rcvar` diff --git a/mail/couriergraph/files/couriergraph.sh.in b/mail/couriergraph/files/couriergraph.sh.in index 6aa96cc61c16..33fb155af860 100644 --- a/mail/couriergraph/files/couriergraph.sh.in +++ b/mail/couriergraph/files/couriergraph.sh.in @@ -11,7 +11,7 @@ # couriergraph_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=couriergraph rcvar=`set_rcvar` diff --git a/mail/cyrus-imapd2/files/imapd.sh.in b/mail/cyrus-imapd2/files/imapd.sh.in index 489c6301d6c4..4fc58fbd38de 100644 --- a/mail/cyrus-imapd2/files/imapd.sh.in +++ b/mail/cyrus-imapd2/files/imapd.sh.in @@ -19,7 +19,7 @@ #cyrus_imapd_program="%%PREFIX%%/cyrus/bin/master" # Location of imapd [ -z "$cyrus_imapd_flags" ] && cyrus_imapd_flags="-d" # Flags to imapd program -. %%RC_SUBR%% +. /etc/rc.subr name="cyrus_imapd" rcvar=`set_rcvar` diff --git a/mail/cyrus-imapd22/files/imapd.sh.in b/mail/cyrus-imapd22/files/imapd.sh.in index 489c6301d6c4..4fc58fbd38de 100644 --- a/mail/cyrus-imapd22/files/imapd.sh.in +++ b/mail/cyrus-imapd22/files/imapd.sh.in @@ -19,7 +19,7 @@ #cyrus_imapd_program="%%PREFIX%%/cyrus/bin/master" # Location of imapd [ -z "$cyrus_imapd_flags" ] && cyrus_imapd_flags="-d" # Flags to imapd program -. %%RC_SUBR%% +. /etc/rc.subr name="cyrus_imapd" rcvar=`set_rcvar` diff --git a/mail/cyrus-imapd23/files/imapd.sh.in b/mail/cyrus-imapd23/files/imapd.sh.in index 489c6301d6c4..4fc58fbd38de 100644 --- a/mail/cyrus-imapd23/files/imapd.sh.in +++ b/mail/cyrus-imapd23/files/imapd.sh.in @@ -19,7 +19,7 @@ #cyrus_imapd_program="%%PREFIX%%/cyrus/bin/master" # Location of imapd [ -z "$cyrus_imapd_flags" ] && cyrus_imapd_flags="-d" # Flags to imapd program -. %%RC_SUBR%% +. /etc/rc.subr name="cyrus_imapd" rcvar=`set_rcvar` diff --git a/mail/cyrus-imapd24/files/imapd.sh.in b/mail/cyrus-imapd24/files/imapd.sh.in index 489c6301d6c4..4fc58fbd38de 100644 --- a/mail/cyrus-imapd24/files/imapd.sh.in +++ b/mail/cyrus-imapd24/files/imapd.sh.in @@ -19,7 +19,7 @@ #cyrus_imapd_program="%%PREFIX%%/cyrus/bin/master" # Location of imapd [ -z "$cyrus_imapd_flags" ] && cyrus_imapd_flags="-d" # Flags to imapd program -. %%RC_SUBR%% +. /etc/rc.subr name="cyrus_imapd" rcvar=`set_rcvar` diff --git a/mail/dbmail/files/dbmail-imapd.sh.in b/mail/dbmail/files/dbmail-imapd.sh.in index dce54a82f917..66d4e34fa0af 100644 --- a/mail/dbmail/files/dbmail-imapd.sh.in +++ b/mail/dbmail/files/dbmail-imapd.sh.in @@ -16,7 +16,7 @@ # See dbmail-imapd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_imapd rcvar=`set_rcvar` diff --git a/mail/dbmail/files/dbmail-lmtpd.sh.in b/mail/dbmail/files/dbmail-lmtpd.sh.in index e62355064847..97677ad4b1f6 100644 --- a/mail/dbmail/files/dbmail-lmtpd.sh.in +++ b/mail/dbmail/files/dbmail-lmtpd.sh.in @@ -16,7 +16,7 @@ # See dbmail-lmtpd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_lmtpd rcvar=`set_rcvar` diff --git a/mail/dbmail/files/dbmail-pop3d.sh.in b/mail/dbmail/files/dbmail-pop3d.sh.in index 8df206a0edec..2430180a14c5 100644 --- a/mail/dbmail/files/dbmail-pop3d.sh.in +++ b/mail/dbmail/files/dbmail-pop3d.sh.in @@ -16,7 +16,7 @@ # See dbmail-pop3d(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_pop3d rcvar=`set_rcvar` diff --git a/mail/dbmail/files/dbmail-timsieved.sh.in b/mail/dbmail/files/dbmail-timsieved.sh.in index 63a2d5b97cda..5db24fffb623 100644 --- a/mail/dbmail/files/dbmail-timsieved.sh.in +++ b/mail/dbmail/files/dbmail-timsieved.sh.in @@ -16,7 +16,7 @@ # See dbmail-timsieved(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_timsieved rcvar=`set_rcvar` diff --git a/mail/dbmail20/files/dbmail-imapd.sh.in b/mail/dbmail20/files/dbmail-imapd.sh.in index dce54a82f917..66d4e34fa0af 100644 --- a/mail/dbmail20/files/dbmail-imapd.sh.in +++ b/mail/dbmail20/files/dbmail-imapd.sh.in @@ -16,7 +16,7 @@ # See dbmail-imapd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_imapd rcvar=`set_rcvar` diff --git a/mail/dbmail20/files/dbmail-lmtpd.sh.in b/mail/dbmail20/files/dbmail-lmtpd.sh.in index e62355064847..97677ad4b1f6 100644 --- a/mail/dbmail20/files/dbmail-lmtpd.sh.in +++ b/mail/dbmail20/files/dbmail-lmtpd.sh.in @@ -16,7 +16,7 @@ # See dbmail-lmtpd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_lmtpd rcvar=`set_rcvar` diff --git a/mail/dbmail20/files/dbmail-pop3d.sh.in b/mail/dbmail20/files/dbmail-pop3d.sh.in index 8df206a0edec..2430180a14c5 100644 --- a/mail/dbmail20/files/dbmail-pop3d.sh.in +++ b/mail/dbmail20/files/dbmail-pop3d.sh.in @@ -16,7 +16,7 @@ # See dbmail-pop3d(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_pop3d rcvar=`set_rcvar` diff --git a/mail/dbmail21/files/dbmail-imapd.sh.in b/mail/dbmail21/files/dbmail-imapd.sh.in index dce54a82f917..66d4e34fa0af 100644 --- a/mail/dbmail21/files/dbmail-imapd.sh.in +++ b/mail/dbmail21/files/dbmail-imapd.sh.in @@ -16,7 +16,7 @@ # See dbmail-imapd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_imapd rcvar=`set_rcvar` diff --git a/mail/dbmail21/files/dbmail-lmtpd.sh.in b/mail/dbmail21/files/dbmail-lmtpd.sh.in index e62355064847..97677ad4b1f6 100644 --- a/mail/dbmail21/files/dbmail-lmtpd.sh.in +++ b/mail/dbmail21/files/dbmail-lmtpd.sh.in @@ -16,7 +16,7 @@ # See dbmail-lmtpd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_lmtpd rcvar=`set_rcvar` diff --git a/mail/dbmail21/files/dbmail-pop3d.sh.in b/mail/dbmail21/files/dbmail-pop3d.sh.in index 132177736ce5..8219921e6b66 100644 --- a/mail/dbmail21/files/dbmail-pop3d.sh.in +++ b/mail/dbmail21/files/dbmail-pop3d.sh.in @@ -16,7 +16,7 @@ # See dbmail-pop3d(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_pop3d rcvar=`set_rcvar` diff --git a/mail/dbmail21/files/dbmail-timsieved.sh.in b/mail/dbmail21/files/dbmail-timsieved.sh.in index 63a2d5b97cda..5db24fffb623 100644 --- a/mail/dbmail21/files/dbmail-timsieved.sh.in +++ b/mail/dbmail21/files/dbmail-timsieved.sh.in @@ -16,7 +16,7 @@ # See dbmail-timsieved(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_timsieved rcvar=`set_rcvar` diff --git a/mail/dbmail22/files/dbmail-imapd.sh.in b/mail/dbmail22/files/dbmail-imapd.sh.in index dce54a82f917..66d4e34fa0af 100644 --- a/mail/dbmail22/files/dbmail-imapd.sh.in +++ b/mail/dbmail22/files/dbmail-imapd.sh.in @@ -16,7 +16,7 @@ # See dbmail-imapd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_imapd rcvar=`set_rcvar` diff --git a/mail/dbmail22/files/dbmail-lmtpd.sh.in b/mail/dbmail22/files/dbmail-lmtpd.sh.in index e62355064847..97677ad4b1f6 100644 --- a/mail/dbmail22/files/dbmail-lmtpd.sh.in +++ b/mail/dbmail22/files/dbmail-lmtpd.sh.in @@ -16,7 +16,7 @@ # See dbmail-lmtpd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_lmtpd rcvar=`set_rcvar` diff --git a/mail/dbmail22/files/dbmail-pop3d.sh.in b/mail/dbmail22/files/dbmail-pop3d.sh.in index 8df206a0edec..2430180a14c5 100644 --- a/mail/dbmail22/files/dbmail-pop3d.sh.in +++ b/mail/dbmail22/files/dbmail-pop3d.sh.in @@ -16,7 +16,7 @@ # See dbmail-pop3d(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_pop3d rcvar=`set_rcvar` diff --git a/mail/dbmail22/files/dbmail-timsieved.sh.in b/mail/dbmail22/files/dbmail-timsieved.sh.in index 63a2d5b97cda..5db24fffb623 100644 --- a/mail/dbmail22/files/dbmail-timsieved.sh.in +++ b/mail/dbmail22/files/dbmail-timsieved.sh.in @@ -16,7 +16,7 @@ # See dbmail-timsieved(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_timsieved rcvar=`set_rcvar` diff --git a/mail/dbmail23/files/dbmail-imapd.sh.in b/mail/dbmail23/files/dbmail-imapd.sh.in index dce54a82f917..66d4e34fa0af 100644 --- a/mail/dbmail23/files/dbmail-imapd.sh.in +++ b/mail/dbmail23/files/dbmail-imapd.sh.in @@ -16,7 +16,7 @@ # See dbmail-imapd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_imapd rcvar=`set_rcvar` diff --git a/mail/dbmail23/files/dbmail-lmtpd.sh.in b/mail/dbmail23/files/dbmail-lmtpd.sh.in index e62355064847..97677ad4b1f6 100644 --- a/mail/dbmail23/files/dbmail-lmtpd.sh.in +++ b/mail/dbmail23/files/dbmail-lmtpd.sh.in @@ -16,7 +16,7 @@ # See dbmail-lmtpd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_lmtpd rcvar=`set_rcvar` diff --git a/mail/dbmail23/files/dbmail-pop3d.sh.in b/mail/dbmail23/files/dbmail-pop3d.sh.in index 8df206a0edec..2430180a14c5 100644 --- a/mail/dbmail23/files/dbmail-pop3d.sh.in +++ b/mail/dbmail23/files/dbmail-pop3d.sh.in @@ -16,7 +16,7 @@ # See dbmail-pop3d(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_pop3d rcvar=`set_rcvar` diff --git a/mail/dbmail23/files/dbmail-timsieved.sh.in b/mail/dbmail23/files/dbmail-timsieved.sh.in index 63a2d5b97cda..5db24fffb623 100644 --- a/mail/dbmail23/files/dbmail-timsieved.sh.in +++ b/mail/dbmail23/files/dbmail-timsieved.sh.in @@ -16,7 +16,7 @@ # See dbmail-timsieved(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=dbmail_timsieved rcvar=`set_rcvar` diff --git a/mail/dcc-dccd/files/dccd.sh.in b/mail/dcc-dccd/files/dccd.sh.in index edb06235129b..1de2096f108e 100644 --- a/mail/dcc-dccd/files/dccd.sh.in +++ b/mail/dcc-dccd/files/dccd.sh.in @@ -22,7 +22,7 @@ # See %%DCCHOME%%/dcc_conf to configure startup options # -. %%RC_SUBR%% +. /etc/rc.subr name=dccd rcvar=`set_rcvar` diff --git a/mail/dcc-dccd/files/dccgrey.sh.in b/mail/dcc-dccd/files/dccgrey.sh.in index e578bf7df26a..df2e6c051cbc 100644 --- a/mail/dcc-dccd/files/dccgrey.sh.in +++ b/mail/dcc-dccd/files/dccgrey.sh.in @@ -22,7 +22,7 @@ # See %%DCCHOME%%/dcc_conf to configure startup options # -. %%RC_SUBR%% +. /etc/rc.subr name=dccgrey rcvar=`set_rcvar` diff --git a/mail/dcc-dccd/files/dccifd.sh.in b/mail/dcc-dccd/files/dccifd.sh.in index 669cc12727ee..7a5d2051bf11 100644 --- a/mail/dcc-dccd/files/dccifd.sh.in +++ b/mail/dcc-dccd/files/dccifd.sh.in @@ -22,7 +22,7 @@ # See %%DCCHOME%%/dcc_conf to configure startup options # -. %%RC_SUBR%% +. /etc/rc.subr name=dccifd rcvar=`set_rcvar` diff --git a/mail/dcc-dccd/files/dccm.sh.in b/mail/dcc-dccd/files/dccm.sh.in index 805f185a7fc2..4e3a2400c509 100644 --- a/mail/dcc-dccd/files/dccm.sh.in +++ b/mail/dcc-dccd/files/dccm.sh.in @@ -22,7 +22,7 @@ # See %%DCCHOME%%/dcc_conf to configure startup options # -. %%RC_SUBR%% +. /etc/rc.subr name=dccm rcvar=`set_rcvar` diff --git a/mail/dk-milter/files/milter-dk.sh.in b/mail/dk-milter/files/milter-dk.sh.in index 0f7b2ff1ffd0..07310a9a2c2c 100644 --- a/mail/dk-milter/files/milter-dk.sh.in +++ b/mail/dk-milter/files/milter-dk.sh.in @@ -29,7 +29,7 @@ # Sockets must be different from each other. # -. %%RC_SUBR%% +. /etc/rc.subr name="milterdk" rcvar=`set_rcvar` diff --git a/mail/dkfilter/files/dkfilter_in.in b/mail/dkfilter/files/dkfilter_in.in index cb65ea16884b..f11ec2b75c29 100644 --- a/mail/dkfilter/files/dkfilter_in.in +++ b/mail/dkfilter/files/dkfilter_in.in @@ -13,7 +13,7 @@ # dkfilter_in_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=dkfilter_in rcvar=`set_rcvar` diff --git a/mail/dkfilter/files/dkfilter_out.in b/mail/dkfilter/files/dkfilter_out.in index feb4a3f2d021..6fb1264717a9 100644 --- a/mail/dkfilter/files/dkfilter_out.in +++ b/mail/dkfilter/files/dkfilter_out.in @@ -16,7 +16,7 @@ # set it to DNS and configurate dkfilter_flags. # -. %%RC_SUBR%% +. /etc/rc.subr name="dkfilter_out" rcvar=`set_rcvar` diff --git a/mail/dkim-milter/files/milter-dkim.sh.in b/mail/dkim-milter/files/milter-dkim.sh.in index 8e1dee427f4a..0165031f1781 100644 --- a/mail/dkim-milter/files/milter-dkim.sh.in +++ b/mail/dkim-milter/files/milter-dkim.sh.in @@ -31,7 +31,7 @@ # milterdkim_alg (str): Algorithm to use when signing # milterdkim_flags (str): Flags passed to start command. -. %%RC_SUBR%% +. /etc/rc.subr name="milterdkim" rcvar=`set_rcvar` diff --git a/mail/dkimproxy/files/dkimproxy_in.in b/mail/dkimproxy/files/dkimproxy_in.in index 0614a47bd0f8..f1abd7774ec1 100644 --- a/mail/dkimproxy/files/dkimproxy_in.in +++ b/mail/dkimproxy/files/dkimproxy_in.in @@ -13,7 +13,7 @@ # dkimproxy_in_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=dkimproxy_in rcvar=`set_rcvar` diff --git a/mail/dkimproxy/files/dkimproxy_out.in b/mail/dkimproxy/files/dkimproxy_out.in index 5d69b7c44765..b49a7a2dba2a 100644 --- a/mail/dkimproxy/files/dkimproxy_out.in +++ b/mail/dkimproxy/files/dkimproxy_out.in @@ -16,7 +16,7 @@ # set it to DNS and configurate dkimproxy_out_flags. # -. %%RC_SUBR%% +. /etc/rc.subr name="dkimproxy_out" rcvar=`set_rcvar` diff --git a/mail/dovecot/files/dovecot.sh.in b/mail/dovecot/files/dovecot.sh.in index 2f3a84a38ca8..9f746a43f3cd 100644 --- a/mail/dovecot/files/dovecot.sh.in +++ b/mail/dovecot/files/dovecot.sh.in @@ -12,7 +12,7 @@ # /etc/rc.conf.local # /etc/rc.conf.d/dovecot -. %%RC_SUBR%% +. /etc/rc.subr name=dovecot rcvar=`set_rcvar` diff --git a/mail/drac/files/dracd.sh.in b/mail/drac/files/dracd.sh.in index e7e1eeceb65e..14dd608cc207 100644 --- a/mail/drac/files/dracd.sh.in +++ b/mail/drac/files/dracd.sh.in @@ -13,7 +13,7 @@ # Extra flags passed to rpc.dracd. # -. %%RC_SUBR%% +. /etc/rc.subr name="dracd" rcvar=`set_rcvar` diff --git a/mail/dspam-devel/files/dspam-devel.in b/mail/dspam-devel/files/dspam-devel.in index dea1d3b3e50b..3e6564cbf640 100644 --- a/mail/dspam-devel/files/dspam-devel.in +++ b/mail/dspam-devel/files/dspam-devel.in @@ -15,7 +15,7 @@ # you can also set the pid file via dspam_pidfile # -. %%RC_SUBR%% +. /etc/rc.subr name="dspam" rcvar=${name}_enable diff --git a/mail/dspam/files/dspam.in b/mail/dspam/files/dspam.in index 4577ca4d3090..c6756868e9dc 100644 --- a/mail/dspam/files/dspam.in +++ b/mail/dspam/files/dspam.in @@ -16,7 +16,7 @@ # you can also set the pid file via dspam_pidfile # -. %%RC_SUBR%% +. /etc/rc.subr name="dspam" rcvar=${name}_enable diff --git a/mail/enma/files/milter-enma.in b/mail/enma/files/milter-enma.in index b56f11a046ab..219ac4f97c64 100644 --- a/mail/enma/files/milter-enma.in +++ b/mail/enma/files/milter-enma.in @@ -26,7 +26,7 @@ milterenma_cfgfile=${milterenma_cfgfile:-"%%PREFIX%%/etc/enma.conf"} milterenma_pid=${milterenma_pid:-"/var/run/milterenma/enma.pid"} milterenma_uid=${milterenma_uid:-"mailnull"} -. %%RC_SUBR%% +. /etc/rc.subr name="milterenma" rcvar=`set_rcvar` diff --git a/mail/exilog/files/exilog.sh.in b/mail/exilog/files/exilog.sh.in index 2453d30df454..66b77e3d9756 100644 --- a/mail/exilog/files/exilog.sh.in +++ b/mail/exilog/files/exilog.sh.in @@ -12,7 +12,7 @@ # # also uncomment 'use_pretty_names' => 'no' in exilog.conf file -. %%RC_SUBR%% +. /etc/rc.subr name=exilog rcvar=`set_rcvar` diff --git a/mail/exim/files/exim.sh.in b/mail/exim/files/exim.sh.in index 4a1e0ea1a86d..49f62bf1b7fe 100644 --- a/mail/exim/files/exim.sh.in +++ b/mail/exim/files/exim.sh.in @@ -17,7 +17,7 @@ # See exim(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=exim rcvar=`set_rcvar` diff --git a/mail/fetchmail/files/fetchmail.in b/mail/fetchmail/files/fetchmail.in index 61597d42e7a7..a8fc0863a74f 100644 --- a/mail/fetchmail/files/fetchmail.in +++ b/mail/fetchmail/files/fetchmail.in @@ -56,7 +56,7 @@ # the man page fetchmail(1), the documentation in %%PREFIX%%/share/doc/fetchmail/ # and/or the material found at http://fetchmail.berlios.de/. -. %%RC_SUBR%% +. /etc/rc.subr name=fetchmail rcvar=`set_rcvar` diff --git a/mail/gld/files/gld.in b/mail/gld/files/gld.in index cfe510d15137..74218f4cd2e9 100644 --- a/mail/gld/files/gld.in +++ b/mail/gld/files/gld.in @@ -15,7 +15,7 @@ # gld_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=gld rcvar=`set_rcvar` diff --git a/mail/james/files/james.sh.in b/mail/james/files/james.sh.in index c097f6b37a9d..3f78bfb4d16e 100644 --- a/mail/james/files/james.sh.in +++ b/mail/james/files/james.sh.in @@ -49,7 +49,7 @@ james%%JAMES_VERSION%%_base="${james%%JAMES_VERSION%%_base:-"%%JAMES_HOME%%"}" james%%JAMES_VERSION%%_tmpdir="${james%%JAMES_VERSION%%_tmpdir:-"/tmp"}" james%%JAMES_VERSION%%_stop_timeout="${james%%JAMES_VERSION%%_stop_timeout:-"10"}" -. %%RC_SUBR%% +. /etc/rc.subr name="james%%JAMES_VERSION%%" rcvar=`set_rcvar` diff --git a/mail/mailgraph/files/mailgraph.in b/mail/mailgraph/files/mailgraph.in index 322a896adf26..bcbcdc353b03 100644 --- a/mail/mailgraph/files/mailgraph.in +++ b/mail/mailgraph/files/mailgraph.in @@ -10,7 +10,7 @@ # mailgraph_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="mailgraph" rcvar=`set_rcvar` diff --git a/mail/mailman/files/mailman.in b/mail/mailman/files/mailman.in index f80ab32ba465..d3f4818c0d73 100644 --- a/mail/mailman/files/mailman.in +++ b/mail/mailman/files/mailman.in @@ -10,7 +10,7 @@ # mailman_enable (bool): Set it to "YES" to enable mailman. # Default is "NO". -. %%RC_SUBR%% +. /etc/rc.subr name="mailman" rcvar=${name}_enable diff --git a/mail/mailscanner-devel/files/mailscanner.in b/mail/mailscanner-devel/files/mailscanner.in index 4cfeddc41be8..0c031baebd93 100644 --- a/mail/mailscanner-devel/files/mailscanner.in +++ b/mail/mailscanner-devel/files/mailscanner.in @@ -12,7 +12,7 @@ # mailscanner_pidfile (path): Set to "/var/run/MailScanner.pid" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="mailscanner" rcvar=`set_rcvar` diff --git a/mail/mailscanner-devel/files/mta.in b/mail/mailscanner-devel/files/mta.in index 7f24a03b9d01..dcf2089dd818 100644 --- a/mail/mailscanner-devel/files/mta.in +++ b/mail/mailscanner-devel/files/mta.in @@ -58,7 +58,7 @@ PATH=$PATH:/sbin:/usr/sbin; export PATH -. %%RC_SUBR%% +. /etc/rc.subr name="mta" rcvar=`set_rcvar` diff --git a/mail/mailscanner-devel/files/patch-bin-cron-sa-update.cron b/mail/mailscanner-devel/files/patch-bin-cron-sa-update.cron index 465acb851e4d..7370a7effc24 100644 --- a/mail/mailscanner-devel/files/patch-bin-cron-sa-update.cron +++ b/mail/mailscanner-devel/files/patch-bin-cron-sa-update.cron @@ -11,7 +11,7 @@ +# order to spread virus updates round the clock. 1800 seconds = 30 minutes. +# Set this to 0 to disable it + -+. %%RC_SUBR%% ++. /etc/rc.subr + +name="mailscanner" +rcvar=`set_rcvar` diff --git a/mail/mailscanner-devel/files/patch-bin-cron-update_phishing_sites.cron b/mail/mailscanner-devel/files/patch-bin-cron-update_phishing_sites.cron index 245eaa5747f2..54a239901092 100644 --- a/mail/mailscanner-devel/files/patch-bin-cron-update_phishing_sites.cron +++ b/mail/mailscanner-devel/files/patch-bin-cron-update_phishing_sites.cron @@ -15,7 +15,7 @@ +# order to spread virus updates round the clock. 1800 seconds = 30 minutes. +# Set this to 0 to disable it + -+. %%RC_SUBR%% ++. /etc/rc.subr + +name="mailscanner" +rcvar=`set_rcvar` diff --git a/mail/mailscanner-devel/files/patch-bin-cron-update_virus_scanners.cron b/mail/mailscanner-devel/files/patch-bin-cron-update_virus_scanners.cron index b370d9508f9f..a6976863a1e6 100644 --- a/mail/mailscanner-devel/files/patch-bin-cron-update_virus_scanners.cron +++ b/mail/mailscanner-devel/files/patch-bin-cron-update_virus_scanners.cron @@ -15,7 +15,7 @@ +# order to spread virus updates round the clock. 1800 seconds = 30 minutes. +# Set this to 0 to disable it + -+. %%RC_SUBR%% ++. /etc/rc.subr + +name="mailscanner" +rcvar=`set_rcvar` diff --git a/mail/mailscanner/files/mailscanner.in b/mail/mailscanner/files/mailscanner.in index 10bfe7d0c5e0..5ff9dc4b83e6 100644 --- a/mail/mailscanner/files/mailscanner.in +++ b/mail/mailscanner/files/mailscanner.in @@ -13,7 +13,7 @@ # mailscanner_user (str): Set to "root" by default. If you changed the "Run As User" variable in MailScanner.conf and wish to disable taint mode, you MUST also set the same value here. # -. %%RC_SUBR%% +. /etc/rc.subr name="mailscanner" rcvar=`set_rcvar` diff --git a/mail/mailscanner/files/mta.in b/mail/mailscanner/files/mta.in index 7f24a03b9d01..dcf2089dd818 100644 --- a/mail/mailscanner/files/mta.in +++ b/mail/mailscanner/files/mta.in @@ -58,7 +58,7 @@ PATH=$PATH:/sbin:/usr/sbin; export PATH -. %%RC_SUBR%% +. /etc/rc.subr name="mta" rcvar=`set_rcvar` diff --git a/mail/mailscanner/files/patch-bin-cron-update_phishing_sites.cron b/mail/mailscanner/files/patch-bin-cron-update_phishing_sites.cron index 245eaa5747f2..54a239901092 100644 --- a/mail/mailscanner/files/patch-bin-cron-update_phishing_sites.cron +++ b/mail/mailscanner/files/patch-bin-cron-update_phishing_sites.cron @@ -15,7 +15,7 @@ +# order to spread virus updates round the clock. 1800 seconds = 30 minutes. +# Set this to 0 to disable it + -+. %%RC_SUBR%% ++. /etc/rc.subr + +name="mailscanner" +rcvar=`set_rcvar` diff --git a/mail/mailscanner/files/patch-bin-cron-update_virus_scanners.cron b/mail/mailscanner/files/patch-bin-cron-update_virus_scanners.cron index b370d9508f9f..a6976863a1e6 100644 --- a/mail/mailscanner/files/patch-bin-cron-update_virus_scanners.cron +++ b/mail/mailscanner/files/patch-bin-cron-update_virus_scanners.cron @@ -15,7 +15,7 @@ +# order to spread virus updates round the clock. 1800 seconds = 30 minutes. +# Set this to 0 to disable it + -+. %%RC_SUBR%% ++. /etc/rc.subr + +name="mailscanner" +rcvar=`set_rcvar` diff --git a/mail/masqmail/files/masqmail.in b/mail/masqmail/files/masqmail.in index dfb441f80a7c..1af5b37688d4 100644 --- a/mail/masqmail/files/masqmail.in +++ b/mail/masqmail/files/masqmail.in @@ -17,7 +17,7 @@ # See masqmail(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=masqmail rcvar=`set_rcvar` diff --git a/mail/milter-bogom/files/milter-bogom.sh.in b/mail/milter-bogom/files/milter-bogom.sh.in index a7a3448b6f88..d4768dd27df8 100644 --- a/mail/milter-bogom/files/milter-bogom.sh.in +++ b/mail/milter-bogom/files/milter-bogom.sh.in @@ -5,7 +5,7 @@ # BEFORE: sendmail # KEYWORD: milterbogom -. %%RC_SUBR%% +. /etc/rc.subr name=milterbogom rcvar=`set_rcvar` diff --git a/mail/milter-greylist-devel/files/milter-greylist.in b/mail/milter-greylist-devel/files/milter-greylist.in index 536a2e7e5090..11186765cf43 100644 --- a/mail/milter-greylist-devel/files/milter-greylist.in +++ b/mail/milter-greylist-devel/files/milter-greylist.in @@ -14,7 +14,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr name="miltergreylist" rcvar=`set_rcvar` diff --git a/mail/milter-greylist/files/milter-greylist.in b/mail/milter-greylist/files/milter-greylist.in index 580e8e0bbdee..72aeb3d65a97 100644 --- a/mail/milter-greylist/files/milter-greylist.in +++ b/mail/milter-greylist/files/milter-greylist.in @@ -14,7 +14,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr name="miltergreylist" rcvar=`set_rcvar` diff --git a/mail/milter-manager/files/milter-manager.in b/mail/milter-manager/files/milter-manager.in index 505dd2462857..06971055baac 100644 --- a/mail/milter-manager/files/milter-manager.in +++ b/mail/milter-manager/files/milter-manager.in @@ -30,7 +30,7 @@ # Sockets must be different from each other. # miltermanager_flags (str): Flags passed to start command. -. %%RC_SUBR%% +. /etc/rc.subr name="miltermanager" rcvar=`set_rcvar` diff --git a/mail/missey/files/mps.sh.in b/mail/missey/files/mps.sh.in index 2bc785013751..cf5c8c5f313a 100644 --- a/mail/missey/files/mps.sh.in +++ b/mail/missey/files/mps.sh.in @@ -12,7 +12,7 @@ # Set it to "YES" to enable Missey POP3 Server. # -. %%RC_SUBR%% +. /etc/rc.subr name="mps" rcvar=`set_rcvar` diff --git a/mail/mixminion/files/mixminiond.in b/mail/mixminion/files/mixminiond.in index 3201f87fe525..6c32b36f41e4 100644 --- a/mail/mixminion/files/mixminiond.in +++ b/mail/mixminion/files/mixminiond.in @@ -14,7 +14,7 @@ # mixminiond_user (str): Mixminiond user. Default _mixminion # -. %%RC_SUBR%% +. /etc/rc.subr name="mixminiond" rcvar=${name}_enable diff --git a/mail/nullmailer/files/nullmailer.in b/mail/nullmailer/files/nullmailer.in index 6f3650990a89..1d6978dbd305 100644 --- a/mail/nullmailer/files/nullmailer.in +++ b/mail/nullmailer/files/nullmailer.in @@ -9,7 +9,7 @@ # nullmailer_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=nullmailer rcvar=`set_rcvar` diff --git a/mail/opendkim/files/milter-opendkim.in b/mail/opendkim/files/milter-opendkim.in index b3df99541f84..0098eb267a6b 100644 --- a/mail/opendkim/files/milter-opendkim.in +++ b/mail/opendkim/files/milter-opendkim.in @@ -31,7 +31,7 @@ # milteropendkim_alg (str): Algorithm to use when signing # milteropendkim_flags (str): Flags passed to start command. -. %%RC_SUBR%% +. /etc/rc.subr name="milteropendkim" rcvar=`set_rcvar` diff --git a/mail/ovs/files/ovs.sh.in b/mail/ovs/files/ovs.sh.in index 8702b9caea1f..229c7692f13e 100644 --- a/mail/ovs/files/ovs.sh.in +++ b/mail/ovs/files/ovs.sh.in @@ -10,7 +10,7 @@ # ovs_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="ovs" rcvar=`set_rcvar` diff --git a/mail/p3scan/files/p3scan.in b/mail/p3scan/files/p3scan.in index a92100c131dd..dde820b6449c 100644 --- a/mail/p3scan/files/p3scan.in +++ b/mail/p3scan/files/p3scan.in @@ -12,7 +12,7 @@ # p3scan_config="%%PREFIX%%/etc/p3scan/p3scan.conf # -. %%RC_SUBR%% +. /etc/rc.subr name=p3scan rcvar=`set_rcvar` diff --git a/mail/p5-Mail-SpamAssassin/files/sa-spamd.sh.in b/mail/p5-Mail-SpamAssassin/files/sa-spamd.sh.in index 5a6c36a325ed..ce42c0a390fd 100644 --- a/mail/p5-Mail-SpamAssassin/files/sa-spamd.sh.in +++ b/mail/p5-Mail-SpamAssassin/files/sa-spamd.sh.in @@ -16,7 +16,7 @@ # See spamd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=spamd rcvar=`set_rcvar` diff --git a/mail/perdition/files/perdition.imap4.in b/mail/perdition/files/perdition.imap4.in index ecf021ef9f3b..4a53f39a25f4 100644 --- a/mail/perdition/files/perdition.imap4.in +++ b/mail/perdition/files/perdition.imap4.in @@ -16,7 +16,7 @@ perdition_imap4_enable=${perdition_imap4_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="perdition_imap4" rcvar=`set_rcvar` diff --git a/mail/perdition/files/perdition.imap4s.in b/mail/perdition/files/perdition.imap4s.in index dce3c92fd9e5..d257df64d1e4 100644 --- a/mail/perdition/files/perdition.imap4s.in +++ b/mail/perdition/files/perdition.imap4s.in @@ -16,7 +16,7 @@ perdition_imap4s_enable=${perdition_imap4s_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="perdition_imap4s" rcvar=`set_rcvar` diff --git a/mail/perdition/files/perdition.imaps.in b/mail/perdition/files/perdition.imaps.in index 9ff3d9bbabe6..997bd4e3cc61 100644 --- a/mail/perdition/files/perdition.imaps.in +++ b/mail/perdition/files/perdition.imaps.in @@ -16,7 +16,7 @@ perdition_imaps_enable=${perdition_imaps_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="perdition_imaps" rcvar=`set_rcvar` diff --git a/mail/perdition/files/perdition.in b/mail/perdition/files/perdition.in index 0243270943b1..37197d213ece 100644 --- a/mail/perdition/files/perdition.in +++ b/mail/perdition/files/perdition.in @@ -16,7 +16,7 @@ perdition_enable=${perdition_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="perdition" rcvar=`set_rcvar` diff --git a/mail/perdition/files/perdition.pop3.in b/mail/perdition/files/perdition.pop3.in index 1f73c25fe5a1..f95a7e370f4c 100644 --- a/mail/perdition/files/perdition.pop3.in +++ b/mail/perdition/files/perdition.pop3.in @@ -16,7 +16,7 @@ perdition_pop3_enable=${perdition_pop3_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="perdition_pop3" rcvar=`set_rcvar` diff --git a/mail/perdition/files/perdition.pop3s.in b/mail/perdition/files/perdition.pop3s.in index 26f3cbd1d5ff..e0a3fbac2f5a 100644 --- a/mail/perdition/files/perdition.pop3s.in +++ b/mail/perdition/files/perdition.pop3s.in @@ -16,7 +16,7 @@ perdition_pop3s_enable=${perdition_pop3s_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="perdition_pop3s" rcvar=`set_rcvar` diff --git a/mail/policyd2/files/policyd2.sh.in b/mail/policyd2/files/policyd2.sh.in index 2300abe0866a..d68e8bb934c1 100644 --- a/mail/policyd2/files/policyd2.sh.in +++ b/mail/policyd2/files/policyd2.sh.in @@ -13,7 +13,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr name="policyd2" rcvar=`set_rcvar` diff --git a/mail/pop-before-smtp/files/pop-before-smtp.sh.in b/mail/pop-before-smtp/files/pop-before-smtp.sh.in index 7ed1e2688a89..b81f25a95fb1 100644 --- a/mail/pop-before-smtp/files/pop-before-smtp.sh.in +++ b/mail/pop-before-smtp/files/pop-before-smtp.sh.in @@ -33,7 +33,7 @@ # Default: /var/run/pop-before-smtp.pid # -. %%RC_SUBR%% +. /etc/rc.subr # sh interprets dash chars as the numeric minus operator... name="pop_before_smtp" diff --git a/mail/pop3proxy/files/pop3proxyd.in b/mail/pop3proxy/files/pop3proxyd.in index f0f8a74b3064..7d13b9ea67b2 100644 --- a/mail/pop3proxy/files/pop3proxyd.in +++ b/mail/pop3proxy/files/pop3proxyd.in @@ -14,7 +14,7 @@ #pop3proxyd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=pop3proxyd rcvar=`set_rcvar` diff --git a/mail/popa3d/files/popa3d.in b/mail/popa3d/files/popa3d.in index 03e8caa931da..0bb18f080a08 100644 --- a/mail/popa3d/files/popa3d.in +++ b/mail/popa3d/files/popa3d.in @@ -3,7 +3,7 @@ # PROVIDE: popa3d # REQUIRE: LOGIN cleanvar -. %%RC_SUBR%% +. /etc/rc.subr name="popa3d" rcvar=`set_rcvar` diff --git a/mail/popular/files/0ringd.sh.in b/mail/popular/files/0ringd.sh.in index 5341113a47f3..1d0947b9dfda 100644 --- a/mail/popular/files/0ringd.sh.in +++ b/mail/popular/files/0ringd.sh.in @@ -12,7 +12,7 @@ # ringd_enable="YES" # enable ringd # ringd_socket_user="pop" # user to own /var/run sockets -. %%RC_SUBR%% +. /etc/rc.subr name="ringd" rcvar=`set_rcvar` diff --git a/mail/popular/files/pcheckd.sh.in b/mail/popular/files/pcheckd.sh.in index f1b4654091c0..1aac331b4056 100644 --- a/mail/popular/files/pcheckd.sh.in +++ b/mail/popular/files/pcheckd.sh.in @@ -12,7 +12,7 @@ # pcheckd_enable="YES" # enable pcheckd # pcheckd_user="pop" # user for pcheckd -. %%RC_SUBR%% +. /etc/rc.subr name="pcheckd" rcvar=`set_rcvar` diff --git a/mail/popular/files/pproxy.sh.in b/mail/popular/files/pproxy.sh.in index 41876b4cbd33..f1039e6062eb 100644 --- a/mail/popular/files/pproxy.sh.in +++ b/mail/popular/files/pproxy.sh.in @@ -12,7 +12,7 @@ # pproxy_enable="YES" # enable pproxy # pproxy_user="pop" # user to pproxy -. %%RC_SUBR%% +. /etc/rc.subr name="pproxy" rcvar=`set_rcvar` diff --git a/mail/popular/files/pserv.sh.in b/mail/popular/files/pserv.sh.in index d86008220163..b1984e7092ee 100644 --- a/mail/popular/files/pserv.sh.in +++ b/mail/popular/files/pserv.sh.in @@ -12,7 +12,7 @@ # pserv_enable="YES" # enable pserv # pserv_user="pop" # user for pserv -. %%RC_SUBR%% +. /etc/rc.subr name="pserv" rcvar=`set_rcvar` diff --git a/mail/postfix-current/files/postfix.sh.in b/mail/postfix-current/files/postfix.sh.in index c0065f1d4b9c..44aa542f07a8 100644 --- a/mail/postfix-current/files/postfix.sh.in +++ b/mail/postfix-current/files/postfix.sh.in @@ -18,7 +18,7 @@ # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="postfix" rcvar=${name}_enable diff --git a/mail/postfix-policyd-sf/files/policyd.sh.in b/mail/postfix-policyd-sf/files/policyd.sh.in index 1b2e85ca52ba..cd3b346732f3 100644 --- a/mail/postfix-policyd-sf/files/policyd.sh.in +++ b/mail/postfix-policyd-sf/files/policyd.sh.in @@ -14,7 +14,7 @@ # postfix_policyd_sf_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=postfix_policyd_sf rcvar=`set_rcvar` diff --git a/mail/postfix-postfwd/files/postfwd.in b/mail/postfix-postfwd/files/postfwd.in index 78ede09dceff..19d91864bda5 100644 --- a/mail/postfix-postfwd/files/postfwd.in +++ b/mail/postfix-postfwd/files/postfwd.in @@ -14,7 +14,7 @@ # by default. # -. %%RC_SUBR%% +. /etc/rc.subr name=postfwd rcvar=${name}_enable diff --git a/mail/postfix/files/postfix.sh.in b/mail/postfix/files/postfix.sh.in index 04b59ff1ed2e..91e765d14cad 100644 --- a/mail/postfix/files/postfix.sh.in +++ b/mail/postfix/files/postfix.sh.in @@ -18,7 +18,7 @@ # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="postfix" rcvar=${name}_enable diff --git a/mail/postfix23/files/postfix.sh.in b/mail/postfix23/files/postfix.sh.in index c0065f1d4b9c..44aa542f07a8 100644 --- a/mail/postfix23/files/postfix.sh.in +++ b/mail/postfix23/files/postfix.sh.in @@ -18,7 +18,7 @@ # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="postfix" rcvar=${name}_enable diff --git a/mail/postfix24/files/postfix.sh.in b/mail/postfix24/files/postfix.sh.in index c0065f1d4b9c..44aa542f07a8 100644 --- a/mail/postfix24/files/postfix.sh.in +++ b/mail/postfix24/files/postfix.sh.in @@ -18,7 +18,7 @@ # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="postfix" rcvar=${name}_enable diff --git a/mail/postfix25/files/postfix.sh.in b/mail/postfix25/files/postfix.sh.in index 2b07d6c85c1d..3fc9d1dc3706 100644 --- a/mail/postfix25/files/postfix.sh.in +++ b/mail/postfix25/files/postfix.sh.in @@ -18,7 +18,7 @@ # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="postfix" rcvar=${name}_enable diff --git a/mail/postfix26/files/postfix.sh.in b/mail/postfix26/files/postfix.sh.in index 04b59ff1ed2e..91e765d14cad 100644 --- a/mail/postfix26/files/postfix.sh.in +++ b/mail/postfix26/files/postfix.sh.in @@ -18,7 +18,7 @@ # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="postfix" rcvar=${name}_enable diff --git a/mail/postfix27/files/postfix.sh.in b/mail/postfix27/files/postfix.sh.in index 04b59ff1ed2e..91e765d14cad 100644 --- a/mail/postfix27/files/postfix.sh.in +++ b/mail/postfix27/files/postfix.sh.in @@ -18,7 +18,7 @@ # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="postfix" rcvar=${name}_enable diff --git a/mail/postfix28/files/postfix.sh.in b/mail/postfix28/files/postfix.sh.in index 04b59ff1ed2e..91e765d14cad 100644 --- a/mail/postfix28/files/postfix.sh.in +++ b/mail/postfix28/files/postfix.sh.in @@ -18,7 +18,7 @@ # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="postfix" rcvar=${name}_enable diff --git a/mail/postgrey/files/postgrey.in b/mail/postgrey/files/postgrey.in index 7e9f56879953..bf8431667bd6 100644 --- a/mail/postgrey/files/postgrey.in +++ b/mail/postgrey/files/postgrey.in @@ -15,7 +15,7 @@ # See perldoc postgrey for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=postgrey rcvar=`set_rcvar` diff --git a/mail/prayer/files/prayer.in b/mail/prayer/files/prayer.in index 529a1a62fd52..c2aea58ac999 100644 --- a/mail/prayer/files/prayer.in +++ b/mail/prayer/files/prayer.in @@ -13,7 +13,7 @@ # Allow prayer to prefork itself at startup # -. %%RC_SUBR%% +. /etc/rc.subr name="prayer" rcvar=${name}_enable diff --git a/mail/proxsmtp/files/proxsmtpd.sh.in b/mail/proxsmtp/files/proxsmtpd.sh.in index e93e4437fd45..c49bbe11d433 100644 --- a/mail/proxsmtp/files/proxsmtpd.sh.in +++ b/mail/proxsmtp/files/proxsmtpd.sh.in @@ -13,7 +13,7 @@ # Default is "%%PREFIX%%/etc/proxsmtpd.conf" # -. %%RC_SUBR%% +. /etc/rc.subr name="proxsmtpd" rcvar=${name}_enable diff --git a/mail/py-apolicy/files/apolicyd.in b/mail/py-apolicy/files/apolicyd.in index bcd1f480387a..377412b363f7 100644 --- a/mail/py-apolicy/files/apolicyd.in +++ b/mail/py-apolicy/files/apolicyd.in @@ -15,7 +15,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE -. %%RC_SUBR%% +. /etc/rc.subr name="apolicyd" rcvar=`set_rcvar` diff --git a/mail/py-ppolicy/files/ppolicyd.sh.in b/mail/py-ppolicy/files/ppolicyd.sh.in index c1592221b35f..28e66748fbda 100644 --- a/mail/py-ppolicy/files/ppolicyd.sh.in +++ b/mail/py-ppolicy/files/ppolicyd.sh.in @@ -13,7 +13,7 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE -. %%RC_SUBR%% +. /etc/rc.subr name="ppolicyd" rcvar=`set_rcvar` diff --git a/mail/py-spambayes/files/pyspamd.in b/mail/py-spambayes/files/pyspamd.in index dbbda2ba1520..0ea683885576 100644 --- a/mail/py-spambayes/files/pyspamd.in +++ b/mail/py-spambayes/files/pyspamd.in @@ -15,7 +15,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr name="pyspamd" rcvar=`set_rcvar` diff --git a/mail/pysieved/files/pysieved.in b/mail/pysieved/files/pysieved.in index 9e686e31c134..624f8e64b05d 100644 --- a/mail/pysieved/files/pysieved.in +++ b/mail/pysieved/files/pysieved.in @@ -10,7 +10,7 @@ # /etc/rc.conf.local # -. %%RC_SUBR%% +. /etc/rc.subr name="%%PORTNAME%%" rcvar=`set_rcvar` diff --git a/mail/rabl_server/files/rabl_server.sh.in b/mail/rabl_server/files/rabl_server.sh.in index 3a92035977d2..da0db9fa614c 100644 --- a/mail/rabl_server/files/rabl_server.sh.in +++ b/mail/rabl_server/files/rabl_server.sh.in @@ -17,7 +17,7 @@ # rabl_server_user - user to run as (default: bind) # -. %%RC_SUBR%% +. /etc/rc.subr name=rabl_server rcvar=`set_rcvar` diff --git a/mail/sastatd/files/sastatd.in b/mail/sastatd/files/sastatd.in index 3cd4886461d6..d3b1c674ba87 100644 --- a/mail/sastatd/files/sastatd.in +++ b/mail/sastatd/files/sastatd.in @@ -13,7 +13,7 @@ # sastatd_spamd_log="/var/log/spamd.log" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="sastatd" diff --git a/mail/sid-milter/files/milter-sid.sh.in b/mail/sid-milter/files/milter-sid.sh.in index bf1f9a78fbc8..e8dcda6fb770 100644 --- a/mail/sid-milter/files/milter-sid.sh.in +++ b/mail/sid-milter/files/milter-sid.sh.in @@ -13,7 +13,7 @@ # /etc/rc.conf.d/miltersid # -. %%RC_SUBR%% +. /etc/rc.subr name="miltersid" rcvar=`set_rcvar` diff --git a/mail/smfsav/files/smfsav.in b/mail/smfsav/files/smfsav.in index 0bb9d2a54208..10c60eb586e6 100644 --- a/mail/smfsav/files/smfsav.in +++ b/mail/smfsav/files/smfsav.in @@ -13,7 +13,7 @@ # # smfsav_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name="smfsav" rcvar=`set_rcvar` diff --git a/mail/smtpd/files/smtpd.in b/mail/smtpd/files/smtpd.in index 93b2a5595d99..b48e54eccce4 100644 --- a/mail/smtpd/files/smtpd.in +++ b/mail/smtpd/files/smtpd.in @@ -11,7 +11,7 @@ # Default is "NO". # -. %%RC_SUBR%% +. /etc/rc.subr name="smtpd" rcvar=${name}_enable diff --git a/mail/smtptrapd/files/smtptrapd.sh.in b/mail/smtptrapd/files/smtptrapd.sh.in index aec93ad194d9..ade1b567a0ac 100644 --- a/mail/smtptrapd/files/smtptrapd.sh.in +++ b/mail/smtptrapd/files/smtptrapd.sh.in @@ -16,7 +16,7 @@ # Run smtptrapd -h for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=smtptrapd rcvar=`set_rcvar` diff --git a/mail/spamass-milter/files/spamass-milter.in b/mail/spamass-milter/files/spamass-milter.in index 683670c74273..6defd6c48904 100644 --- a/mail/spamass-milter/files/spamass-milter.in +++ b/mail/spamass-milter/files/spamass-milter.in @@ -16,7 +16,7 @@ # See spamass-milter(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name=spamass_milter rcvar=`set_rcvar` diff --git a/mail/spamd/files/obspamd.in b/mail/spamd/files/obspamd.in index 92d9784962da..8b53f4f5370b 100644 --- a/mail/spamd/files/obspamd.in +++ b/mail/spamd/files/obspamd.in @@ -20,7 +20,7 @@ # obspamd_enable=${obspamd_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="obspamd" rcvar=`set_rcvar` diff --git a/mail/spamd/files/obspamlogd.in b/mail/spamd/files/obspamlogd.in index c497e8b4b64a..a16e97239b62 100644 --- a/mail/spamd/files/obspamlogd.in +++ b/mail/spamd/files/obspamlogd.in @@ -20,7 +20,7 @@ # obspamlogd_enable=${obspamlogd_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="obspamlogd" rcvar=`set_rcvar` diff --git a/mail/spampd/files/spampd.in b/mail/spampd/files/spampd.in index 974d78a6c44b..2975dc713e61 100644 --- a/mail/spampd/files/spampd.in +++ b/mail/spampd/files/spampd.in @@ -11,7 +11,7 @@ # Default is "NO" # spampd_flags -. %%RC_SUBR%% +. /etc/rc.subr name="spampd" rcvar=`set_rcvar` diff --git a/mail/sqlgrey/files/sqlgrey.sh.in b/mail/sqlgrey/files/sqlgrey.sh.in index 424a8248daf6..9a0569078d35 100644 --- a/mail/sqlgrey/files/sqlgrey.sh.in +++ b/mail/sqlgrey/files/sqlgrey.sh.in @@ -15,7 +15,7 @@ # See man sqlgrey for flags or the config file. # -. %%RC_SUBR%% +. /etc/rc.subr name=sqlgrey rcvar=`set_rcvar` diff --git a/mail/sqwebmail/files/sqwebmail-sqwebmaild.in b/mail/sqwebmail/files/sqwebmail-sqwebmaild.in index d92c785f5e5f..f1490954b700 100644 --- a/mail/sqwebmail/files/sqwebmail-sqwebmaild.in +++ b/mail/sqwebmail/files/sqwebmail-sqwebmaild.in @@ -15,7 +15,7 @@ sqwebmaild_enable=${sqwebmaild_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="sqwebmaild" rcvar=`set_rcvar` diff --git a/mail/synonym/files/synonym.sh.in b/mail/synonym/files/synonym.sh.in index 7c62d7f56ec3..4c190964ad26 100644 --- a/mail/synonym/files/synonym.sh.in +++ b/mail/synonym/files/synonym.sh.in @@ -18,7 +18,7 @@ synonym_enable=${synonym_enable-"NO"} synonym_pidfile=${synonym_pidfile-"%%RUNDIR%%/synonym.pid"} synonym_conffile=${synonym_conffile-"%%PREFIX%%/etc/synonym.conf"} -. %%RC_SUBR%% +. /etc/rc.subr name=synonym rcvar=`set_rcvar` diff --git a/mail/tpop3d/files/tpop3d.sh.in b/mail/tpop3d/files/tpop3d.sh.in index 76c91476d7ad..64c74ff8aeeb 100644 --- a/mail/tpop3d/files/tpop3d.sh.in +++ b/mail/tpop3d/files/tpop3d.sh.in @@ -12,7 +12,7 @@ #tpop3d_flags="..." # -. %%RC_SUBR%% +. /etc/rc.subr name="tpop3d" rcvar=`set_rcvar` diff --git a/mail/up-imapproxy/files/imapproxyd.sh.in b/mail/up-imapproxy/files/imapproxyd.sh.in index 67ea89626b02..ac9576496e1c 100644 --- a/mail/up-imapproxy/files/imapproxyd.sh.in +++ b/mail/up-imapproxy/files/imapproxyd.sh.in @@ -14,7 +14,7 @@ # imapproxyd_conf (file): Set location of conf file. # Default is "%%PREFIX%%/etc/imapproxyd.conf" -. %%RC_SUBR%% +. /etc/rc.subr name=imapproxyd rcvar=${name}_enable diff --git a/mail/whoson/files/whoson.sh.in b/mail/whoson/files/whoson.sh.in index aafc8c12035e..fada0bff97c2 100644 --- a/mail/whoson/files/whoson.sh.in +++ b/mail/whoson/files/whoson.sh.in @@ -13,7 +13,7 @@ #whosond="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=whosond rcvar=`set_rcvar` diff --git a/mail/zmailer/files/zmailer.sh.in b/mail/zmailer/files/zmailer.sh.in index 1ea089fc7cf7..9a0f7848a591 100644 --- a/mail/zmailer/files/zmailer.sh.in +++ b/mail/zmailer/files/zmailer.sh.in @@ -13,7 +13,7 @@ #zmailer_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=zmailer rcvar=`set_rcvar` diff --git a/misc/dahdi-kmod/files/dahdi.in b/misc/dahdi-kmod/files/dahdi.in index ad50745924f2..ba9f2720c685 100644 --- a/misc/dahdi-kmod/files/dahdi.in +++ b/misc/dahdi-kmod/files/dahdi.in @@ -20,7 +20,7 @@ # dahdi_modules="wct4xxp" # -. %%RC_SUBR%% +. /etc/rc.subr name="dahdi" rcvar=`set_rcvar` diff --git a/misc/dahdi/files/dahdi.in b/misc/dahdi/files/dahdi.in index ad50745924f2..ba9f2720c685 100644 --- a/misc/dahdi/files/dahdi.in +++ b/misc/dahdi/files/dahdi.in @@ -20,7 +20,7 @@ # dahdi_modules="wct4xxp" # -. %%RC_SUBR%% +. /etc/rc.subr name="dahdi" rcvar=`set_rcvar` diff --git a/misc/dnetc/files/dnetc.sh.in b/misc/dnetc/files/dnetc.sh.in index d0e3fa3e46db..9ffaee657249 100644 --- a/misc/dnetc/files/dnetc.sh.in +++ b/misc/dnetc/files/dnetc.sh.in @@ -15,7 +15,7 @@ # dnetc_idprio (priority): Unset by default. See idprio manpage. # -. %%RC_SUBR%% +. /etc/rc.subr name="dnetc" rcvar=`set_rcvar` diff --git a/misc/e2fsprogs-libuuid/files/uuidd.in b/misc/e2fsprogs-libuuid/files/uuidd.in index 7660ff63122f..2178770dd6a8 100644 --- a/misc/e2fsprogs-libuuid/files/uuidd.in +++ b/misc/e2fsprogs-libuuid/files/uuidd.in @@ -13,7 +13,7 @@ # PROVIDE: uuidd # BEFORE: DAEMON -. %%RC_SUBR%% +. /etc/rc.subr name="uuidd" rcvar=`set_rcvar` diff --git a/misc/ldconfig_compat/files/ldconfig_compat.sh.in b/misc/ldconfig_compat/files/ldconfig_compat.sh.in index 1c3fe81701c3..865d31b571d0 100644 --- a/misc/ldconfig_compat/files/ldconfig_compat.sh.in +++ b/misc/ldconfig_compat/files/ldconfig_compat.sh.in @@ -7,7 +7,7 @@ # REQUIRE: mountcritremote ldconfig # BEFORE: DAEMON -. "%%RC_SUBR%%" +. /etc/rc.subr name="ldconfig" ldconfig_command="/sbin/ldconfig" diff --git a/misc/proxyper/files/proxyper.in b/misc/proxyper/files/proxyper.in index 5ef19aab648a..547585fc83eb 100644 --- a/misc/proxyper/files/proxyper.in +++ b/misc/proxyper/files/proxyper.in @@ -11,7 +11,7 @@ proxyper_enable=${proxyper_enable:-"NO"} dir="%%BINDIR%%" user="nobody" -. %%RC_SUBR%% +. /etc/rc.subr name="proxyper" rcvar=`set_rcvar` diff --git a/misc/upclient/files/upclient.sh.in b/misc/upclient/files/upclient.sh.in index 43f005c08722..6cef94df2b5f 100644 --- a/misc/upclient/files/upclient.sh.in +++ b/misc/upclient/files/upclient.sh.in @@ -31,7 +31,7 @@ upclient_precmd () upclient_enable="${upclient_enable-NO}" -. %%RC_SUBR%% +. /etc/rc.subr name=upclient rcvar=$(set_rcvar) diff --git a/misc/yaunc/files/yaunc.sh.in b/misc/yaunc/files/yaunc.sh.in index 78ea4f14b922..6643e13dbe21 100644 --- a/misc/yaunc/files/yaunc.sh.in +++ b/misc/yaunc/files/yaunc.sh.in @@ -11,7 +11,7 @@ # by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="yaunc" rcvar=${name}_enable diff --git a/misc/zaptel/files/zaptel.in b/misc/zaptel/files/zaptel.in index f3552804fac6..c4bffe8aefb9 100644 --- a/misc/zaptel/files/zaptel.in +++ b/misc/zaptel/files/zaptel.in @@ -14,7 +14,7 @@ # Set it to YES to enable zaptel. # -. %%RC_SUBR%% +. /etc/rc.subr kmod_dir=%%PREFIX%%/lib/zaptel diff --git a/multimedia/ffmpeg-devel/files/ffserver.in b/multimedia/ffmpeg-devel/files/ffserver.in index 2f6afc0c7a6f..c7aefb7edaa2 100644 --- a/multimedia/ffmpeg-devel/files/ffserver.in +++ b/multimedia/ffmpeg-devel/files/ffserver.in @@ -14,7 +14,7 @@ # ffserver_enable="${ffserver_enable-NO}" -. %%RC_SUBR%% +. /etc/rc.subr name=ffserver rcvar=`set_rcvar` diff --git a/multimedia/ffmpeg/files/ffserver.in b/multimedia/ffmpeg/files/ffserver.in index 2f6afc0c7a6f..c7aefb7edaa2 100644 --- a/multimedia/ffmpeg/files/ffserver.in +++ b/multimedia/ffmpeg/files/ffserver.in @@ -14,7 +14,7 @@ # ffserver_enable="${ffserver_enable-NO}" -. %%RC_SUBR%% +. /etc/rc.subr name=ffserver rcvar=`set_rcvar` diff --git a/multimedia/kissdx/files/kissdx.in b/multimedia/kissdx/files/kissdx.in index 19179f4efada..148d150ee12f 100644 --- a/multimedia/kissdx/files/kissdx.in +++ b/multimedia/kissdx/files/kissdx.in @@ -8,7 +8,7 @@ # (kissdx="YES" for NetBSD) # -. %%RC_SUBR%% +. /etc/rc.subr #Name of program to start name="kissdx" diff --git a/multimedia/mythtv/files/mythbackend.in b/multimedia/mythtv/files/mythbackend.in index 1a38e4264dac..242b817d1119 100644 --- a/multimedia/mythtv/files/mythbackend.in +++ b/multimedia/mythtv/files/mythbackend.in @@ -15,7 +15,7 @@ # (default /var/log/mythbackend.log) # mythbackend_flags (str): Additional flags for mythbackend. -. %%RC_SUBR%% +. /etc/rc.subr name="mythbackend" rcvar=`set_rcvar` diff --git a/multimedia/webcamd/files/webcamd.in b/multimedia/webcamd/files/webcamd.in index 965f75a46d3e..f8fcb02c2e04 100644 --- a/multimedia/webcamd/files/webcamd.in +++ b/multimedia/webcamd/files/webcamd.in @@ -11,7 +11,7 @@ webcamd_enable=${webcamd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=webcamd rcvar=`set_rcvar` diff --git a/net-im/ejabberd/files/ejabberd.in b/net-im/ejabberd/files/ejabberd.in index 0266bf08414a..ab1e1e43ad90 100644 --- a/net-im/ejabberd/files/ejabberd.in +++ b/net-im/ejabberd/files/ejabberd.in @@ -16,7 +16,7 @@ ejabberd_enable=${ejabberd_enable-"NO"} ejabberd_node=${ejabberd_node-"ejabberd@localhost"} -. %%RC_SUBR%% +. /etc/rc.subr name="ejabberd" rcvar=`set_rcvar` diff --git a/net-im/imspector/files/imspector.in b/net-im/imspector/files/imspector.in index e434752574aa..acd7fbe4f991 100644 --- a/net-im/imspector/files/imspector.in +++ b/net-im/imspector/files/imspector.in @@ -13,7 +13,7 @@ # by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="imspector" rcvar=${name}_enable diff --git a/net-im/iserverd/files/iserverd.in b/net-im/iserverd/files/iserverd.in index 3285c0e2fc62..03ab57f68033 100644 --- a/net-im/iserverd/files/iserverd.in +++ b/net-im/iserverd/files/iserverd.in @@ -11,7 +11,7 @@ name=iserverd -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config $name diff --git a/net-im/jabber-pyaim/files/jabber-pyaim-transport.sh.in b/net-im/jabber-pyaim/files/jabber-pyaim-transport.sh.in index 1c5b56306977..80940eb87482 100644 --- a/net-im/jabber-pyaim/files/jabber-pyaim-transport.sh.in +++ b/net-im/jabber-pyaim/files/jabber-pyaim-transport.sh.in @@ -11,7 +11,7 @@ # /etc/rc.conf.local # -. %%RC_SUBR%% +. /etc/rc.subr name="jabber_pyaim" rcvar=`set_rcvar` diff --git a/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in b/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in index d5f9e0eb96e4..b3ec5ab96571 100644 --- a/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in +++ b/net-im/jabber-pyicq/files/jabber-pyicq-transport.sh.in @@ -11,7 +11,7 @@ # /etc/rc.conf.local # -. %%RC_SUBR%% +. /etc/rc.subr name="jabber_pyicq" rcvar=`set_rcvar` diff --git a/net-im/jabber-pymsn/files/jabber-pymsn-transport.sh.in b/net-im/jabber-pymsn/files/jabber-pymsn-transport.sh.in index 6e5828e6ca04..decb3fb949f3 100644 --- a/net-im/jabber-pymsn/files/jabber-pymsn-transport.sh.in +++ b/net-im/jabber-pymsn/files/jabber-pymsn-transport.sh.in @@ -11,7 +11,7 @@ # /etc/rc.conf.local # -. %%RC_SUBR%% +. /etc/rc.subr name="jabber_pymsn" rcvar=`set_rcvar` diff --git a/net-im/jabber/files/jabber.in b/net-im/jabber/files/jabber.in index 2cb773512240..76ce3ea2c8c7 100644 --- a/net-im/jabber/files/jabber.in +++ b/net-im/jabber/files/jabber.in @@ -11,7 +11,7 @@ # jabber_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="jabber" rcvar=`set_rcvar` diff --git a/net-im/jabberd/files/jabberd.in b/net-im/jabberd/files/jabberd.in index 6ebd436dd806..7afd08dff668 100644 --- a/net-im/jabberd/files/jabberd.in +++ b/net-im/jabberd/files/jabberd.in @@ -17,7 +17,7 @@ jabberd_chdir=${jabberd_chdir-"%%JABBER_RUNDIR%%/pid"} jabberd_enable=${jabberd_enable-"NO"} jabberd_user=${jabberd_user-"%%JABBER_USER%%"} -. %%RC_SUBR%% +. /etc/rc.subr name="jabberd" rcvar=`set_rcvar` diff --git a/net-im/jggtrans/files/jggtrans.sh.in b/net-im/jggtrans/files/jggtrans.sh.in index c3eca746c790..e605d289e9d8 100644 --- a/net-im/jggtrans/files/jggtrans.sh.in +++ b/net-im/jggtrans/files/jggtrans.sh.in @@ -10,7 +10,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # SET THEM IN THE /etc/rc.conf -. %%RC_SUBR%% +. /etc/rc.subr name="jggtrans" rcvar=`set_rcvar` diff --git a/net-im/jit/files/jabber_jit.sh.in b/net-im/jit/files/jabber_jit.sh.in index 46fac558baf4..29b80ae52a59 100644 --- a/net-im/jit/files/jabber_jit.sh.in +++ b/net-im/jit/files/jabber_jit.sh.in @@ -17,7 +17,7 @@ # Enable the transport ("YES") or not ("NO", the default). # -. %%RC_SUBR%% +. /etc/rc.subr name="jabber_jit" rcvar=`set_rcvar` diff --git a/net-im/mu-conference/files/mu-conference.in b/net-im/mu-conference/files/mu-conference.in index a2fe586b2b94..e7a18f178e49 100644 --- a/net-im/mu-conference/files/mu-conference.in +++ b/net-im/mu-conference/files/mu-conference.in @@ -19,7 +19,7 @@ # Enable ("YES") or disable ("NO", the default) this startup script. # -. %%RC_SUBR%% +. /etc/rc.subr name="mu_conference" rcvar=`set_rcvar` diff --git a/net-im/openfire/files/openfire.in b/net-im/openfire/files/openfire.in index 90bfa1ebe969..e8457e382b7d 100644 --- a/net-im/openfire/files/openfire.in +++ b/net-im/openfire/files/openfire.in @@ -21,7 +21,7 @@ # openfire_javargs (args): Set to -Xmx256M by default. # See java -h for available arguments. -. %%RC_SUBR%% +. /etc/rc.subr name="openfire" rcvar=${name}_enable diff --git a/net-im/prosody/files/prosody.in b/net-im/prosody/files/prosody.in index a6a4fda31fac..0312ebf91af1 100644 --- a/net-im/prosody/files/prosody.in +++ b/net-im/prosody/files/prosody.in @@ -9,7 +9,7 @@ # Set it to YES to enable Prosody # -. %%RC_SUBR%% +. /etc/rc.subr name="prosody" rcvar=`set_rcvar` diff --git a/net-im/py-punjab/files/punjab.sh.in b/net-im/py-punjab/files/punjab.sh.in index 3411803dd292..04f6b52eca49 100644 --- a/net-im/py-punjab/files/punjab.sh.in +++ b/net-im/py-punjab/files/punjab.sh.in @@ -5,7 +5,7 @@ # REQUIRE: DAEMON # BEFORE: -. %%RC_SUBR%% +. /etc/rc.subr punjab_enable=${punjab_enable-"NO"} punjab_chdir=${punjab_chdir-"%%HTMLDIR%%"} diff --git a/net-im/py-xmpppy-irc/files/xmpppyirc.in b/net-im/py-xmpppy-irc/files/xmpppyirc.in index ca3df5e48bd8..6035208b72d6 100644 --- a/net-im/py-xmpppy-irc/files/xmpppyirc.in +++ b/net-im/py-xmpppy-irc/files/xmpppyirc.in @@ -3,7 +3,7 @@ # PROVIDE: xmpppyirc # REQUIRE: DAEMON -. %%RC_SUBR%% +. /etc/rc.subr name="xmpppyirc" pidfile="/var/run/$name.pid" diff --git a/net-im/py-xmpppy-yahoo/files/xmpppy_yahoo.in b/net-im/py-xmpppy-yahoo/files/xmpppy_yahoo.in index 9af196e63404..033e9d564773 100644 --- a/net-im/py-xmpppy-yahoo/files/xmpppy_yahoo.in +++ b/net-im/py-xmpppy-yahoo/files/xmpppy_yahoo.in @@ -12,7 +12,7 @@ # /etc/rc.conf.local # -. %%RC_SUBR%% +. /etc/rc.subr name="xmpppy_yahoo" rcvar=`set_rcvar` diff --git a/net-mgmt/argus-monitor/files/argusd.in b/net-mgmt/argus-monitor/files/argusd.in index df9342cdc954..a73f933ddcae 100644 --- a/net-mgmt/argus-monitor/files/argusd.in +++ b/net-mgmt/argus-monitor/files/argusd.in @@ -9,7 +9,7 @@ # Set it to YES to enable argusd # -. %%RC_SUBR%% +. /etc/rc.subr name="argusd" rcvar=${name}_enable diff --git a/net-mgmt/arpwatch/files/arpwatch.sh.in b/net-mgmt/arpwatch/files/arpwatch.sh.in index b9d56ee5e572..35633939c65f 100644 --- a/net-mgmt/arpwatch/files/arpwatch.sh.in +++ b/net-mgmt/arpwatch/files/arpwatch.sh.in @@ -13,7 +13,7 @@ arpwatch_enable=${arpwatch_enable:-"NO"} arpwatch_dir=${arpwatch_dir:-"%%PREFIX%%/arpwatch/"} -. %%RC_SUBR%% +. /etc/rc.subr name=arpwatch rcvar=`set_rcvar` diff --git a/net-mgmt/bigsister/files/bigsister.sh.in b/net-mgmt/bigsister/files/bigsister.sh.in index 3f99bdb19be1..2232b7060733 100644 --- a/net-mgmt/bigsister/files/bigsister.sh.in +++ b/net-mgmt/bigsister/files/bigsister.sh.in @@ -12,7 +12,7 @@ # bigsister_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="bigsister" rcvar=`set_rcvar` diff --git a/net-mgmt/cdpd/files/cdpd.in b/net-mgmt/cdpd/files/cdpd.in index 91a8cb052a75..408dfe544a49 100644 --- a/net-mgmt/cdpd/files/cdpd.in +++ b/net-mgmt/cdpd/files/cdpd.in @@ -20,7 +20,7 @@ # Default flags: -a # -. %%RC_SUBR%% +. /etc/rc.subr name=cdpd rcvar=`set_rcvar` diff --git a/net-mgmt/chillispot/files/chillispot.in b/net-mgmt/chillispot/files/chillispot.in index e8d685a9880b..64e6f54439a9 100644 --- a/net-mgmt/chillispot/files/chillispot.in +++ b/net-mgmt/chillispot/files/chillispot.in @@ -5,7 +5,7 @@ # BEFORE: pf ipfw # KEYWORD: nojail -. %%RC_SUBR%% +. /etc/rc.subr name="chillispot" rcvar=${name}_enable diff --git a/net-mgmt/choparp/files/choparp.sh.in b/net-mgmt/choparp/files/choparp.sh.in index 64e0008ca9dc..7377ec1565ea 100644 --- a/net-mgmt/choparp/files/choparp.sh.in +++ b/net-mgmt/choparp/files/choparp.sh.in @@ -10,7 +10,7 @@ choparp_iface=${choparp_iface-} choparp_macaddr=${choparp_macaddr-"auto"} choparp_network=${choparp_network-} -. %%RC_SUBR%% +. /etc/rc.subr name="choparp" rcvar=`set_rcvar` diff --git a/net-mgmt/collectd/files/collectd.in b/net-mgmt/collectd/files/collectd.in index 90abfad43a4d..71791883f3cb 100644 --- a/net-mgmt/collectd/files/collectd.in +++ b/net-mgmt/collectd/files/collectd.in @@ -12,7 +12,7 @@ # Additional flags to collectd, see manual page. # -. %%RC_SUBR%% +. /etc/rc.subr name="collectd" rcvar=${name}_enable diff --git a/net-mgmt/collectd/files/collectdmon.in b/net-mgmt/collectd/files/collectdmon.in index 3d934e8223b2..09afc7129d37 100644 --- a/net-mgmt/collectd/files/collectdmon.in +++ b/net-mgmt/collectd/files/collectdmon.in @@ -12,7 +12,7 @@ # Additional flags to collectdmon, see manual page. # -. %%RC_SUBR%% +. /etc/rc.subr name="collectdmon" rcvar=${name}_enable diff --git a/net-mgmt/collectd5/files/collectd.in b/net-mgmt/collectd5/files/collectd.in index 90abfad43a4d..71791883f3cb 100644 --- a/net-mgmt/collectd5/files/collectd.in +++ b/net-mgmt/collectd5/files/collectd.in @@ -12,7 +12,7 @@ # Additional flags to collectd, see manual page. # -. %%RC_SUBR%% +. /etc/rc.subr name="collectd" rcvar=${name}_enable diff --git a/net-mgmt/collectd5/files/collectdmon.in b/net-mgmt/collectd5/files/collectdmon.in index 3d934e8223b2..09afc7129d37 100644 --- a/net-mgmt/collectd5/files/collectdmon.in +++ b/net-mgmt/collectd5/files/collectdmon.in @@ -12,7 +12,7 @@ # Additional flags to collectdmon, see manual page. # -. %%RC_SUBR%% +. /etc/rc.subr name="collectdmon" rcvar=${name}_enable diff --git a/net-mgmt/coovachilli/files/coovachilli.in b/net-mgmt/coovachilli/files/coovachilli.in index e4352114888b..beedba418dcf 100644 --- a/net-mgmt/coovachilli/files/coovachilli.in +++ b/net-mgmt/coovachilli/files/coovachilli.in @@ -12,7 +12,7 @@ # Set it to YES to enable coova-chilli. -. %%RC_SUBR%% +. /etc/rc.subr name=coovachilli rcvar=coovachilli_enable diff --git a/net-mgmt/darkstat/files/darkstat.in b/net-mgmt/darkstat/files/darkstat.in index 704618f495e1..37b8b43fdad5 100644 --- a/net-mgmt/darkstat/files/darkstat.in +++ b/net-mgmt/darkstat/files/darkstat.in @@ -29,7 +29,7 @@ # # Please refer to the darkstat(1) manual page for full documentation. -. %%RC_SUBR%% +. /etc/rc.subr name=darkstat rcvar=`set_rcvar` diff --git a/net-mgmt/flowd/files/flowd.in b/net-mgmt/flowd/files/flowd.in index e399d1428dc0..1cc6999333e2 100644 --- a/net-mgmt/flowd/files/flowd.in +++ b/net-mgmt/flowd/files/flowd.in @@ -15,7 +15,7 @@ # Default is empty. # -. %%RC_SUBR%% +. /etc/rc.subr name="flowd" rcvar=${name}_enable diff --git a/net-mgmt/fprobe/files/fprobe.sh.in b/net-mgmt/fprobe/files/fprobe.sh.in index c24715b6fc7e..9175b0270ad6 100644 --- a/net-mgmt/fprobe/files/fprobe.sh.in +++ b/net-mgmt/fprobe/files/fprobe.sh.in @@ -13,7 +13,7 @@ # See fprobe(8) for %%NAME%%_flags # -. "%%RC_SUBR%%" +. /etc/rc.subr name="%%NAME%%" rcvar=`set_rcvar` diff --git a/net-mgmt/ipacctd/files/ipacctd.sh.in b/net-mgmt/ipacctd/files/ipacctd.sh.in index e48a21cc7075..d85aeb3bc665 100644 --- a/net-mgmt/ipacctd/files/ipacctd.sh.in +++ b/net-mgmt/ipacctd/files/ipacctd.sh.in @@ -28,7 +28,7 @@ #ipacctd_rule_xl0_flags="-p 666" #ipacctd_rule_xl0_pid="/var/run/ipacctd.xl0" -. %%RC_SUBR%% +. /etc/rc.subr name="ipacctd" rcvar=`set_rcvar` diff --git a/net-mgmt/ipcad/files/ipcad.in b/net-mgmt/ipcad/files/ipcad.in index 6285dfd85881..771229817c81 100644 --- a/net-mgmt/ipcad/files/ipcad.in +++ b/net-mgmt/ipcad/files/ipcad.in @@ -13,7 +13,7 @@ # Default is "%%PREFIX%%/etc/ipcad.conf". # ipcad_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name="ipcad" rcvar=${name}_enable diff --git a/net-mgmt/macroscope/files/macroscope.in b/net-mgmt/macroscope/files/macroscope.in index 82f0f66c56f7..9bffc758d8ef 100644 --- a/net-mgmt/macroscope/files/macroscope.in +++ b/net-mgmt/macroscope/files/macroscope.in @@ -15,7 +15,7 @@ # macroscope_flags="" # additional command line arguments # -. %%RC_SUBR%% +. /etc/rc.subr name="macroscope" rcvar=$(set_rcvar) diff --git a/net-mgmt/mrtg/files/mrtg_daemon.in b/net-mgmt/mrtg/files/mrtg_daemon.in index 009ba2159674..0668a6186a9f 100644 --- a/net-mgmt/mrtg/files/mrtg_daemon.in +++ b/net-mgmt/mrtg/files/mrtg_daemon.in @@ -6,7 +6,7 @@ # PROVIDE: mrtg_daemon # REQUIRE: DAEMON bsnmpd snmpd -. %%RC_SUBR%% +. /etc/rc.subr name="mrtg_daemon" diff --git a/net-mgmt/nagios-devel/files/nagios.sh.in b/net-mgmt/nagios-devel/files/nagios.sh.in index 719db899652a..981abeaa4720 100644 --- a/net-mgmt/nagios-devel/files/nagios.sh.in +++ b/net-mgmt/nagios-devel/files/nagios.sh.in @@ -16,7 +16,7 @@ # nagios_configfile (str): Set to "%%PREFIX%%/etc/nagios/nagios.cfg" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="nagios" rcvar=`set_rcvar` diff --git a/net-mgmt/nagios/files/nagios.in b/net-mgmt/nagios/files/nagios.in index f16cbf1f748c..77a906e9e62d 100644 --- a/net-mgmt/nagios/files/nagios.in +++ b/net-mgmt/nagios/files/nagios.in @@ -18,7 +18,7 @@ # nagios_configfile (str): Set to "%%PREFIX%%/etc/nagios/nagios.cfg" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="nagios" rcvar=`set_rcvar` diff --git a/net-mgmt/nagios2/files/nagios.in b/net-mgmt/nagios2/files/nagios.in index fc7176bc030a..44444759ca39 100644 --- a/net-mgmt/nagios2/files/nagios.in +++ b/net-mgmt/nagios2/files/nagios.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/net-mgmt/nagios2/files/Attic/nagios.in,v 1.2 2009-07-15 16:55:58 dougb Exp $ +# $FreeBSD: /tmp/pcvs/ports/net-mgmt/nagios2/files/Attic/nagios.in,v 1.3 2010-03-27 00:14:22 dougb Exp $ # # PROVIDE: nagios @@ -16,7 +16,7 @@ # nagios_configfile (str): Set to "%%PREFIX%%/etc/nagios/nagios.cfg" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="nagios" rcvar=`set_rcvar` diff --git a/net-mgmt/nagiosgrapher/files/nagiosgrapher.in b/net-mgmt/nagiosgrapher/files/nagiosgrapher.in index 5c294325897e..124473057083 100644 --- a/net-mgmt/nagiosgrapher/files/nagiosgrapher.in +++ b/net-mgmt/nagiosgrapher/files/nagiosgrapher.in @@ -12,7 +12,7 @@ # #%%NAME%%_enable="YES" -. "%%RC_SUBR%%" +. /etc/rc.subr name="%%NAME%%" : ${%%NAME%%_user="nagios"} diff --git a/net-mgmt/nagircbot/files/nagircbot.in b/net-mgmt/nagircbot/files/nagircbot.in index 0590d93d34b7..97de954872c2 100644 --- a/net-mgmt/nagircbot/files/nagircbot.in +++ b/net-mgmt/nagircbot/files/nagircbot.in @@ -14,7 +14,7 @@ # You must configure at least some flags to make it connect to a server. See -h. # -. %%RC_SUBR%% +. /etc/rc.subr name=nagircbot rcvar=`set_rcvar` diff --git a/net-mgmt/ndoutils/files/ndo2db.in b/net-mgmt/ndoutils/files/ndo2db.in index 745792d323d7..d995288e3ef3 100644 --- a/net-mgmt/ndoutils/files/ndo2db.in +++ b/net-mgmt/ndoutils/files/ndo2db.in @@ -15,7 +15,7 @@ : ${ndo2db_enable="NO"} : ${ndo2db_configfile="%%PREFIX%%/etc/nagios/ndo2db.cfg"} -. %%RC_SUBR%% +. /etc/rc.subr name="ndo2db" rcvar=${name}_enable diff --git a/net-mgmt/ndpmon/files/ndpmonitor.in b/net-mgmt/ndpmon/files/ndpmonitor.in index f885bb185575..686deeab1650 100644 --- a/net-mgmt/ndpmon/files/ndpmonitor.in +++ b/net-mgmt/ndpmon/files/ndpmonitor.in @@ -6,7 +6,7 @@ # REQUIRE: DAEMON NETWORKING # -. %%RC_SUBR%% +. /etc/rc.subr name="ndpmonitor" rcvar=`set_rcvar` diff --git a/net-mgmt/nefu/files/nefu.in b/net-mgmt/nefu/files/nefu.in index 06c1bbe8668f..23fc82b8351b 100644 --- a/net-mgmt/nefu/files/nefu.in +++ b/net-mgmt/nefu/files/nefu.in @@ -13,7 +13,7 @@ # nefu_flags (str): Custom additional arguments to be passed to nefu # -. %%RC_SUBR%% +. /etc/rc.subr name="nefu" rcvar=`set_rcvar` diff --git a/net-mgmt/net-snmp/files/snmpd.sh.in b/net-mgmt/net-snmp/files/snmpd.sh.in index 8c72326f3e60..4975e310305e 100644 --- a/net-mgmt/net-snmp/files/snmpd.sh.in +++ b/net-mgmt/net-snmp/files/snmpd.sh.in @@ -16,7 +16,7 @@ snmpd_pidfile=${snmpd_pidfile-"/var/run/snmpd.pid"} snmpd_conffile=${snmpd_conffile-""} snmpd_flush_cache=${snmpd_flush_cache-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config net_snmpd diff --git a/net-mgmt/net-snmp/files/snmptrapd.sh.in b/net-mgmt/net-snmp/files/snmptrapd.sh.in index 35821ee9e973..ba6f84411f03 100644 --- a/net-mgmt/net-snmp/files/snmptrapd.sh.in +++ b/net-mgmt/net-snmp/files/snmptrapd.sh.in @@ -13,7 +13,7 @@ snmptrapd_enable=${snmptrapd_enable-"NO"} snmptrapd_flags=${snmptrapd_flags-"-p /var/run/snmptrapd.pid"} -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config net_snmptrapd diff --git a/net-mgmt/net-snmp4/files/snmpd.in b/net-mgmt/net-snmp4/files/snmpd.in index e4fe665431dc..4c100034afc9 100644 --- a/net-mgmt/net-snmp4/files/snmpd.in +++ b/net-mgmt/net-snmp4/files/snmpd.in @@ -10,7 +10,7 @@ # snmpd_enable (bool): Set to NO by default. Set it to YES to enable snmpd. # -. %%RC_SUBR%% +. /etc/rc.subr name=snmpd rcvar=`set_rcvar` diff --git a/net-mgmt/netams/files/netams.in b/net-mgmt/netams/files/netams.in index 2e607b8613c5..fe4be1b9990c 100644 --- a/net-mgmt/netams/files/netams.in +++ b/net-mgmt/netams/files/netams.in @@ -20,7 +20,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr name="netams" rcvar=`set_rcvar` diff --git a/net-mgmt/netdisco/files/netdisco.in b/net-mgmt/netdisco/files/netdisco.in index ce8bdbdb41f1..0e51b58abe1d 100644 --- a/net-mgmt/netdisco/files/netdisco.in +++ b/net-mgmt/netdisco/files/netdisco.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON # BEFORE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr name="netdisco" rcvar=`set_rcvar` diff --git a/net-mgmt/netmond/files/netmond.sh.in b/net-mgmt/netmond/files/netmond.sh.in index ec78c3a0c2bc..bc2b71943345 100644 --- a/net-mgmt/netmond/files/netmond.sh.in +++ b/net-mgmt/netmond/files/netmond.sh.in @@ -13,7 +13,7 @@ # /etc/rc.conf.d/netmond # -. %%RC_SUBR%% +. /etc/rc.subr name="netmond" rcvar=`set_rcvar` diff --git a/net-mgmt/netxms/files/netxmsd.in b/net-mgmt/netxms/files/netxmsd.in index 5e066b2d9d73..a66a9f6c6096 100644 --- a/net-mgmt/netxms/files/netxmsd.in +++ b/net-mgmt/netxms/files/netxmsd.in @@ -14,7 +14,7 @@ # Set it to "YES" to enable netxmsd. # -. %%RC_SUBR%% +. /etc/rc.subr name="netxmsd" rcvar=${name}_enable diff --git a/net-mgmt/netxms/files/nxagentd.in b/net-mgmt/netxms/files/nxagentd.in index d5623a7bf3b6..3ae91f7f7f06 100644 --- a/net-mgmt/netxms/files/nxagentd.in +++ b/net-mgmt/netxms/files/nxagentd.in @@ -13,7 +13,7 @@ # Set it to "YES" to enable nxagentd. # -. %%RC_SUBR%% +. /etc/rc.subr name="nxagentd" nxagentd_user="netxms" diff --git a/net-mgmt/netxms/files/nxhttpd.in b/net-mgmt/netxms/files/nxhttpd.in index 9034ff262602..8696422d34bd 100644 --- a/net-mgmt/netxms/files/nxhttpd.in +++ b/net-mgmt/netxms/files/nxhttpd.in @@ -13,7 +13,7 @@ # Set it to "YES" to enable nxagentd. # -. %%RC_SUBR%% +. /etc/rc.subr name="nxhttpd" nxhttpd_user="netxms" diff --git a/net-mgmt/ng_ipacct/files/ng_ipacct.sh.in b/net-mgmt/ng_ipacct/files/ng_ipacct.sh.in index 585a985d3b9d..608d6a2eda55 100644 --- a/net-mgmt/ng_ipacct/files/ng_ipacct.sh.in +++ b/net-mgmt/ng_ipacct/files/ng_ipacct.sh.in @@ -23,7 +23,7 @@ # # See %%PREFIX%%/etc/ng_ipacct.conf for futher reference. -. "%%RC_SUBR%%" +. /etc/rc.subr name="ng_ipacct" rcvar=`set_rcvar` diff --git a/net-mgmt/noc/files/noc.sh.in b/net-mgmt/noc/files/noc.sh.in index 047a8bb3d7ae..765f22b0a811 100644 --- a/net-mgmt/noc/files/noc.sh.in +++ b/net-mgmt/noc/files/noc.sh.in @@ -14,7 +14,7 @@ # Set it to "YES" to enable noc. # -. %%RC_SUBR%% +. /etc/rc.subr name="noc" rcvar=`set_rcvar` diff --git a/net-mgmt/nrpe2/files/nrpe2.in b/net-mgmt/nrpe2/files/nrpe2.in index ba500160fe10..acca5bf89b8b 100644 --- a/net-mgmt/nrpe2/files/nrpe2.in +++ b/net-mgmt/nrpe2/files/nrpe2.in @@ -16,7 +16,7 @@ # nrpe2_pidfile (str): Set to "%%NAGIOSDIR%%/nrpe2.pid" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="nrpe2" rcvar=`set_rcvar` diff --git a/net-mgmt/nsca/files/nsca.in b/net-mgmt/nsca/files/nsca.in index c14ce44143db..c616e04ecde5 100644 --- a/net-mgmt/nsca/files/nsca.in +++ b/net-mgmt/nsca/files/nsca.in @@ -12,7 +12,7 @@ # nsca_configfile (str): Set to "%%PREFIX%%/etc/nagios/nsca.cfg" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="nsca" rcvar=`set_rcvar` diff --git a/net-mgmt/openlldp/files/lldpd.in b/net-mgmt/openlldp/files/lldpd.in index 81320ebe5e2b..263a3c3db2ca 100644 --- a/net-mgmt/openlldp/files/lldpd.in +++ b/net-mgmt/openlldp/files/lldpd.in @@ -16,7 +16,7 @@ # Example: # lldpd_flags="-i em0" -. %%RC_SUBR%% +. /etc/rc.subr name=lldpd rcvar=`set_rcvar` diff --git a/net-mgmt/openvmps/files/vpmsd.in b/net-mgmt/openvmps/files/vpmsd.in index d11753110e01..99b19fdb021f 100644 --- a/net-mgmt/openvmps/files/vpmsd.in +++ b/net-mgmt/openvmps/files/vpmsd.in @@ -18,7 +18,7 @@ #vmpsd_program="%%PREFIX%%/sbin/vmpsd" # Location of vmpsd [ -z "$vmpsd_flags" ] && vmpsd_flags="-f /usr/local/etc/vmps.db" # Flags to vmpsd program -. %%RC_SUBR%% +. /etc/rc.subr name="vmpsd" rcvar=`set_rcvar` diff --git a/net-mgmt/ourmon/files/ourmon.in b/net-mgmt/ourmon/files/ourmon.in index 3b704ea100f2..492806ba2ddd 100644 --- a/net-mgmt/ourmon/files/ourmon.in +++ b/net-mgmt/ourmon/files/ourmon.in @@ -16,7 +16,7 @@ # On BSD: compare sysctl -a outputs to /var/log/messages, bpf bufsizes should match! -. %%RC_SUBR%% +. /etc/rc.subr name="ourmon" rcvar=${name}_enable diff --git a/net-mgmt/pftabled/files/pftabled.in b/net-mgmt/pftabled/files/pftabled.in index 57c80bfb969a..c22438c53e29 100644 --- a/net-mgmt/pftabled/files/pftabled.in +++ b/net-mgmt/pftabled/files/pftabled.in @@ -14,7 +14,7 @@ # Consult with the man page for more info. # -. %%RC_SUBR%% +. /etc/rc.subr name="pftabled" rcvar=${name}_enable diff --git a/net-mgmt/pnp/files/npcd.sh.in b/net-mgmt/pnp/files/npcd.sh.in index f58cda03e4de..c089dceb9c08 100644 --- a/net-mgmt/pnp/files/npcd.sh.in +++ b/net-mgmt/pnp/files/npcd.sh.in @@ -16,7 +16,7 @@ # npcd_configfile (str): Set to "%%PREFIX%%/etc/pnp/npcd.cfg" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="npcd" rcvar=`set_rcvar` diff --git a/net-mgmt/ramond/files/ramon.in b/net-mgmt/ramond/files/ramon.in index ce46db746185..810bfe2a8ced 100644 --- a/net-mgmt/ramond/files/ramon.in +++ b/net-mgmt/ramond/files/ramon.in @@ -6,7 +6,7 @@ # REQUIRE: DAEMON NETWORKING # -. %%RC_SUBR%% +. /etc/rc.subr name="ramon" rcvar=`set_rcvar` diff --git a/net-mgmt/rrdbot/files/rrdbot.in b/net-mgmt/rrdbot/files/rrdbot.in index 8562d7d4f25b..26353198d76c 100644 --- a/net-mgmt/rrdbot/files/rrdbot.in +++ b/net-mgmt/rrdbot/files/rrdbot.in @@ -17,7 +17,7 @@ # to rrdbotd (default: none). # -. %%RC_SUBR%% +. /etc/rc.subr name="rrdbot" rcvar=`set_rcvar` diff --git a/net-mgmt/smokeping/files/smokeping.in b/net-mgmt/smokeping/files/smokeping.in index 77e5457b0664..281f79b19c1e 100644 --- a/net-mgmt/smokeping/files/smokeping.in +++ b/net-mgmt/smokeping/files/smokeping.in @@ -20,7 +20,7 @@ smokeping_logfile=${smokeping_logfile-"/var/log/smokeping.log"} smokeping_user=${smokeping_user-"%%USERS%%"} smokeping_group=${smokeping_group-"%%GROUPS%%"} -. %%RC_SUBR%% +. /etc/rc.subr name="smokeping" rcvar=`set_rcvar` diff --git a/net-mgmt/snmptt/files/snmptt.sh.in b/net-mgmt/snmptt/files/snmptt.sh.in index d34b6dee0d5e..183c7d40dbcb 100644 --- a/net-mgmt/snmptt/files/snmptt.sh.in +++ b/net-mgmt/snmptt/files/snmptt.sh.in @@ -15,7 +15,7 @@ # See snmptt documentation for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name=snmptt rcvar=`set_rcvar` diff --git a/net-mgmt/trafd/files/trafd.sh.sample b/net-mgmt/trafd/files/trafd.sh.sample index 4fb078c4798b..571064f43eed 100644 --- a/net-mgmt/trafd/files/trafd.sh.sample +++ b/net-mgmt/trafd/files/trafd.sh.sample @@ -14,7 +14,7 @@ #trafd_log="/var/log/traffic.log" # -. %%RC_SUBR%% +. /etc/rc.subr name="trafd" rcvar=`set_rcvar` diff --git a/net-mgmt/xymon-client/files/hobbit-client.sh.in b/net-mgmt/xymon-client/files/hobbit-client.sh.in index 0da23ba3f67c..7ae6ddf9ce5a 100644 --- a/net-mgmt/xymon-client/files/hobbit-client.sh.in +++ b/net-mgmt/xymon-client/files/hobbit-client.sh.in @@ -6,7 +6,7 @@ # PROVIDE: hobbit_client # REQUIRE: DAEMON -. "%%RC_SUBR%%" +. /etc/rc.subr name="hobbit_client" rcvar=`set_rcvar` diff --git a/net-mgmt/xymon-server/files/hobbit-server.sh.in b/net-mgmt/xymon-server/files/hobbit-server.sh.in index 373527e12f12..796dbb4c393b 100644 --- a/net-mgmt/xymon-server/files/hobbit-server.sh.in +++ b/net-mgmt/xymon-server/files/hobbit-server.sh.in @@ -6,7 +6,7 @@ # PROVIDE: hobbit_server # REQUIRE: DAEMON -. "%%RC_SUBR%%" +. /etc/rc.subr name="hobbit_server" rcvar=`set_rcvar` diff --git a/net-mgmt/zabbix-server/files/zabbix_agentd.in b/net-mgmt/zabbix-server/files/zabbix_agentd.in index b4f13bdfd4cb..eacfffddb0c7 100644 --- a/net-mgmt/zabbix-server/files/zabbix_agentd.in +++ b/net-mgmt/zabbix-server/files/zabbix_agentd.in @@ -11,7 +11,7 @@ # enable zabbix_agentd. # -. %%RC_SUBR%% +. /etc/rc.subr name="zabbix_agentd" rcvar=${name}_enable diff --git a/net-mgmt/zabbix-server/files/zabbix_proxy.in b/net-mgmt/zabbix-server/files/zabbix_proxy.in index 3d53faeb206c..c997126b98a9 100644 --- a/net-mgmt/zabbix-server/files/zabbix_proxy.in +++ b/net-mgmt/zabbix-server/files/zabbix_proxy.in @@ -11,7 +11,7 @@ # enable zabbix_proxy. # -. %%RC_SUBR%% +. /etc/rc.subr name="zabbix_proxy" rcvar=${name}_enable diff --git a/net-mgmt/zabbix-server/files/zabbix_server.in b/net-mgmt/zabbix-server/files/zabbix_server.in index 5b2e85d1a354..4f4bb8d2c0c4 100644 --- a/net-mgmt/zabbix-server/files/zabbix_server.in +++ b/net-mgmt/zabbix-server/files/zabbix_server.in @@ -11,7 +11,7 @@ # enable zabbix_server. # -. %%RC_SUBR%% +. /etc/rc.subr name="zabbix_server" rcvar=${name}_enable diff --git a/net-mgmt/zabbix16-server/files/zabbix_agentd.in b/net-mgmt/zabbix16-server/files/zabbix_agentd.in index b4f13bdfd4cb..eacfffddb0c7 100644 --- a/net-mgmt/zabbix16-server/files/zabbix_agentd.in +++ b/net-mgmt/zabbix16-server/files/zabbix_agentd.in @@ -11,7 +11,7 @@ # enable zabbix_agentd. # -. %%RC_SUBR%% +. /etc/rc.subr name="zabbix_agentd" rcvar=${name}_enable diff --git a/net-mgmt/zabbix16-server/files/zabbix_proxy.in b/net-mgmt/zabbix16-server/files/zabbix_proxy.in index 3d53faeb206c..c997126b98a9 100644 --- a/net-mgmt/zabbix16-server/files/zabbix_proxy.in +++ b/net-mgmt/zabbix16-server/files/zabbix_proxy.in @@ -11,7 +11,7 @@ # enable zabbix_proxy. # -. %%RC_SUBR%% +. /etc/rc.subr name="zabbix_proxy" rcvar=${name}_enable diff --git a/net-mgmt/zabbix16-server/files/zabbix_server.in b/net-mgmt/zabbix16-server/files/zabbix_server.in index 5b2e85d1a354..4f4bb8d2c0c4 100644 --- a/net-mgmt/zabbix16-server/files/zabbix_server.in +++ b/net-mgmt/zabbix16-server/files/zabbix_server.in @@ -11,7 +11,7 @@ # enable zabbix_server. # -. %%RC_SUBR%% +. /etc/rc.subr name="zabbix_server" rcvar=${name}_enable diff --git a/net-mgmt/zabbix2-server/files/zabbix_agentd.in b/net-mgmt/zabbix2-server/files/zabbix_agentd.in index b4f13bdfd4cb..eacfffddb0c7 100644 --- a/net-mgmt/zabbix2-server/files/zabbix_agentd.in +++ b/net-mgmt/zabbix2-server/files/zabbix_agentd.in @@ -11,7 +11,7 @@ # enable zabbix_agentd. # -. %%RC_SUBR%% +. /etc/rc.subr name="zabbix_agentd" rcvar=${name}_enable diff --git a/net-mgmt/zabbix2-server/files/zabbix_proxy.in b/net-mgmt/zabbix2-server/files/zabbix_proxy.in index 3d53faeb206c..c997126b98a9 100644 --- a/net-mgmt/zabbix2-server/files/zabbix_proxy.in +++ b/net-mgmt/zabbix2-server/files/zabbix_proxy.in @@ -11,7 +11,7 @@ # enable zabbix_proxy. # -. %%RC_SUBR%% +. /etc/rc.subr name="zabbix_proxy" rcvar=${name}_enable diff --git a/net-mgmt/zabbix2-server/files/zabbix_server.in b/net-mgmt/zabbix2-server/files/zabbix_server.in index 5b2e85d1a354..4f4bb8d2c0c4 100644 --- a/net-mgmt/zabbix2-server/files/zabbix_server.in +++ b/net-mgmt/zabbix2-server/files/zabbix_server.in @@ -11,7 +11,7 @@ # enable zabbix_server. # -. %%RC_SUBR%% +. /etc/rc.subr name="zabbix_server" rcvar=${name}_enable diff --git a/net-p2p/amule-devel/files/amuled.sh.in b/net-p2p/amule-devel/files/amuled.sh.in index 99e6723cb0c5..d3dae43db169 100644 --- a/net-p2p/amule-devel/files/amuled.sh.in +++ b/net-p2p/amule-devel/files/amuled.sh.in @@ -18,7 +18,7 @@ # amuled_home (str): Set to home directory of user running amuled # (default /home/${amuled_user}) # -. %%RC_SUBR%% +. /etc/rc.subr name="amuled" rcvar=`set_rcvar` diff --git a/net-p2p/amule/files/amuled.sh.in b/net-p2p/amule/files/amuled.sh.in index 99e6723cb0c5..d3dae43db169 100644 --- a/net-p2p/amule/files/amuled.sh.in +++ b/net-p2p/amule/files/amuled.sh.in @@ -18,7 +18,7 @@ # amuled_home (str): Set to home directory of user running amuled # (default /home/${amuled_user}) # -. %%RC_SUBR%% +. /etc/rc.subr name="amuled" rcvar=`set_rcvar` diff --git a/net-p2p/amule2/files/amuled.sh.in b/net-p2p/amule2/files/amuled.sh.in index 99e6723cb0c5..d3dae43db169 100644 --- a/net-p2p/amule2/files/amuled.sh.in +++ b/net-p2p/amule2/files/amuled.sh.in @@ -18,7 +18,7 @@ # amuled_home (str): Set to home directory of user running amuled # (default /home/${amuled_user}) # -. %%RC_SUBR%% +. /etc/rc.subr name="amuled" rcvar=`set_rcvar` diff --git a/net-p2p/bnbt/files/bnbt.sh.in b/net-p2p/bnbt/files/bnbt.sh.in index 6ece8d189e51..cbdc3b3d77f6 100644 --- a/net-p2p/bnbt/files/bnbt.sh.in +++ b/net-p2p/bnbt/files/bnbt.sh.in @@ -16,7 +16,7 @@ # See bnbt(1) for bnbt_flags # -. "%%RC_SUBR%%" +. /etc/rc.subr name="bnbt" rcvar=`set_rcvar` diff --git a/net-p2p/dcd/files/dcd.sh.in b/net-p2p/dcd/files/dcd.sh.in index 0b6ac79a2a0a..39c6a95b846b 100644 --- a/net-p2p/dcd/files/dcd.sh.in +++ b/net-p2p/dcd/files/dcd.sh.in @@ -10,7 +10,7 @@ # dcd_enable (bool): Set to NO by default. # Set it to YES to enable dcd. -. %%RC_SUBR%% +. /etc/rc.subr name="dcd" rcvar=${name}_enable diff --git a/net-p2p/gift/files/giftd.in b/net-p2p/gift/files/giftd.in index c1e73c205f39..9d45474d8d10 100644 --- a/net-p2p/gift/files/giftd.in +++ b/net-p2p/gift/files/giftd.in @@ -19,7 +19,7 @@ giftd_flags="-d -q" # giftd_user="" # giftd_local_dir="" -. %%RC_SUBR%% +. /etc/rc.subr name=giftd rcvar=`set_rcvar` diff --git a/net-p2p/i2p/files/i2p.sh.in b/net-p2p/i2p/files/i2p.sh.in index 5da408c0c0b0..e3fd12fcbe2b 100644 --- a/net-p2p/i2p/files/i2p.sh.in +++ b/net-p2p/i2p/files/i2p.sh.in @@ -15,7 +15,7 @@ #i2p_user="" # -. %%RC_SUBR%% +. /etc/rc.subr name="i2p" rcvar=`set_rcvar` diff --git a/net-p2p/mldonkey/files/mlnet.in b/net-p2p/mldonkey/files/mlnet.in index a0e79844781c..2874c2b3c322 100644 --- a/net-p2p/mldonkey/files/mlnet.in +++ b/net-p2p/mldonkey/files/mlnet.in @@ -17,7 +17,7 @@ #mlnet_logfile="" # -. %%RC_SUBR%% +. /etc/rc.subr name="mlnet" rcvar=`set_rcvar` diff --git a/net-p2p/py-bittornado/files/bttrack.in b/net-p2p/py-bittornado/files/bttrack.in index e44d1545ed93..a702107672f3 100644 --- a/net-p2p/py-bittornado/files/bttrack.in +++ b/net-p2p/py-bittornado/files/bttrack.in @@ -15,7 +15,7 @@ # # -. %%RC_SUBR%% +. /etc/rc.subr name=bttrack rcvar=`set_rcvar` diff --git a/net-p2p/transmission-cli/files/transmission.in b/net-p2p/transmission-cli/files/transmission.in index 3f64e5e3f729..a95021b166f7 100644 --- a/net-p2p/transmission-cli/files/transmission.in +++ b/net-p2p/transmission-cli/files/transmission.in @@ -22,7 +22,7 @@ # as root. # -. %%RC_SUBR%% +. /etc/rc.subr name="transmission" rcvar=${name}_enable diff --git a/net-p2p/uhub/files/uhub.sh.in b/net-p2p/uhub/files/uhub.sh.in index cdea6fd39bfe..7cfd522dde1c 100644 --- a/net-p2p/uhub/files/uhub.sh.in +++ b/net-p2p/uhub/files/uhub.sh.in @@ -17,7 +17,7 @@ # Default is "/var/run/uhub.pid". # -. %%RC_SUBR%% +. /etc/rc.subr name="uhub" rcvar=`set_rcvar` diff --git a/net-p2p/verlihub/files/verlihub.in b/net-p2p/verlihub/files/verlihub.in index 41b93eb2b568..4508f969b91f 100644 --- a/net-p2p/verlihub/files/verlihub.in +++ b/net-p2p/verlihub/files/verlihub.in @@ -10,7 +10,7 @@ # Set it to YES to enable verlihub. # -. "%%RC_SUBR%%" +. /etc/rc.subr name="verlihub" rcvar=${name}_enable diff --git a/net/3proxy/files/3proxy.sh.in b/net/3proxy/files/3proxy.sh.in index 977bee5b3c4c..44935f6f9187 100644 --- a/net/3proxy/files/3proxy.sh.in +++ b/net/3proxy/files/3proxy.sh.in @@ -16,7 +16,7 @@ threeproxy_enable=${threeproxy_enable-"NO"} threeproxy_flags=${threeproxy_flags-"%%PREFIX%%/etc/3proxy.cfg"} -. %%RC_SUBR%% +. /etc/rc.subr name="threeproxy" rcvar=`set_rcvar` diff --git a/net/DarwinStreamingServer/files/darwin_streaming_server.sh.in b/net/DarwinStreamingServer/files/darwin_streaming_server.sh.in index b66febd6bb01..7d7cd295de95 100644 --- a/net/DarwinStreamingServer/files/darwin_streaming_server.sh.in +++ b/net/DarwinStreamingServer/files/darwin_streaming_server.sh.in @@ -7,7 +7,7 @@ # darwin_streaming_server_enable=${darwin_streaming_server_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=darwin_streaming_server rcvar=`set_rcvar` diff --git a/net/DarwinStreamingServer/files/streamingadminserver.sh.in b/net/DarwinStreamingServer/files/streamingadminserver.sh.in index 5e36d2cc72fc..f708d61878ac 100644 --- a/net/DarwinStreamingServer/files/streamingadminserver.sh.in +++ b/net/DarwinStreamingServer/files/streamingadminserver.sh.in @@ -7,7 +7,7 @@ # streamingadminserver_enable=${streamingadminserver_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=streamingadminserver rcvar=`set_rcvar` diff --git a/net/asterisk-bristuff/files/asterisk.sh.in b/net/asterisk-bristuff/files/asterisk.sh.in index e05d58ed6ee8..ca5941068460 100644 --- a/net/asterisk-bristuff/files/asterisk.sh.in +++ b/net/asterisk-bristuff/files/asterisk.sh.in @@ -9,7 +9,7 @@ # asterisk_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr stop_precmd=asterisk_shutdown sig_stop=KILL diff --git a/net/asterisk/files/asterisk.sh.in b/net/asterisk/files/asterisk.sh.in index e05d58ed6ee8..ca5941068460 100644 --- a/net/asterisk/files/asterisk.sh.in +++ b/net/asterisk/files/asterisk.sh.in @@ -9,7 +9,7 @@ # asterisk_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr stop_precmd=asterisk_shutdown sig_stop=KILL diff --git a/net/asterisk10/files/asterisk.sh.in b/net/asterisk10/files/asterisk.sh.in index e05d58ed6ee8..ca5941068460 100644 --- a/net/asterisk10/files/asterisk.sh.in +++ b/net/asterisk10/files/asterisk.sh.in @@ -9,7 +9,7 @@ # asterisk_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr stop_precmd=asterisk_shutdown sig_stop=KILL diff --git a/net/asterisk12/files/asterisk.sh.in b/net/asterisk12/files/asterisk.sh.in index 4489cb50be04..5c7dd8026c54 100644 --- a/net/asterisk12/files/asterisk.sh.in +++ b/net/asterisk12/files/asterisk.sh.in @@ -9,7 +9,7 @@ # asterisk_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=asterisk rcvar=`set_rcvar` diff --git a/net/asterisk14/files/asterisk.sh.in b/net/asterisk14/files/asterisk.sh.in index e05d58ed6ee8..ca5941068460 100644 --- a/net/asterisk14/files/asterisk.sh.in +++ b/net/asterisk14/files/asterisk.sh.in @@ -9,7 +9,7 @@ # asterisk_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr stop_precmd=asterisk_shutdown sig_stop=KILL diff --git a/net/asterisk16/files/asterisk.sh.in b/net/asterisk16/files/asterisk.sh.in index e05d58ed6ee8..ca5941068460 100644 --- a/net/asterisk16/files/asterisk.sh.in +++ b/net/asterisk16/files/asterisk.sh.in @@ -9,7 +9,7 @@ # asterisk_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr stop_precmd=asterisk_shutdown sig_stop=KILL diff --git a/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in b/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in index 564577bf0b9e..b50a9e87591b 100644 --- a/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in +++ b/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in @@ -8,7 +8,7 @@ avahi_daemon_flags=${avahi_daemon_flags-"-D"} -. /etc/rc.subr -+. %%RC_SUBR%% ++. /etc/rc.subr +. %%GNOME_SUBR%% + +avahi_daemon_enable=${avahi_daemon_enable-${gnome_enable}} diff --git a/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in b/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in index 1e7939466c58..71c4343a1faa 100644 --- a/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in +++ b/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in @@ -8,7 +8,7 @@ avahi_dnsconfd_flags=${avahi_dnsconfd_flags-"-D"} -. /etc/rc.subr -+. %%RC_SUBR%% ++. /etc/rc.subr +. %%GNOME_SUBR%% + +avahi_dnsconfd_enable=${avahi_dnsconfd_enable-${gnome_enable}} diff --git a/net/balance/files/balance.sh.in b/net/balance/files/balance.sh.in index fc5892ec2ca7..0f4f906f0ae9 100644 --- a/net/balance/files/balance.sh.in +++ b/net/balance/files/balance.sh.in @@ -20,7 +20,7 @@ # See balance(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=balance rcvar=`set_rcvar` diff --git a/net/beacon/files/beacon.in b/net/beacon/files/beacon.in index be2a8fffd651..321a6240e05f 100644 --- a/net/beacon/files/beacon.in +++ b/net/beacon/files/beacon.in @@ -12,7 +12,7 @@ beacon_enable=${beacon_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="beacon" rcvar=`set_rcvar` diff --git a/net/beanstalkd/files/beanstalkd.in b/net/beanstalkd/files/beanstalkd.in index 059cbdd68714..8aefd49ac49d 100644 --- a/net/beanstalkd/files/beanstalkd.in +++ b/net/beanstalkd/files/beanstalkd.in @@ -15,7 +15,7 @@ # Default is "nobody". # -. %%RC_SUBR%% +. /etc/rc.subr name="beanstalkd" rcvar=${name}_enable diff --git a/net/bfilter/files/bfilter.sh.in b/net/bfilter/files/bfilter.sh.in index 8b9ef7435a0f..4d438d423a57 100644 --- a/net/bfilter/files/bfilter.sh.in +++ b/net/bfilter/files/bfilter.sh.in @@ -10,7 +10,7 @@ # bfilter_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=bfilter rcvar=`set_rcvar` diff --git a/net/binkd/files/binkd.sh.in b/net/binkd/files/binkd.sh.in index 30e794541152..aa618118af53 100644 --- a/net/binkd/files/binkd.sh.in +++ b/net/binkd/files/binkd.sh.in @@ -19,7 +19,7 @@ binkd_flags=${binkd_flags:-"-D"} binkd_user=${binkd_user:-"fido"} binkd_pidfile=${binkd_pidfile:-"/var/run/binkd/binkd.pid"} -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config binkd name="binkd" diff --git a/net/bld/files/bld.in b/net/bld/files/bld.in index 49eeb83341c0..a2a342de64ec 100644 --- a/net/bld/files/bld.in +++ b/net/bld/files/bld.in @@ -13,7 +13,7 @@ # See bld(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name="bld" rcvar=${name}_enable diff --git a/net/boinc-client/files/boinc.sh.in b/net/boinc-client/files/boinc.sh.in index eb2fb35b6e78..9950b8485d10 100644 --- a/net/boinc-client/files/boinc.sh.in +++ b/net/boinc-client/files/boinc.sh.in @@ -6,7 +6,7 @@ # REQUIRE: LOGIN # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name="boinc" rcvar=`set_rcvar` diff --git a/net/bounce/files/bounce.in b/net/bounce/files/bounce.in index 44ce9913dd42..e8e8448bfde4 100644 --- a/net/bounce/files/bounce.in +++ b/net/bounce/files/bounce.in @@ -14,7 +14,7 @@ # bounce_connectionname_options (str): Commandline for each bounce connection. # -. %%RC_SUBR%% +. /etc/rc.subr name="bounce" rcvar=${name}_enable diff --git a/net/callweaver/files/callweaver.in b/net/callweaver/files/callweaver.in index 18e0fea50ccb..e1ef480a62c8 100644 --- a/net/callweaver/files/callweaver.in +++ b/net/callweaver/files/callweaver.in @@ -9,7 +9,7 @@ # callweaver_enable="YES" # -. . %%RC_SUBR%% +. /etc/rc.subr stop_precmd=callweaver_shutdown sig_stop=KILL diff --git a/net/ccxstream/files/ccxstream.in b/net/ccxstream/files/ccxstream.in index 7b68000d3e3b..4365fdd83862 100644 --- a/net/ccxstream/files/ccxstream.in +++ b/net/ccxstream/files/ccxstream.in @@ -26,7 +26,7 @@ # Don't worry about the "-f" (background) and "-F <pidfile>" arguments; # this script takes care of them for you. -. %%RC_SUBR%% +. /etc/rc.subr name="ccxstream" rcvar=`set_rcvar` diff --git a/net/cnupm/files/cnupm.sh.in b/net/cnupm/files/cnupm.sh.in index 09a188606f65..e479e225cd35 100644 --- a/net/cnupm/files/cnupm.sh.in +++ b/net/cnupm/files/cnupm.sh.in @@ -13,7 +13,7 @@ # See cnupm(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=cnupm rcvar=`set_rcvar` diff --git a/net/cvsup-mirror/files/cvsupd.sh.in b/net/cvsup-mirror/files/cvsupd.sh.in index 1b4a2b731609..4c4049f96c7c 100644 --- a/net/cvsup-mirror/files/cvsupd.sh.in +++ b/net/cvsup-mirror/files/cvsupd.sh.in @@ -27,7 +27,7 @@ # Note that answering the questions during the install will setup # %%PREFIX%%/etc/cvsup/config.sh for you. -. %%RC_SUBR%% +. /etc/rc.subr name="cvsupd" rcvar=`set_rcvar` diff --git a/net/cvsync/files/cvsyncd.in b/net/cvsync/files/cvsyncd.in index ddfba1de8b8b..d002408a71a9 100644 --- a/net/cvsync/files/cvsyncd.in +++ b/net/cvsync/files/cvsyncd.in @@ -9,7 +9,7 @@ cvsyncd_enable=${cvsyncd_enable-"NO"} cvsyncd_pidfile=${cvsyncd_pidfile-"/var/run/cvsyncd.pid"} cvsyncd_conffile=${cvsyncd_conffile-"%%PREFIX%%/etc/cvsyncd.conf"} -. %%RC_SUBR%% +. /etc/rc.subr name=cvsyncd rcvar=`set_rcvar` diff --git a/net/daemonlogger/files/daemonlogger.sh.in b/net/daemonlogger/files/daemonlogger.sh.in index 62cbe985a17f..cfffb5d0a00c 100644 --- a/net/daemonlogger/files/daemonlogger.sh.in +++ b/net/daemonlogger/files/daemonlogger.sh.in @@ -9,7 +9,7 @@ # Set it to "YES" to enable daemonlogger # daemonlogger_flags (string): Set to "-d -l" by default. -. %%RC_SUBR%% +. /etc/rc.subr name="daemonlogger" rcvar=`set_rcvar` diff --git a/net/dante/files/sockd.sh.in b/net/dante/files/sockd.sh.in index faf0457278a5..b639cf700e35 100644 --- a/net/dante/files/sockd.sh.in +++ b/net/dante/files/sockd.sh.in @@ -13,7 +13,7 @@ #sockd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=sockd rcvar=`set_rcvar` diff --git a/net/dbeacon/files/dbeacon.in b/net/dbeacon/files/dbeacon.in index 6f29bab71711..a9a3cb575b78 100644 --- a/net/dbeacon/files/dbeacon.in +++ b/net/dbeacon/files/dbeacon.in @@ -16,7 +16,7 @@ dbeacon_enable=${dbeacon_enable-"NO"} dbeacon_flags=${dbeacon_flags-""} -. %%RC_SUBR%% +. /etc/rc.subr name="dbeacon" rcvar=`set_rcvar` diff --git a/net/dhcp6/files/dhcp6c.sh.in b/net/dhcp6/files/dhcp6c.sh.in index ce786553db40..e88e376dd79c 100644 --- a/net/dhcp6/files/dhcp6c.sh.in +++ b/net/dhcp6/files/dhcp6c.sh.in @@ -23,7 +23,7 @@ # dhcp6c_flags (additional arguments): Not defined by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="dhcp6c" rcvar=${name}_enable diff --git a/net/dhcp6/files/dhcp6relay.sh.in b/net/dhcp6/files/dhcp6relay.sh.in index 3dff743fb82d..055fe6ebbe5d 100644 --- a/net/dhcp6/files/dhcp6relay.sh.in +++ b/net/dhcp6/files/dhcp6relay.sh.in @@ -20,7 +20,7 @@ # dhcp6relay_flags (additional arguments): Not defined by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="dhcp6relay" rcvar=${name}_enable diff --git a/net/dhcp6/files/dhcp6s.sh.in b/net/dhcp6/files/dhcp6s.sh.in index da1bb167fa5e..e399657f16c6 100644 --- a/net/dhcp6/files/dhcp6s.sh.in +++ b/net/dhcp6/files/dhcp6s.sh.in @@ -21,7 +21,7 @@ # dhcp6s_flags (additional arguments): Not defined by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="dhcp6s" rcvar=${name}_enable diff --git a/net/dhcpcd/files/dhcpcd.in b/net/dhcpcd/files/dhcpcd.in index 8e3fe04a8b70..6862295f8e46 100644 --- a/net/dhcpcd/files/dhcpcd.in +++ b/net/dhcpcd/files/dhcpcd.in @@ -4,7 +4,7 @@ # KEYWORD: nojail nostart # -. %%RC_SUBR%% +. /etc/rc.subr . /etc/network.subr name="dhcpcd" diff --git a/net/dhcprelay/files/dhcprelay.in b/net/dhcprelay/files/dhcprelay.in index 1321eb02bd17..456cf0ea18a8 100644 --- a/net/dhcprelay/files/dhcprelay.in +++ b/net/dhcprelay/files/dhcprelay.in @@ -12,7 +12,7 @@ # dhcprelay_server="" # dhcprelay server(s) # dhcprelay_ifaces="" # ethernet interface(s) -. %%RC_SUBR%% +. /etc/rc.subr name=dhcprelay rcvar=$(set_rcvar) diff --git a/net/dhcprelya/files/dhcprelya.in b/net/dhcprelya/files/dhcprelya.in index 73f00b91ddf5..45c770b6f000 100644 --- a/net/dhcprelya/files/dhcprelya.in +++ b/net/dhcprelya/files/dhcprelya.in @@ -42,7 +42,7 @@ dhcprelya_postcmd() { rm -f ${pidfile} } -. %%RC_SUBR%% +. /etc/rc.subr name=dhcprelya rcvar=$(set_rcvar) diff --git a/net/dictd/files/dictd.in b/net/dictd/files/dictd.in index 5e8cebcd33df..9187e00ec3f9 100644 --- a/net/dictd/files/dictd.in +++ b/net/dictd/files/dictd.in @@ -11,7 +11,7 @@ dictd_enable=${dictd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=dictd rcvar=`set_rcvar` diff --git a/net/dtcp/files/dtcpc.sh.in b/net/dtcp/files/dtcpc.sh.in index 512f2c575519..863b6893bdf5 100644 --- a/net/dtcp/files/dtcpc.sh.in +++ b/net/dtcp/files/dtcpc.sh.in @@ -21,7 +21,7 @@ dtcpc_server=${dtcpc_server:-""} # DTCP server name dtcpc_username=${dtcpc_username:-""} # DTCP user name dtcpc_flags=${dtcpc_flags:-"-t network -Dl"} # Flags to dtcpc program -. %%RC_SUBR%% +. /etc/rc.subr name="dtcpc" rcvar=`set_rcvar` diff --git a/net/dtcp/files/dtcps.sh.in b/net/dtcp/files/dtcps.sh.in index cb92f3476c20..7bff3d9fc609 100644 --- a/net/dtcp/files/dtcps.sh.in +++ b/net/dtcp/files/dtcps.sh.in @@ -33,7 +33,7 @@ dtcps_enable=${dtcps_enable:-"NO"} # Enable dtcps # YOU MUST CHANGE TO ASSIGN THIS WITHIN YOUR ADDRESS BLOCK. #dtcps_prefix='3ffe:501:185b:8000::' -. %%RC_SUBR%% +. /etc/rc.subr name="dtcps" rcvar=`set_rcvar` diff --git a/net/dtcpclient/files/dtcpclient.sh.in b/net/dtcpclient/files/dtcpclient.sh.in index 1b90df11c581..687bd954ae79 100644 --- a/net/dtcpclient/files/dtcpclient.sh.in +++ b/net/dtcpclient/files/dtcpclient.sh.in @@ -21,7 +21,7 @@ dtcpclient_server=${dtcpclient_server:-""} # DTCP server name dtcpclient_username=${dtcpclient_username:-""} # DTCP user name dtcpclient_flags=${dtcpclient_flags:-"-t network -Dl"} # Flags to dtcpclient program -. %%RC_SUBR%% +. /etc/rc.subr name="dtcpclient" rcvar=`set_rcvar` diff --git a/net/freenet6/files/freenet6.in b/net/freenet6/files/freenet6.in index b2100548ea49..adee0df4bd5a 100644 --- a/net/freenet6/files/freenet6.in +++ b/net/freenet6/files/freenet6.in @@ -19,7 +19,7 @@ # freenet6_flags="-f %%PREFIX%%/etc/gw6c.conf" # -. %%RC_SUBR%% +. /etc/rc.subr name=freenet6 rcvar=`set_rcvar` diff --git a/net/freeradius/files/radiusd.sh.in b/net/freeradius/files/radiusd.sh.in index a29083d64fab..795cea0104e2 100644 --- a/net/freeradius/files/radiusd.sh.in +++ b/net/freeradius/files/radiusd.sh.in @@ -10,7 +10,7 @@ # radiusd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=radiusd rcvar=`set_rcvar` diff --git a/net/freeradius2/files/radiusd.sh.in b/net/freeradius2/files/radiusd.sh.in index eed2b264c827..6e623e392c0d 100644 --- a/net/freeradius2/files/radiusd.sh.in +++ b/net/freeradius2/files/radiusd.sh.in @@ -11,7 +11,7 @@ # radiusd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=radiusd rcvar=`set_rcvar` diff --git a/net/freeswitch/files/freeswitch.in b/net/freeswitch/files/freeswitch.in index 24392472cb06..397fbdd36194 100644 --- a/net/freeswitch/files/freeswitch.in +++ b/net/freeswitch/files/freeswitch.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON # KEYWORD: FreeBSD -. %%RC_SUBR%% +. /etc/rc.subr name=freeswitch rcvar=`set_rcvar` diff --git a/net/frickin/files/frickin.sh.in b/net/frickin/files/frickin.sh.in index 1a9844fbf350..abbc26a1d9e2 100644 --- a/net/frickin/files/frickin.sh.in +++ b/net/frickin/files/frickin.sh.in @@ -21,7 +21,7 @@ frickin_enable=${frickin_enable-"NO"} frickin_conf=${frickin_conf-""} -. %%RC_SUBR%% +. /etc/rc.subr name="frickin" diff --git a/net/gatekeeper/files/gnugk.sh.in b/net/gatekeeper/files/gnugk.sh.in index 80cec7929650..4747a64f3353 100644 --- a/net/gatekeeper/files/gnugk.sh.in +++ b/net/gatekeeper/files/gnugk.sh.in @@ -17,7 +17,7 @@ # gnugk_pidfile="path to the pidfile to use" (def: /var/run/gnugk/gnugk.pid) # gnugk_flags="additional flags you need" (def: -t) -. %%RC_SUBR%% +. /etc/rc.subr name="gnugk" rcvar=`set_rcvar` diff --git a/net/gateway6/files/gateway6.sh.in b/net/gateway6/files/gateway6.sh.in index b171ddd46fb3..817b940de6b4 100644 --- a/net/gateway6/files/gateway6.sh.in +++ b/net/gateway6/files/gateway6.sh.in @@ -20,7 +20,7 @@ # See gw6c(8) for gateway6_flags # -. %%RC_SUBR%% +. /etc/rc.subr name="gateway6" rcvar=`set_rcvar` diff --git a/net/generic-nqs/files/nqs.sh b/net/generic-nqs/files/nqs.sh index e5056ad046c5..778471a876d7 100644 --- a/net/generic-nqs/files/nqs.sh +++ b/net/generic-nqs/files/nqs.sh @@ -11,7 +11,7 @@ # nqs_enable (bool): Set to "NO" by default. # Set it to "YES" to enable NQS -. %%RC_SUBR%% +. /etc/rc.subr name="nqs" rcvar=`set_rcvar` diff --git a/net/gnu-radius/files/radiusd.sh.in b/net/gnu-radius/files/radiusd.sh.in index 214afd518768..d37dc8f09f34 100644 --- a/net/gnu-radius/files/radiusd.sh.in +++ b/net/gnu-radius/files/radiusd.sh.in @@ -11,7 +11,7 @@ # radiusd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=radiusd rcvar=`set_rcvar` diff --git a/net/haproxy-devel/files/haproxy.in b/net/haproxy-devel/files/haproxy.in index 6c5edebd00cb..c54a12033cca 100644 --- a/net/haproxy-devel/files/haproxy.in +++ b/net/haproxy-devel/files/haproxy.in @@ -20,7 +20,7 @@ # haproxylimits_args (str): Default to "-e -C daemon" # Arguments of pre-start limits run. # -. %%RC_SUBR%% +. /etc/rc.subr name="haproxy" rcvar=`set_rcvar` diff --git a/net/haproxy/files/haproxy.in b/net/haproxy/files/haproxy.in index 69991093ed52..8127c9adffe6 100644 --- a/net/haproxy/files/haproxy.in +++ b/net/haproxy/files/haproxy.in @@ -31,7 +31,7 @@ # ####### -. %%RC_SUBR%% +. /etc/rc.subr name="haproxy" rcvar=`set_rcvar` diff --git a/net/howl/files/mdnsresponder.in b/net/howl/files/mdnsresponder.in index 80f1662ee300..dc546b4a58d9 100644 --- a/net/howl/files/mdnsresponder.in +++ b/net/howl/files/mdnsresponder.in @@ -11,7 +11,7 @@ # mdnsresponder_enable="YES" # mdnsresponder_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name=mdnsresponder rcvar=`set_rcvar` diff --git a/net/httpry/files/httpry.in b/net/httpry/files/httpry.in index f01f9b04ccbc..14bf6f64fb18 100644 --- a/net/httpry/files/httpry.in +++ b/net/httpry/files/httpry.in @@ -15,7 +15,7 @@ # See httpry(1) for more information. # -. %%RC_SUBR%% +. /etc/rc.subr name=httpry rcvar=${name}_enable diff --git a/net/iaxmodem/files/iaxmodem.in b/net/iaxmodem/files/iaxmodem.in index c9ceba75397f..6b7685b829e7 100644 --- a/net/iaxmodem/files/iaxmodem.in +++ b/net/iaxmodem/files/iaxmodem.in @@ -10,7 +10,7 @@ # iaxmodem_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=iaxmodem rcvar=`set_rcvar` diff --git a/net/ifdepd/files/ifdepd.in b/net/ifdepd/files/ifdepd.in index 3b8972e89ebf..f45227492e5b 100644 --- a/net/ifdepd/files/ifdepd.in +++ b/net/ifdepd/files/ifdepd.in @@ -12,7 +12,7 @@ #ifdepd_src_ifaces="em0:em1" #ifdepd_dst_ifaces="carp1" -. %%RC_SUBR%% +. /etc/rc.subr name="ifdepd" rcvar=`set_rcvar` diff --git a/net/ifstated/files/ifstated.in b/net/ifstated/files/ifstated.in index 98c544fafe0f..4e1480dc0348 100644 --- a/net/ifstated/files/ifstated.in +++ b/net/ifstated/files/ifstated.in @@ -15,7 +15,7 @@ # ifstated_flags (str): Set to "-f %%PREFIX%%/etc/ifstated.conf" by default. # Extra flags passed to start command # -. %%RC_SUBR%% +. /etc/rc.subr name="ifstated" rcvar=`set_rcvar` diff --git a/net/igmpproxy/files/igmpproxy.in b/net/igmpproxy/files/igmpproxy.in index d579251515f2..75b2381d2cf2 100644 --- a/net/igmpproxy/files/igmpproxy.in +++ b/net/igmpproxy/files/igmpproxy.in @@ -11,7 +11,7 @@ # igmpproxy_enable (bool): Set to "NO" by default. # Set it to "YES" to enable igmpproxy. -. %%RC_SUBR%% +. /etc/rc.subr name="igmpproxy" rcvar=`set_rcvar` diff --git a/net/iodine/files/iodined.in b/net/iodine/files/iodined.in index 3a56a4bfdf57..bf9c6008fc70 100644 --- a/net/iodine/files/iodined.in +++ b/net/iodine/files/iodined.in @@ -19,7 +19,7 @@ # Additional flags to iodined, see manual page. # -. %%RC_SUBR%% +. /etc/rc.subr name="iodined" rcvar=${name}_enable diff --git a/net/ipw-firmware/files/ipw.sh.in b/net/ipw-firmware/files/ipw.sh.in index ba950ad99db2..3240c6cf189b 100644 --- a/net/ipw-firmware/files/ipw.sh.in +++ b/net/ipw-firmware/files/ipw.sh.in @@ -13,7 +13,7 @@ # %%DRIVERNAME%%_enable="YES" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="%%DRIVERNAME%%" rcvar=`set_rcvar` diff --git a/net/irrd/files/irrd.sh.in b/net/irrd/files/irrd.sh.in index 033b875555b6..1aa8552650d8 100644 --- a/net/irrd/files/irrd.sh.in +++ b/net/irrd/files/irrd.sh.in @@ -17,7 +17,7 @@ irrd_enable="${irrd_enable:-NO}" # Enable irrd #irrd_program="%%PREFIX%%/sbin/irrd" # Location of irrd irrd_flags="${irrd_flags:--u}" # Flags to imapd program -. %%RC_SUBR%% +. /etc/rc.subr name="irrd" rcvar=`set_rcvar` diff --git a/net/isc-dhcp30-server/files/isc-dhcpd.in b/net/isc-dhcp30-server/files/isc-dhcpd.in index 9f1b77e62ad0..280acc353549 100644 --- a/net/isc-dhcp30-server/files/isc-dhcpd.in +++ b/net/isc-dhcp30-server/files/isc-dhcpd.in @@ -12,7 +12,7 @@ # dhcpd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=dhcpd paranoia=%%PARANOIA%% # compiled in paranoia? diff --git a/net/isc-dhcp30-server/files/isc-dhcrelay.in b/net/isc-dhcp30-server/files/isc-dhcrelay.in index a98176731662..4b0fdd2378ba 100644 --- a/net/isc-dhcp30-server/files/isc-dhcrelay.in +++ b/net/isc-dhcp30-server/files/isc-dhcrelay.in @@ -44,7 +44,7 @@ dhcrelay_precmd () rc_flags="${rc_flags} ${ifaces} ${dhcrelay_servers}" } -. %%RC_SUBR%% +. /etc/rc.subr name=dhcrelay rcvar=${name}_enable diff --git a/net/isc-dhcp31-server/files/isc-dhcpd.in b/net/isc-dhcp31-server/files/isc-dhcpd.in index a9f806a0975b..ed28906bc233 100644 --- a/net/isc-dhcp31-server/files/isc-dhcpd.in +++ b/net/isc-dhcp31-server/files/isc-dhcpd.in @@ -12,7 +12,7 @@ # dhcpd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=dhcpd paranoia=%%PARANOIA%% # compiled in paranoia? diff --git a/net/isc-dhcp31-server/files/isc-dhcrelay.in b/net/isc-dhcp31-server/files/isc-dhcrelay.in index 7e51d989c79e..950ff5eecf5b 100644 --- a/net/isc-dhcp31-server/files/isc-dhcrelay.in +++ b/net/isc-dhcp31-server/files/isc-dhcrelay.in @@ -44,7 +44,7 @@ dhcrelay_precmd () rc_flags="${rc_flags} ${ifaces} ${dhcrelay_servers}" } -. %%RC_SUBR%% +. /etc/rc.subr name=dhcrelay rcvar=${name}_enable diff --git a/net/iscsi-target/files/iscsi_target.in b/net/iscsi-target/files/iscsi_target.in index c9a25b3b7fb4..95953f5e633b 100644 --- a/net/iscsi-target/files/iscsi_target.in +++ b/net/iscsi-target/files/iscsi_target.in @@ -3,7 +3,7 @@ # PROVIDE: iscsi_target # REQUIRE: NETWORKING mountall quota -. %%RC_SUBR%% +. /etc/rc.subr name="iscsi_target" rcvar=`set_rcvar` diff --git a/net/iwi-firmware/files/iwi.sh.in b/net/iwi-firmware/files/iwi.sh.in index 511a8fe7e851..a861221f865f 100644 --- a/net/iwi-firmware/files/iwi.sh.in +++ b/net/iwi-firmware/files/iwi.sh.in @@ -13,7 +13,7 @@ # %%DRIVERNAME%%_enable="YES" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="%%DRIVERNAME%%" rcvar=`set_rcvar` diff --git a/net/keepalived/files/keepalived.sh.in b/net/keepalived/files/keepalived.sh.in index f4f390e360a6..26914ebbe1a4 100644 --- a/net/keepalived/files/keepalived.sh.in +++ b/net/keepalived/files/keepalived.sh.in @@ -14,7 +14,7 @@ # Set it to "YES" to enable keepalived # apache2_profiles (string): Undefined by default. Define here your profiles. -. %%RC_SUBR%% +. /etc/rc.subr name="keepalived" rcvar=`set_rcvar` diff --git a/net/ladvd/files/ladvd.in b/net/ladvd/files/ladvd.in index e59f6f381123..1055b0f40baa 100644 --- a/net/ladvd/files/ladvd.in +++ b/net/ladvd/files/ladvd.in @@ -11,7 +11,7 @@ # See ladvd(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name=ladvd rcvar=`set_rcvar` diff --git a/net/lanbrowsing/files/lisa.sh b/net/lanbrowsing/files/lisa.sh index a2a4a55110d6..5179ae2b4d4f 100644 --- a/net/lanbrowsing/files/lisa.sh +++ b/net/lanbrowsing/files/lisa.sh @@ -9,7 +9,7 @@ lisa_enable="NO" lisa_conffile="%%PREFIX%%/etc/lisarc" -. %%RC_SUBR%% +. /etc/rc.subr name="lisa" rcvar=`set_rcvar` diff --git a/net/linknx/files/linknx.in b/net/linknx/files/linknx.in index 5f5c78892d3f..1c1e3fee97c9 100644 --- a/net/linknx/files/linknx.in +++ b/net/linknx/files/linknx.in @@ -20,7 +20,7 @@ # -. "%%RC_SUBR%%" +. /etc/rc.subr name="linknx" rcvar=`set_rcvar` diff --git a/net/linuxigd/files/linuxigd.in b/net/linuxigd/files/linuxigd.in index 4715ecf7eacd..83630fc1ed18 100644 --- a/net/linuxigd/files/linuxigd.in +++ b/net/linuxigd/files/linuxigd.in @@ -10,7 +10,7 @@ # linuxigd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=linuxigd rcvar=`set_rcvar` diff --git a/net/mDNSResponder/files/mdnsd.sh.in b/net/mDNSResponder/files/mdnsd.sh.in index eacb5cf9e948..f3e80c9d45aa 100644 --- a/net/mDNSResponder/files/mdnsd.sh.in +++ b/net/mDNSResponder/files/mdnsd.sh.in @@ -7,7 +7,7 @@ mdnsd_enable="${mdnsd_enable-NO}" -. %%RC_SUBR%% +. /etc/rc.subr name=mdnsd rcvar=`set_rcvar` diff --git a/net/mediatomb/files/mediatomb.sh.in b/net/mediatomb/files/mediatomb.sh.in index 66c4d2bac39f..e9b3507e2621 100644 --- a/net/mediatomb/files/mediatomb.sh.in +++ b/net/mediatomb/files/mediatomb.sh.in @@ -13,7 +13,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr mediatomb_enable=${mediatomb_enable-"NO"} # mediatomb_flags="<set as needed>" diff --git a/net/minisapserver/files/sapserver.sh b/net/minisapserver/files/sapserver.sh index b7cbcef95361..d8257e7054b2 100644 --- a/net/minisapserver/files/sapserver.sh +++ b/net/minisapserver/files/sapserver.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/net/minisapserver/files/Attic/sapserver.sh,v 1.3 2006-02-20 20:47:27 dougb Exp $ +# $FreeBSD: /tmp/pcvs/ports/net/minisapserver/files/Attic/sapserver.sh,v 1.4 2010-03-27 00:13:48 dougb Exp $ # # PROVIDE: sapserver @@ -14,7 +14,7 @@ # sapserver_enable="${sapserver_enable-NO}" -. %%RC_SUBR%% +. /etc/rc.subr name=sapserver rcvar=`set_rcvar` diff --git a/net/minissdpd/files/minissdpd.in b/net/minissdpd/files/minissdpd.in index 38d7f7591625..cf59a39985e1 100644 --- a/net/minissdpd/files/minissdpd.in +++ b/net/minissdpd/files/minissdpd.in @@ -7,7 +7,7 @@ # REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv # BEFORE: miniupnpd -. %%RC_SUBR%% +. /etc/rc.subr # Add the following line to /etc/rc.conf to enable minissdpd # minissdpd_enable="YES" diff --git a/net/miniupnpd/files/miniupnpd.sh.in b/net/miniupnpd/files/miniupnpd.sh.in index e2357ecddc32..c9d40792cb69 100644 --- a/net/miniupnpd/files/miniupnpd.sh.in +++ b/net/miniupnpd/files/miniupnpd.sh.in @@ -6,7 +6,7 @@ # PROVIDE: miniupnpd # REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv -. %%RC_SUBR%% +. /etc/rc.subr # Add the following line to /etc/rc.conf to enable miniupnpd # miniupnpd_enable="YES" diff --git a/net/mpd-l2tp-ipv6pd-client/scripts/dhcp6c_pd.sh.in b/net/mpd-l2tp-ipv6pd-client/scripts/dhcp6c_pd.sh.in index fb7b1c4f22b5..ea950d0aecc1 100644 --- a/net/mpd-l2tp-ipv6pd-client/scripts/dhcp6c_pd.sh.in +++ b/net/mpd-l2tp-ipv6pd-client/scripts/dhcp6c_pd.sh.in @@ -33,7 +33,7 @@ DATE=%%DATE%% MD5=%%MD5%% SED=%%SED%% -. %%RC_SUBR%% +. /etc/rc.subr name="dhcp6c_pd" rcvar= diff --git a/net/mpd4/files/mpd4.sh.in b/net/mpd4/files/mpd4.sh.in index c51ca124c7ab..3beec7b8ccc8 100644 --- a/net/mpd4/files/mpd4.sh.in +++ b/net/mpd4/files/mpd4.sh.in @@ -18,7 +18,7 @@ # See mpd(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name="mpd4" rcvar=`set_rcvar mpd` diff --git a/net/mpd5/files/mpd5.sh.in b/net/mpd5/files/mpd5.sh.in index 77caa812689a..84f59a5fc28a 100644 --- a/net/mpd5/files/mpd5.sh.in +++ b/net/mpd5/files/mpd5.sh.in @@ -18,7 +18,7 @@ # See mpd(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name="mpd5" rcvar=`set_rcvar mpd` diff --git a/net/mrouted/files/mrouted.in b/net/mrouted/files/mrouted.in index 7bdc073aecda..c39d5567c141 100644 --- a/net/mrouted/files/mrouted.in +++ b/net/mrouted/files/mrouted.in @@ -8,7 +8,7 @@ # REQUIRE: netif routing cleanvar # KEYWORD: nojail -. %%RC_SUBR%% +. /etc/rc.subr name="mrouted" rcvar=`set_rcvar` diff --git a/net/netatalk/files/netatalk.in b/net/netatalk/files/netatalk.in index 7aa75ae1ae10..6143af044292 100644 --- a/net/netatalk/files/netatalk.in +++ b/net/netatalk/files/netatalk.in @@ -28,7 +28,7 @@ cnid_metad_enable=${cnid_metad_enable-"NO"} afpd_enable=${afpd_enable-"NO"} timelord_enable=${timelord_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=netatalk rcvar=`set_rcvar` diff --git a/net/nss-pam-ldapd/files/nslcd.in b/net/nss-pam-ldapd/files/nslcd.in index 885c670daf95..5daab7ba603f 100644 --- a/net/nss-pam-ldapd/files/nslcd.in +++ b/net/nss-pam-ldapd/files/nslcd.in @@ -12,7 +12,7 @@ nslcd_enable=${nslcd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=nslcd rcvar=$(set_rcvar) diff --git a/net/nss_ldapd/files/nslcd.in b/net/nss_ldapd/files/nslcd.in index 885c670daf95..5daab7ba603f 100644 --- a/net/nss_ldapd/files/nslcd.in +++ b/net/nss_ldapd/files/nslcd.in @@ -12,7 +12,7 @@ nslcd_enable=${nslcd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=nslcd rcvar=$(set_rcvar) diff --git a/net/nstxd/files/nstxd.in b/net/nstxd/files/nstxd.in index 82144c073167..ea4c7c20deec 100644 --- a/net/nstxd/files/nstxd.in +++ b/net/nstxd/files/nstxd.in @@ -33,7 +33,7 @@ # in /etc/rc.conf to have this script automatically run # ifconfig with the above parameter on the device opened by nstxd. # -. %%RC_SUBR%% +. /etc/rc.subr name=nstxd rcvar=`set_rcvar` diff --git a/net/ntop/files/ntop.sh.in b/net/ntop/files/ntop.sh.in index 5b1e0deef45e..1ef275577acc 100644 --- a/net/ntop/files/ntop.sh.in +++ b/net/ntop/files/ntop.sh.in @@ -14,7 +14,7 @@ # Default is "-d --use-syslog=daemon". see ntop(8). # -. %%RC_SUBR%% +. /etc/rc.subr name=ntop rcvar=${name}_enable diff --git a/net/nylon/files/nylon.sh.in b/net/nylon/files/nylon.sh.in index 457407e6dc71..a3427da782ed 100644 --- a/net/nylon/files/nylon.sh.in +++ b/net/nylon/files/nylon.sh.in @@ -13,7 +13,7 @@ # See nylon(1) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=nylon rcvar=`set_rcvar` diff --git a/net/olsrd/files/olsrd.sh.in b/net/olsrd/files/olsrd.sh.in index 691ff2633d06..01bb1fc93271 100644 --- a/net/olsrd/files/olsrd.sh.in +++ b/net/olsrd/files/olsrd.sh.in @@ -5,7 +5,7 @@ # PROVIDE: olsrd # REQUIRE: NETWORKING SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name="olsrd" rcvar=`set_rcvar` diff --git a/net/openbgpd/files/openbgpd.sh.in b/net/openbgpd/files/openbgpd.sh.in index 559b3a1ec2ba..c6ee4649c2ae 100644 --- a/net/openbgpd/files/openbgpd.sh.in +++ b/net/openbgpd/files/openbgpd.sh.in @@ -15,7 +15,7 @@ # # See bgpd(8) for openbgpd_flags -. "%%RC_SUBR%%" +. /etc/rc.subr name="openbgpd" rcvar=`set_rcvar` diff --git a/net/openldap23-server/files/slapd.sh.in b/net/openldap23-server/files/slapd.sh.in index b101074ba5d9..fe13fe0d2e2f 100644 --- a/net/openldap23-server/files/slapd.sh.in +++ b/net/openldap23-server/files/slapd.sh.in @@ -24,7 +24,7 @@ #slapd_owner="DEFAULT" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="slapd" rcvar=`set_rcvar` diff --git a/net/openldap23-server/files/slurpd.sh.in b/net/openldap23-server/files/slurpd.sh.in index 08d87e6d08ee..d9f1adbd253f 100644 --- a/net/openldap23-server/files/slurpd.sh.in +++ b/net/openldap23-server/files/slurpd.sh.in @@ -16,7 +16,7 @@ # See slurpd(8) for more flags # -. "%%RC_SUBR%%" +. /etc/rc.subr name="slurpd" rcvar=`set_rcvar` diff --git a/net/openldap24-server/files/slapd.sh.in b/net/openldap24-server/files/slapd.sh.in index 873115fe07bc..babab884cb10 100644 --- a/net/openldap24-server/files/slapd.sh.in +++ b/net/openldap24-server/files/slapd.sh.in @@ -34,7 +34,7 @@ #slapd_krb5_ktname="/path/to/ldap.keytab" # -. "%%RC_SUBR%%" +. /etc/rc.subr name="slapd" rcvar=`set_rcvar` diff --git a/net/openmq/files/imq.in b/net/openmq/files/imq.in index 6bb06708561b..8c0d5785136b 100644 --- a/net/openmq/files/imq.in +++ b/net/openmq/files/imq.in @@ -39,7 +39,7 @@ # imq_vmargs="-Xms192m -Xmx192m -Xss128k -XX:MaxGCPauseMillis=5000" name="imq" -. %%RC_SUBR%% +. /etc/rc.subr # set defaults imq_enable=${imq_enable:-"NO"} diff --git a/net/openntpd/files/openntpd.in b/net/openntpd/files/openntpd.in index 1de11fc90e6b..9efbda6bc6ca 100644 --- a/net/openntpd/files/openntpd.in +++ b/net/openntpd/files/openntpd.in @@ -13,7 +13,7 @@ # openntpd_enable (bool): Set to NO by default. # Set it to YES to enable openntpd. -. %%RC_SUBR%% +. /etc/rc.subr name=openntpd rcvar=`set_rcvar` diff --git a/net/openospfd/files/openospfd.sh.in b/net/openospfd/files/openospfd.sh.in index 473e4bcede56..94db2c749e6c 100644 --- a/net/openospfd/files/openospfd.sh.in +++ b/net/openospfd/files/openospfd.sh.in @@ -15,7 +15,7 @@ # # See ospfd(8) for openospfd_flags -. "%%RC_SUBR%%" +. /etc/rc.subr name="openospfd" rcvar=`set_rcvar` diff --git a/net/openradius/files/openradius.in b/net/openradius/files/openradius.in index fad9e2bf01ce..fb0698b09742 100644 --- a/net/openradius/files/openradius.in +++ b/net/openradius/files/openradius.in @@ -13,7 +13,7 @@ # Default is "-o %%LOGFILE%%". # -. %%RC_SUBR%% +. /etc/rc.subr name="openradius" rcvar=`set_rcvar` diff --git a/net/openslp/files/slpd.in b/net/openslp/files/slpd.in index 1ec3175a6d76..3cf5c3d26ef0 100644 --- a/net/openslp/files/slpd.in +++ b/net/openslp/files/slpd.in @@ -14,7 +14,7 @@ slpd_enable=${slpd_enable-"NO"} slpd_flags=${slpd_flags-"-p /var/run/slpd.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name=slpd rcvar=`set_rcvar` diff --git a/net/opentracker/files/opentracker.in b/net/opentracker/files/opentracker.in index afcbde34b282..5c1d83fc2059 100644 --- a/net/opentracker/files/opentracker.in +++ b/net/opentracker/files/opentracker.in @@ -10,7 +10,7 @@ # "%%PREFIX%%/etc/opentracker/opentracker.conf" # by default -. %%RC_SUBR%% +. /etc/rc.subr name="opentracker" rcvar=`set_rcvar` diff --git a/net/pen/files/pen.sh.in b/net/pen/files/pen.sh.in index 6478f97f53e1..49c0073ef25a 100644 --- a/net/pen/files/pen.sh.in +++ b/net/pen/files/pen.sh.in @@ -14,7 +14,7 @@ # pen_enable="YES" # pen_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name=pen rcvar=`set_rcvar` diff --git a/net/pfflowd/files/pfflowd.in b/net/pfflowd/files/pfflowd.in index 6e9a45d9b34e..c706ae1f2060 100644 --- a/net/pfflowd/files/pfflowd.in +++ b/net/pfflowd/files/pfflowd.in @@ -14,7 +14,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr name=pfflowd rcvar=`set_rcvar` diff --git a/net/plb/files/plb.in b/net/plb/files/plb.in index 6f362be46a6f..33b9285b1cb3 100644 --- a/net/plb/files/plb.in +++ b/net/plb/files/plb.in @@ -14,7 +14,7 @@ # Set it to "YES" to enable plb # -. %%RC_SUBR%% +. /etc/rc.subr name="plb" rcvar=`set_rcvar` diff --git a/net/poptop/files/pptpd.sh.in b/net/poptop/files/pptpd.sh.in index c9ac5ad63b54..99fb4367f417 100644 --- a/net/poptop/files/pptpd.sh.in +++ b/net/poptop/files/pptpd.sh.in @@ -12,7 +12,7 @@ pptpd_enable=${pptpd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=pptpd rcvar=`set_rcvar` diff --git a/net/ptpd/files/ptpd.in b/net/ptpd/files/ptpd.in index 6015ab8224fc..5cb1cbacb7fc 100644 --- a/net/ptpd/files/ptpd.in +++ b/net/ptpd/files/ptpd.in @@ -11,7 +11,7 @@ # ptpd_enable (bool): Set to "NO" by default # Set it to "YES" to enable ptpd -. %%RC_SUBR%% +. /etc/rc.subr name="ptpd" rcvar=`set_rcvar` diff --git a/net/pxe/files/pxe.sh.in b/net/pxe/files/pxe.sh.in index 4dd06b70be0d..db977e5bfa2e 100644 --- a/net/pxe/files/pxe.sh.in +++ b/net/pxe/files/pxe.sh.in @@ -12,7 +12,7 @@ # # pxe_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name=pxe rcvar=`set_rcvar` diff --git a/net/qadsl/files/qadsl.sh.in b/net/qadsl/files/qadsl.sh.in index 68dc1b15c9de..3b9643a3d032 100644 --- a/net/qadsl/files/qadsl.sh.in +++ b/net/qadsl/files/qadsl.sh.in @@ -22,7 +22,7 @@ qadsl_enable=${qadsl_enable-"NO"} qadsl_flags=${qadsl_flags-"-l"} qadsl_pidfile=${qadsl_pidfile-"/var/run/qadsl.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="qadsl" rcvar=`set_rcvar` diff --git a/net/quagga/files/quagga.sh.in b/net/quagga/files/quagga.sh.in index ceb3ceeac63b..1a650b1f557d 100644 --- a/net/quagga/files/quagga.sh.in +++ b/net/quagga/files/quagga.sh.in @@ -24,7 +24,7 @@ #quagga_extralibs_path="/usr/local/lib ..." # -. %%RC_SUBR%% +. /etc/rc.subr name="quagga" rcvar=`set_rcvar` diff --git a/net/quagga/files/watchquagga.sh.in b/net/quagga/files/watchquagga.sh.in index b5a53f492ca3..d8b04e06fc92 100644 --- a/net/quagga/files/watchquagga.sh.in +++ b/net/quagga/files/watchquagga.sh.in @@ -13,7 +13,7 @@ # # -. %%RC_SUBR%% +. /etc/rc.subr name="watchquagga" rcvar=`set_rcvar` diff --git a/net/quoted/files/quoted.in b/net/quoted/files/quoted.in index 3736ad00f0fa..569170fa80dd 100644 --- a/net/quoted/files/quoted.in +++ b/net/quoted/files/quoted.in @@ -11,7 +11,7 @@ quoted_enable=${quoted_enable:-"NO"} user="nobody" -. %%RC_SUBR%% +. /etc/rc.subr name="quoted" rcvar=`set_rcvar` diff --git a/net/rabbitmq/files/rabbitmq.in b/net/rabbitmq/files/rabbitmq.in index 8365b02b0caf..b13d9d4ebb7b 100644 --- a/net/rabbitmq/files/rabbitmq.in +++ b/net/rabbitmq/files/rabbitmq.in @@ -12,7 +12,7 @@ # # rabbitmq_enable="YES" -. "%%RC_SUBR%%" +. /etc/rc.subr name=rabbitmq rcvar=`set_rcvar` diff --git a/net/radvd/files/radvd.in b/net/radvd/files/radvd.in index 288cd92275f1..33cf3b54df6a 100644 --- a/net/radvd/files/radvd.in +++ b/net/radvd/files/radvd.in @@ -9,7 +9,7 @@ # radvd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=radvd rcvar=`set_rcvar` diff --git a/net/redir/files/redir.in b/net/redir/files/redir.in index d73dfbddb4ed..240a317ef397 100644 --- a/net/redir/files/redir.in +++ b/net/redir/files/redir.in @@ -14,7 +14,7 @@ # Example: "--lport=80 --cport=3128 --syslog" # -. %%RC_SUBR%% +. /etc/rc.subr name="redir" rcvar=${name}_enable diff --git a/net/relayd/files/relayd.in b/net/relayd/files/relayd.in index c272c45be307..243037bb327e 100644 --- a/net/relayd/files/relayd.in +++ b/net/relayd/files/relayd.in @@ -10,7 +10,7 @@ # relayd_enable="YES" # relayd_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name=relayd rcvar=${name}_enable diff --git a/net/repeater/files/repeater.in b/net/repeater/files/repeater.in index 3870fd049f8e..cbd21a75ec37 100644 --- a/net/repeater/files/repeater.in +++ b/net/repeater/files/repeater.in @@ -11,7 +11,7 @@ # repeater_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=repeater rcvar=`set_rcvar` diff --git a/net/rinetd/files/rinetd.sh.in b/net/rinetd/files/rinetd.sh.in index 71050e2044cf..41c41640e853 100644 --- a/net/rinetd/files/rinetd.sh.in +++ b/net/rinetd/files/rinetd.sh.in @@ -12,7 +12,7 @@ # rinetd_flags (str): Set to "" by default. # Extra flags passed to start command # -. %%RC_SUBR%% +. /etc/rc.subr name="rinetd" rcvar=`set_rcvar` diff --git a/net/ris/files/binlsrv.sh.in b/net/ris/files/binlsrv.sh.in index bde2e0904856..ed8eaf34299b 100644 --- a/net/ris/files/binlsrv.sh.in +++ b/net/ris/files/binlsrv.sh.in @@ -12,7 +12,7 @@ # binlsrv_infdir="/path/to/inf/files" # -. %%RC_SUBR%% +. /etc/rc.subr name="binlsrv" rcvar=`set_rcvar` diff --git a/net/rsmb/files/rsmbd.in b/net/rsmb/files/rsmbd.in index 19227918f536..ed8c23189c05 100644 --- a/net/rsmb/files/rsmbd.in +++ b/net/rsmb/files/rsmbd.in @@ -11,7 +11,7 @@ # rsmbd_config (path): Unset by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="rsmbd" rcvar=`set_rcvar` diff --git a/net/rsync/files/rsyncd.sh.in b/net/rsync/files/rsyncd.sh.in index c1fa52328605..6f726b442a3c 100644 --- a/net/rsync/files/rsyncd.sh.in +++ b/net/rsync/files/rsyncd.sh.in @@ -16,7 +16,7 @@ # See rsync(1) for %%NAME%%_flags # -. "%%RC_SUBR%%" +. /etc/rc.subr name="%%NAME%%" rcvar=`set_rcvar` diff --git a/net/rwhoisd/files/rwhoisd.in b/net/rwhoisd/files/rwhoisd.in index 01ea89e25f7c..51bb0bdf085d 100644 --- a/net/rwhoisd/files/rwhoisd.in +++ b/net/rwhoisd/files/rwhoisd.in @@ -12,7 +12,7 @@ # by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="rwhoisd" rcvar=${name}_enable diff --git a/net/samba3/files/samba.in b/net/samba3/files/samba.in index 38799d3e1c55..23bf9c49c21a 100644 --- a/net/samba3/files/samba.in +++ b/net/samba3/files/samba.in @@ -24,7 +24,7 @@ #samba_config="%%SAMBA_CONFDIR%%/%%SAMBA_CONFIG%%" # -. %%RC_SUBR%% +. /etc/rc.subr name="samba" rcvar=$(set_rcvar) diff --git a/net/samba32/files/samba.in b/net/samba32/files/samba.in index d6bfbfba50b1..a81c7a2350c0 100644 --- a/net/samba32/files/samba.in +++ b/net/samba32/files/samba.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/net/samba32/files/Attic/samba.in,v 1.2 2009-02-15 03:36:49 timur Exp $ +# $FreeBSD: /tmp/pcvs/ports/net/samba32/files/Attic/samba.in,v 1.3 2010-03-27 00:13:57 dougb Exp $ # # PROVIDE: nmbd smbd @@ -24,7 +24,7 @@ #samba_config="%%SAMBA_CONFDIR%%/%%SAMBA_CONFIG%%" # -. %%RC_SUBR%% +. /etc/rc.subr name="samba" rcvar=$(set_rcvar) diff --git a/net/samba33/files/samba.in b/net/samba33/files/samba.in index ffc756d079db..522ae49709b4 100644 --- a/net/samba33/files/samba.in +++ b/net/samba33/files/samba.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/net/samba33/files/Attic/samba.in,v 1.1 2009-03-07 05:57:21 timur Exp $ +# $FreeBSD: /tmp/pcvs/ports/net/samba33/files/Attic/samba.in,v 1.2 2010-03-27 00:13:58 dougb Exp $ # # PROVIDE: nmbd smbd @@ -24,7 +24,7 @@ #samba_config="%%SAMBA_CONFDIR%%/%%SAMBA_CONFIG%%" # -. %%RC_SUBR%% +. /etc/rc.subr name="samba" rcvar=$(set_rcvar) diff --git a/net/samba34/files/samba.in b/net/samba34/files/samba.in index d3a119d33753..e955b72f576a 100644 --- a/net/samba34/files/samba.in +++ b/net/samba34/files/samba.in @@ -24,7 +24,7 @@ #samba_config="%%SAMBA_CONFDIR%%/%%SAMBA_CONFIG%%" # -. %%RC_SUBR%% +. /etc/rc.subr name="samba" rcvar=$(set_rcvar) diff --git a/net/samba4-devel/files/samba4.in b/net/samba4-devel/files/samba4.in index 965c255b6a4b..5d7d74691ec4 100644 --- a/net/samba4-devel/files/samba4.in +++ b/net/samba4-devel/files/samba4.in @@ -17,7 +17,7 @@ #samba4_config="%%SAMBA_CONFDIR%%/%%SAMBA_CONFIG%%" # -. %%RC_SUBR%% +. /etc/rc.subr name="samba4" rcvar=$(set_rcvar) diff --git a/net/samba4wins/files/smbd4wins.in b/net/samba4wins/files/smbd4wins.in index dd5f7a3423b7..7c34062883c7 100644 --- a/net/samba4wins/files/smbd4wins.in +++ b/net/samba4wins/files/smbd4wins.in @@ -14,7 +14,7 @@ #smbd4wins_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="smbd4wins" rcvar=`set_rcvar` diff --git a/net/scand/files/scand.in b/net/scand/files/scand.in index fb57b847fc00..dafaa196e6ba 100644 --- a/net/scand/files/scand.in +++ b/net/scand/files/scand.in @@ -10,7 +10,7 @@ # scand_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=scand rcvar=${name}_enable diff --git a/net/sendfile/files/sendfiled.in b/net/sendfile/files/sendfiled.in index 51406ea5038b..2218a411c77f 100644 --- a/net/sendfile/files/sendfiled.in +++ b/net/sendfile/files/sendfiled.in @@ -15,7 +15,7 @@ # # See sendfiled(8) for sendfiled_flags -. %%RC_SUBR%% +. /etc/rc.subr name="sendfiled" rcvar=`set_rcvar` diff --git a/net/ser/files/ser.in b/net/ser/files/ser.in index bf087c80310a..6d0b429ab304 100644 --- a/net/ser/files/ser.in +++ b/net/ser/files/ser.in @@ -10,7 +10,7 @@ # # ser_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name="ser" rcvar=`set_rcvar` diff --git a/net/sflowtool/files/sflowtool.in b/net/sflowtool/files/sflowtool.in index d4656a14eafd..5eb1dcb369ee 100644 --- a/net/sflowtool/files/sflowtool.in +++ b/net/sflowtool/files/sflowtool.in @@ -7,7 +7,7 @@ # sflowtool_enable="YES" # sflowtool_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name="sflowtool" rcvar=`set_rcvar` diff --git a/net/silc-server/files/silcd.in b/net/silc-server/files/silcd.in index 16988485fb2c..2af1718ad5f0 100644 --- a/net/silc-server/files/silcd.in +++ b/net/silc-server/files/silcd.in @@ -12,7 +12,7 @@ silcd_enable=${silcd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=silcd rcvar=`set_rcvar` diff --git a/net/siproxd/files/siproxd.sh.in b/net/siproxd/files/siproxd.sh.in index f1959ce62468..7ba06f5c4d93 100644 --- a/net/siproxd/files/siproxd.sh.in +++ b/net/siproxd/files/siproxd.sh.in @@ -17,7 +17,7 @@ siproxd_enable=${siproxd_enable:-"NO"} # Enable siproxd -. %%RC_SUBR%% +. /etc/rc.subr name="siproxd" rcvar=`set_rcvar` diff --git a/net/sixxs-aiccu/files/sixxs-aiccu.in b/net/sixxs-aiccu/files/sixxs-aiccu.in index b4eb89dc4a26..1920d50adb3d 100644 --- a/net/sixxs-aiccu/files/sixxs-aiccu.in +++ b/net/sixxs-aiccu/files/sixxs-aiccu.in @@ -12,7 +12,7 @@ #sixxs_aiccu_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=sixxs_aiccu rcvar=`set_rcvar` diff --git a/net/socat/files/socat.in b/net/socat/files/socat.in index 55694ca0bf06..8802784c4a81 100644 --- a/net/socat/files/socat.in +++ b/net/socat/files/socat.in @@ -13,7 +13,7 @@ # socat_enable="YES" # socat_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name="socat" rcvar=${name}_enable diff --git a/net/splatd/files/splatd.sh.in b/net/splatd/files/splatd.sh.in index 5b9c49834518..9431b322394c 100644 --- a/net/splatd/files/splatd.sh.in +++ b/net/splatd/files/splatd.sh.in @@ -8,7 +8,7 @@ # BEFORE: LOGIN # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=splatd rcvar=`set_rcvar` diff --git a/net/spread/files/spread.sh.in b/net/spread/files/spread.sh.in index bff754f1d7aa..a523e293e2bd 100644 --- a/net/spread/files/spread.sh.in +++ b/net/spread/files/spread.sh.in @@ -16,7 +16,7 @@ # See spread(1) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=spread rcvar=`set_rcvar` diff --git a/net/spread4/files/spread.sh.in b/net/spread4/files/spread.sh.in index cfac38f9f3fe..dda54b6ac049 100644 --- a/net/spread4/files/spread.sh.in +++ b/net/spread4/files/spread.sh.in @@ -15,7 +15,7 @@ # # See spread(1) for flags -. %%RC_SUBR%% +. /etc/rc.subr name=spread rcvar=`set_rcvar` diff --git a/net/ss5/files/ss5.in b/net/ss5/files/ss5.in index 779fd548b4ea..e1842ad722e6 100644 --- a/net/ss5/files/ss5.in +++ b/net/ss5/files/ss5.in @@ -10,7 +10,7 @@ # Set it to YES to enable ss5. # -. %%RC_SUBR%% +. /etc/rc.subr name="ss5" rcvar=${name}_enable diff --git a/net/stone/files/stone.sh.in b/net/stone/files/stone.sh.in index 1f93e4392551..68682a9d31aa 100644 --- a/net/stone/files/stone.sh.in +++ b/net/stone/files/stone.sh.in @@ -16,7 +16,7 @@ # Default: "" # -. %%RC_SUBR%% +. /etc/rc.subr name="stone" rcvar=`set_rcvar` diff --git a/net/stund/files/stund.sh.in b/net/stund/files/stund.sh.in index 755eff5ca7eb..759cba322719 100644 --- a/net/stund/files/stund.sh.in +++ b/net/stund/files/stund.sh.in @@ -8,7 +8,7 @@ # BEFORE: DAEMON # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr : ${stund_enable:=NO} : ${stund_pidfile:=/var/run/stund.pid} diff --git a/net/tac_plus4/files/tac_plus.in b/net/tac_plus4/files/tac_plus.in index 77d14d7d7666..102fad69a4c8 100644 --- a/net/tac_plus4/files/tac_plus.in +++ b/net/tac_plus4/files/tac_plus.in @@ -18,7 +18,7 @@ # Allows you to specify a different config file for # the tac_plus daemon -. %%RC_SUBR%% +. /etc/rc.subr name=tac_plus rcvar=`set_rcvar` diff --git a/net/throttled/files/throttled.in b/net/throttled/files/throttled.in index edbe5e74efcb..ab605bd98c1d 100644 --- a/net/throttled/files/throttled.in +++ b/net/throttled/files/throttled.in @@ -5,7 +5,7 @@ # BEFORE: NETWORKING # KEYWORD: nojail -. %%RC_SUBR%% +. /etc/rc.subr name="throttled" rcvar=`set_rcvar` diff --git a/net/traff/files/traff.sh.in b/net/traff/files/traff.sh.in index 05f51e837da3..92075b716a2b 100644 --- a/net/traff/files/traff.sh.in +++ b/net/traff/files/traff.sh.in @@ -13,7 +13,7 @@ # # -. %%RC_SUBR%% +. /etc/rc.subr name=traff rcvar=`set_rcvar` diff --git a/net/ucarp/files/ucarp.in b/net/ucarp/files/ucarp.in index 8dc2f7a8cb5b..d0f8b2fb8546 100644 --- a/net/ucarp/files/ucarp.in +++ b/net/ucarp/files/ucarp.in @@ -31,7 +31,7 @@ # ucarp_facility: Set syslog facility # Default is "daemon" -. %%RC_SUBR%% +. /etc/rc.subr name="ucarp" rcvar=`set_rcvar` diff --git a/net/udpxy/files/udpxy.in b/net/udpxy/files/udpxy.in index 669d27d92048..e2b69c861456 100644 --- a/net/udpxy/files/udpxy.in +++ b/net/udpxy/files/udpxy.in @@ -18,7 +18,7 @@ # udpxy_flags (str): Set to "-S" by default. # Extra flags passed to start command. -. %%RC_SUBR%% +. /etc/rc.subr name="udpxy" rcvar=$(set_rcvar) diff --git a/net/uproxy/files/uproxy.in b/net/uproxy/files/uproxy.in index afa779b5f95d..75ff28cfb7ba 100644 --- a/net/uproxy/files/uproxy.in +++ b/net/uproxy/files/uproxy.in @@ -14,7 +14,7 @@ # uproxy_connectionname_options (str): Commandline for each uproxy connection. # -. %%RC_SUBR%% +. /etc/rc.subr name="uproxy" rcvar=${name}_enable diff --git a/net/vncreflector/files/vncreflector.sh.in b/net/vncreflector/files/vncreflector.sh.in index 591e4ea97911..b915790b2ef7 100644 --- a/net/vncreflector/files/vncreflector.sh.in +++ b/net/vncreflector/files/vncreflector.sh.in @@ -27,7 +27,7 @@ vncreflector_activefile=${vncreflector_logfile-"/var/log/vncreflector.log"} vncreflector_addr=${vncreflector_addr-""} #vncreflector_addr_5999= -. %%RC_SUBR%% +. /etc/rc.subr name="vncreflector" rcvar=`set_rcvar` diff --git a/net/vserver/files/vserver.in b/net/vserver/files/vserver.in index 38a716ecbbfc..6b12b3b025ee 100644 --- a/net/vserver/files/vserver.in +++ b/net/vserver/files/vserver.in @@ -21,7 +21,7 @@ # See vserver(8) for a detailed description of vserver commandline qualifiers. # -. %%RC_SUBR%% +. /etc/rc.subr name=vserver rcvar=`set_rcvar` diff --git a/net/vtun/files/vtunclient.in b/net/vtun/files/vtunclient.in index 4592f139bed0..fa25547911da 100644 --- a/net/vtun/files/vtunclient.in +++ b/net/vtun/files/vtunclient.in @@ -13,7 +13,7 @@ vtunclient_enable=${vtunclient_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=vtunclient rcvar=`set_rcvar` diff --git a/net/vtun/files/vtund.in b/net/vtun/files/vtund.in index 0675996796fe..ac6cadadeb8e 100644 --- a/net/vtun/files/vtund.in +++ b/net/vtun/files/vtund.in @@ -13,7 +13,7 @@ vtund_enable=${vtund_enable:-"NO"} vtund_flags=${vtund_flags:-"-s"} -. %%RC_SUBR%% +. /etc/rc.subr name=vtund rcvar=`set_rcvar` diff --git a/net/widentd/files/widentd.sh.in b/net/widentd/files/widentd.sh.in index 9f18826b00fb..d042c189ac16 100644 --- a/net/widentd/files/widentd.sh.in +++ b/net/widentd/files/widentd.sh.in @@ -26,7 +26,7 @@ # widentd_enable=${widentd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="widentd" rcvar=`set_rcvar` diff --git a/net/wired-tracker/files/trackerd.sh.in b/net/wired-tracker/files/trackerd.sh.in index 77f1f30c295a..bf60acf05b0c 100644 --- a/net/wired-tracker/files/trackerd.sh.in +++ b/net/wired-tracker/files/trackerd.sh.in @@ -10,7 +10,7 @@ # Set it to YES to enable trackerd. # -. %%RC_SUBR%% +. /etc/rc.subr name="trackerd" rcvar=${name}_enable diff --git a/net/wired/files/wired.sh.in b/net/wired/files/wired.sh.in index e902407f064b..cd85bb39a5b7 100644 --- a/net/wired/files/wired.sh.in +++ b/net/wired/files/wired.sh.in @@ -10,7 +10,7 @@ # Set it to YES to enable wired. # -. %%RC_SUBR%% +. /etc/rc.subr name="wired" rcvar=${name}_enable diff --git a/net/wizd/files/wizd.sh.in b/net/wizd/files/wizd.sh.in index 7d19b8ca39d5..f08878e842fc 100644 --- a/net/wizd/files/wizd.sh.in +++ b/net/wizd/files/wizd.sh.in @@ -13,7 +13,7 @@ # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="wizd" rcvar=${name}_enable diff --git a/net/wowzamediaserverpro/files/wowza.in b/net/wowzamediaserverpro/files/wowza.in index e642065c4f95..f48cda306521 100644 --- a/net/wowzamediaserverpro/files/wowza.in +++ b/net/wowzamediaserverpro/files/wowza.in @@ -72,7 +72,7 @@ wowza_config_url="${wowza_config_url:-""}" wowza_stdout_log="${wowza_stdout_log:-"%%STDOUT_LOG%%"}" wowza_stderr_log="${wowza_stderr_log:-"%%STDERR_LOG%%"}" -. %%RC_SUBR%% +. /etc/rc.subr name="wowza" rcvar=`set_rcvar` diff --git a/net/xboxproxy/files/xboxproxy.in b/net/xboxproxy/files/xboxproxy.in index ec5b8d9a4a2d..d7b2cb7dc076 100644 --- a/net/xboxproxy/files/xboxproxy.in +++ b/net/xboxproxy/files/xboxproxy.in @@ -11,7 +11,7 @@ # Defaults to -x -b -m. # -. %%RC_SUBR%% +. /etc/rc.subr name="xboxproxy" rcvar="${name}_enable" diff --git a/net/xorp-devel/files/xorp.in b/net/xorp-devel/files/xorp.in index 32c4d04e61fd..1f4fcce39586 100644 --- a/net/xorp-devel/files/xorp.in +++ b/net/xorp-devel/files/xorp.in @@ -15,7 +15,7 @@ #xorp_conf="%%PREFIX%%/etc/xorp.conf.sample" # -. %%RC_SUBR%% +. /etc/rc.subr name="xorp" rcvar=`set_rcvar` diff --git a/net/xorp/files/xorp.in b/net/xorp/files/xorp.in index 3a164ae082ee..e2b89e2d43fd 100644 --- a/net/xorp/files/xorp.in +++ b/net/xorp/files/xorp.in @@ -15,7 +15,7 @@ # xorp_flags="<set as needed>" # xorp_config_boot="%%PREFIX%%/etc/xorp.conf.sample" -. %%RC_SUBR%% +. /etc/rc.subr name="xorp" rcvar=`set_rcvar` diff --git a/net/xrdp/files/xrdp.in b/net/xrdp/files/xrdp.in index 698f3d2d448f..9b74e5f6131c 100644 --- a/net/xrdp/files/xrdp.in +++ b/net/xrdp/files/xrdp.in @@ -6,7 +6,7 @@ # PROVIDE: xrdp sesman # -. %%RC_SUBR%% +. /etc/rc.subr name="xrdp" rcvar=`set_rcvar` diff --git a/net/yate-devel/files/yate.sh.in b/net/yate-devel/files/yate.sh.in index 7f03c6d2694d..0abacc71f21c 100644 --- a/net/yate-devel/files/yate.sh.in +++ b/net/yate-devel/files/yate.sh.in @@ -11,7 +11,7 @@ # yate_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=yate rcvar=`set_rcvar` diff --git a/news/inn/files/innd.sh.in b/news/inn/files/innd.sh.in index 7b027c28c441..ef7b056ba982 100644 --- a/news/inn/files/innd.sh.in +++ b/news/inn/files/innd.sh.in @@ -7,7 +7,7 @@ # $FreeBSD$ # -. %%RC_SUBR%% +. /etc/rc.subr name=innd diff --git a/news/newscache/files/newscache.sh.in b/news/newscache/files/newscache.sh.in index e6c4ce56094c..c31162d85a8c 100644 --- a/news/newscache/files/newscache.sh.in +++ b/news/newscache/files/newscache.sh.in @@ -12,7 +12,7 @@ newscache_enable=${newscache_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=newscache rcvar=`set_rcvar` diff --git a/news/nntpcache/files/nntpcached.in b/news/nntpcache/files/nntpcached.in index e4f9f0ab96bc..42bb50cac535 100644 --- a/news/nntpcache/files/nntpcached.in +++ b/news/nntpcache/files/nntpcached.in @@ -10,7 +10,7 @@ # nntpcached_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=nntpcached rcvar=`set_rcvar` diff --git a/print/cups-base/files/cupsd.in b/print/cups-base/files/cupsd.in index 314685028291..ed277e498d87 100644 --- a/print/cups-base/files/cupsd.in +++ b/print/cups-base/files/cupsd.in @@ -11,7 +11,7 @@ # cupsd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=cupsd rcvar=`set_rcvar` diff --git a/print/hplip/files/hpssd.sh.in b/print/hplip/files/hpssd.sh.in index 90d0d0b0f123..3cedb3ad051f 100644 --- a/print/hplip/files/hpssd.sh.in +++ b/print/hplip/files/hpssd.sh.in @@ -4,7 +4,7 @@ # BEFORE: cupsd # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=hpssd rcvar=${name}_enable diff --git a/print/hplip3/files/hpssd.in b/print/hplip3/files/hpssd.in index 90d0d0b0f123..3cedb3ad051f 100644 --- a/print/hplip3/files/hpssd.in +++ b/print/hplip3/files/hpssd.in @@ -4,7 +4,7 @@ # BEFORE: cupsd # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=hpssd rcvar=${name}_enable diff --git a/print/pips800/files/ekpd.sh b/print/pips800/files/ekpd.sh index 890c26dfd49d..b5628ef06531 100644 --- a/print/pips800/files/ekpd.sh +++ b/print/pips800/files/ekpd.sh @@ -18,7 +18,7 @@ # ekpd_enable="YES" # ekpd_flags="" # Flags to ekpd program -. %%RC_SUBR%% +. /etc/rc.subr name="ekpd" rcvar=`set_rcvar` diff --git a/print/pips800/files/pips.sh b/print/pips800/files/pips.sh index 7b845a878cb4..6c5ccca7145c 100644 --- a/print/pips800/files/pips.sh +++ b/print/pips800/files/pips.sh @@ -17,7 +17,7 @@ # pips_enable=${pips_enable:-"YES"} # Enable pips -. %%RC_SUBR%% +. /etc/rc.subr name="pips" rcvar=`set_rcvar` diff --git a/security/amavisd-milter/files/amavisd-milter.sh.in b/security/amavisd-milter/files/amavisd-milter.sh.in index d5be3ef19d62..e431e802c37a 100644 --- a/security/amavisd-milter/files/amavisd-milter.sh.in +++ b/security/amavisd-milter/files/amavisd-milter.sh.in @@ -15,7 +15,7 @@ # amavisd_milter_flags="<set as needed>" # -. %%RC_SUBR%% +. /etc/rc.subr name="amavisd_milter" rcvar=`set_rcvar` diff --git a/security/amavisd-new/files/amavis-milter.sh.in b/security/amavisd-new/files/amavis-milter.sh.in index 7bd5a095e838..3763d470cc47 100644 --- a/security/amavisd-new/files/amavis-milter.sh.in +++ b/security/amavisd-new/files/amavis-milter.sh.in @@ -14,7 +14,7 @@ #amavis_milter_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=amavis_milter rcvar=`set_rcvar` diff --git a/security/amavisd-new/files/amavisd.sh.in b/security/amavisd-new/files/amavisd.sh.in index d9eb02bc5bf2..613f7f490a47 100644 --- a/security/amavisd-new/files/amavisd.sh.in +++ b/security/amavisd-new/files/amavisd.sh.in @@ -14,7 +14,7 @@ #amavisd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=amavisd rcvar=`set_rcvar` diff --git a/security/barnyard/files/barnyard.sh.in b/security/barnyard/files/barnyard.sh.in index 3517aeb21ec8..270a05f45d46 100644 --- a/security/barnyard/files/barnyard.sh.in +++ b/security/barnyard/files/barnyard.sh.in @@ -39,7 +39,7 @@ # Batch Processing Mode Options: # -o Enable batch processing mode -. %%RC_SUBR%% +. /etc/rc.subr name="barnyard" load_rc_config $name diff --git a/security/barnyard2/files/barnyard2.sh.in b/security/barnyard2/files/barnyard2.sh.in index ccdcda445198..a99e5a70450e 100644 --- a/security/barnyard2/files/barnyard2.sh.in +++ b/security/barnyard2/files/barnyard2.sh.in @@ -55,7 +55,7 @@ # --help Same as -? # --version Same as -V -. %%RC_SUBR%% +. /etc/rc.subr name="barnyard2" load_rc_config $name diff --git a/security/blocksshd/files/blocksshd.in b/security/blocksshd/files/blocksshd.in index 3e2c18d1c0a9..45f7a1a4eaed 100644 --- a/security/blocksshd/files/blocksshd.in +++ b/security/blocksshd/files/blocksshd.in @@ -6,7 +6,7 @@ # BEFORE: securelevel # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name="blocksshd" rcvar="`set_rcvar`" diff --git a/security/bruteblock/files/bruteblockd.sh.in b/security/bruteblock/files/bruteblockd.sh.in index a673c5b1a3cb..ab42438e7057 100644 --- a/security/bruteblock/files/bruteblockd.sh.in +++ b/security/bruteblock/files/bruteblockd.sh.in @@ -4,7 +4,7 @@ # REQUIRE: NETWORKING syslogd # KEYWORD: nojail -. %%RC_SUBR%% +. /etc/rc.subr name="bruteblockd" rcvar=`set_rcvar` diff --git a/security/cfs/files/cfsd.sh.in b/security/cfs/files/cfsd.sh.in index 0a1f7afe3309..f344bde4b468 100644 --- a/security/cfs/files/cfsd.sh.in +++ b/security/cfs/files/cfsd.sh.in @@ -17,7 +17,7 @@ # cfsd_mountpoint="/crypt" # the CFS mountpoint # -. %%RC_SUBR%% +. /etc/rc.subr name="cfsd" rcvar=`set_rcvar` diff --git a/security/clamav-devel/files/clamav-clamd.in b/security/clamav-devel/files/clamav-clamd.in index 3aded5ca811b..a8e79d4c1c6f 100644 --- a/security/clamav-devel/files/clamav-clamd.in +++ b/security/clamav-devel/files/clamav-clamd.in @@ -17,7 +17,7 @@ # See clamd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=clamav_clamd rcvar=`set_rcvar` diff --git a/security/clamav-devel/files/clamav-freshclam.in b/security/clamav-devel/files/clamav-freshclam.in index 4721d2e60ed9..86d7b8c71f9b 100644 --- a/security/clamav-devel/files/clamav-freshclam.in +++ b/security/clamav-devel/files/clamav-freshclam.in @@ -17,7 +17,7 @@ # See freshclam(1) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=clamav_freshclam rcvar=`set_rcvar` diff --git a/security/clamav-devel/files/clamav-milter.in b/security/clamav-devel/files/clamav-milter.in index bafb1506ce70..b4d58885a346 100644 --- a/security/clamav-devel/files/clamav-milter.in +++ b/security/clamav-devel/files/clamav-milter.in @@ -16,7 +16,7 @@ # See clamav-milter(1) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=clamav_milter rcvar=`set_rcvar` diff --git a/security/clamav/files/clamav-clamd.in b/security/clamav/files/clamav-clamd.in index 0bc40b5fc874..2ecc189102fd 100644 --- a/security/clamav/files/clamav-clamd.in +++ b/security/clamav/files/clamav-clamd.in @@ -17,7 +17,7 @@ # See clamd(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=clamav_clamd rcvar=`set_rcvar` diff --git a/security/clamav/files/clamav-freshclam.in b/security/clamav/files/clamav-freshclam.in index 4721d2e60ed9..86d7b8c71f9b 100644 --- a/security/clamav/files/clamav-freshclam.in +++ b/security/clamav/files/clamav-freshclam.in @@ -17,7 +17,7 @@ # See freshclam(1) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=clamav_freshclam rcvar=`set_rcvar` diff --git a/security/clamav/files/clamav-milter.in b/security/clamav/files/clamav-milter.in index bafb1506ce70..b4d58885a346 100644 --- a/security/clamav/files/clamav-milter.in +++ b/security/clamav/files/clamav-milter.in @@ -16,7 +16,7 @@ # See clamav-milter(1) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=clamav_milter rcvar=`set_rcvar` diff --git a/security/clamsmtp/files/clamsmtpd.sh.in b/security/clamsmtp/files/clamsmtpd.sh.in index 51eaf0a94a16..772461b33574 100644 --- a/security/clamsmtp/files/clamsmtpd.sh.in +++ b/security/clamsmtp/files/clamsmtpd.sh.in @@ -14,7 +14,7 @@ # Default is "%%PREFIX%%/etc/clamsmtpd.conf" # -. %%RC_SUBR%% +. /etc/rc.subr name="clamsmtpd" rcvar=${name}_enable diff --git a/security/courier-authlib/files/courier-authdaemond.sh.in b/security/courier-authlib/files/courier-authdaemond.sh.in index 3fc3f4268217..0fe8ffd7c0d2 100644 --- a/security/courier-authlib/files/courier-authdaemond.sh.in +++ b/security/courier-authlib/files/courier-authdaemond.sh.in @@ -25,7 +25,7 @@ authdaemonvar="%%AUTHDAEMONVAR%%" courier_authdaemond_enable=${courier_authdaemond_enable-"NO"} # Run courier-authdaemond (YES/NO). -. %%RC_SUBR%% +. /etc/rc.subr name="courier_authdaemond" rcvar=`set_rcvar` diff --git a/security/cyrus-sasl2-saslauthd/files/saslauthd.sh.in b/security/cyrus-sasl2-saslauthd/files/saslauthd.sh.in index 892795cb6eb9..e0b619acf453 100644 --- a/security/cyrus-sasl2-saslauthd/files/saslauthd.sh.in +++ b/security/cyrus-sasl2-saslauthd/files/saslauthd.sh.in @@ -20,7 +20,7 @@ saslauthd_flags=${saslauthd_flags:-"-a pam"} # Flags to saslauthd program #saslauthd_runpath="%%SASLAUTHD_RUNPATH%%" # Working directory #saslauthd_program="%%PREFIX%%/sbin/saslauthd" # Location of saslauthd -. %%RC_SUBR%% +. /etc/rc.subr name="saslauthd" rcvar=`set_rcvar` diff --git a/security/denyhosts/files/denyhosts.in b/security/denyhosts/files/denyhosts.in index 284b07bd18d9..c463c71d06de 100644 --- a/security/denyhosts/files/denyhosts.in +++ b/security/denyhosts/files/denyhosts.in @@ -6,7 +6,7 @@ # REQUIRE: DAEMON # -. %%RC_SUBR%% +. /etc/rc.subr name="denyhosts" rcvar=${name}_enable diff --git a/security/distcache-devel/files/dc_server.sh.in b/security/distcache-devel/files/dc_server.sh.in index ac3caa9147a6..7647cefa6a55 100644 --- a/security/distcache-devel/files/dc_server.sh.in +++ b/security/distcache-devel/files/dc_server.sh.in @@ -16,7 +16,7 @@ # See %%NAME%%(1) # -. "%%RC_SUBR%%" +. /etc/rc.subr name="%%NAME%%" rcvar=`set_rcvar` diff --git a/security/distcache/files/dc_server.sh.in b/security/distcache/files/dc_server.sh.in index ac3caa9147a6..7647cefa6a55 100644 --- a/security/distcache/files/dc_server.sh.in +++ b/security/distcache/files/dc_server.sh.in @@ -16,7 +16,7 @@ # See %%NAME%%(1) # -. "%%RC_SUBR%%" +. /etc/rc.subr name="%%NAME%%" rcvar=`set_rcvar` diff --git a/security/doorman/files/doorman.sh.in b/security/doorman/files/doorman.sh.in index 6e5b792327c3..8d39304b496b 100644 --- a/security/doorman/files/doorman.sh.in +++ b/security/doorman/files/doorman.sh.in @@ -11,7 +11,7 @@ # doorman_config (path): Set to "%%PREFIX%%/etc/doormand/doormand.cf" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="doorman" rcvar=`set_rcvar` diff --git a/security/dropbear/files/dropbear.in b/security/dropbear/files/dropbear.in index 331ec53799bf..40c479b703a3 100644 --- a/security/dropbear/files/dropbear.in +++ b/security/dropbear/files/dropbear.in @@ -10,7 +10,7 @@ # Set it to YES to enable dropbear. # -. %%RC_SUBR%% +. /etc/rc.subr name="dropbear" rcvar=`set_rcvar` diff --git a/security/drweb-sendmail/files/drweb-smf.in b/security/drweb-sendmail/files/drweb-smf.in index 2e64011b08e9..5c1f27af4852 100644 --- a/security/drweb-sendmail/files/drweb-smf.in +++ b/security/drweb-sendmail/files/drweb-smf.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON drwebd # BEFORE: mail -. %%RC_SUBR%% +. /etc/rc.subr name="drweb_smf" rcvar=`set_rcvar` diff --git a/security/drweb/files/drwebd.in b/security/drweb/files/drwebd.in index e2fb891ee0ca..2264a4e66c0a 100644 --- a/security/drweb/files/drwebd.in +++ b/security/drweb/files/drwebd.in @@ -1,12 +1,12 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/security/drweb/files/Attic/drwebd.in,v 1.1 2009-02-04 10:26:35 pgollucci Exp $ +# $FreeBSD: /tmp/pcvs/ports/security/drweb/files/Attic/drwebd.in,v 1.2 2010-03-27 00:14:43 dougb Exp $ # PROVIDE: drwebd # REQUIRE: DAEMON # BEFORE: mail -. %%RC_SUBR%% +. /etc/rc.subr name="drwebd" rcvar=`set_rcvar` diff --git a/security/hamachi/files/hamachi.sh.in b/security/hamachi/files/hamachi.sh.in index 49ebf427d8a6..d75540d09b57 100644 --- a/security/hamachi/files/hamachi.sh.in +++ b/security/hamachi/files/hamachi.sh.in @@ -29,7 +29,7 @@ # Note that we deliberately refrain from unloading drivers. -. %%RC_SUBR%% +. /etc/rc.subr name="hamachi" rcvar=`set_rcvar` diff --git a/security/ipguard/files/ipguard.in b/security/ipguard/files/ipguard.in index 6805007fe6a5..d87894880fa8 100644 --- a/security/ipguard/files/ipguard.in +++ b/security/ipguard/files/ipguard.in @@ -10,7 +10,7 @@ # ipguard_interface="iface" # ipguard_flags="-u 300 -xz" -. %%RC_SUBR%% +. /etc/rc.subr name=ipguard rcvar=`set_rcvar` diff --git a/security/ipsec-tools/files/racoon.sh.in b/security/ipsec-tools/files/racoon.sh.in index 387342453394..47c4981ba317 100644 --- a/security/ipsec-tools/files/racoon.sh.in +++ b/security/ipsec-tools/files/racoon.sh.in @@ -20,7 +20,7 @@ racoon_create_dirs=NO # Create $required_dirs (for # /var mfs)? -. %%RC_SUBR%% +. /etc/rc.subr name="racoon" rcvar=`set_rcvar` diff --git a/security/isakmpd/files/isakmpd.sh.in b/security/isakmpd/files/isakmpd.sh.in index 9bd537e054d9..3e0adbb29098 100644 --- a/security/isakmpd/files/isakmpd.sh.in +++ b/security/isakmpd/files/isakmpd.sh.in @@ -8,7 +8,7 @@ # BEFORE: DAEMON # KEYWORD: nojail -. %%RC_SUBR%% +. /etc/rc.subr name="isakmpd" rcvar=`set_rcvar` diff --git a/security/knock/files/knockd.sh.in b/security/knock/files/knockd.sh.in index 7bddb6e9decd..be858ca7d255 100644 --- a/security/knock/files/knockd.sh.in +++ b/security/knock/files/knockd.sh.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON # BEFORE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr name="knockd" rcvar=`set_rcvar` diff --git a/security/maia/files/maia.sh.in b/security/maia/files/maia.sh.in index 0589a76bfc8a..ac63b2a56d54 100644 --- a/security/maia/files/maia.sh.in +++ b/security/maia/files/maia.sh.in @@ -11,7 +11,7 @@ # Default is "NO". # -. %%RC_SUBR%% +. /etc/rc.subr name="maia" rcvar=${name}_enable diff --git a/security/nessus/files/nessusd.sh.in b/security/nessus/files/nessusd.sh.in index 0dc28842a5ac..14c019e48ea5 100644 --- a/security/nessus/files/nessusd.sh.in +++ b/security/nessus/files/nessusd.sh.in @@ -19,7 +19,7 @@ #nessusd_program="%%PREFIX%%/sbin/nessusd" # Location of nessusd nessusd_flags="-D" # Flags to nessusd program -. %%RC_SUBR%% +. /etc/rc.subr name="nessusd" rcvar=`set_rcvar` diff --git a/security/oidentd/files/oidentd.in b/security/oidentd/files/oidentd.in index 5dede140ea43..aa236aca2a38 100644 --- a/security/oidentd/files/oidentd.in +++ b/security/oidentd/files/oidentd.in @@ -16,7 +16,7 @@ # See oidentd(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name=oidentd rcvar=`set_rcvar` diff --git a/security/openct/files/openct.in b/security/openct/files/openct.in index 3912b34eac75..aaaa5b7ac191 100644 --- a/security/openct/files/openct.in +++ b/security/openct/files/openct.in @@ -14,7 +14,7 @@ # Set it to "YES" to enable OpenCT. # -. %%RC_SUBR%% +. /etc/rc.subr name="openct" rcvar=`set_rcvar` diff --git a/security/openssh-portable/files/openssh.in b/security/openssh-portable/files/openssh.in index 712219b20fdb..ba03dc445978 100644 --- a/security/openssh-portable/files/openssh.in +++ b/security/openssh-portable/files/openssh.in @@ -15,7 +15,7 @@ # Default is "/var/run/sshd.pid". # -. %%RC_SUBR%% +. /etc/rc.subr name="openssh" rcvar=${name}_enable diff --git a/security/openvas-server/files/openvasd.in b/security/openvas-server/files/openvasd.in index ab5db47cf775..9b07a57e3a75 100644 --- a/security/openvas-server/files/openvasd.in +++ b/security/openvas-server/files/openvasd.in @@ -22,7 +22,7 @@ prefix=%%PREFIX%% #openvasd_program="${prefix}/sbin/openvasd" # Location of openvasd openvasd_flags="-D -q" # Flags to openvasd program -. %%RC_SUBR%% +. /etc/rc.subr name="openvasd" rcvar=`set_rcvar` diff --git a/security/openvpn-devel/files/openvpn.sh.in b/security/openvpn-devel/files/openvpn.sh.in index ca66486c06ab..050984cdef9c 100644 --- a/security/openvpn-devel/files/openvpn.sh.in +++ b/security/openvpn-devel/files/openvpn.sh.in @@ -60,7 +60,7 @@ # For further documentation, please see openvpn(8). # -. %%RC_SUBR%% +. /etc/rc.subr case "$0" in /etc/rc*) diff --git a/security/openvpn/files/openvpn.sh.in b/security/openvpn/files/openvpn.sh.in index ca66486c06ab..050984cdef9c 100644 --- a/security/openvpn/files/openvpn.sh.in +++ b/security/openvpn/files/openvpn.sh.in @@ -60,7 +60,7 @@ # For further documentation, please see openvpn(8). # -. %%RC_SUBR%% +. /etc/rc.subr case "$0" in /etc/rc*) diff --git a/security/openvpn20/files/openvpn.sh.in b/security/openvpn20/files/openvpn.sh.in index ca66486c06ab..050984cdef9c 100644 --- a/security/openvpn20/files/openvpn.sh.in +++ b/security/openvpn20/files/openvpn.sh.in @@ -60,7 +60,7 @@ # For further documentation, please see openvpn(8). # -. %%RC_SUBR%% +. /etc/rc.subr case "$0" in /etc/rc*) diff --git a/security/ossec-hids-server/files/ossec-hids.in b/security/ossec-hids-server/files/ossec-hids.in index e8d644dbd5f7..7c6c1c37e14a 100644 --- a/security/ossec-hids-server/files/ossec-hids.in +++ b/security/ossec-hids-server/files/ossec-hids.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON # BEFORE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr name="ossechids" rcvar=`set_rcvar` diff --git a/security/p5-openxpki-deployment/files/openxpki.sh.in b/security/p5-openxpki-deployment/files/openxpki.sh.in index e168d5389f54..b023be7619b2 100644 --- a/security/p5-openxpki-deployment/files/openxpki.sh.in +++ b/security/p5-openxpki-deployment/files/openxpki.sh.in @@ -20,7 +20,7 @@ case "$1" in *start) command_args="start";; esac -. %%RC_SUBR%% +. /etc/rc.subr name="openxpki" rcvar=`set_rcvar` diff --git a/security/pks/files/pksd.sh.in b/security/pks/files/pksd.sh.in index cb6d748db220..9f520df6f97c 100644 --- a/security/pks/files/pksd.sh.in +++ b/security/pks/files/pksd.sh.in @@ -6,7 +6,7 @@ # PROVIDE: pksd # REQUIRE: DAEMON -. %%RC_SUBR%% +. /etc/rc.subr name="pksd" rcvar=`set_rcvar` diff --git a/security/prelude-lml/files/prelude-lml.sh.in b/security/prelude-lml/files/prelude-lml.sh.in index 70c3bf28048d..8622d418b11e 100644 --- a/security/prelude-lml/files/prelude-lml.sh.in +++ b/security/prelude-lml/files/prelude-lml.sh.in @@ -11,7 +11,7 @@ # prelude_lml_flags (flags): Set arguments to use with Prelude LML # -. %%RC_SUBR%% +. /etc/rc.subr name="prelude_lml" rcvar=${name}_enable diff --git a/security/prelude-manager/files/prelude-manager.sh.in b/security/prelude-manager/files/prelude-manager.sh.in index 417f3b1448df..14c862696e31 100644 --- a/security/prelude-manager/files/prelude-manager.sh.in +++ b/security/prelude-manager/files/prelude-manager.sh.in @@ -11,7 +11,7 @@ # prelude_manager_flags (flags): Set arguments to use with Prelude Manager # -. %%RC_SUBR%% +. /etc/rc.subr name="prelude_manager" rcvar=${name}_enable diff --git a/security/prelude-pflogger/files/prelude-pflogger.in b/security/prelude-pflogger/files/prelude-pflogger.in index 5ddf09a9860b..cfd45b77843a 100644 --- a/security/prelude-pflogger/files/prelude-pflogger.in +++ b/security/prelude-pflogger/files/prelude-pflogger.in @@ -11,7 +11,7 @@ # prelude_pflogger_flags (flags): Set arguments to use with Prelude PFLogger # -. %%RC_SUBR%% +. /etc/rc.subr name="prelude_pflogger" rcvar=${name}_enable diff --git a/security/py-fail2ban/files/fail2ban.in b/security/py-fail2ban/files/fail2ban.in index a9ab5a03d514..5cbcf31bf95c 100644 --- a/security/py-fail2ban/files/fail2ban.in +++ b/security/py-fail2ban/files/fail2ban.in @@ -11,7 +11,7 @@ fail2ban_enable=${fail2ban_enable-"NO"} fail2ban_pidfile=${fail2ban_pidfile-"/var/run/fail2ban/fail2ban.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="fail2ban" rcvar=`set_rcvar` diff --git a/security/sancp/files/sancp.sh.in b/security/sancp/files/sancp.sh.in index 9a91e99910d6..cd5c17793240 100644 --- a/security/sancp/files/sancp.sh.in +++ b/security/sancp/files/sancp.sh.in @@ -51,7 +51,7 @@ # Pcap data logged using this option is affected by the --strip-80211 cmdline option # The configuration file equivalent to this is 'default debug_pcap_raw enable' -. %%RC_SUBR%% +. /etc/rc.subr name="sancp" rcvar=`set_rcvar` diff --git a/security/scanlogd/files/scanlogd.in b/security/scanlogd/files/scanlogd.in index 515f20a76b70..9070a9b664e4 100644 --- a/security/scanlogd/files/scanlogd.in +++ b/security/scanlogd/files/scanlogd.in @@ -11,7 +11,7 @@ # scanlogd_enable="YES" # scanlogd_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name="scanlogd" rcvar=`set_rcvar` diff --git a/security/sfs/files/sfscd.in b/security/sfs/files/sfscd.in index 7f8dd75b5e9f..939ac15074a5 100644 --- a/security/sfs/files/sfscd.in +++ b/security/sfs/files/sfscd.in @@ -11,7 +11,7 @@ # sfscd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=sfscd rcvar=`set_rcvar` diff --git a/security/sfs/files/sfssd.in b/security/sfs/files/sfssd.in index ac07024603bb..c17360201ad6 100644 --- a/security/sfs/files/sfssd.in +++ b/security/sfs/files/sfssd.in @@ -11,7 +11,7 @@ # sfssd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=sfssd rcvar=`set_rcvar` diff --git a/security/sguil-sensor/files/example_agent.sh.in b/security/sguil-sensor/files/example_agent.sh.in index ffa1cdb649a2..58b94f114353 100644 --- a/security/sguil-sensor/files/example_agent.sh.in +++ b/security/sguil-sensor/files/example_agent.sh.in @@ -14,7 +14,7 @@ # example_agent_flags (str): Default: -D # -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config example_agent diff --git a/security/sguil-sensor/files/pads_agent.sh.in b/security/sguil-sensor/files/pads_agent.sh.in index 542e5a0b6ec0..02de467af839 100644 --- a/security/sguil-sensor/files/pads_agent.sh.in +++ b/security/sguil-sensor/files/pads_agent.sh.in @@ -14,7 +14,7 @@ # pads_agent_flags (str): Default: -D # -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config pads_agent diff --git a/security/sguil-sensor/files/pcap_agent.sh.in b/security/sguil-sensor/files/pcap_agent.sh.in index 848d5a0c7655..2370ff7b0294 100644 --- a/security/sguil-sensor/files/pcap_agent.sh.in +++ b/security/sguil-sensor/files/pcap_agent.sh.in @@ -14,7 +14,7 @@ # pcap_agent_flags (str): Default: -D # -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config pcap_agent diff --git a/security/sguil-sensor/files/sancp_agent.sh.in b/security/sguil-sensor/files/sancp_agent.sh.in index b2f6bcb007d9..11e692a0420f 100644 --- a/security/sguil-sensor/files/sancp_agent.sh.in +++ b/security/sguil-sensor/files/sancp_agent.sh.in @@ -14,7 +14,7 @@ # sancp_agent_flags (str): Default: -D # -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config sancp_agent diff --git a/security/sguil-sensor/files/snort_agent.sh.in b/security/sguil-sensor/files/snort_agent.sh.in index a013470b7ee1..985af4a36f6b 100644 --- a/security/sguil-sensor/files/snort_agent.sh.in +++ b/security/sguil-sensor/files/snort_agent.sh.in @@ -14,7 +14,7 @@ # snort_agent_flags (str): Default: -D # -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config snort_agent diff --git a/security/sguil-server/files/sguild.sh.in b/security/sguil-server/files/sguild.sh.in index f54ad98d4e5a..692054241ace 100644 --- a/security/sguil-server/files/sguild.sh.in +++ b/security/sguil-server/files/sguild.sh.in @@ -30,7 +30,7 @@ # Note: this value MUST be set in /etc/rc.conf if you do not accept the default # user created by the pkg-install script -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config sguild # set some defaults diff --git a/security/shibboleth2-sp/files/shibboleth-sp.in b/security/shibboleth2-sp/files/shibboleth-sp.in index 245ae80004d4..8aab2e892f25 100644 --- a/security/shibboleth2-sp/files/shibboleth-sp.in +++ b/security/shibboleth2-sp/files/shibboleth-sp.in @@ -6,7 +6,7 @@ # REQUIRE: DAEMON # -. %%RC_SUBR%% +. /etc/rc.subr name="shibboleth_sp" rcvar=${name}_enable diff --git a/security/snort/files/snort.sh.in b/security/snort/files/snort.sh.in index 59ea342156c2..fe7173fb6e26 100644 --- a/security/snort/files/snort.sh.in +++ b/security/snort/files/snort.sh.in @@ -23,7 +23,7 @@ # Default: "" # -. %%RC_SUBR%% +. /etc/rc.subr name="snort" rcvar=`set_rcvar` diff --git a/security/snort_inline/files/snort.sh.in b/security/snort_inline/files/snort.sh.in index ee0e05e000c1..5522b6fbd2d9 100644 --- a/security/snort_inline/files/snort.sh.in +++ b/security/snort_inline/files/snort.sh.in @@ -18,7 +18,7 @@ # Default: ${PREFIX}/etc/snort_inline.conf # -. %%RC_SUBR%% +. /etc/rc.subr name="snort" rcvar=`set_rcvar` diff --git a/security/snortsam/files/snortsam.sh.in b/security/snortsam/files/snortsam.sh.in index f53bb8f29c00..faee0c9274b5 100644 --- a/security/snortsam/files/snortsam.sh.in +++ b/security/snortsam/files/snortsam.sh.in @@ -16,7 +16,7 @@ # # DO NOT CHANGE THE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr name="snortsam" rcvar=`set_rcvar` diff --git a/security/spybye/files/spybye.sh.in b/security/spybye/files/spybye.sh.in index 12e6cd9d007e..1768f027369e 100644 --- a/security/spybye/files/spybye.sh.in +++ b/security/spybye/files/spybye.sh.in @@ -22,7 +22,7 @@ # -S shareurl host to log dangerous site interactions to # -x enable proxy mode -. %%RC_SUBR%% +. /etc/rc.subr name="spybye" load_rc_config ${name} diff --git a/security/ssh2/files/sshd2.sh.in b/security/ssh2/files/sshd2.sh.in index 8b634f4fbd97..56d28572ee4a 100644 --- a/security/ssh2/files/sshd2.sh.in +++ b/security/ssh2/files/sshd2.sh.in @@ -18,7 +18,7 @@ # sshd2_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="sshd2" rcvar=${name}_enable diff --git a/security/sshblock/files/sshblock.in b/security/sshblock/files/sshblock.in index 4e83ebca00e8..17941c4ec447 100644 --- a/security/sshblock/files/sshblock.in +++ b/security/sshblock/files/sshblock.in @@ -12,7 +12,7 @@ # sshblock_flags (string): Set sshblock flags (optional) # -. %%RC_SUBR%% +. /etc/rc.subr name="sshblock" rcvar=`set_rcvar` diff --git a/security/stunnel/files/stunnel.in b/security/stunnel/files/stunnel.in index 5732436c6ec3..d639588cd9aa 100644 --- a/security/stunnel/files/stunnel.in +++ b/security/stunnel/files/stunnel.in @@ -21,7 +21,7 @@ # the stunnel.conf file. # -. %%RC_SUBR%% +. /etc/rc.subr name="stunnel" rcvar=`set_rcvar` diff --git a/security/swatch/files/swatch.in b/security/swatch/files/swatch.in index 27db9a15367f..348eeb6b1322 100644 --- a/security/swatch/files/swatch.in +++ b/security/swatch/files/swatch.in @@ -17,7 +17,7 @@ # swatch_2_flags="blah, blah" # swatch_3_flags="blah, blah" -. %%RC_SUBR%% +. /etc/rc.subr name=swatch rcvar=`set_rcvar` diff --git a/security/tor-devel/files/tor.in b/security/tor-devel/files/tor.in index 1d6fd92816c7..8ed480b7d630 100644 --- a/security/tor-devel/files/tor.in +++ b/security/tor-devel/files/tor.in @@ -19,7 +19,7 @@ # tor_logfile (str): Tor Log File. Defaults /var/log/tor # -. %%RC_SUBR%% +. /etc/rc.subr name="tor" rcvar=${name}_enable diff --git a/security/tor/files/tor.in b/security/tor/files/tor.in index 1d6fd92816c7..8ed480b7d630 100644 --- a/security/tor/files/tor.in +++ b/security/tor/files/tor.in @@ -19,7 +19,7 @@ # tor_logfile (str): Tor Log File. Defaults /var/log/tor # -. %%RC_SUBR%% +. /etc/rc.subr name="tor" rcvar=${name}_enable diff --git a/security/vpnc/files/vpnc.in b/security/vpnc/files/vpnc.in index 2422d0c1d73b..228374ac6529 100644 --- a/security/vpnc/files/vpnc.in +++ b/security/vpnc/files/vpnc.in @@ -21,7 +21,7 @@ : ${vpnc_conf_dir="%%PREFIX%%/etc"} : ${vpnc_record="$vpnc_pid_dir/vpnc.record"} -. %%RC_SUBR%% +. /etc/rc.subr name="vpnc" rcvar=`set_rcvar` diff --git a/security/xinetd/files/xinetd.in b/security/xinetd/files/xinetd.in index 38bd8ffa92de..41f0241aa1fb 100644 --- a/security/xinetd/files/xinetd.in +++ b/security/xinetd/files/xinetd.in @@ -10,7 +10,7 @@ # xinetd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=xinetd rcvar=`set_rcvar` diff --git a/shells/scponly/files/scponlyc.in b/shells/scponly/files/scponlyc.in index 3ad188df49b4..28aa5f59d378 100644 --- a/shells/scponly/files/scponlyc.in +++ b/shells/scponly/files/scponlyc.in @@ -13,7 +13,7 @@ # scponlyc_shells (str): Set to "/etc/shells" by default. # scponlyc_passwd (str): Set to "/etc/passwd" by default. -. %%RC_SUBR%% +. /etc/rc.subr scponlyc_shells="${scponlyc_shells:-/etc/shells}" scponlyc_passwd="${scponlyc_passwd:-/etc/passwd}" diff --git a/shells/wapsh/files/htshd.sh.in b/shells/wapsh/files/htshd.sh.in index 54aaee5022f2..f42acdc68957 100644 --- a/shells/wapsh/files/htshd.sh.in +++ b/shells/wapsh/files/htshd.sh.in @@ -4,7 +4,7 @@ # REQUIRE: DAEMON # BEFORE: LOGIN -. %%RC_SUBR%% +. /etc/rc.subr name="htshd" rcvar=`set_rcvar` diff --git a/sysutils/3dm/files/3dm2.sh.in b/sysutils/3dm/files/3dm2.sh.in index 722d5b175fca..a0fbd500b1e1 100644 --- a/sysutils/3dm/files/3dm2.sh.in +++ b/sysutils/3dm/files/3dm2.sh.in @@ -13,7 +13,7 @@ # twdm2_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=twdm2 rcvar=`set_rcvar` diff --git a/sysutils/915resolution/files/915resolution.sh.in b/sysutils/915resolution/files/915resolution.sh.in index e5afed33d48b..4f643fc29208 100644 --- a/sysutils/915resolution/files/915resolution.sh.in +++ b/sysutils/915resolution/files/915resolution.sh.in @@ -20,7 +20,7 @@ i915resolution_modes=${i915resolution_modes:-"3c 4d 5c"} # Space separated list i915resolution_width=${i915resolution_width:-"1920"} # the horisontal resolution in pixels i915resolution_height=${i915resolution_height:-"1080"} # the vertical resolution in pixels -. %%RC_SUBR%% +. /etc/rc.subr name="i915resolution" rcvar=`set_rcvar` diff --git a/sysutils/LPRng/files/lprng.in b/sysutils/LPRng/files/lprng.in index 5a8aa2dcde76..0da46aa02d8b 100644 --- a/sysutils/LPRng/files/lprng.in +++ b/sysutils/LPRng/files/lprng.in @@ -10,7 +10,7 @@ # Set it to YES to enable lprng. # -. %%RC_SUBR%% +. /etc/rc.subr name="lprng" rcvar=${name}_enable diff --git a/sysutils/afbinit/files/afbinit.sh.in b/sysutils/afbinit/files/afbinit.sh.in index 4af10f97013e..e9cbbacecb1f 100644 --- a/sysutils/afbinit/files/afbinit.sh.in +++ b/sysutils/afbinit/files/afbinit.sh.in @@ -17,7 +17,7 @@ # afbinit="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="afbinit" rcvar=${name}_enable diff --git a/sysutils/anacron/files/anacron.sh.in b/sysutils/anacron/files/anacron.sh.in index fd21894ad106..85e2704ef0a4 100644 --- a/sysutils/anacron/files/anacron.sh.in +++ b/sysutils/anacron/files/anacron.sh.in @@ -12,7 +12,7 @@ # anacron_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="anacron" rcvar=`set_rcvar` diff --git a/sysutils/apcupsd/files/apcupsd.in b/sysutils/apcupsd/files/apcupsd.in index 09f6cee2a6b0..4422f8bf5cfb 100644 --- a/sysutils/apcupsd/files/apcupsd.in +++ b/sysutils/apcupsd/files/apcupsd.in @@ -15,7 +15,7 @@ # to apcupsd (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="apcupsd" rcvar=${name}_enable diff --git a/sysutils/ataidle/files/ataidle.in b/sysutils/ataidle/files/ataidle.in index 4889da7ae39e..338b499d5e66 100644 --- a/sysutils/ataidle/files/ataidle.in +++ b/sysutils/ataidle/files/ataidle.in @@ -23,7 +23,7 @@ # ataidle_ad2="-I 60 -S 120 -A 127 -P 254" # -. %%RC_SUBR%% +. /etc/rc.subr name="ataidle" rcvar=${name}_enable diff --git a/sysutils/bacula-server-devel/files/bacula-dir.in b/sysutils/bacula-server-devel/files/bacula-dir.in index af3c16b2d2c3..1aa9dde9d8f5 100644 --- a/sysutils/bacula-server-devel/files/bacula-dir.in +++ b/sysutils/bacula-server-devel/files/bacula-dir.in @@ -14,7 +14,7 @@ # bacula_dir_flags (params): Set params used to start bacula_dir. # -. %%RC_SUBR%% +. /etc/rc.subr name="bacula_dir" rcvar=${name}_enable diff --git a/sysutils/bacula-server-devel/files/bacula-fd.in b/sysutils/bacula-server-devel/files/bacula-fd.in index 10d71f33f887..80775b3abd9e 100644 --- a/sysutils/bacula-server-devel/files/bacula-fd.in +++ b/sysutils/bacula-server-devel/files/bacula-fd.in @@ -14,7 +14,7 @@ # bacula_fd_flags (params): Set params used to start bacula_fd. # -. %%RC_SUBR%% +. /etc/rc.subr name="bacula_fd" rcvar=${name}_enable diff --git a/sysutils/bacula-server-devel/files/bacula-sd.in b/sysutils/bacula-server-devel/files/bacula-sd.in index 920efd263f44..e8ee13807ca2 100644 --- a/sysutils/bacula-server-devel/files/bacula-sd.in +++ b/sysutils/bacula-server-devel/files/bacula-sd.in @@ -14,7 +14,7 @@ # bacula_sd_flags (params): Set params used to start bacula_sd. # -. %%RC_SUBR%% +. /etc/rc.subr name="bacula_sd" rcvar=`set_rcvar` diff --git a/sysutils/bacula-server/files/bacula-dir.in b/sysutils/bacula-server/files/bacula-dir.in index 4124b1a2e9f6..dab7df586a3a 100644 --- a/sysutils/bacula-server/files/bacula-dir.in +++ b/sysutils/bacula-server/files/bacula-dir.in @@ -14,7 +14,7 @@ # bacula_dir_flags (params): Set params used to start bacula_dir. # -. %%RC_SUBR%% +. /etc/rc.subr name="bacula_dir" rcvar=${name}_enable diff --git a/sysutils/bacula-server/files/bacula-fd.in b/sysutils/bacula-server/files/bacula-fd.in index 507a1699e6b9..cf04e503d39c 100644 --- a/sysutils/bacula-server/files/bacula-fd.in +++ b/sysutils/bacula-server/files/bacula-fd.in @@ -14,7 +14,7 @@ # bacula_fd_flags (params): Set params used to start bacula_fd. # -. %%RC_SUBR%% +. /etc/rc.subr name="bacula_fd" rcvar=${name}_enable diff --git a/sysutils/bacula-server/files/bacula-sd.in b/sysutils/bacula-server/files/bacula-sd.in index 6916dd5b898a..d974daac3c13 100644 --- a/sysutils/bacula-server/files/bacula-sd.in +++ b/sysutils/bacula-server/files/bacula-sd.in @@ -14,7 +14,7 @@ # bacula_sd_flags (params): Set params used to start bacula_sd. # -. %%RC_SUBR%% +. /etc/rc.subr name="bacula_sd" rcvar=`set_rcvar` diff --git a/sysutils/bacula2-server/files/bacula-dir.in b/sysutils/bacula2-server/files/bacula-dir.in index 4124b1a2e9f6..dab7df586a3a 100644 --- a/sysutils/bacula2-server/files/bacula-dir.in +++ b/sysutils/bacula2-server/files/bacula-dir.in @@ -14,7 +14,7 @@ # bacula_dir_flags (params): Set params used to start bacula_dir. # -. %%RC_SUBR%% +. /etc/rc.subr name="bacula_dir" rcvar=${name}_enable diff --git a/sysutils/bacula2-server/files/bacula-fd.in b/sysutils/bacula2-server/files/bacula-fd.in index 507a1699e6b9..cf04e503d39c 100644 --- a/sysutils/bacula2-server/files/bacula-fd.in +++ b/sysutils/bacula2-server/files/bacula-fd.in @@ -14,7 +14,7 @@ # bacula_fd_flags (params): Set params used to start bacula_fd. # -. %%RC_SUBR%% +. /etc/rc.subr name="bacula_fd" rcvar=${name}_enable diff --git a/sysutils/bacula2-server/files/bacula-sd.in b/sysutils/bacula2-server/files/bacula-sd.in index 6916dd5b898a..d974daac3c13 100644 --- a/sysutils/bacula2-server/files/bacula-sd.in +++ b/sysutils/bacula2-server/files/bacula-sd.in @@ -14,7 +14,7 @@ # bacula_sd_flags (params): Set params used to start bacula_sd. # -. %%RC_SUBR%% +. /etc/rc.subr name="bacula_sd" rcvar=`set_rcvar` diff --git a/sysutils/be_agent/files/be-agent.sh.in b/sysutils/be_agent/files/be-agent.sh.in index 3003debe2474..457f31b204ac 100644 --- a/sysutils/be_agent/files/be-agent.sh.in +++ b/sysutils/be_agent/files/be-agent.sh.in @@ -11,7 +11,7 @@ #be_agent_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=be_agent rcvar=`set_rcvar` diff --git a/sysutils/boxbackup-devel/files/bbackupd.sh.in b/sysutils/boxbackup-devel/files/bbackupd.sh.in index 7bca5de79161..b1e5febae656 100644 --- a/sysutils/boxbackup-devel/files/bbackupd.sh.in +++ b/sysutils/boxbackup-devel/files/bbackupd.sh.in @@ -16,7 +16,7 @@ : ${bbackupd_flags:="%%PREFIX%%/etc/box/bbackupd.conf"} : ${bbackupd_pidfile:="/var/run/bbackupd.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="bbackupd" rcvar=`set_rcvar` diff --git a/sysutils/boxbackup-devel/files/bbstored.sh.in b/sysutils/boxbackup-devel/files/bbstored.sh.in index 49be98fb2870..9554a6bd0e2f 100644 --- a/sysutils/boxbackup-devel/files/bbstored.sh.in +++ b/sysutils/boxbackup-devel/files/bbstored.sh.in @@ -16,7 +16,7 @@ : ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"} : ${bbstored_pidfile:="/var/run/bbstored.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="bbstored" rcvar=`set_rcvar` diff --git a/sysutils/boxbackup/files/bbackupd.sh.in b/sysutils/boxbackup/files/bbackupd.sh.in index 7bca5de79161..b1e5febae656 100644 --- a/sysutils/boxbackup/files/bbackupd.sh.in +++ b/sysutils/boxbackup/files/bbackupd.sh.in @@ -16,7 +16,7 @@ : ${bbackupd_flags:="%%PREFIX%%/etc/box/bbackupd.conf"} : ${bbackupd_pidfile:="/var/run/bbackupd.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="bbackupd" rcvar=`set_rcvar` diff --git a/sysutils/boxbackup/files/bbstored.sh.in b/sysutils/boxbackup/files/bbstored.sh.in index 49be98fb2870..9554a6bd0e2f 100644 --- a/sysutils/boxbackup/files/bbstored.sh.in +++ b/sysutils/boxbackup/files/bbstored.sh.in @@ -16,7 +16,7 @@ : ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"} : ${bbstored_pidfile:="/var/run/bbstored.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="bbstored" rcvar=`set_rcvar` diff --git a/sysutils/bsd-splash-changer/files/change_splash.sh.in b/sysutils/bsd-splash-changer/files/change_splash.sh.in index b29fafa0eb66..af3cb2e36610 100644 --- a/sysutils/bsd-splash-changer/files/change_splash.sh.in +++ b/sysutils/bsd-splash-changer/files/change_splash.sh.in @@ -16,7 +16,7 @@ # This is where the image file is copied to. # -. %%RC_SUBR%% +. /etc/rc.subr name=change_splash rcvar=`set_rcvar splash_changer` diff --git a/sysutils/cfengine/files/cfexecd.in b/sysutils/cfengine/files/cfexecd.in index 1e61a94d7834..8a5dafb6b4ec 100644 --- a/sysutils/cfengine/files/cfexecd.in +++ b/sysutils/cfengine/files/cfexecd.in @@ -15,7 +15,7 @@ # to cfexecd (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="cfexecd" rcvar=${name}_enable diff --git a/sysutils/cfengine/files/cfservd.in b/sysutils/cfengine/files/cfservd.in index fac8a83a1745..75528ad60cc2 100644 --- a/sysutils/cfengine/files/cfservd.in +++ b/sysutils/cfengine/files/cfservd.in @@ -15,7 +15,7 @@ # to cfservd (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="cfservd" rcvar=${name}_enable diff --git a/sysutils/cfengine3-legacy/files/cf-execd.in b/sysutils/cfengine3-legacy/files/cf-execd.in index 6c4a47840d68..10bd52c4cf20 100644 --- a/sysutils/cfengine3-legacy/files/cf-execd.in +++ b/sysutils/cfengine3-legacy/files/cf-execd.in @@ -15,7 +15,7 @@ # to cf-execd (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="cf_execd" rcvar=${name}_enable diff --git a/sysutils/cfengine3-legacy/files/cf-serverd.in b/sysutils/cfengine3-legacy/files/cf-serverd.in index d84b25960dd1..d988c229763e 100644 --- a/sysutils/cfengine3-legacy/files/cf-serverd.in +++ b/sysutils/cfengine3-legacy/files/cf-serverd.in @@ -15,7 +15,7 @@ # to cf-serverd (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="cf_serverd" rcvar=${name}_enable diff --git a/sysutils/cfengine3/files/cf-execd.in b/sysutils/cfengine3/files/cf-execd.in index 6c4a47840d68..10bd52c4cf20 100644 --- a/sysutils/cfengine3/files/cf-execd.in +++ b/sysutils/cfengine3/files/cf-execd.in @@ -15,7 +15,7 @@ # to cf-execd (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="cf_execd" rcvar=${name}_enable diff --git a/sysutils/cfengine3/files/cf-serverd.in b/sysutils/cfengine3/files/cf-serverd.in index d84b25960dd1..d988c229763e 100644 --- a/sysutils/cfengine3/files/cf-serverd.in +++ b/sysutils/cfengine3/files/cf-serverd.in @@ -15,7 +15,7 @@ # to cf-serverd (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="cf_serverd" rcvar=${name}_enable diff --git a/sysutils/cpupowerd/files/cpupowerd.in b/sysutils/cpupowerd/files/cpupowerd.in index 81c5daf1c2a9..a3f1c6322af6 100644 --- a/sysutils/cpupowerd/files/cpupowerd.in +++ b/sysutils/cpupowerd/files/cpupowerd.in @@ -15,7 +15,7 @@ # to cpupowerd (default -d -c cpupowerd.conf). # -. %%RC_SUBR%% +. /etc/rc.subr name="cpupowerd" rcvar=`set_rcvar` diff --git a/sysutils/daedalus/files/daedalus.sh b/sysutils/daedalus/files/daedalus.sh index 29d1ebee6ca2..8dfc3061392a 100644 --- a/sysutils/daedalus/files/daedalus.sh +++ b/sysutils/daedalus/files/daedalus.sh @@ -9,7 +9,7 @@ # daedalus_flags (str): Set to "-c %%PREFIX%%/etc/daedalus/daedalus.xml -t %%PREFIX%%/etc/daedalus/templates.xml" by default. # Extra flags passed to start command # -. %%RC_SUBR%% +. /etc/rc.subr name="daedalus" rcvar=`set_rcvar` diff --git a/sysutils/daemontools/files/svscan.in b/sysutils/daemontools/files/svscan.in index 4b1c194167cb..840947990a18 100644 --- a/sysutils/daemontools/files/svscan.in +++ b/sysutils/daemontools/files/svscan.in @@ -58,7 +58,7 @@ #ulimit -s ${MINSEGMENT} #ulimit -u ${MAXCHILD} -. %%RC_SUBR%% +. /etc/rc.subr name="svscan" rcvar=`set_rcvar` diff --git a/sysutils/doinkd/files/doinkd.in b/sysutils/doinkd/files/doinkd.in index f9eab3896c1c..1a116e7f82b0 100644 --- a/sysutils/doinkd/files/doinkd.in +++ b/sysutils/doinkd/files/doinkd.in @@ -17,7 +17,7 @@ # See idled(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=idled rcvar=`set_rcvar` diff --git a/sysutils/doinkd/files/idled.in b/sysutils/doinkd/files/idled.in index 3bd4ce105bae..7c46dda73f1a 100644 --- a/sysutils/doinkd/files/idled.in +++ b/sysutils/doinkd/files/idled.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/sysutils/doinkd/files/Attic/idled.in,v 1.2 2009-07-15 16:56:06 dougb Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/doinkd/files/Attic/idled.in,v 1.3 2010-03-27 00:14:56 dougb Exp $ # # PROVIDE: idled @@ -17,7 +17,7 @@ # See idled(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=idled rcvar=`set_rcvar` diff --git a/sysutils/fcron/files/fcron.in b/sysutils/fcron/files/fcron.in index 4f5dcc660492..14862263d192 100644 --- a/sysutils/fcron/files/fcron.in +++ b/sysutils/fcron/files/fcron.in @@ -8,7 +8,7 @@ # BEFORE: securelevel # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name="fcron" rcvar="`set_rcvar`" diff --git a/sysutils/freqsdwn/files/000.freqshpk.sh.in b/sysutils/freqsdwn/files/000.freqshpk.sh.in index 9aacecee1ee1..e8475e8c12f7 100644 --- a/sysutils/freqsdwn/files/000.freqshpk.sh.in +++ b/sysutils/freqsdwn/files/000.freqshpk.sh.in @@ -15,7 +15,7 @@ # freqshpk_enable=${freqshpk_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=freqshpk rcvar=`set_rcvar` diff --git a/sysutils/freqsdwn/files/freqshpd.sh.in b/sysutils/freqsdwn/files/freqshpd.sh.in index 168d094a475e..c360a56d68b5 100644 --- a/sysutils/freqsdwn/files/freqshpd.sh.in +++ b/sysutils/freqsdwn/files/freqshpd.sh.in @@ -15,7 +15,7 @@ # freqshpd_enable=${freqshpd_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=freqshpd rcvar=`set_rcvar` diff --git a/sysutils/fusefs-kmod/files/fusefs.in b/sysutils/fusefs-kmod/files/fusefs.in index bec25ead9780..1ac7ef645ec9 100644 --- a/sysutils/fusefs-kmod/files/fusefs.in +++ b/sysutils/fusefs-kmod/files/fusefs.in @@ -22,7 +22,7 @@ # while waiting for write operations. # -. %%RC_SUBR%% +. /etc/rc.subr kmod="%%PREFIX%%/modules/fuse.ko" name="fusefs" diff --git a/sysutils/fvcool/files/fvcool.sh.in b/sysutils/fvcool/files/fvcool.sh.in index 3085d82fe53c..2878bf83f159 100644 --- a/sysutils/fvcool/files/fvcool.sh.in +++ b/sysutils/fvcool/files/fvcool.sh.in @@ -16,7 +16,7 @@ # %%PORTNAME%%_flags Set to "-v" for verbose mode. # -. %%RC_SUBR%% +. /etc/rc.subr name="%%PORTNAME%%" rcvar=`set_rcvar` diff --git a/sysutils/ganglia-monitor-core/files/ganglia.sh.in b/sysutils/ganglia-monitor-core/files/ganglia.sh.in index fa223863a5af..9207440d9a49 100644 --- a/sysutils/ganglia-monitor-core/files/ganglia.sh.in +++ b/sysutils/ganglia-monitor-core/files/ganglia.sh.in @@ -23,7 +23,7 @@ gmetasnap_command="%%PREFIX%%/sbin/gmetasnap" ### gmond ### -. %%RC_SUBR%% +. /etc/rc.subr name=gmond rcvar=`set_rcvar` diff --git a/sysutils/ganglia-monitor-core/files/gmetad.sh.in b/sysutils/ganglia-monitor-core/files/gmetad.sh.in index 9f2ad11e2526..28175f19298f 100644 --- a/sysutils/ganglia-monitor-core/files/gmetad.sh.in +++ b/sysutils/ganglia-monitor-core/files/gmetad.sh.in @@ -5,7 +5,7 @@ # REQUIRE: gmond # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=gmetad rcvar=`set_rcvar` diff --git a/sysutils/ganglia-monitor-core/files/gmond.sh.in b/sysutils/ganglia-monitor-core/files/gmond.sh.in index ec66b3e174f8..44ba46ae767e 100644 --- a/sysutils/ganglia-monitor-core/files/gmond.sh.in +++ b/sysutils/ganglia-monitor-core/files/gmond.sh.in @@ -6,7 +6,7 @@ # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=gmond rcvar=`set_rcvar` diff --git a/sysutils/gkrellm2/files/gkrellmd.sh.in b/sysutils/gkrellm2/files/gkrellmd.sh.in index c222220886e8..3ba458e91b90 100644 --- a/sysutils/gkrellm2/files/gkrellmd.sh.in +++ b/sysutils/gkrellm2/files/gkrellmd.sh.in @@ -19,7 +19,7 @@ gkrellmd_enable=${gkrellmd_enable:-"NO"} # Enable gkrellmd #gkrellmd_program="%%PREFIX%%/sbin/gkrellmd" # Location of gkrellmd gkrellmd_flags=${gkrellmd_flags:-"-d"} # Flags to gkrellmd -. %%RC_SUBR%% +. /etc/rc.subr name="gkrellmd" rcvar=`set_rcvar` diff --git a/sysutils/hal/files/hald.in b/sysutils/hal/files/hald.in index 42643888c954..82ab1efb1f3b 100644 --- a/sysutils/hal/files/hald.in +++ b/sysutils/hal/files/hald.in @@ -11,7 +11,7 @@ # hald_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr . %%GNOME_SUBR%% hald_enable=${hald_enable-${gnome_enable}} diff --git a/sysutils/healthd/files/healthd.in b/sysutils/healthd/files/healthd.in index b5bb67121a3a..47a864d79d3d 100644 --- a/sysutils/healthd/files/healthd.in +++ b/sysutils/healthd/files/healthd.in @@ -19,7 +19,7 @@ # Other options are listed in healthd(8) # -. %%RC_SUBR%% +. /etc/rc.subr name=healthd rcvar=`set_rcvar` diff --git a/sysutils/idled/files/idled.in b/sysutils/idled/files/idled.in index c344c4d81bf0..3963f10f31a7 100644 --- a/sysutils/idled/files/idled.in +++ b/sysutils/idled/files/idled.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/sysutils/idled/files/Attic/idled.in,v 1.2 2009-07-15 16:56:06 dougb Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/idled/files/Attic/idled.in,v 1.3 2010-03-27 00:14:56 dougb Exp $ # # PROVIDE: idled @@ -17,7 +17,7 @@ # See idled(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=idled rcvar=`set_rcvar` diff --git a/sysutils/ipa/files/ipa.in b/sysutils/ipa/files/ipa.in index 3c8850d53e94..2612c6a10316 100644 --- a/sysutils/ipa/files/ipa.in +++ b/sysutils/ipa/files/ipa.in @@ -18,7 +18,7 @@ # ipa_enable (boolean) Set to "YES" to enable ipa # (default is "NO") -. %%RC_SUBR%% +. /etc/rc.subr name="ipa" rcvar=${name}_enable diff --git a/sysutils/istatd/files/istatd.in b/sysutils/istatd/files/istatd.in index e65f0d670d73..7dbe680bfba9 100644 --- a/sysutils/istatd/files/istatd.in +++ b/sysutils/istatd/files/istatd.in @@ -10,7 +10,7 @@ # Set it to YES to enable istatd. # -. %%RC_SUBR%% +. /etc/rc.subr name="istatd" rcvar=${name}_enable diff --git a/sysutils/lcdproc/files/LCDd.in b/sysutils/lcdproc/files/LCDd.in index cc325a0c612b..40fd0e17ab4c 100644 --- a/sysutils/lcdproc/files/LCDd.in +++ b/sysutils/lcdproc/files/LCDd.in @@ -9,7 +9,7 @@ # SET THEM IN THE /etc/rc.conf FILE # -. %%RC_SUBR%% +. /etc/rc.subr name="LCDd" rcvar=${name}_enable diff --git a/sysutils/lcdproc/files/lcdexec.in b/sysutils/lcdproc/files/lcdexec.in index 473259b85c1a..9b6a323165d5 100644 --- a/sysutils/lcdproc/files/lcdexec.in +++ b/sysutils/lcdproc/files/lcdexec.in @@ -9,7 +9,7 @@ # SET THEM IN THE /etc/rc.conf FILE # -. %%RC_SUBR%% +. /etc/rc.subr name="lcdexec" rcvar=`set_rcvar` diff --git a/sysutils/lcdproc/files/lcdproc.in b/sysutils/lcdproc/files/lcdproc.in index dedd9919394f..b52fdf791802 100644 --- a/sysutils/lcdproc/files/lcdproc.in +++ b/sysutils/lcdproc/files/lcdproc.in @@ -9,7 +9,7 @@ # SET THEM IN THE /etc/rc.conf FILE # -. %%RC_SUBR%% +. /etc/rc.subr name="lcdproc" rcvar=${name}_enable diff --git a/sysutils/lookupd/files/lookupd.in b/sysutils/lookupd/files/lookupd.in index 3902835e8e0c..e8ef5c4ec2d9 100644 --- a/sysutils/lookupd/files/lookupd.in +++ b/sysutils/lookupd/files/lookupd.in @@ -15,7 +15,7 @@ # # See lookupd(8) for flags -. %%RC_SUBR%% +. /etc/rc.subr name=lookupd rcvar=`set_rcvar` diff --git a/sysutils/mbmon/files/mbmon.sh.in b/sysutils/mbmon/files/mbmon.sh.in index dbd8190db89d..72e7f77e9ee5 100644 --- a/sysutils/mbmon/files/mbmon.sh.in +++ b/sysutils/mbmon/files/mbmon.sh.in @@ -16,7 +16,7 @@ # See mbmon(1) for mbmon_flags # Set mbmon_port to the TCP port to listen to, default is 12999 -. %%RC_SUBR%% +. /etc/rc.subr name="mbmon" rcvar=`set_rcvar` diff --git a/sysutils/metalog/files/metalog.in b/sysutils/metalog/files/metalog.in index 4b97c8495812..9cd840d310d7 100644 --- a/sysutils/metalog/files/metalog.in +++ b/sysutils/metalog/files/metalog.in @@ -7,7 +7,7 @@ # REQUIRE: mountcritremote cleanvar newsyslog ldconfig # BEFORE: SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name=metalog rcvar=`set_rcvar` diff --git a/sysutils/monit/files/monit.sh.in b/sysutils/monit/files/monit.sh.in index f65c1ba2d1df..4a6f55c4be10 100644 --- a/sysutils/monit/files/monit.sh.in +++ b/sysutils/monit/files/monit.sh.in @@ -15,7 +15,7 @@ # monit_flags (str): Flags passed to monit on startup. # Default is "". # -. %%RC_SUBR%% +. /etc/rc.subr name="monit" rcvar=`set_rcvar` diff --git a/sysutils/monitord/files/monitord.in b/sysutils/monitord/files/monitord.in index f3f658fce00d..8c5033e42100 100644 --- a/sysutils/monitord/files/monitord.in +++ b/sysutils/monitord/files/monitord.in @@ -13,7 +13,7 @@ # See monitord(8) for flags. # -. %%RC_SUBR%% +. /etc/rc.subr name="monitord" rcvar=`set_rcvar` diff --git a/sysutils/msyslog/files/msyslogd.sh.in b/sysutils/msyslog/files/msyslogd.sh.in index 6fedbf875657..ef915048a965 100644 --- a/sysutils/msyslog/files/msyslogd.sh.in +++ b/sysutils/msyslog/files/msyslogd.sh.in @@ -16,7 +16,7 @@ # msyslogd_flags="" # -. %%RC_SUBR%% +. /etc/rc.subr name=msyslogd rcvar=`set_rcvar` diff --git a/sysutils/munin-node/files/munin-node-revive.sh.in b/sysutils/munin-node/files/munin-node-revive.sh.in index 66bfa746a71d..4de3d93e865d 100644 --- a/sysutils/munin-node/files/munin-node-revive.sh.in +++ b/sysutils/munin-node/files/munin-node-revive.sh.in @@ -7,7 +7,7 @@ # munin_node_config (path): Set to "%%PREFIX%%/etc/munin/munin-node.conf" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="munin_node" rcvar=`set_rcvar` diff --git a/sysutils/munin-node/files/munin-node.in b/sysutils/munin-node/files/munin-node.in index 6cb7a2b095b7..c51862e68b0d 100644 --- a/sysutils/munin-node/files/munin-node.in +++ b/sysutils/munin-node/files/munin-node.in @@ -12,7 +12,7 @@ # munin_node_config (path): Set to "%%PREFIX%%/etc/munin/munin-node.conf" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="munin_node" rcvar=`set_rcvar` diff --git a/sysutils/nagios-statd/files/nagiosstatd.sh.in b/sysutils/nagios-statd/files/nagiosstatd.sh.in index 6b8ef5037c38..0d1b57f35835 100644 --- a/sysutils/nagios-statd/files/nagiosstatd.sh.in +++ b/sysutils/nagios-statd/files/nagiosstatd.sh.in @@ -15,7 +15,7 @@ nagiosstatd_enable=${nagiosstatd_enable-"NO"} nagiosstatd_pidfile=${nagiosstatd_pidfile-"/var/run/nagiosstatd.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="nagiosstatd" #rcvar=`set_rcvar` diff --git a/sysutils/netdump-server/files/netdump-server.sh.in b/sysutils/netdump-server/files/netdump-server.sh.in index a9b6ebf60a50..4e4be03aab78 100644 --- a/sysutils/netdump-server/files/netdump-server.sh.in +++ b/sysutils/netdump-server/files/netdump-server.sh.in @@ -10,7 +10,7 @@ # #netdump_server_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config netdump_server diff --git a/sysutils/nut/files/nut.sh.in b/sysutils/nut/files/nut.sh.in index 9cd40c1430b5..8f6a85b8389e 100644 --- a/sysutils/nut/files/nut.sh.in +++ b/sysutils/nut/files/nut.sh.in @@ -18,7 +18,7 @@ nut_enable=${nut_enable-"NO"} nut_prefix=${nut_prefix-"%%PREFIX%%"} -. %%RC_SUBR%% +. /etc/rc.subr name="nut" rcvar=`set_rcvar` diff --git a/sysutils/nut/files/nut_upslog.sh.in b/sysutils/nut/files/nut_upslog.sh.in index 908451b9c331..84b32b413af8 100644 --- a/sysutils/nut/files/nut_upslog.sh.in +++ b/sysutils/nut/files/nut_upslog.sh.in @@ -21,7 +21,7 @@ nut_upslog_logfile=${nut_upslog_logfile-"/var/log/ups.log"} nut_upslog_interval=${nut_upslog_interval-"300"} nut_upslog_ups=${nut_upslog_ups-"myups@localhost"} -. %%RC_SUBR%% +. /etc/rc.subr name="nut_upslog" rcvar=`set_rcvar` diff --git a/sysutils/nut/files/nut_upsmon.sh.in b/sysutils/nut/files/nut_upsmon.sh.in index 5d5449dc3204..c047ea2cf8d1 100644 --- a/sysutils/nut/files/nut_upsmon.sh.in +++ b/sysutils/nut/files/nut_upsmon.sh.in @@ -18,7 +18,7 @@ nut_upsmon_enable=${nut_upsmon_enable-"NO"} nut_upsmon_prefix=${nut_upsmon_prefix-"%%PREFIX%%"} -. %%RC_SUBR%% +. /etc/rc.subr name="nut_upsmon" rcvar=`set_rcvar` diff --git a/sysutils/nut22/files/nut.sh.in b/sysutils/nut22/files/nut.sh.in index 9cd40c1430b5..8f6a85b8389e 100644 --- a/sysutils/nut22/files/nut.sh.in +++ b/sysutils/nut22/files/nut.sh.in @@ -18,7 +18,7 @@ nut_enable=${nut_enable-"NO"} nut_prefix=${nut_prefix-"%%PREFIX%%"} -. %%RC_SUBR%% +. /etc/rc.subr name="nut" rcvar=`set_rcvar` diff --git a/sysutils/nut22/files/nut_upslog.sh.in b/sysutils/nut22/files/nut_upslog.sh.in index 908451b9c331..84b32b413af8 100644 --- a/sysutils/nut22/files/nut_upslog.sh.in +++ b/sysutils/nut22/files/nut_upslog.sh.in @@ -21,7 +21,7 @@ nut_upslog_logfile=${nut_upslog_logfile-"/var/log/ups.log"} nut_upslog_interval=${nut_upslog_interval-"300"} nut_upslog_ups=${nut_upslog_ups-"myups@localhost"} -. %%RC_SUBR%% +. /etc/rc.subr name="nut_upslog" rcvar=`set_rcvar` diff --git a/sysutils/nut22/files/nut_upsmon.sh.in b/sysutils/nut22/files/nut_upsmon.sh.in index 5d5449dc3204..c047ea2cf8d1 100644 --- a/sysutils/nut22/files/nut_upsmon.sh.in +++ b/sysutils/nut22/files/nut_upsmon.sh.in @@ -18,7 +18,7 @@ nut_upsmon_enable=${nut_upsmon_enable-"NO"} nut_upsmon_prefix=${nut_upsmon_prefix-"%%PREFIX%%"} -. %%RC_SUBR%% +. /etc/rc.subr name="nut_upsmon" rcvar=`set_rcvar` diff --git a/sysutils/oak/files/oak.in b/sysutils/oak/files/oak.in index 4796494ae354..8cbcef02286e 100644 --- a/sysutils/oak/files/oak.in +++ b/sysutils/oak/files/oak.in @@ -9,7 +9,7 @@ # oak_enable="${oak_enable-NO}" -. %%RC_SUBR%% +. /etc/rc.subr name="oak" rcvar=`set_rcvar` diff --git a/sysutils/openupsd/files/openupsd.in b/sysutils/openupsd/files/openupsd.in index deb7d677b51b..73f616f8559f 100644 --- a/sysutils/openupsd/files/openupsd.in +++ b/sysutils/openupsd/files/openupsd.in @@ -8,7 +8,7 @@ openupsd_enable=${openupsd_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="openupsd" rcvar=`set_rcvar` diff --git a/sysutils/pcfclock/files/pcfdate.in b/sysutils/pcfclock/files/pcfdate.in index 70489af87ec9..7a6db74ab67e 100644 --- a/sysutils/pcfclock/files/pcfdate.in +++ b/sysutils/pcfclock/files/pcfdate.in @@ -14,7 +14,7 @@ # DO NOT CHANGE THESE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr name="pcfdate" rcvar=${name}_enable diff --git a/sysutils/powerman/files/powerman.sh.in b/sysutils/powerman/files/powerman.sh.in index e20ebbc130d4..43ff4d3cd39c 100644 --- a/sysutils/powerman/files/powerman.sh.in +++ b/sysutils/powerman/files/powerman.sh.in @@ -18,7 +18,7 @@ powermand_enable=${powermand_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="powermand" rcvar=`set_rcvar` diff --git a/sysutils/puppet/files/puppetd.in b/sysutils/puppet/files/puppetd.in index a941d7fbf342..63d69909a1dc 100644 --- a/sysutils/puppet/files/puppetd.in +++ b/sysutils/puppet/files/puppetd.in @@ -9,7 +9,7 @@ # # puppetd_enable="YES" -. %%RC_SUBR%% +. /etc/rc.subr name="puppetd" rcvar=`set_rcvar` diff --git a/sysutils/puppet/files/puppetmasterd.in b/sysutils/puppet/files/puppetmasterd.in index 4c58ac4d387a..230b551d4537 100644 --- a/sysutils/puppet/files/puppetmasterd.in +++ b/sysutils/puppet/files/puppetmasterd.in @@ -12,7 +12,7 @@ # puppetmasterd_flags: Set to "--pidfile ${puppetmasterd_pid}" by default # -. %%RC_SUBR%% +. /etc/rc.subr name="puppetmasterd" rcvar=`set_rcvar` diff --git a/sysutils/py-bcfg2/files/bcfg2.in b/sysutils/py-bcfg2/files/bcfg2.in index c1d0873bb6c5..1236765bcc60 100644 --- a/sysutils/py-bcfg2/files/bcfg2.in +++ b/sysutils/py-bcfg2/files/bcfg2.in @@ -12,7 +12,7 @@ # bcfg2_flags (str): Flags passed to bcfg2 on startup. # Default is "". -. %%RC_SUBR%% +. /etc/rc.subr name="bcfg2" rcvar=${name}_enable diff --git a/sysutils/radmind/files/radmind.sh.in b/sysutils/radmind/files/radmind.sh.in index 5b0f2a66f4da..1ad10a6ec7fb 100644 --- a/sysutils/radmind/files/radmind.sh.in +++ b/sysutils/radmind/files/radmind.sh.in @@ -19,7 +19,7 @@ # See radmind(8) for flags # -. %%RC_SUBR%% +. /etc/rc.subr name=radmind rcvar=`set_rcvar` diff --git a/sysutils/rsyncmanager/files/rsyncmanager.sh.in b/sysutils/rsyncmanager/files/rsyncmanager.sh.in index eea45d36b972..56781e12c56b 100644 --- a/sysutils/rsyncmanager/files/rsyncmanager.sh.in +++ b/sysutils/rsyncmanager/files/rsyncmanager.sh.in @@ -9,7 +9,7 @@ # rsyncmanager_flags (str): Set to "-C -c %%PREFIX%%/etc/rsyncmanager.conf" by default. # Extra flags passed to start command # -. %%RC_SUBR%% +. /etc/rc.subr name="rsyncmanager" rcvar=`set_rcvar` diff --git a/sysutils/rsyslog3/files/rsyslogd.in b/sysutils/rsyslog3/files/rsyslogd.in index c4997460783e..6eb1c6d374c2 100644 --- a/sysutils/rsyslog3/files/rsyslogd.in +++ b/sysutils/rsyslog3/files/rsyslogd.in @@ -7,7 +7,7 @@ # REQUIRE: mountcritremote cleanvar newsyslog ldconfig # BEFORE: SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name=rsyslogd rcvar=`set_rcvar` diff --git a/sysutils/rsyslog4-devel/files/rsyslogd.in b/sysutils/rsyslog4-devel/files/rsyslogd.in index 4495ce7c59a7..304785a127c0 100644 --- a/sysutils/rsyslog4-devel/files/rsyslogd.in +++ b/sysutils/rsyslog4-devel/files/rsyslogd.in @@ -1,13 +1,13 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/sysutils/rsyslog4-devel/files/Attic/rsyslogd.in,v 1.1 2009-01-27 19:40:41 pgollucci Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/rsyslog4-devel/files/Attic/rsyslogd.in,v 1.2 2010-03-27 00:15:04 dougb Exp $ # # PROVIDE: rsyslogd # REQUIRE: mountcritremote cleanvar newsyslog ldconfig # BEFORE: SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name=rsyslogd rcvar=`set_rcvar` diff --git a/sysutils/rsyslog4/files/rsyslogd.in b/sysutils/rsyslog4/files/rsyslogd.in index c4997460783e..6eb1c6d374c2 100644 --- a/sysutils/rsyslog4/files/rsyslogd.in +++ b/sysutils/rsyslog4/files/rsyslogd.in @@ -7,7 +7,7 @@ # REQUIRE: mountcritremote cleanvar newsyslog ldconfig # BEFORE: SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name=rsyslogd rcvar=`set_rcvar` diff --git a/sysutils/rsyslog5-devel/files/rsyslogd.in b/sysutils/rsyslog5-devel/files/rsyslogd.in index f4364395e85b..a7387c181fc6 100644 --- a/sysutils/rsyslog5-devel/files/rsyslogd.in +++ b/sysutils/rsyslog5-devel/files/rsyslogd.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/sysutils/rsyslog5-devel/files/Attic/rsyslogd.in,v 1.3 2010-03-08 23:15:09 pgollucci Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/rsyslog5-devel/files/Attic/rsyslogd.in,v 1.4 2010-03-27 00:15:04 dougb Exp $ # @@ -8,7 +8,7 @@ # REQUIRE: mountcritremote cleanvar newsyslog ldconfig # BEFORE: SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name=rsyslogd rcvar=`set_rcvar` diff --git a/sysutils/rsyslog5/files/rsyslogd.in b/sysutils/rsyslog5/files/rsyslogd.in index 57b09fffd37b..7fd9b1089b54 100644 --- a/sysutils/rsyslog5/files/rsyslogd.in +++ b/sysutils/rsyslog5/files/rsyslogd.in @@ -8,7 +8,7 @@ # REQUIRE: mountcritremote cleanvar newsyslog ldconfig # BEFORE: SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name=rsyslogd rcvar=`set_rcvar` diff --git a/sysutils/rsyslog55/files/rsyslogd.in b/sysutils/rsyslog55/files/rsyslogd.in index 39231caaf92e..89ae4d91ec7d 100644 --- a/sysutils/rsyslog55/files/rsyslogd.in +++ b/sysutils/rsyslog55/files/rsyslogd.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/sysutils/rsyslog55/files/Attic/rsyslogd.in,v 1.3 2010-03-08 23:15:09 pgollucci Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/rsyslog55/files/Attic/rsyslogd.in,v 1.4 2010-03-27 00:15:04 dougb Exp $ # @@ -8,7 +8,7 @@ # REQUIRE: mountcritremote cleanvar newsyslog ldconfig # BEFORE: SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name=rsyslogd rcvar=`set_rcvar` diff --git a/sysutils/rsyslog6-devel/files/rsyslogd.in b/sysutils/rsyslog6-devel/files/rsyslogd.in index 57b09fffd37b..7fd9b1089b54 100644 --- a/sysutils/rsyslog6-devel/files/rsyslogd.in +++ b/sysutils/rsyslog6-devel/files/rsyslogd.in @@ -8,7 +8,7 @@ # REQUIRE: mountcritremote cleanvar newsyslog ldconfig # BEFORE: SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name=rsyslogd rcvar=`set_rcvar` diff --git a/sysutils/sec/files/sec.in b/sysutils/sec/files/sec.in index 63c94d6ef5ca..79a0fe47709c 100644 --- a/sysutils/sec/files/sec.in +++ b/sysutils/sec/files/sec.in @@ -19,7 +19,7 @@ # ...etc # -. %%RC_SUBR%% +. /etc/rc.subr name="sec" rcvar=`set_rcvar` diff --git a/sysutils/sge60/files/sge.sh.in b/sysutils/sge60/files/sge.sh.in index 6eda1136c375..f5e939500966 100644 --- a/sysutils/sge60/files/sge.sh.in +++ b/sysutils/sge60/files/sge.sh.in @@ -12,7 +12,7 @@ # sge_qmaster_enable Start the qmaster and scheduler (default=NO). # sge_execd_enable Start the exec daemon (default=NO). -. %%RC_SUBR%% +. /etc/rc.subr export SGE_ROOT=%%PREFIX%%/%%SGE_BASE%% diff --git a/sysutils/sge61/files/sge.sh.in b/sysutils/sge61/files/sge.sh.in index 6eda1136c375..f5e939500966 100644 --- a/sysutils/sge61/files/sge.sh.in +++ b/sysutils/sge61/files/sge.sh.in @@ -12,7 +12,7 @@ # sge_qmaster_enable Start the qmaster and scheduler (default=NO). # sge_execd_enable Start the exec daemon (default=NO). -. %%RC_SUBR%% +. /etc/rc.subr export SGE_ROOT=%%PREFIX%%/%%SGE_BASE%% diff --git a/sysutils/sge62/files/sge.sh.in b/sysutils/sge62/files/sge.sh.in index 6eda1136c375..f5e939500966 100644 --- a/sysutils/sge62/files/sge.sh.in +++ b/sysutils/sge62/files/sge.sh.in @@ -12,7 +12,7 @@ # sge_qmaster_enable Start the qmaster and scheduler (default=NO). # sge_execd_enable Start the exec daemon (default=NO). -. %%RC_SUBR%% +. /etc/rc.subr export SGE_ROOT=%%PREFIX%%/%%SGE_BASE%% diff --git a/sysutils/smartmontools/files/smartd.in b/sysutils/smartmontools/files/smartd.in index 600a0bf2a472..4d4161b33a0d 100644 --- a/sysutils/smartmontools/files/smartd.in +++ b/sysutils/smartmontools/files/smartd.in @@ -16,7 +16,7 @@ smartd_enable="${smartd_enable-NO}" smartd_pidfile="/var/run/smartd.pid" -. %%RC_SUBR%% +. /etc/rc.subr name="smartd" rcvar=`set_rcvar` diff --git a/sysutils/swapd/files/swapd.in b/sysutils/swapd/files/swapd.in index 231ebc36f36a..f5c2fa446e99 100644 --- a/sysutils/swapd/files/swapd.in +++ b/sysutils/swapd/files/swapd.in @@ -9,7 +9,7 @@ # swapd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=swapd rcvar=`set_rcvar` diff --git a/sysutils/symon/files/symon.sh.in b/sysutils/symon/files/symon.sh.in index e77e88ff6753..f63172b858e6 100644 --- a/sysutils/symon/files/symon.sh.in +++ b/sysutils/symon/files/symon.sh.in @@ -4,7 +4,7 @@ # PROVIDE: symon # REQUIRE: NETWORKING SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name="symon" rcvar=`set_rcvar` diff --git a/sysutils/symon/files/symux.sh.in b/sysutils/symon/files/symux.sh.in index 309dc8875d45..6cecd649cb37 100644 --- a/sysutils/symon/files/symux.sh.in +++ b/sysutils/symon/files/symux.sh.in @@ -4,7 +4,7 @@ # PROVIDE: symux # REQUIRE: NETWORKING SERVERS -. %%RC_SUBR%% +. /etc/rc.subr name="symux" rcvar=`set_rcvar` diff --git a/sysutils/syslog-ng-devel/files/syslog-ng.sh.in b/sysutils/syslog-ng-devel/files/syslog-ng.sh.in index 3f1f0ebac54a..1aa03e961357 100644 --- a/sysutils/syslog-ng-devel/files/syslog-ng.sh.in +++ b/sysutils/syslog-ng-devel/files/syslog-ng.sh.in @@ -18,7 +18,7 @@ syslog_ng_purgeklog=${syslog_ng_purgeklog-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=syslog_ng rcvar=`set_rcvar` diff --git a/sysutils/syslog-ng/files/syslog-ng.sh.in b/sysutils/syslog-ng/files/syslog-ng.sh.in index 38d41485a74c..6f43b4217eaf 100644 --- a/sysutils/syslog-ng/files/syslog-ng.sh.in +++ b/sysutils/syslog-ng/files/syslog-ng.sh.in @@ -18,7 +18,7 @@ syslog_ng_purgeklog=${syslog_ng_purgeklog-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=syslog_ng rcvar=`set_rcvar` diff --git a/sysutils/syslog-ng1/files/syslog-ng.sh.in b/sysutils/syslog-ng1/files/syslog-ng.sh.in index 38d41485a74c..6f43b4217eaf 100644 --- a/sysutils/syslog-ng1/files/syslog-ng.sh.in +++ b/sysutils/syslog-ng1/files/syslog-ng.sh.in @@ -18,7 +18,7 @@ syslog_ng_purgeklog=${syslog_ng_purgeklog-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=syslog_ng rcvar=`set_rcvar` diff --git a/sysutils/syslog-ng2/files/syslog-ng.sh.in b/sysutils/syslog-ng2/files/syslog-ng.sh.in index 3f1f0ebac54a..1aa03e961357 100644 --- a/sysutils/syslog-ng2/files/syslog-ng.sh.in +++ b/sysutils/syslog-ng2/files/syslog-ng.sh.in @@ -18,7 +18,7 @@ syslog_ng_purgeklog=${syslog_ng_purgeklog-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=syslog_ng rcvar=`set_rcvar` diff --git a/sysutils/syslog-ng3-devel/files/syslog-ng.sh.in b/sysutils/syslog-ng3-devel/files/syslog-ng.sh.in index ba4847c6da60..15a9e53e4b9b 100644 --- a/sysutils/syslog-ng3-devel/files/syslog-ng.sh.in +++ b/sysutils/syslog-ng3-devel/files/syslog-ng.sh.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/sysutils/syslog-ng3-devel/files/Attic/syslog-ng.sh.in,v 1.5 2009-07-13 22:13:25 cy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/syslog-ng3-devel/files/Attic/syslog-ng.sh.in,v 1.6 2010-03-27 00:15:06 dougb Exp $ # # PROVIDE: syslogd @@ -18,7 +18,7 @@ syslog_ng_purgeklog=${syslog_ng_purgeklog-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=syslog_ng rcvar=`set_rcvar` diff --git a/sysutils/syslog-ng3/files/syslog-ng.sh.in b/sysutils/syslog-ng3/files/syslog-ng.sh.in index 25188c9d6b2f..59426164bed7 100644 --- a/sysutils/syslog-ng3/files/syslog-ng.sh.in +++ b/sysutils/syslog-ng3/files/syslog-ng.sh.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/sysutils/syslog-ng3/files/Attic/syslog-ng.sh.in,v 1.5 2009-07-13 22:13:25 cy Exp $ +# $FreeBSD: /tmp/pcvs/ports/sysutils/syslog-ng3/files/Attic/syslog-ng.sh.in,v 1.6 2010-03-27 00:15:06 dougb Exp $ # # PROVIDE: syslogd @@ -18,7 +18,7 @@ syslog_ng_purgeklog=${syslog_ng_purgeklog-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=syslog_ng rcvar=`set_rcvar` diff --git a/sysutils/tenshi/files/tenshi.sh.in b/sysutils/tenshi/files/tenshi.sh.in index bb10718d3c94..821f4a99a5ee 100644 --- a/sysutils/tenshi/files/tenshi.sh.in +++ b/sysutils/tenshi/files/tenshi.sh.in @@ -12,7 +12,7 @@ #tenshi_enable="YES" # -. '%%RC_SUBR%%' +. /etc/rc.subr name='tenshi' rcvar=`set_rcvar` diff --git a/sysutils/torque/files/pbs_mom.sh.in b/sysutils/torque/files/pbs_mom.sh.in index 60cde8368343..79f1c78998c8 100644 --- a/sysutils/torque/files/pbs_mom.sh.in +++ b/sysutils/torque/files/pbs_mom.sh.in @@ -10,7 +10,7 @@ # Set it to YES to enable pbs_mom. # -. %%RC_SUBR%% +. /etc/rc.subr name="pbs_mom" rcvar=${name}_enable diff --git a/sysutils/torque/files/pbs_sched.sh.in b/sysutils/torque/files/pbs_sched.sh.in index 885be18bf945..58ee013f4a25 100644 --- a/sysutils/torque/files/pbs_sched.sh.in +++ b/sysutils/torque/files/pbs_sched.sh.in @@ -10,7 +10,7 @@ # Set it to YES to enable pbs_sched. # -. %%RC_SUBR%% +. /etc/rc.subr name="pbs_sched" rcvar=${name}_enable diff --git a/sysutils/torque/files/pbs_server.sh.in b/sysutils/torque/files/pbs_server.sh.in index e19696a349fe..946e34636be5 100644 --- a/sysutils/torque/files/pbs_server.sh.in +++ b/sysutils/torque/files/pbs_server.sh.in @@ -10,7 +10,7 @@ # Set it to YES to enable pbs_server. # -. %%RC_SUBR%% +. /etc/rc.subr name="pbs_server" rcvar=${name}_enable diff --git a/sysutils/uhidd/files/uhidd.in b/sysutils/uhidd/files/uhidd.in index f6129e208724..1e55e5f42d62 100644 --- a/sysutils/uhidd/files/uhidd.in +++ b/sysutils/uhidd/files/uhidd.in @@ -7,7 +7,7 @@ # REQUIRE: DAEMON cleanvar # KEYWORD: nojail shutdown -. %%RC_SUBR%% +. /etc/rc.subr # Usage: # uhidd start ugenX.Y # start uhidd on device 'ugenX.Y' diff --git a/sysutils/uptimed/files/uptimed.in b/sysutils/uptimed/files/uptimed.in index 553026fd7f68..331e70ab6e46 100644 --- a/sysutils/uptimed/files/uptimed.in +++ b/sysutils/uptimed/files/uptimed.in @@ -9,7 +9,7 @@ # uptimed_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name="uptimed" rcvar=`set_rcvar` diff --git a/sysutils/usermin/files/usermin.sh.in b/sysutils/usermin/files/usermin.sh.in index 03b6ec208999..b1a8dcaed71d 100644 --- a/sysutils/usermin/files/usermin.sh.in +++ b/sysutils/usermin/files/usermin.sh.in @@ -12,7 +12,7 @@ usermin_enable=${usermin_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=usermin rcvar=`set_rcvar` diff --git a/sysutils/watchfolder/files/watchd.in b/sysutils/watchfolder/files/watchd.in index b8c0156d44d7..3d3486c661d8 100644 --- a/sysutils/watchfolder/files/watchd.in +++ b/sysutils/watchfolder/files/watchd.in @@ -11,7 +11,7 @@ # watchd_enable (bool): Set to "NO" by default. # Set it to "YES" to enable watchd. -. %%RC_SUBR%% +. /etc/rc.subr name="watchd" rcvar=${name}_enable diff --git a/sysutils/webmin/files/webmin.sh.in b/sysutils/webmin/files/webmin.sh.in index 21a043bd73d7..f03acd0e185d 100644 --- a/sysutils/webmin/files/webmin.sh.in +++ b/sysutils/webmin/files/webmin.sh.in @@ -12,7 +12,7 @@ webmin_enable=${webmin_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=webmin rcvar=`set_rcvar` diff --git a/sysutils/xsi/files/xsi.in b/sysutils/xsi/files/xsi.in index c135fa97457f..e615c95a9ce6 100644 --- a/sysutils/xsi/files/xsi.in +++ b/sysutils/xsi/files/xsi.in @@ -14,7 +14,7 @@ xsi_enable=${xsi_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name=xsi rcvar=`set_rcvar` diff --git a/textproc/iiimf-server/files/iiimd.sh.in b/textproc/iiimf-server/files/iiimd.sh.in index 415fb1e3c9a1..8fc86ff3f53a 100644 --- a/textproc/iiimf-server/files/iiimd.sh.in +++ b/textproc/iiimf-server/files/iiimd.sh.in @@ -8,7 +8,7 @@ iiimd_enable=${iiimd_enable:-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr name="iiimd" rcvar=`set_rcvar` diff --git a/textproc/pootle/files/pootle.sh.in b/textproc/pootle/files/pootle.sh.in index 86c006f5e4e4..6b5fa25dcf19 100644 --- a/textproc/pootle/files/pootle.sh.in +++ b/textproc/pootle/files/pootle.sh.in @@ -15,7 +15,7 @@ # Default is "nobody". # -. %%RC_SUBR%% +. /etc/rc.subr name=pootle rcvar=${name}_enable diff --git a/textproc/xaira/files/xaira-server.in b/textproc/xaira/files/xaira-server.in index 97546e033922..33ff17401c82 100644 --- a/textproc/xaira/files/xaira-server.in +++ b/textproc/xaira/files/xaira-server.in @@ -7,7 +7,7 @@ # PROVIDE: sarad -. %%RC_SUBR%% +. /etc/rc.subr name="xaira" rcvar=`set_rcvar` diff --git a/www/abyssws/files/abyssws.sh.in b/www/abyssws/files/abyssws.sh.in index b0d6a9244ca7..c2fffe9d8af6 100644 --- a/www/abyssws/files/abyssws.sh.in +++ b/www/abyssws/files/abyssws.sh.in @@ -13,7 +13,7 @@ # Set it to YES to enable abyssws. # -. %%RC_SUBR%% +. /etc/rc.subr name=abyssws rcvar=${name}_enable diff --git a/www/amphetadesk/files/amphetadesk.in b/www/amphetadesk/files/amphetadesk.in index 8b4bb6ed2a4b..f01468475c21 100644 --- a/www/amphetadesk/files/amphetadesk.in +++ b/www/amphetadesk/files/amphetadesk.in @@ -16,7 +16,7 @@ #amphetadesk_pidfile="" # -. %%RC_SUBR%% +. /etc/rc.subr name="amphetadesk" rcvar=`set_rcvar` diff --git a/www/anyterm/files/anytermd.in b/www/anyterm/files/anytermd.in index efdd6331925e..ca68aa9e9ab5 100644 --- a/www/anyterm/files/anytermd.in +++ b/www/anyterm/files/anytermd.in @@ -19,7 +19,7 @@ # anytermd_name (str): Set to "anyterm" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name=anytermd rcvar=`set_rcvar` diff --git a/www/aolserver/files/aolserver.in b/www/aolserver/files/aolserver.in index c1f6d127de5d..467e100aec6e 100644 --- a/www/aolserver/files/aolserver.in +++ b/www/aolserver/files/aolserver.in @@ -10,7 +10,7 @@ # # Tweakable parameters for users to override in rc.conf -. "%%RC_SUBR%%" +. /etc/rc.subr name=aolserver diff --git a/www/apache13+ipv6/files/apache.in b/www/apache13+ipv6/files/apache.in index 9d3448811c47..2ea54ca51f03 100644 --- a/www/apache13+ipv6/files/apache.in +++ b/www/apache13+ipv6/files/apache.in @@ -18,7 +18,7 @@ apache_enable=${apache_enable-"NO"} apache_pidfile=${apache_pidfile-"/var/run/httpd.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="apache" rcvar=`set_rcvar` diff --git a/www/apache13-modperl/files/apache.in b/www/apache13-modperl/files/apache.in index 8cf65bc56260..b620b059a37a 100644 --- a/www/apache13-modperl/files/apache.in +++ b/www/apache13-modperl/files/apache.in @@ -19,7 +19,7 @@ apache_enable="${apache_enable-NO}" apache_pidfile="${apache_pidfile='/var/run/httpd.pid'}" -. %%RC_SUBR%% +. /etc/rc.subr name="apache" rcvar=`set_rcvar` diff --git a/www/apache13-modssl/files/apache.in b/www/apache13-modssl/files/apache.in index ca50c726e736..95f8bb7fd321 100644 --- a/www/apache13-modssl/files/apache.in +++ b/www/apache13-modssl/files/apache.in @@ -25,7 +25,7 @@ # module on start up and load if not loaded. # apache_fib (str): Set an altered default network view for apache -. %%RC_SUBR%% +. /etc/rc.subr name="apache" rcvar=`set_rcvar` diff --git a/www/apache13-ssl/files/apache.in b/www/apache13-ssl/files/apache.in index 171848e4879a..f688bf2eec93 100644 --- a/www/apache13-ssl/files/apache.in +++ b/www/apache13-ssl/files/apache.in @@ -21,7 +21,7 @@ # apachelimits_args (str): Default to "-e -C daemon" # Arguments of pre-start limits run. # -. %%RC_SUBR%% +. /etc/rc.subr name="apache" rcvar=`set_rcvar` diff --git a/www/apache13/files/apache.in b/www/apache13/files/apache.in index 7bed9127803d..4d8421e20b5a 100644 --- a/www/apache13/files/apache.in +++ b/www/apache13/files/apache.in @@ -18,7 +18,7 @@ apache_enable=${apache_enable-"NO"} apache_pidfile=${apache_pidfile-"/var/run/httpd.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="apache" rcvar=`set_rcvar` diff --git a/www/apache20/files/apache2.sh.in b/www/apache20/files/apache2.sh.in index 9585d38f1c24..6e3b5112d55d 100644 --- a/www/apache20/files/apache2.sh.in +++ b/www/apache20/files/apache2.sh.in @@ -24,7 +24,7 @@ # apache2limits_args (str): Default to "-e -C daemon" # Arguments of pre-start limits run. -. %%RC_SUBR%% +. /etc/rc.subr name="apache2" rcvar=`set_rcvar` diff --git a/www/apache22/files/apache22.in b/www/apache22/files/apache22.in index a1fbce396a79..8546abcbf357 100644 --- a/www/apache22/files/apache22.in +++ b/www/apache22/files/apache22.in @@ -25,7 +25,7 @@ # module on start up and load if not loaded. # apache22_fib (str): Set an altered default network view for apache -. %%RC_SUBR%% +. /etc/rc.subr name="apache22" rcvar=`set_rcvar` diff --git a/www/apache22/files/htcacheclean.in b/www/apache22/files/htcacheclean.in index 1949d0bebdd5..b86bdd2cb32e 100644 --- a/www/apache22/files/htcacheclean.in +++ b/www/apache22/files/htcacheclean.in @@ -31,7 +31,7 @@ # -n Be nice by sleeping occasionally to not saturate the I/O bandwith of the disk # -i Run only when there was a modification of the disk cache -. %%RC_SUBR%% +. /etc/rc.subr htcacheclean_enable="${htcacheclean_enable:-"NO"}" htcacheclean_cache="${htcacheclean_cache:-"%%PREFIX%%/www/proxy"}" diff --git a/www/bozohttpd/files/bozohttpd.in b/www/bozohttpd/files/bozohttpd.in index 4a5be1fdcb2b..de6410249b39 100644 --- a/www/bozohttpd/files/bozohttpd.in +++ b/www/bozohttpd/files/bozohttpd.in @@ -15,7 +15,7 @@ # The last argument, slashdir, is required. # -. %%RC_SUBR%% +. /etc/rc.subr name="bozohttpd" rcvar=`set_rcvar` diff --git a/www/c-icap/files/c_icap.in b/www/c-icap/files/c_icap.in index 77af2a32aa77..45ee2ec5e1fb 100644 --- a/www/c-icap/files/c_icap.in +++ b/www/c-icap/files/c_icap.in @@ -16,7 +16,7 @@ # See '%%PREFIX%%/bin/c-icap --help' for flags # -. %%RC_SUBR%% +. /etc/rc.subr name="c_icap" rcvar=`set_rcvar` diff --git a/www/cacheboy15-devel/files/squid.in b/www/cacheboy15-devel/files/squid.in index bd9483908ae6..04b472e9a483 100644 --- a/www/cacheboy15-devel/files/squid.in +++ b/www/cacheboy15-devel/files/squid.in @@ -24,7 +24,7 @@ squid_stop() { run_rc_command poll } -. %%RC_SUBR%% +. /etc/rc.subr name=squid rcvar=${name}_enable diff --git a/www/cacheboy16/files/squid.in b/www/cacheboy16/files/squid.in index bd9483908ae6..04b472e9a483 100644 --- a/www/cacheboy16/files/squid.in +++ b/www/cacheboy16/files/squid.in @@ -24,7 +24,7 @@ squid_stop() { run_rc_command poll } -. %%RC_SUBR%% +. /etc/rc.subr name=squid rcvar=${name}_enable diff --git a/www/cherokee/files/cherokee.sh.in b/www/cherokee/files/cherokee.sh.in index c5f40e45126a..706575d2f8bc 100644 --- a/www/cherokee/files/cherokee.sh.in +++ b/www/cherokee/files/cherokee.sh.in @@ -14,7 +14,7 @@ # Default is "%%PREFIX%%/etc/cherokee/cherokee.conf". # -. %%RC_SUBR%% +. /etc/rc.subr name="cherokee" rcvar=`set_rcvar` diff --git a/www/cntlm/files/cntlm.in b/www/cntlm/files/cntlm.in index 4d063f2dcefe..b0de641e59c3 100644 --- a/www/cntlm/files/cntlm.in +++ b/www/cntlm/files/cntlm.in @@ -12,7 +12,7 @@ # cntlm_flags (str): Additional flags to pass to cntlm # -. %%RC_SUBR%% +. /etc/rc.subr name="cntlm" rcvar=${name}_enable diff --git a/www/cocoon/files/cocoon.sh.in b/www/cocoon/files/cocoon.sh.in index 0203d1d4d432..4e2c8348b772 100644 --- a/www/cocoon/files/cocoon.sh.in +++ b/www/cocoon/files/cocoon.sh.in @@ -13,7 +13,7 @@ # %%APP_NAME%%_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=%%APP_NAME%% rcvar=`set_rcvar` diff --git a/www/dansguardian-devel/files/dansguardian.in b/www/dansguardian-devel/files/dansguardian.in index 7799aae92111..d4c7c8b2c3cd 100644 --- a/www/dansguardian-devel/files/dansguardian.in +++ b/www/dansguardian-devel/files/dansguardian.in @@ -18,7 +18,7 @@ dansguardian_enable=${dansguardian_enable:-"NO"} dansguardian_pidfile=${dansguardian_pidfile:-"/var/run/dansguardian.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="dansguardian" rcvar=${name}_enable diff --git a/www/dansguardian/files/dansguardian.in b/www/dansguardian/files/dansguardian.in index 7799aae92111..d4c7c8b2c3cd 100644 --- a/www/dansguardian/files/dansguardian.in +++ b/www/dansguardian/files/dansguardian.in @@ -18,7 +18,7 @@ dansguardian_enable=${dansguardian_enable:-"NO"} dansguardian_pidfile=${dansguardian_pidfile:-"/var/run/dansguardian.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="dansguardian" rcvar=${name}_enable diff --git a/www/dhttpd/files/dhttpd.sh.in b/www/dhttpd/files/dhttpd.sh.in index 821b02c2de63..4fd034ee343f 100644 --- a/www/dhttpd/files/dhttpd.sh.in +++ b/www/dhttpd/files/dhttpd.sh.in @@ -11,7 +11,7 @@ # dhttpd_enable (bool): Set it to "YES" to enable dhttpd # -. %%RC_SUBR%% +. /etc/rc.subr name="dhttpd" rcvar=`set_rcvar` diff --git a/www/elog/files/elogd.in b/www/elog/files/elogd.in index 331422d889ed..76884c7bc29f 100644 --- a/www/elog/files/elogd.in +++ b/www/elog/files/elogd.in @@ -12,7 +12,7 @@ # by default. # elogd_flags (args): See elogd(1) for possible options -. %%RC_SUBR%% +. /etc/rc.subr name="elogd" rcvar=${name}_enable diff --git a/www/gatling/files/gatling.in b/www/gatling/files/gatling.in index f6dccae7a479..48609e1a26da 100644 --- a/www/gatling/files/gatling.in +++ b/www/gatling/files/gatling.in @@ -24,7 +24,7 @@ check_user() { /usr/sbin/pw usershow -n ${gatling_effective_user} -q >/dev/null } -. %%RC_SUBR%% +. /etc/rc.subr name=gatling rcvar=`set_rcvar` diff --git a/www/geronimo/files/geronimo2.sh.in b/www/geronimo/files/geronimo2.sh.in index ade5d67c92eb..29d1ffe70e73 100644 --- a/www/geronimo/files/geronimo2.sh.in +++ b/www/geronimo/files/geronimo2.sh.in @@ -62,7 +62,7 @@ geronimo%%GERONIMO_VERSION%%_tmpdir="${geronimo%%GERONIMO_VERSION%%_tmpdir:-"/tm geronimo%%GERONIMO_VERSION%%_out="${geronimo%%GERONIMO_VERSION%%_out:-"%%GERONIMO_OUT%%"}" geronimo%%GERONIMO_VERSION%%_stop_timeout="${geronimo%%GERONIMO_VERSION%%_stop_timeout:-"10"}" -. %%RC_SUBR%% +. /etc/rc.subr name="geronimo%%GERONIMO_VERSION%%" rcvar=`set_rcvar` diff --git a/www/havp/files/havp.in b/www/havp/files/havp.in index 082a94a38d7f..02510cf1649a 100644 --- a/www/havp/files/havp.in +++ b/www/havp/files/havp.in @@ -15,7 +15,7 @@ # # See '%%PREFIX%%/sbin/havp --help' for flags -. %%RC_SUBR%% +. /etc/rc.subr name="havp" rcvar=`set_rcvar` diff --git a/www/helma/files/helma.in b/www/helma/files/helma.in index f70cc071da44..bb1d5211336f 100644 --- a/www/helma/files/helma.in +++ b/www/helma/files/helma.in @@ -11,7 +11,7 @@ # helma_config (str): Custom config file for helma. # (default %%PREFIX%%/etc/helma/helma.conf) -. %%RC_SUBR%% +. /etc/rc.subr name="helma" rcvar=`set_rcvar` diff --git a/www/hiawatha/files/hiawatha.in b/www/hiawatha/files/hiawatha.in index eeb2ce7304cb..613739f26ebd 100644 --- a/www/hiawatha/files/hiawatha.in +++ b/www/hiawatha/files/hiawatha.in @@ -10,7 +10,7 @@ # Add the following line(s) to /etc/rc.conf: # hiawatha_enable (bool): Set to "NO" by default, set it to "YES" to enable hiawatha -. %%RC_SUBR%% +. /etc/rc.subr name="hiawatha" rcvar=`set_rcvar` diff --git a/www/httptunnel/files/htc.in b/www/httptunnel/files/htc.in index 7083d4f4cb49..9dc0c434ee03 100644 --- a/www/httptunnel/files/htc.in +++ b/www/httptunnel/files/htc.in @@ -21,7 +21,7 @@ # htc_flags (string): additional arguments to htc. Default set to -S. # -. %%RC_SUBR%% +. /etc/rc.subr name="htc" rcvar=${name}_enable diff --git a/www/httptunnel/files/hts.in b/www/httptunnel/files/hts.in index 7714b619fdad..7dcbb1dcc47c 100644 --- a/www/httptunnel/files/hts.in +++ b/www/httptunnel/files/hts.in @@ -15,7 +15,7 @@ # hts_flags (string): Additional flags for hts. # -. %%RC_SUBR%% +. /etc/rc.subr name="hts" rcvar=${name}_enable diff --git a/www/hudson/files/hudson.sh.in b/www/hudson/files/hudson.sh.in index a0b57803f909..225b06ac4735 100644 --- a/www/hudson/files/hudson.sh.in +++ b/www/hudson/files/hudson.sh.in @@ -41,7 +41,7 @@ hudson_log_file=/var/log/hudson.log -. %%RC_SUBR%% +. /etc/rc.subr name="hudson" rcvar=`set_rcvar` diff --git a/www/hydra/files/hydra.sh.in b/www/hydra/files/hydra.sh.in index 2e3e45d50191..d45805860474 100644 --- a/www/hydra/files/hydra.sh.in +++ b/www/hydra/files/hydra.sh.in @@ -9,7 +9,7 @@ hydra_enable=${hydra_enable-"NO"} -. %%RC_SUBR%% +. /etc/rc.subr load_rc_config hydra diff --git a/www/instiki/files/instiki.in b/www/instiki/files/instiki.in index e3ef0dbb1058..7d97dfd89620 100644 --- a/www/instiki/files/instiki.in +++ b/www/instiki/files/instiki.in @@ -10,7 +10,7 @@ # Extra flags passed to start command # -. %%RC_SUBR%% +. /etc/rc.subr name="instiki" rcvar=${name}_enable diff --git a/www/interchange/files/interchange.sh.in b/www/interchange/files/interchange.sh.in index 1eba6a50ef9f..070c83cb1d20 100644 --- a/www/interchange/files/interchange.sh.in +++ b/www/interchange/files/interchange.sh.in @@ -18,7 +18,7 @@ # to interchange (default empty). # -. %%RC_SUBR%% +. /etc/rc.subr name="interchange" rcvar=`set_rcvar` diff --git a/www/jetty/files/jetty.in b/www/jetty/files/jetty.in index 6faa3bfa10d6..fcbb91485593 100644 --- a/www/jetty/files/jetty.in +++ b/www/jetty/files/jetty.in @@ -13,7 +13,7 @@ # %%APP_NAME%%_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=%%APP_NAME%% rcvar=`set_rcvar` diff --git a/www/junkbuster/files/junkbuster.in b/www/junkbuster/files/junkbuster.in index a610a9d44aa9..296439bf7df4 100644 --- a/www/junkbuster/files/junkbuster.in +++ b/www/junkbuster/files/junkbuster.in @@ -10,7 +10,7 @@ # Set it to "YES" to enable junkbuster # -. %%RC_SUBR%% +. /etc/rc.subr name="junkbuster" command=%%PREFIX%%/sbin/junkbuster diff --git a/www/kannel/files/kannel.in b/www/kannel/files/kannel.in index 0f11671b9be2..8c3c2feb3a61 100644 --- a/www/kannel/files/kannel.in +++ b/www/kannel/files/kannel.in @@ -4,7 +4,7 @@ # BEFORE: LOGIN # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name=kannel rcvar=`set_rcvar` diff --git a/www/lighttpd/files/lighttpd.sh.in b/www/lighttpd/files/lighttpd.sh.in index 993fa3973ca1..3437aafe36ff 100644 --- a/www/lighttpd/files/lighttpd.sh.in +++ b/www/lighttpd/files/lighttpd.sh.in @@ -16,7 +16,7 @@ # Default is "/var/run/lighttpd.pid". # -. %%RC_SUBR%% +. /etc/rc.subr name="lighttpd" rcvar=`set_rcvar` diff --git a/www/lusca-head/files/squid.in b/www/lusca-head/files/squid.in index bd9483908ae6..04b472e9a483 100644 --- a/www/lusca-head/files/squid.in +++ b/www/lusca-head/files/squid.in @@ -24,7 +24,7 @@ squid_stop() { run_rc_command poll } -. %%RC_SUBR%% +. /etc/rc.subr name=squid rcvar=${name}_enable diff --git a/www/nginx-devel/files/nginx.sh.in b/www/nginx-devel/files/nginx.sh.in index 68159e9c4d3c..e0992e201d49 100644 --- a/www/nginx-devel/files/nginx.sh.in +++ b/www/nginx-devel/files/nginx.sh.in @@ -19,7 +19,7 @@ # nginxlimits_args (str): Default to "-e -U %%WWWOWN%%" # Arguments of pre-start limits run. -. %%RC_SUBR%% +. /etc/rc.subr name="nginx" rcvar=`set_rcvar` diff --git a/www/nginx/files/nginx.sh.in b/www/nginx/files/nginx.sh.in index 68159e9c4d3c..e0992e201d49 100644 --- a/www/nginx/files/nginx.sh.in +++ b/www/nginx/files/nginx.sh.in @@ -19,7 +19,7 @@ # nginxlimits_args (str): Default to "-e -U %%WWWOWN%%" # Arguments of pre-start limits run. -. %%RC_SUBR%% +. /etc/rc.subr name="nginx" rcvar=`set_rcvar` diff --git a/www/oops/files/oops.in b/www/oops/files/oops.in index ebecacce6244..285d1fdf246f 100644 --- a/www/oops/files/oops.in +++ b/www/oops/files/oops.in @@ -6,7 +6,7 @@ # PROVIDE: oops # REQUIRE: DAEMON -. "%%RC_SUBR%%" +. /etc/rc.subr name="oops" rcvar=`set_rcvar` diff --git a/www/openacs/files/dotlrn.in b/www/openacs/files/dotlrn.in index abc7139dc954..8def4dc4d3bb 100644 --- a/www/openacs/files/dotlrn.in +++ b/www/openacs/files/dotlrn.in @@ -10,7 +10,7 @@ # # Tweakable parameters for users to override in rc.conf -. "%%RC_SUBR%%" +. /etc/rc.subr name=dotlrn diff --git a/www/openacs/files/openacs.in b/www/openacs/files/openacs.in index 55255ed9f0bd..1960dadfd812 100644 --- a/www/openacs/files/openacs.in +++ b/www/openacs/files/openacs.in @@ -10,7 +10,7 @@ # # Tweakable parameters for users to override in rc.conf -. "%%RC_SUBR%%" +. /etc/rc.subr name=openacs diff --git a/www/perlbal/files/perlbal.in b/www/perlbal/files/perlbal.in index 2573bcbc1dc1..8a1dc2dddda9 100644 --- a/www/perlbal/files/perlbal.in +++ b/www/perlbal/files/perlbal.in @@ -6,7 +6,7 @@ # PROVIDE: perlbal # REQUIRE: DAEMON -. "%%RC_SUBR%%" +. /etc/rc.subr name="perlbal" command="%%PREFIX%%/bin/perlbal" diff --git a/www/polipo/files/polipo.sh.in b/www/polipo/files/polipo.sh.in index bac1e5b5b2bb..ffab21d06e56 100644 --- a/www/polipo/files/polipo.sh.in +++ b/www/polipo/files/polipo.sh.in @@ -9,7 +9,7 @@ # polipo_enable="YES" # polipo_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name=polipo rcvar=`set_rcvar` diff --git a/www/pound/files/pound.sh.in b/www/pound/files/pound.sh.in index 1d61ffca54ba..a6aca3b58cbb 100644 --- a/www/pound/files/pound.sh.in +++ b/www/pound/files/pound.sh.in @@ -14,7 +14,7 @@ # # and be sure to configure %%PREFIX%%/etc/%%NAME%%.conf -. "%%RC_SUBR%%" +. /etc/rc.subr name="%%NAME%%" rcvar=`set_rcvar` diff --git a/www/privoxy/files/privoxy.in b/www/privoxy/files/privoxy.in index 999e57ead5c5..dfa9e3b9582b 100644 --- a/www/privoxy/files/privoxy.in +++ b/www/privoxy/files/privoxy.in @@ -22,7 +22,7 @@ # Usage: # %%PREFIX%%/etc/rc.d/privoxy [fast|force|one](start|stop|restart|rcvar|status|poll) -. %%RC_SUBR%% +. /etc/rc.subr name="privoxy" rcvar=${name}_enable diff --git a/www/ruby-cruisecontrolrb/files/cruisecontrolrb.in b/www/ruby-cruisecontrolrb/files/cruisecontrolrb.in index 2e95ca9e8e26..662ca1899c68 100644 --- a/www/ruby-cruisecontrolrb/files/cruisecontrolrb.in +++ b/www/ruby-cruisecontrolrb/files/cruisecontrolrb.in @@ -13,7 +13,7 @@ # Set it to a port # Default: 3333 -. %%RC_SUBR%% +. /etc/rc.subr name=cruisecontrolrb rcvar=${name}_enable diff --git a/www/rubygem-mongrel_cluster/files/mongrel_cluster.in b/www/rubygem-mongrel_cluster/files/mongrel_cluster.in index 5a6c96fb580c..6dd467aadccb 100644 --- a/www/rubygem-mongrel_cluster/files/mongrel_cluster.in +++ b/www/rubygem-mongrel_cluster/files/mongrel_cluster.in @@ -14,7 +14,7 @@ # application you want to control. # Default: %%PREFIX%%/etc/mongrel_cluster -. %%RC_SUBR%% +. /etc/rc.subr name=mongrel_cluster rcvar=${name}_enable diff --git a/www/sams/files/sams.sh.in b/www/sams/files/sams.sh.in index 46656180b2e5..9d776508937b 100644 --- a/www/sams/files/sams.sh.in +++ b/www/sams/files/sams.sh.in @@ -18,7 +18,7 @@ sams_enable=${sams_enable-"NO"} sams_pidfile=${sams_pidfile-"/var/run/samsdaemon.pid"} -. %%RC_SUBR%% +. /etc/rc.subr name="sams" rcvar=`set_rcvar` diff --git a/www/spawn-fcgi/files/spawn-fcgi.sh.in b/www/spawn-fcgi/files/spawn-fcgi.sh.in index 7d95d62e78e3..34177b4bac4d 100644 --- a/www/spawn-fcgi/files/spawn-fcgi.sh.in +++ b/www/spawn-fcgi/files/spawn-fcgi.sh.in @@ -6,7 +6,7 @@ # BEFORE: LOGIN # KEYWORD: shutdown -. %%RC_SUBR%% +. /etc/rc.subr name="spawn_fcgi" rcvar=`set_rcvar` diff --git a/www/spreadlogd/files/spreadlogd.sh.in b/www/spreadlogd/files/spreadlogd.sh.in index e9643f7722db..0b8f88bf3c86 100644 --- a/www/spreadlogd/files/spreadlogd.sh.in +++ b/www/spreadlogd/files/spreadlogd.sh.in @@ -13,7 +13,7 @@ # spreadlogd_enable="YES" # spreadlogd_flags="<set as needed>" -. %%RC_SUBR%% +. /etc/rc.subr name=spreadlogd rcvar=`set_rcvar` diff --git a/www/squid/files/squid.in b/www/squid/files/squid.in index 06539f133f19..4b7e6c805a70 100644 --- a/www/squid/files/squid.in +++ b/www/squid/files/squid.in @@ -59,7 +59,7 @@ squid_stop() { run_rc_command poll } -. %%RC_SUBR%% +. /etc/rc.subr name=squid rcvar=${name}_enable diff --git a/www/squid30/files/squid.in b/www/squid30/files/squid.in index 4e8ba9b656c6..2d726d212410 100644 --- a/www/squid30/files/squid.in +++ b/www/squid30/files/squid.in @@ -59,7 +59,7 @@ squid_stop() { run_rc_command poll } -. %%RC_SUBR%% +. /etc/rc.subr name=squid rcvar=${name}_enable diff --git a/www/squid31/files/squid.in b/www/squid31/files/squid.in index a42c41c85073..41cfab956d75 100644 --- a/www/squid31/files/squid.in +++ b/www/squid31/files/squid.in @@ -59,7 +59,7 @@ squid_stop() { run_rc_command poll } -. %%RC_SUBR%% +. /etc/rc.subr name=squid rcvar=${name}_enable diff --git a/www/tclhttpd/files/tclhttpd.sh.in b/www/tclhttpd/files/tclhttpd.sh.in index b464887f7acb..ac3efd8704cb 100644 --- a/www/tclhttpd/files/tclhttpd.sh.in +++ b/www/tclhttpd/files/tclhttpd.sh.in @@ -20,7 +20,7 @@ # tclhttpd_stderr_log (str): Set to the location for the tclhttpd # process log (standard error) -. %%RC_SUBR%% +. /etc/rc.subr name="tclhttpd" rcvar=`set_rcvar` diff --git a/www/thttpd/files/thttpd.sh.in b/www/thttpd/files/thttpd.sh.in index 748658859c52..dd94cc20e75b 100644 --- a/www/thttpd/files/thttpd.sh.in +++ b/www/thttpd/files/thttpd.sh.in @@ -13,7 +13,7 @@ # thttpd_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=thttpd rcvar=`set_rcvar` diff --git a/www/tinyproxy/files/tinyproxy.sh.in b/www/tinyproxy/files/tinyproxy.sh.in index fbbccba0588c..c4adc6a8e7a5 100644 --- a/www/tinyproxy/files/tinyproxy.sh.in +++ b/www/tinyproxy/files/tinyproxy.sh.in @@ -10,7 +10,7 @@ # tinyproxy_config (path): Set to "%%PREFIX%%/etc/tinyproxy.conf" by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="tinyproxy" rcvar=`set_rcvar` diff --git a/www/tomcat41/files/tomcat41.sh.in b/www/tomcat41/files/tomcat41.sh.in index 15c8fd53658e..fa4b329cfb16 100644 --- a/www/tomcat41/files/tomcat41.sh.in +++ b/www/tomcat41/files/tomcat41.sh.in @@ -69,7 +69,7 @@ tomcat%%TOMCAT_VERSION%%_stdout_log="${tomcat%%TOMCAT_VERSION%%_stdout_log:-"%%S tomcat%%TOMCAT_VERSION%%_stderr_log="${tomcat%%TOMCAT_VERSION%%_stderr_log:-"%%STDERR_LOG%%"}" tomcat%%TOMCAT_VERSION%%_stop_timeout="${tomcat%%TOMCAT_VERSION%%_stop_timeout:-"10"}" -. %%RC_SUBR%% +. /etc/rc.subr name="tomcat%%TOMCAT_VERSION%%" rcvar=`set_rcvar` diff --git a/www/tomcat55/files/tomcat55.sh.in b/www/tomcat55/files/tomcat55.sh.in index 50fd3addd84a..1ac100ed9f5b 100644 --- a/www/tomcat55/files/tomcat55.sh.in +++ b/www/tomcat55/files/tomcat55.sh.in @@ -69,7 +69,7 @@ tomcat%%TOMCAT_VERSION%%_stdout_log="${tomcat%%TOMCAT_VERSION%%_stdout_log:-"%%S tomcat%%TOMCAT_VERSION%%_stderr_log="${tomcat%%TOMCAT_VERSION%%_stderr_log:-"%%STDERR_LOG%%"}" tomcat%%TOMCAT_VERSION%%_stop_timeout="${tomcat%%TOMCAT_VERSION%%_stop_timeout:-"10"}" -. %%RC_SUBR%% +. /etc/rc.subr name="tomcat%%TOMCAT_VERSION%%" rcvar=`set_rcvar` diff --git a/www/tomcat6/files/tomcat6.sh.in b/www/tomcat6/files/tomcat6.sh.in index f5cd4b61d675..ef05ec5a4656 100644 --- a/www/tomcat6/files/tomcat6.sh.in +++ b/www/tomcat6/files/tomcat6.sh.in @@ -69,7 +69,7 @@ tomcat%%TOMCAT_VERSION%%_stdout_log="${tomcat%%TOMCAT_VERSION%%_stdout_log:-"%%S tomcat%%TOMCAT_VERSION%%_stderr_log="${tomcat%%TOMCAT_VERSION%%_stderr_log:-"%%STDERR_LOG%%"}" tomcat%%TOMCAT_VERSION%%_stop_timeout="${tomcat%%TOMCAT_VERSION%%_stop_timeout:-"10"}" -. %%RC_SUBR%% +. /etc/rc.subr name="tomcat%%TOMCAT_VERSION%%" rcvar=`set_rcvar` diff --git a/www/tomcat7/files/tomcat6.sh.in b/www/tomcat7/files/tomcat6.sh.in index f5cd4b61d675..ef05ec5a4656 100644 --- a/www/tomcat7/files/tomcat6.sh.in +++ b/www/tomcat7/files/tomcat6.sh.in @@ -69,7 +69,7 @@ tomcat%%TOMCAT_VERSION%%_stdout_log="${tomcat%%TOMCAT_VERSION%%_stdout_log:-"%%S tomcat%%TOMCAT_VERSION%%_stderr_log="${tomcat%%TOMCAT_VERSION%%_stderr_log:-"%%STDERR_LOG%%"}" tomcat%%TOMCAT_VERSION%%_stop_timeout="${tomcat%%TOMCAT_VERSION%%_stop_timeout:-"10"}" -. %%RC_SUBR%% +. /etc/rc.subr name="tomcat%%TOMCAT_VERSION%%" rcvar=`set_rcvar` diff --git a/www/trac-multirepos/files/tracd.in b/www/trac-multirepos/files/tracd.in index cd4b41aa7e51..89573033dcb8 100644 --- a/www/trac-multirepos/files/tracd.in +++ b/www/trac-multirepos/files/tracd.in @@ -27,7 +27,7 @@ # command. Empty by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="tracd" rcvar="${name}_enable" diff --git a/www/transproxy/files/tproxy.in b/www/transproxy/files/tproxy.in index 75926cfb4642..951fb430d498 100644 --- a/www/transproxy/files/tproxy.in +++ b/www/transproxy/files/tproxy.in @@ -51,7 +51,7 @@ # Run `tproxy --help' for tproxy_flags. # -. %%RC_SUBR%% +. /etc/rc.subr name="tproxy" rcvar=`set_rcvar` diff --git a/www/varnish/files/varnishd.in b/www/varnish/files/varnishd.in index dab68e6c6217..a5936978a80e 100644 --- a/www/varnish/files/varnishd.in +++ b/www/varnish/files/varnishd.in @@ -47,7 +47,7 @@ # See varnishd(1) for a detailed overview of command-line options. # -. %%RC_SUBR%% +. /etc/rc.subr name="varnishd" rcvar=`set_rcvar` diff --git a/www/varnish/files/varnishlog.in b/www/varnish/files/varnishlog.in index dbd6a229c1b3..4a0f64c8a668 100644 --- a/www/varnish/files/varnishlog.in +++ b/www/varnish/files/varnishlog.in @@ -31,7 +31,7 @@ # See varnishlog(1) for a detailed overview of command-line options. # -. %%RC_SUBR%% +. /etc/rc.subr name="varnishlog" rcvar=`set_rcvar` diff --git a/www/varnish/files/varnishncsa.in b/www/varnish/files/varnishncsa.in index 75a6d2449a88..ba3d3760ffc5 100644 --- a/www/varnish/files/varnishncsa.in +++ b/www/varnish/files/varnishncsa.in @@ -31,7 +31,7 @@ # See varnishncsa(1) for a detailed overview of command-line options. # -. %%RC_SUBR%% +. /etc/rc.subr name="varnishncsa" rcvar=`set_rcvar` diff --git a/www/varnish2/files/varnishd.in b/www/varnish2/files/varnishd.in index dab68e6c6217..a5936978a80e 100644 --- a/www/varnish2/files/varnishd.in +++ b/www/varnish2/files/varnishd.in @@ -47,7 +47,7 @@ # See varnishd(1) for a detailed overview of command-line options. # -. %%RC_SUBR%% +. /etc/rc.subr name="varnishd" rcvar=`set_rcvar` diff --git a/www/varnish2/files/varnishlog.in b/www/varnish2/files/varnishlog.in index dbd6a229c1b3..4a0f64c8a668 100644 --- a/www/varnish2/files/varnishlog.in +++ b/www/varnish2/files/varnishlog.in @@ -31,7 +31,7 @@ # See varnishlog(1) for a detailed overview of command-line options. # -. %%RC_SUBR%% +. /etc/rc.subr name="varnishlog" rcvar=`set_rcvar` diff --git a/www/varnish2/files/varnishncsa.in b/www/varnish2/files/varnishncsa.in index 75a6d2449a88..ba3d3760ffc5 100644 --- a/www/varnish2/files/varnishncsa.in +++ b/www/varnish2/files/varnishncsa.in @@ -31,7 +31,7 @@ # See varnishncsa(1) for a detailed overview of command-line options. # -. %%RC_SUBR%% +. /etc/rc.subr name="varnishncsa" rcvar=`set_rcvar` diff --git a/www/webfs/files/webfsd.in b/www/webfs/files/webfsd.in index 9cd9bfd4cb0f..f5f6250fa30d 100644 --- a/www/webfs/files/webfsd.in +++ b/www/webfs/files/webfsd.in @@ -13,7 +13,7 @@ # and add appropriate webfsd_flags. # -. %%RC_SUBR%% +. /etc/rc.subr name="webfsd" rcvar=`set_rcvar` diff --git a/www/webobjects/files/JavaMonitor.sh.in b/www/webobjects/files/JavaMonitor.sh.in index 82a8ee034b0e..4801c93d9bf5 100644 --- a/www/webobjects/files/JavaMonitor.sh.in +++ b/www/webobjects/files/JavaMonitor.sh.in @@ -20,7 +20,7 @@ JavaMonitor_pidfile="${JavaMonitor_pidfile:-/var/run/webobjects/${name}.pid}" JavaMonitor_logfile="${JavaMonitor_logfile:-/var/log/webobjects/${name}.log}" NEXT_ROOT="${NEXT_ROOT-%%PREFIX%%/%%NEXT_ROOT%%}" -. %%RC_SUBR%% +. /etc/rc.subr rcvar=`set_rcvar` load_rc_config "$name" diff --git a/www/webobjects/files/wotaskd.sh.in b/www/webobjects/files/wotaskd.sh.in index a72dd8cd18db..cee2a604357b 100644 --- a/www/webobjects/files/wotaskd.sh.in +++ b/www/webobjects/files/wotaskd.sh.in @@ -19,7 +19,7 @@ wotaskd_pidfile="${wotaskd_pidfile:-/var/run/webobjects/${name}.pid}" wotaskd_logfile="${wotaskd_logfile:-/var/log/webobjects/${name}.log}" NEXT_ROOT="${NEXT_ROOT-%%PREFIX%%/%%NEXT_ROOT%%}" -. %%RC_SUBR%% +. /etc/rc.subr rcvar=`set_rcvar` load_rc_config "$name" diff --git a/www/webredirect/files/webredirect.sh.in b/www/webredirect/files/webredirect.sh.in index 2ad261f91b92..999662cd71b8 100644 --- a/www/webredirect/files/webredirect.sh.in +++ b/www/webredirect/files/webredirect.sh.in @@ -10,7 +10,7 @@ # webredirect_flags="" # webredirect command line flags # -. %%RC_SUBR%% +. /etc/rc.subr name="webredirect" rcvar=`set_rcvar` diff --git a/www/www6to4/files/www6to4.in b/www/www6to4/files/www6to4.in index 9055701e9564..0a2dbcdabeed 100644 --- a/www/www6to4/files/www6to4.in +++ b/www/www6to4/files/www6to4.in @@ -9,7 +9,7 @@ # www6to4_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr name=www6to4 rcvar=`set_rcvar` diff --git a/www/wwwoffle/files/wwwoffled.sh.in b/www/wwwoffle/files/wwwoffled.sh.in index 2d1fc3ae63b0..05c857d2d323 100644 --- a/www/wwwoffle/files/wwwoffled.sh.in +++ b/www/wwwoffle/files/wwwoffled.sh.in @@ -18,7 +18,7 @@ wwwoffled_flags=${wwwoffled_flags-""} wwwoffled_pidfile=${wwwoffled_pidfile-"/var/run/wwwoffled.pid"} wwwoffled_conffile="%%PREFIX%%/etc/wwwoffle.conf" -. %%RC_SUBR%% +. /etc/rc.subr name="wwwoffled" rcvar=`set_rcvar` diff --git a/www/wyvern/files/wyvern.in b/www/wyvern/files/wyvern.in index 03921675d370..087b509496ca 100644 --- a/www/wyvern/files/wyvern.in +++ b/www/wyvern/files/wyvern.in @@ -17,7 +17,7 @@ # wyvern_enable=${wyvern_enable:-"NO"} # Enable wyvern -. %%RC_SUBR%% +. /etc/rc.subr name="wyvern" rcvar=`set_rcvar` diff --git a/www/xitami/files/xitami.sh.in b/www/xitami/files/xitami.sh.in index 1873e3e4f56b..bf23c339abde 100644 --- a/www/xitami/files/xitami.sh.in +++ b/www/xitami/files/xitami.sh.in @@ -12,7 +12,7 @@ # by default. # -. %%RC_SUBR%% +. /etc/rc.subr name="xitami" start_cmd=xitami_start diff --git a/www/xshttpd-devel/files/xshttpd.sh.in b/www/xshttpd-devel/files/xshttpd.sh.in index 65822c737ec2..e2c539ad8a17 100644 --- a/www/xshttpd-devel/files/xshttpd.sh.in +++ b/www/xshttpd-devel/files/xshttpd.sh.in @@ -14,7 +14,7 @@ # Set it to "YES" to enable XS-HTTPD. # -. %%RC_SUBR%% +. /etc/rc.subr name="xshttpd" rcvar=`set_rcvar` diff --git a/www/xshttpd/files/xshttpd.sh.in b/www/xshttpd/files/xshttpd.sh.in index 8380f36caef0..0e204b864016 100644 --- a/www/xshttpd/files/xshttpd.sh.in +++ b/www/xshttpd/files/xshttpd.sh.in @@ -14,7 +14,7 @@ # Set it to "YES" to enable XS-HTTPD. # -. %%RC_SUBR%% +. /etc/rc.subr name="xshttpd" rcvar=`set_rcvar` diff --git a/www/zerowait-httpd/files/0W-httpd.in b/www/zerowait-httpd/files/0W-httpd.in index f10e657d344b..5a45c4b3013a 100644 --- a/www/zerowait-httpd/files/0W-httpd.in +++ b/www/zerowait-httpd/files/0W-httpd.in @@ -12,7 +12,7 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE # -. %%RC_SUBR%% +. /etc/rc.subr name="zerowait" rcvar=`set_rcvar` diff --git a/www/ziproxy/files/ziproxy.in b/www/ziproxy/files/ziproxy.in index 854c0e336a5a..b56e4f9266c4 100644 --- a/www/ziproxy/files/ziproxy.in +++ b/www/ziproxy/files/ziproxy.in @@ -12,7 +12,7 @@ # by default. # -. "%%RC_SUBR%%" +. /etc/rc.subr name="ziproxy" rcvar=${name}_enable diff --git a/www/zope/files/zeo.in b/www/zope/files/zeo.in index f56d186831fe..87a37fa25154 100644 --- a/www/zope/files/zeo.in +++ b/www/zope/files/zeo.in @@ -18,7 +18,7 @@ zeo_enable=${zeo_enable:-"NO"} # Enable zeo server zeo_instances=${zeo_instances:-""} # List of instancehome dirs -. %%RC_SUBR%% +. /etc/rc.subr name="zeo" rcvar=`set_rcvar` diff --git a/www/zope/files/zope.in b/www/zope/files/zope.in index 8c72f2800e37..1e54792c409d 100644 --- a/www/zope/files/zope.in +++ b/www/zope/files/zope.in @@ -18,7 +18,7 @@ zope_enable=${zope_enable:-"NO"} # Enable zope zope_instances=${zope_instances:-""} # List of instancehome dirs -. %%RC_SUBR%% +. /etc/rc.subr name="zope" rcvar=`set_rcvar` diff --git a/www/zope210/files/zeo210.in b/www/zope210/files/zeo210.in index aeed161ba7a3..41ba08849538 100644 --- a/www/zope210/files/zeo210.in +++ b/www/zope210/files/zeo210.in @@ -21,7 +21,7 @@ # List of dirs with Zeo's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zeo210" rcvar=`set_rcvar` diff --git a/www/zope210/files/zope210.in b/www/zope210/files/zope210.in index daba77525c7e..1ff69995c10d 100644 --- a/www/zope210/files/zope210.in +++ b/www/zope210/files/zope210.in @@ -20,7 +20,7 @@ # List of dirs with Zope's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zope210" rcvar=`set_rcvar` diff --git a/www/zope211/files/zeo211.in b/www/zope211/files/zeo211.in index 072728d0a176..1e1396dd9462 100644 --- a/www/zope211/files/zeo211.in +++ b/www/zope211/files/zeo211.in @@ -21,7 +21,7 @@ # List of dirs with Zeo's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zeo211" rcvar=`set_rcvar` diff --git a/www/zope211/files/zope211.in b/www/zope211/files/zope211.in index 2d5446c166ef..cb099a835395 100644 --- a/www/zope211/files/zope211.in +++ b/www/zope211/files/zope211.in @@ -19,7 +19,7 @@ # List of dirs with Zope's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zope211" rcvar=`set_rcvar` diff --git a/www/zope213/files/zeo211.in b/www/zope213/files/zeo211.in index 072728d0a176..1e1396dd9462 100644 --- a/www/zope213/files/zeo211.in +++ b/www/zope213/files/zeo211.in @@ -21,7 +21,7 @@ # List of dirs with Zeo's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zeo211" rcvar=`set_rcvar` diff --git a/www/zope213/files/zope211.in b/www/zope213/files/zope211.in index 2d5446c166ef..cb099a835395 100644 --- a/www/zope213/files/zope211.in +++ b/www/zope213/files/zope211.in @@ -19,7 +19,7 @@ # List of dirs with Zope's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zope211" rcvar=`set_rcvar` diff --git a/www/zope28/files/zeo28.sh.in b/www/zope28/files/zeo28.sh.in index 3d1e71a584b7..4f033edf6e77 100644 --- a/www/zope28/files/zeo28.sh.in +++ b/www/zope28/files/zeo28.sh.in @@ -21,7 +21,7 @@ # List of dirs with Zeo's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zeo28" rcvar=`set_rcvar` diff --git a/www/zope28/files/zope28.sh.in b/www/zope28/files/zope28.sh.in index e51d5fa39140..adb1c1a7ccbc 100644 --- a/www/zope28/files/zope28.sh.in +++ b/www/zope28/files/zope28.sh.in @@ -20,7 +20,7 @@ # List of dirs with Zope's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zope28" rcvar=`set_rcvar` diff --git a/www/zope29/files/zeo29.sh.in b/www/zope29/files/zeo29.sh.in index 50943aaefa8a..9c5510a0a770 100644 --- a/www/zope29/files/zeo29.sh.in +++ b/www/zope29/files/zeo29.sh.in @@ -21,7 +21,7 @@ # List of dirs with Zeo's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zeo29" rcvar=`set_rcvar` diff --git a/www/zope29/files/zope29.sh.in b/www/zope29/files/zope29.sh.in index 601a08ccc2a7..3245091c712d 100644 --- a/www/zope29/files/zope29.sh.in +++ b/www/zope29/files/zope29.sh.in @@ -20,7 +20,7 @@ # List of dirs with Zope's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zope29" rcvar=`set_rcvar` diff --git a/www/zope3/files/zeo3.sh.in b/www/zope3/files/zeo3.sh.in index f7c848d704d5..9dbb591a7088 100644 --- a/www/zope3/files/zeo3.sh.in +++ b/www/zope3/files/zeo3.sh.in @@ -20,7 +20,7 @@ # List of dirs with Zeo's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zeo3" rcvar=`set_rcvar` diff --git a/www/zope3/files/zope3.sh.in b/www/zope3/files/zope3.sh.in index 03a17bbea13e..a9c11851cbca 100644 --- a/www/zope3/files/zope3.sh.in +++ b/www/zope3/files/zope3.sh.in @@ -20,7 +20,7 @@ # List of dirs with Zope's instances ("" by default). # -. %%RC_SUBR%% +. /etc/rc.subr name="zope3" rcvar=`set_rcvar` diff --git a/x11-drivers/input-wacom/files/wacom.in b/x11-drivers/input-wacom/files/wacom.in index fc1eb4d1f64a..b4264dbe9648 100644 --- a/x11-drivers/input-wacom/files/wacom.in +++ b/x11-drivers/input-wacom/files/wacom.in @@ -20,7 +20,7 @@ # In USB mode the file /boot/loader.conf is also adjusted. # -. %%RC_SUBR%% +. /etc/rc.subr name="wacom" rcvar=${name}_enable diff --git a/x11-fonts/xfs/files/xfs.in b/x11-fonts/xfs/files/xfs.in index 1b3c4e24858d..5db6d2f0f94e 100644 --- a/x11-fonts/xfs/files/xfs.in +++ b/x11-fonts/xfs/files/xfs.in @@ -16,7 +16,7 @@ # # Please see xfs(1), rc.conf(5) and rc(8) for further details. -. %%RC_SUBR%% +. /etc/rc.subr name="xfs" rcvar=`set_rcvar` diff --git a/x11/gdm/files/gdm.in b/x11/gdm/files/gdm.in index 7190a891e9ac..8c1de22a8dd9 100644 --- a/x11/gdm/files/gdm.in +++ b/x11/gdm/files/gdm.in @@ -10,7 +10,7 @@ # gdm_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr . %%GNOME_SUBR%% gdm_enable=${gdm_enable-${gnome_enable}} diff --git a/x11/kde4-workspace/files/kdm4.in b/x11/kde4-workspace/files/kdm4.in index b3486424f8c7..c7d71dc4767f 100644 --- a/x11/kde4-workspace/files/kdm4.in +++ b/x11/kde4-workspace/files/kdm4.in @@ -8,7 +8,7 @@ # kdm4_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr kdm4_enable=${kdm4_enable-"NO"} diff --git a/x11/kdebase4-workspace/files/kdm4.in b/x11/kdebase4-workspace/files/kdm4.in index b3486424f8c7..c7d71dc4767f 100644 --- a/x11/kdebase4-workspace/files/kdm4.in +++ b/x11/kdebase4-workspace/files/kdm4.in @@ -8,7 +8,7 @@ # kdm4_enable="YES" # -. %%RC_SUBR%% +. /etc/rc.subr kdm4_enable=${kdm4_enable-"NO"} diff --git a/x11/slim/files/slim.sh.in b/x11/slim/files/slim.sh.in index 0ade24db26b1..c9be5decc4ee 100644 --- a/x11/slim/files/slim.sh.in +++ b/x11/slim/files/slim.sh.in @@ -13,7 +13,7 @@ # to this: # ttyv8 "/usr/local/bin/slim" xterm on secure -. %%RC_SUBR%% +. /etc/rc.subr name="slim" rcvar=`set_rcvar` |