summaryrefslogtreecommitdiff
path: root/security/krb5-115/files/kpropd.in
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2016-12-03 00:54:22 +0000
committerCy Schubert <cy@FreeBSD.org>2016-12-03 00:54:22 +0000
commit2ab7cc62c4aac7da986d179d5a92e0888e8ef19e (patch)
treea20671456eb65e4017ae16b457dd2f1919135c80 /security/krb5-115/files/kpropd.in
parentnet-mgmt/cpdp: Take maintainership (diff)
Welcome the new security/krb5-115 port. This port follows MIT's
KRB5 1.15 releases. To support this new ports: - The security/krb5 port includes an option to use this port instead of krb5-114 as its base. krb5-114 will remain the default until the next release of KRB5 1.15 (if it's stable of course). - MIT by default deprecates KRB5 two versions back from the current release. krb5-113 has been deprecated and will expire one year from now.
Notes
Notes: svn path=/head/; revision=427588
Diffstat (limited to 'security/krb5-115/files/kpropd.in')
-rw-r--r--security/krb5-115/files/kpropd.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/security/krb5-115/files/kpropd.in b/security/krb5-115/files/kpropd.in
new file mode 100644
index 000000000000..faa27dc7dbba
--- /dev/null
+++ b/security/krb5-115/files/kpropd.in
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# PROVIDE: kpropd
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# kpropd_enable (bool): Set to NO by default.
+# Set it to YES to enable kpropd.
+# kpropd_flags (str): Set to "" by default.
+
+. /etc/rc.subr
+
+name=kpropd
+rcvar=kpropd_enable
+
+load_rc_config $name
+
+: ${kpropd_enable:="NO"}
+: ${kpropd_flags=""}
+
+command=%%PREFIX%%/sbin/${name}
+
+run_rc_command "$1"