Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 19:14:56 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        Brad Davis <brd@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r351689 - in head/security/krb5: . files
Message-ID:  <201404230214.s3N2EuPj005181@slippy.cwsent.com>
In-Reply-To: Message from Brad Davis <brd@FreeBSD.org> of "Mon, 21 Apr 2014 15:55:08 -0000." <201404211555.s3LFt8UZ002649@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <201404211555.s3LFt8UZ002649@svn.freebsd.org>, Brad Davis writes:
> 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	(r35168
> 8)
> +++ head/security/krb5/Makefile	Mon Apr 21 15:55:07 2014	(r35168
> 9)
> @@ -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"

Sorry about not getting to this.
-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.


This is what I use.

krb5_prop stream tcp	nowait	root	/usr/local/krb5/sbin/kpropd	kpropd





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