Bug 183502 - security/krb5: Add an optional startup script for kpropd
Summary: security/krb5: Add an optional startup script for kpropd
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 21:30 UTC by Brad Davis
Modified: 2014-04-21 18:17 UTC (History)
0 users

See Also:


Attachments
krb5-kpropdrc.diff (1.39 KB, patch)
2013-10-30 21:30 UTC, Brad Davis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Davis freebsd_committer freebsd_triage 2013-10-30 21:30:00 UTC
	Add an optional startup script for kpropd
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-31 02:22:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-21 16:55:13 UTC
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"
Comment 3 Brad Davis freebsd_committer freebsd_triage 2014-04-21 18:17:21 UTC
State Changed
From-To: open->closed

- Commited