Add an optional startup script for kpropd
Responsible Changed From-To: freebsd-ports-bugs->cy Over to maintainer (via the GNATS Auto Assign Tool)
Author: brd (doc committer) Date: Mon Apr 21 15:55:07 2014 New Revision: 351689 URL: http://svnweb.freebsd.org/changeset/ports/351689 QAT: https://qat.redports.org/buildarchive/r351689/ Log: - Add a startup script for kpropd PR: 183502 Submitted by: brd@ Approved by: bdrewery@ Added: head/security/krb5/files/kpropd.in (contents, props changed) Modified: head/security/krb5/Makefile Modified: head/security/krb5/Makefile ============================================================================== --- head/security/krb5/Makefile Mon Apr 21 15:19:36 2014 (r351688) +++ head/security/krb5/Makefile Mon Apr 21 15:55:07 2014 (r351689) @@ -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> Added: head/security/krb5/files/kpropd.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/krb5/files/kpropd.in Mon Apr 21 15:55:07 2014 (r351689) @@ -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" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed - Commited