From 256b87feadee9d21373f76ac1d197774b56b89d2 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Sun, 5 Feb 2006 19:34:54 +0000 Subject: Fix a small typo in MASTER_SITES Fix some problems in the new rc.d script: PROVIDE requires a trailing colon There is no radiusd_start_precmd defined, so don't call it Style issue, the - expansion is better than :- (see Porter's Handbook) The FreeBSD KEYWORD is no longer needed Bump PORTREVISION so that packages and users get the new rc.d script --- net/freeradius2/Makefile | 3 ++- net/freeradius2/files/radiusd.in | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'net/freeradius2') diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile index 548dbad048ae..27a86cf5c03b 100644 --- a/net/freeradius2/Makefile +++ b/net/freeradius2/Makefile @@ -7,9 +7,10 @@ PORTNAME= freeradius PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \ - http://freeradius.portal-to-web.de/ \ + http://freeradius.portal-to-web.de/ MAINTAINER= ports@FreeBSD.org COMMENT= A free RADIUS server implementation diff --git a/net/freeradius2/files/radiusd.in b/net/freeradius2/files/radiusd.in index 7f18ab7c40d2..48a301cc8658 100644 --- a/net/freeradius2/files/radiusd.in +++ b/net/freeradius2/files/radiusd.in @@ -1,9 +1,9 @@ #!/bin/sh -# PROVIDE radiusd +# PROVIDE: radiusd # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON -# KEYWORD: FreeBSD shutdown +# KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable radiusd: @@ -21,8 +21,7 @@ radiusd_config=${radiusd_config:-"%%PREFIX%%/etc/raddb/radiusd.conf"} required_files=${radiusd_config} pidfile=/var/run/radiusd/radiusd.pid -radiusd_enable=${radiusd_enable:-"NO"} -start_precmd="${radiusd_start_precmd}" +radiusd_enable=${radiusd_enable-"NO"} load_rc_config $name run_rc_command "$1" -- cgit v1.2.3