From owner-svn-ports-head@FreeBSD.ORG Mon Apr 21 15:55:08 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C3EC7EA; Mon, 21 Apr 2014 15:55:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 892C11642; Mon, 21 Apr 2014 15:55:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3LFt8wn002651; Mon, 21 Apr 2014 15:55:08 GMT (envelope-from brd@svn.freebsd.org) Received: (from brd@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3LFt8UZ002649; Mon, 21 Apr 2014 15:55:08 GMT (envelope-from brd@svn.freebsd.org) Message-Id: <201404211555.s3LFt8UZ002649@svn.freebsd.org> From: Brad Davis Date: Mon, 21 Apr 2014 15:55:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351689 - in head/security/krb5: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2014 15:55:08 -0000 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 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"