diff options
author | Brad Davis <brd@FreeBSD.org> | 2014-04-21 15:55:07 +0000 |
---|---|---|
committer | Brad Davis <brd@FreeBSD.org> | 2014-04-21 15:55:07 +0000 |
commit | 1b1f758c54b0058080be1879bf2413cc4029ee63 (patch) | |
tree | 76a5ff0aa4af1f47d6e1f2cd3a695f4e197b62b6 | |
parent | Fix leftover stagedir files that should be in the plist. (diff) |
- Add a startup script for kpropd
PR: 183502
Submitted by: brd@
Approved by: bdrewery@
Notes
Notes:
svn path=/head/; revision=351689
-rw-r--r-- | security/krb5/Makefile | 3 | ||||
-rw-r--r-- | security/krb5/files/kpropd.in | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile index 7de75c3d2f4b..b2cab259fa0a 100644 --- a/security/krb5/Makefile +++ b/security/krb5/Makefile @@ -3,7 +3,7 @@ PORTNAME= krb5 PORTVERSION= 1.12.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-signed @@ -49,6 +49,7 @@ LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include USE_OPENSSL= yes +USE_RC_SUBR= kpropd .include <bsd.port.pre.mk> diff --git a/security/krb5/files/kpropd.in b/security/krb5/files/kpropd.in new file mode 100644 index 000000000000..faa27dc7dbba --- /dev/null +++ b/security/krb5/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" |