summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-09-23 07:22:53 +0000
committerAlin Năstac <mrness@gentoo.org>2007-09-23 07:22:53 +0000
commitf32a278d211208a1ec7074486915fa3fc431063c (patch)
tree71414a3dd1e9d0cc443cb3624403a4d4beaaf2ba
parentclean up (diff)
downloadgentoo-2-f32a278d211208a1ec7074486915fa3fc431063c.tar.gz
gentoo-2-f32a278d211208a1ec7074486915fa3fc431063c.tar.bz2
gentoo-2-f32a278d211208a1ec7074486915fa3fc431063c.zip
Don't stop radiusd service in prerm anymore since /var/run/radius is no longer removed by portage during update. Stable on amd64.
(Portage version: 2.1.3.9)
-rw-r--r--net-dialup/freeradius/ChangeLog7
-rw-r--r--net-dialup/freeradius/files/radius.init2
-rw-r--r--net-dialup/freeradius/freeradius-1.1.7.ebuild24
3 files changed, 9 insertions, 24 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog
index 558f0a944212..8d0fbe415196 100644
--- a/net-dialup/freeradius/ChangeLog
+++ b/net-dialup/freeradius/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/freeradius
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.70 2007/08/25 05:07:39 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.71 2007/09/23 07:22:52 mrness Exp $
+
+ 23 Sep 2007; Alin Năstac <mrness@gentoo.org> files/radius.init,
+ freeradius-1.1.7.ebuild:
+ Don't stop radiusd service in prerm anymore since /var/run/radius is no
+ longer removed by portage during update. Stable on amd64.
*freeradius-1.1.7 (25 Aug 2007)
diff --git a/net-dialup/freeradius/files/radius.init b/net-dialup/freeradius/files/radius.init
index 75392c846058..2b51958334f5 100644
--- a/net-dialup/freeradius/files/radius.init
+++ b/net-dialup/freeradius/files/radius.init
@@ -14,7 +14,7 @@ checkconfig() {
return 1
fi
- if [[ ! -d /var/run/radiusd ]] && ! mkdir /var/run/radiusd ; then
+ if [ ! -d /var/run/radiusd ] && ! mkdir /var/run/radiusd ; then
eerror "Failed to create /var/run/radiusd"
return 1
fi
diff --git a/net-dialup/freeradius/freeradius-1.1.7.ebuild b/net-dialup/freeradius/freeradius-1.1.7.ebuild
index 7a7b329e2c8f..b6bb851b8dc2 100644
--- a/net-dialup/freeradius/freeradius-1.1.7.ebuild
+++ b/net-dialup/freeradius/freeradius-1.1.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.1.7.ebuild,v 1.1 2007/08/25 05:07:39 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.1.7.ebuild,v 1.2 2007/09/23 07:22:52 mrness Exp $
WANT_AUTOMAKE="none"
@@ -10,7 +10,7 @@ DESCRIPTION="Highly configurable free RADIUS server"
SRC_URI="ftp://ftp.freeradius.org/pub/radius/${P}.tar.gz"
HOMEPAGE="http://www.freeradius.org/"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="debug edirectory firebird frascend frnothreads frxp kerberos ldap mysql pam postgres snmp ssl udpfromto"
@@ -142,23 +142,3 @@ pkg_preinst() {
enewgroup radiusd
enewuser radiusd -1 -1 /var/log/radius radiusd
}
-
-pkg_prerm() {
- if [ "${ROOT}" = "/" ] && /etc/init.d/radiusd --quiet status ; then
- /etc/init.d/radiusd stop
- fi
-}
-
-pkg_postrm() {
- if [ "${ROOT}" = "/" ]; then
- ewarn "If radiusd service was running, it had been stopped!"
- echo
- ewarn "You should update the configuration files using etc-update or dispatch-conf"
- ewarn "and start the radiusd service again by running:"
- einfo " /etc/init.d/radiusd start"
-
- ebeep
- fi
- ewarn "Auth-Type := Sql is no longer valid in /etc/raddb/users file!"
- ewarn "You should replace it with Auth-Type := Local."
-}