Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2014 15:55:08 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351689 - in head/security/krb5: . files
Message-ID:  <201404211555.s3LFt8UZ002649@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404211555.s3LFt8UZ002649>