summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-05-22 14:00:28 +0000
committerAlin Năstac <mrness@gentoo.org>2005-05-22 14:00:28 +0000
commit0e24b5fe1575a7f1a93198df78bb573f4eb16bab (patch)
tree89f0e6da10efc6b5a3d4bccb8dee10c09afe61be /net-dialup/freeradius/files
parentAdded ~sparc keyword. (diff)
downloadgentoo-2-0e24b5fe1575a7f1a93198df78bb573f4eb16bab.tar.gz
gentoo-2-0e24b5fe1575a7f1a93198df78bb573f4eb16bab.tar.bz2
gentoo-2-0e24b5fe1575a7f1a93198df78bb573f4eb16bab.zip
stop radiusd in pkg_prerm for fixing removal of pid files problem (#93152); remove old version
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-dialup/freeradius/files')
-rw-r--r--net-dialup/freeradius/files/digest-freeradius-1.0.11
-rw-r--r--net-dialup/freeradius/files/freeradius-1.0.1-gcc34.patch21
-rw-r--r--net-dialup/freeradius/files/radius.init5
3 files changed, 2 insertions, 25 deletions
diff --git a/net-dialup/freeradius/files/digest-freeradius-1.0.1 b/net-dialup/freeradius/files/digest-freeradius-1.0.1
deleted file mode 100644
index 5bff555ec49e..000000000000
--- a/net-dialup/freeradius/files/digest-freeradius-1.0.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 abc30cb71367f859ceed4de6477cd59f freeradius-1.0.1.tar.gz 2237745
diff --git a/net-dialup/freeradius/files/freeradius-1.0.1-gcc34.patch b/net-dialup/freeradius/files/freeradius-1.0.1-gcc34.patch
deleted file mode 100644
index 1381411e638a..000000000000
--- a/net-dialup/freeradius/files/freeradius-1.0.1-gcc34.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -urN src/modules/rlm_x99_token/x99_rlm.c src.mod/modules/rlm_x99_token/x99_rlm.c
---- src/modules/rlm_x99_token/x99_rlm.c 2004-02-27 04:04:37.000000000 +0900
-+++ src.mod/modules/rlm_x99_token/x99_rlm.c 2004-09-22 03:32:09.292337984 +0900
-@@ -544,8 +544,6 @@
- "auth: bad state for [%s]: expired", username);
- return RLM_MODULE_REJECT;
- }
--good_state:
-- /* State is good! */
-
- } else {
- /* This should only happen if the authorize code didn't run. */
-@@ -556,6 +554,8 @@
- }
- } /* if (!fast_sync) */
-
-+ /* State is good! */
-+good_state:
- /* Get the time of the last authentication. */
- if (x99_get_last_auth(inst->syncdir, username, &last_auth) != 0) {
- x99_log(X99_LOG_ERR,
diff --git a/net-dialup/freeradius/files/radius.init b/net-dialup/freeradius/files/radius.init
index 3b2e9c90df74..94d67f5e4bb8 100644
--- a/net-dialup/freeradius/files/radius.init
+++ b/net-dialup/freeradius/files/radius.init
@@ -11,7 +11,6 @@ checkconfig() {
return 1
fi
- cd /var/log/radius #set the location of startup.log
if [ "`/usr/sbin/check-radiusd-config >/dev/null 2>&1; echo $?`" != "0" ] ; then
eerror "Config not ok! (try /usr/sbin/check-radiusd-config )"
return 1
@@ -31,6 +30,7 @@ checkconfig() {
}
start() {
+ cd /var/log/radius #set the location of log files
# Comment out the following line to get faster startups
checkconfig || return 1
@@ -41,7 +41,6 @@ start() {
stop () {
ebegin "Stopping radiusd"
- start-stop-daemon --stop --quiet \
- --pidfile=/var/run/radiusd/radwatch.pid
+ start-stop-daemon --stop --quiet --pidfile=/var/run/radiusd/radwatch.pid
eend $?
}