summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-03-13 23:05:11 +0000
committerAlin Năstac <mrness@gentoo.org>2005-03-13 23:05:11 +0000
commit6d71d1cbac807bd76c184a3d99421f01a00ca10b (patch)
treed88c018090212546b50f7091425233cdf13eefeb /net-dialup/freeradius
parentVersion bump. (diff)
downloadgentoo-2-6d71d1cbac807bd76c184a3d99421f01a00ca10b.tar.gz
gentoo-2-6d71d1cbac807bd76c184a3d99421f01a00ca10b.tar.bz2
gentoo-2-6d71d1cbac807bd76c184a3d99421f01a00ca10b.zip
fix ownership of log file (#84341)
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-dialup/freeradius')
-rw-r--r--net-dialup/freeradius/ChangeLog8
-rw-r--r--net-dialup/freeradius/Manifest16
-rw-r--r--net-dialup/freeradius/files/digest-freeradius-1.0.2-r1 (renamed from net-dialup/freeradius/files/digest-freeradius-1.0.2)0
-rw-r--r--net-dialup/freeradius/files/radius.init8
-rw-r--r--net-dialup/freeradius/freeradius-1.0.2-r1.ebuild (renamed from net-dialup/freeradius/freeradius-1.0.2.ebuild)2
5 files changed, 18 insertions, 16 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog
index dfae7f177839..a5cda89ff439 100644
--- a/net-dialup/freeradius/ChangeLog
+++ b/net-dialup/freeradius/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/freeradius
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.25 2005/03/02 06:49:10 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.26 2005/03/13 23:05:11 mrness Exp $
+
+*freeradius-1.0.2-r1 (14 Mar 2005)
+
+ 14 Mar 2005; Alin Nastac <mrness@gentoo.org> files/radius.init,
+ +freeradius-1.0.2-r1.ebuild, -freeradius-1.0.2.ebuild:
+ Fix owner of log file (#84341).
02 Mar 2005; Alin Nastac <mrness@gentoo.org>
+files/freeradius-1.0.2-whole-archive-gentoo.patch,
diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index e7b57ed5be8b..821f58c2e1a5 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,20 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 8d5d6edaac024acafdc5461a329329f2 freeradius-1.0.2-r1.ebuild 2738
MD5 4308f34e173a67aa9bb9183204d0fa00 freeradius-1.0.1.ebuild 2749
-MD5 8d5d6edaac024acafdc5461a329329f2 freeradius-1.0.2.ebuild 2738
MD5 33b04d5f01824071676fc4592033d938 ChangeLog 3626
MD5 1542bf76e28581e9d6bcfdc75e46f33d metadata.xml 252
MD5 fc6693f3df5a0694610110287a28568a files/radius.conf 129
-MD5 386aaf4470ecc4b4e0c43dec2bc02ba7 files/radius.init 807
+MD5 8b7f9add8ce68797cfa9c7b19f7c1f82 files/radius.init 989
+MD5 5a26f9881af51aed070957e5fc4ed808 files/digest-freeradius-1.0.2-r1 69
MD5 9f0188ba482e825cf2a89584f8caa813 files/digest-freeradius-1.0.1 69
-MD5 5a26f9881af51aed070957e5fc4ed808 files/digest-freeradius-1.0.2 69
MD5 3c2119ec1d8d807fe5ed14944747f0f8 files/freeradius-1.0.1-gcc34.patch 715
MD5 6b0efd384f551fab6b82794e91dbb4d5 files/freeradius-1.0.2-whole-archive-gentoo.patch 1728
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFCJWH5jiC39V7gKu0RAviWAKCcXidHbUNAwqY/l1W0/0/CzBHVxgCeKZVL
-AdzEMMeyhSA2PQG0+nrDGkc=
-=SjNS
------END PGP SIGNATURE-----
diff --git a/net-dialup/freeradius/files/digest-freeradius-1.0.2 b/net-dialup/freeradius/files/digest-freeradius-1.0.2-r1
index 54745a2d6470..54745a2d6470 100644
--- a/net-dialup/freeradius/files/digest-freeradius-1.0.2
+++ b/net-dialup/freeradius/files/digest-freeradius-1.0.2-r1
diff --git a/net-dialup/freeradius/files/radius.init b/net-dialup/freeradius/files/radius.init
index ec27f1fc4e54..4ac13055a139 100644
--- a/net-dialup/freeradius/files/radius.init
+++ b/net-dialup/freeradius/files/radius.init
@@ -11,16 +11,22 @@ 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
fi
- if [ -z "`grep radiusd /etc/passwd`" ]; then
+ if [ -z "`grep radiusd /etc/passwd`" ] || [ -z "`grep radiusd /etc/group`" ]; then
eerror "radiusd user missing!"
return 1
fi
+ if [ ! -f radius.log ]; then
+ touch radius.log && chown radiusd:radiusd radius.log \
+ || return 1
+ fi
+
return 0
}
diff --git a/net-dialup/freeradius/freeradius-1.0.2.ebuild b/net-dialup/freeradius/freeradius-1.0.2-r1.ebuild
index da75d671375d..110a4c2ee710 100644
--- a/net-dialup/freeradius/freeradius-1.0.2.ebuild
+++ b/net-dialup/freeradius/freeradius-1.0.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.2.ebuild,v 1.2 2005/03/02 06:49:10 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.2-r1.ebuild,v 1.1 2005/03/13 23:05:11 mrness Exp $
inherit eutils