summaryrefslogtreecommitdiff
path: root/net/freeradius2
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2006-02-05 19:34:54 +0000
committerDoug Barton <dougb@FreeBSD.org>2006-02-05 19:34:54 +0000
commit256b87feadee9d21373f76ac1d197774b56b89d2 (patch)
treead467aa0bf05eef520e05a47ebb84ba326c3f973 /net/freeradius2
parentAdd p5-Class-DBI-LazyInflate 0.06, defer inflating of columns until they (diff)
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
Notes
Notes: svn path=/head/; revision=155272
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"