aboutsummaryrefslogtreecommitdiffstats
path: root/net/freeradius2
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2006-02-06 03:34:54 +0800
committerdougb <dougb@FreeBSD.org>2006-02-06 03:34:54 +0800
commitbb82df40c9a233042e07e36c3c7fd4bb89f0e22b (patch)
treeecf8a2e18af10af6bbaf42c80e92a8a23dd741d2 /net/freeradius2
parentc36055c24ccdc9e938dcea48dda2dfff2d395f2c (diff)
downloadfreebsd-ports-gnome-bb82df40c9a233042e07e36c3c7fd4bb89f0e22b.tar.gz
freebsd-ports-gnome-bb82df40c9a233042e07e36c3c7fd4bb89f0e22b.tar.zst
freebsd-ports-gnome-bb82df40c9a233042e07e36c3c7fd4bb89f0e22b.zip
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
Diffstat (limited to 'net/freeradius2')
-rw-r--r--net/freeradius2/Makefile3
-rw-r--r--net/freeradius2/files/radiusd.in7
2 files changed, 5 insertions, 5 deletions
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"