# 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.64 2007/03/22 09:37:06 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.65 2007/04/12 18:48:42 mrness Exp $
+
+*freeradius-1.1.6 (12 Apr 2007)
+
+ 12 Apr 2007; Alin Năstac <mrness@gentoo.org>
+ +files/freeradius-1.1.6-qa-fixes.patch, +files/freeradius-1.1.6-ssl.patch,
+ +files/freeradius-1.1.6-versionless-la-files.patch, metadata.xml,
+ +freeradius-1.1.6.ebuild:
+ Version bump wrt security bug #174292.
*freeradius-1.1.5-r1 (22 Mar 2007)
MD5 278fa95ce5cb80cf3a2123a9406cc954 files/freeradius-1.1.5-versionless-la-files.patch 1624
RMD160 9aba3d5a3204603efe2126062e6fc46f70249822 files/freeradius-1.1.5-versionless-la-files.patch 1624
SHA256 2260650a8575f5afa5cb722f1c3a4dc3ed814b2c80bae9702f1c7e2ec64d72bd files/freeradius-1.1.5-versionless-la-files.patch 1624
+AUX freeradius-1.1.6-qa-fixes.patch 2328 RMD160 86e5d0a5f67ed46b53579a1d1776576f1ae027ac SHA1 e8061f9cb00239ee1c71272690d950b586ca8fed SHA256 3ae2de7d94220a411c2ddc181cca925a8c670d65bf3e0f6307a0731d02c81236
+MD5 d11a9ec7f22d541a195daf2827010684 files/freeradius-1.1.6-qa-fixes.patch 2328
+RMD160 86e5d0a5f67ed46b53579a1d1776576f1ae027ac files/freeradius-1.1.6-qa-fixes.patch 2328
+SHA256 3ae2de7d94220a411c2ddc181cca925a8c670d65bf3e0f6307a0731d02c81236 files/freeradius-1.1.6-qa-fixes.patch 2328
+AUX freeradius-1.1.6-ssl.patch 549 RMD160 70ff675bb1d87c7d7571b7a1182b233b3b4b98b8 SHA1 a53c6d06a0cb729abe845cf7ab6bc12ca9d391eb SHA256 a6e65329ab8eb80f1d812eacb08b67009e1ef09f9e58d81f30847e7a076b956c
+MD5 c87137a1d164ef3e7b84ea94dc181c2e files/freeradius-1.1.6-ssl.patch 549
+RMD160 70ff675bb1d87c7d7571b7a1182b233b3b4b98b8 files/freeradius-1.1.6-ssl.patch 549
+SHA256 a6e65329ab8eb80f1d812eacb08b67009e1ef09f9e58d81f30847e7a076b956c files/freeradius-1.1.6-ssl.patch 549
+AUX freeradius-1.1.6-versionless-la-files.patch 1624 RMD160 bdb3ca14413ec48591a44cedb5a500ed0937cd62 SHA1 12d163d1eca4be98694e31bb200d31c4ef6334ef SHA256 259a866525107c25554f66e034e9d147ec4e4aec5adb438327a0d3fab33964b4
+MD5 9453f10c73fc05df15bce4f79608ecc7 files/freeradius-1.1.6-versionless-la-files.patch 1624
+RMD160 bdb3ca14413ec48591a44cedb5a500ed0937cd62 files/freeradius-1.1.6-versionless-la-files.patch 1624
+SHA256 259a866525107c25554f66e034e9d147ec4e4aec5adb438327a0d3fab33964b4 files/freeradius-1.1.6-versionless-la-files.patch 1624
AUX radius.conf 129 RMD160 2509d00c869ddb2d4db84e0e4b5a9334ffd69964 SHA1 174194106a6a7698f92e884463f49f0f974cb569 SHA256 2d5b3e1af1299373182f2c8021bdf45c29db5d82b0a077b965a16ded32cb6292
MD5 fc6693f3df5a0694610110287a28568a files/radius.conf 129
RMD160 2509d00c869ddb2d4db84e0e4b5a9334ffd69964 files/radius.conf 129
DIST freeradius-1.1.3.tar.gz 3068204 RMD160 4ba264d2ed85e5300d48017d1e343b1db35fce90 SHA1 efd1d7d0f9bed69ec7c5e5a6a35477cb0b05bfb9 SHA256 f615f67fb807494892015e671593801fe3ac30c04740cd1dc8d2f18fc218da35
DIST freeradius-1.1.4.tar.gz 3088835 RMD160 7f594557b27ada4f27dfc6d51f6c6b95a13edeee SHA1 e555c5dd555d9bbea74466558156d9f3e7b52f58 SHA256 017fe27b59c8d16c61739cd8aec123150365f2885dfdf04d289bf3039f26f7e3
DIST freeradius-1.1.5.tar.gz 3128698 RMD160 737d1251d368cd4ac0f584712045dc6cf2ef5091 SHA1 eec5078ab837db8453aa5d2e83a7b4728ad43083 SHA256 53f596537b88e22863d6857c3beb419db9c20261002806dd849ff713f9c89fa7
+DIST freeradius-1.1.6.tar.gz 3175652 RMD160 ed82342938d3845c4e6938b5c4f3117e2397367b SHA1 a40ff6412824daf221bd6e717db253cf32562735 SHA256 d503bac14ca37eab4798f6ab3dbdfb744aa846f7dc76ded45966d127948e71f8
EBUILD freeradius-1.1.3-r2.ebuild 3899 RMD160 75044a63655facc198934398ae537ea58457af3b SHA1 c8bc97f86a53b51c774056162e4e42677d2d9786 SHA256 521929592b0d4e3910798a8940b281e515963c74eda96230090bb3e0f3b437fd
MD5 066da5194caa68cf9086b8e29ca4ee4d freeradius-1.1.3-r2.ebuild 3899
RMD160 75044a63655facc198934398ae537ea58457af3b freeradius-1.1.3-r2.ebuild 3899
MD5 b80f430e34e3d80ab59bdd769cd7c8e8 freeradius-1.1.5-r1.ebuild 4548
RMD160 549b44d07622486b420efea1a2559ac61b3ffd5f freeradius-1.1.5-r1.ebuild 4548
SHA256 b807c7926c5a745e44552d64fb5752cb3f0849981b42e811955549b28250ebc5 freeradius-1.1.5-r1.ebuild 4548
-MISC ChangeLog 11889 RMD160 fd44a7b4d96571035eb41406e7920ef248c6bcfc SHA1 c6887fe2e6e558bc3ef0672f99ef2a980d8e9e7b SHA256 3deb5abacbfb1220062e57bdb6bbb4f69f33b16e4b340ee67c1b2e5b0b51dd5b
-MD5 368f2bf6923c386c1d4564fdb5e5fca1 ChangeLog 11889
-RMD160 fd44a7b4d96571035eb41406e7920ef248c6bcfc ChangeLog 11889
-SHA256 3deb5abacbfb1220062e57bdb6bbb4f69f33b16e4b340ee67c1b2e5b0b51dd5b ChangeLog 11889
-MISC metadata.xml 252 RMD160 aaf9aae6ca234ce5c447d0a6c29d732a5b2a58f0 SHA1 6b1b24914e633321a409132870aea89053fac655 SHA256 5c0974054864b2e9a572cd3c30b97aadae0b2781da4dabec791e23afdfa5ee76
-MD5 1542bf76e28581e9d6bcfdc75e46f33d metadata.xml 252
-RMD160 aaf9aae6ca234ce5c447d0a6c29d732a5b2a58f0 metadata.xml 252
-SHA256 5c0974054864b2e9a572cd3c30b97aadae0b2781da4dabec791e23afdfa5ee76 metadata.xml 252
+EBUILD freeradius-1.1.6.ebuild 4504 RMD160 e9dabe0ef86c7d5259b0eacdeab15bc341bafcdd SHA1 9aab32dc255b38eec706b9aeb39372b508b92309 SHA256 971185b1ed2b6d5583c293dbfb0852edd70c2c8d6871598c2c3c80d5b0b3280f
+MD5 14f944c2018fe715841286224551f1c8 freeradius-1.1.6.ebuild 4504
+RMD160 e9dabe0ef86c7d5259b0eacdeab15bc341bafcdd freeradius-1.1.6.ebuild 4504
+SHA256 971185b1ed2b6d5583c293dbfb0852edd70c2c8d6871598c2c3c80d5b0b3280f freeradius-1.1.6.ebuild 4504
+MISC ChangeLog 12185 RMD160 3acd36a11408b2436a42cff4373c2cb0f2aff96b SHA1 0af8cbfcb3734e7f64da9d01613315eb71af68ce SHA256 08d581d623f3fe6fd5d2b554816f3efe04c341ac828f6ac0b47fa5da3b8dd5b5
+MD5 24ff388b9df22ca44444c533c1296502 ChangeLog 12185
+RMD160 3acd36a11408b2436a42cff4373c2cb0f2aff96b ChangeLog 12185
+SHA256 08d581d623f3fe6fd5d2b554816f3efe04c341ac828f6ac0b47fa5da3b8dd5b5 ChangeLog 12185
+MISC metadata.xml 327 RMD160 e58c61ac6067fcaff23b38b1b3833ec8d621eb73 SHA1 fa8febc970b58eb22e5351e54ca784c105a50ecd SHA256 a36fe9c841f1c40a07d9a96a321643460caf7bf3134015bd4e091e0a207aa076
+MD5 40c21c5fcbfe97393bfddefd808580d2 metadata.xml 327
+RMD160 e58c61ac6067fcaff23b38b1b3833ec8d621eb73 metadata.xml 327
+SHA256 a36fe9c841f1c40a07d9a96a321643460caf7bf3134015bd4e091e0a207aa076 metadata.xml 327
MD5 51c1a43e2ddb45d5b0709b0d2dcdb3ee files/digest-freeradius-1.1.3-r2 253
RMD160 4562c10776eeed3a5a89d26db33f977c61b420b4 files/digest-freeradius-1.1.3-r2 253
SHA256 f2c8dde98762ea60836e714eaf453c239dd1a9e21d96432f5412d2845809a08c files/digest-freeradius-1.1.3-r2 253
MD5 71412418ce2dbc45fd63757145093fe0 files/digest-freeradius-1.1.5-r1 253
RMD160 f23f4a29e58ea13512d1e275160fa30dab5f11a0 files/digest-freeradius-1.1.5-r1 253
SHA256 727f15352c838fb71509b69c0e1bd9aac74b5a7abbf4cfe03affdb977648d8e5 files/digest-freeradius-1.1.5-r1 253
+MD5 6d512fc9ec4a36695459f193b25dd16f files/digest-freeradius-1.1.6 253
+RMD160 aa51e404b4c9c3bc422a421b5152184a15462850 files/digest-freeradius-1.1.6 253
+SHA256 19a5520c07b9a4394aa2675dc293cb50bb1ceecc879c0da00c3930b96a6c7309 files/digest-freeradius-1.1.6 253
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFGAk5NJnxX6mF440QRAifRAKDQ4NGh+7tXaWn3BDDRAmrnQ/N49QCdGjin
-fh+L3bpG5H1RuUiLtLCuRR4=
-=FV0v
+iD8DBQFGHn8VJnxX6mF440QRAsaXAJwJtJ8a9bjbMwW2pvUjLf4rqF1F4gCfYwdj
+q2qUC0w7HfK4SiI/hhLQQZo=
+=udDy
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 a053d353ce5f393cb70795fd363a586f freeradius-1.1.6.tar.gz 3175652
+RMD160 ed82342938d3845c4e6938b5c4f3117e2397367b freeradius-1.1.6.tar.gz 3175652
+SHA256 d503bac14ca37eab4798f6ab3dbdfb744aa846f7dc76ded45966d127948e71f8 freeradius-1.1.6.tar.gz 3175652
--- /dev/null
+diff -Nru freeradius-1.1.6.orig/configure.in freeradius-1.1.6/configure.in
+--- freeradius-1.1.6.orig/configure.in 2007-04-04 12:23:57.000000000 +0300
++++ freeradius-1.1.6/configure.in 2007-04-12 21:33:37.000000000 +0300
+@@ -803,7 +803,7 @@
+ else
+ devflags=""
+ CFLAGS="$CFLAGS -DNDEBUG"
+- INSTALLSTRIP="-s"
++ INSTALLSTRIP=""
+ AC_MSG_RESULT(no.)
+ fi
+
+diff -Nru freeradius-1.1.6.orig/src/main/mainconfig.c freeradius-1.1.6/src/main/mainconfig.c
+--- freeradius-1.1.6.orig/src/main/mainconfig.c 2007-04-08 01:06:08.000000000 +0300
++++ freeradius-1.1.6/src/main/mainconfig.c 2007-04-12 21:33:44.000000000 +0300
+@@ -23,6 +23,7 @@
+
+ #include "autoconf.h"
+ #include "libradius.h"
++#include "ltdl.h"
+
+ #include <stdlib.h>
+ #include <string.h>
+@@ -1501,6 +1502,10 @@
+ /*
+ * Free the configuration.
+ */
++extern void rl_free(void);
++extern void paircompare_builtin_free(void);
++extern void xlat_free(void);
++
+ int free_mainconfig(void)
+ {
+ /*
+diff -Nru freeradius-1.1.6.orig/src/modules/rlm_ldap/rlm_ldap.c freeradius-1.1.6/src/modules/rlm_ldap/rlm_ldap.c
+--- freeradius-1.1.6.orig/src/modules/rlm_ldap/rlm_ldap.c 2007-04-08 10:14:45.000000000 +0300
++++ freeradius-1.1.6/src/modules/rlm_ldap/rlm_ldap.c 2007-04-12 21:33:44.000000000 +0300
+@@ -175,6 +175,8 @@
+ #include <string.h>
+
+ #include <lber.h>
++#define LDAP_DEPRECATED 1
++#undef HAVE_LDAP_INT_TLS_CONFIG
+ #include <ldap.h>
+
+ #include <errno.h>
+diff -Nru freeradius-1.1.6.orig/src/modules/rlm_smb/smblib.c freeradius-1.1.6/src/modules/rlm_smb/smblib.c
+--- freeradius-1.1.6.orig/src/modules/rlm_smb/smblib.c 2004-02-26 21:04:35.000000000 +0200
++++ freeradius-1.1.6/src/modules/rlm_smb/smblib.c 2007-04-12 21:33:44.000000000 +0300
+@@ -23,6 +23,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
++#include <string.h>
++
+ int SMBlib_errno;
+ int SMBlib_SMB_Error;
+ #define SMBLIB_ERRNO
+diff -Nru freeradius-1.1.6.orig/src/modules/rlm_smb/smblib-util.c freeradius-1.1.6/src/modules/rlm_smb/smblib-util.c
+--- freeradius-1.1.6.orig/src/modules/rlm_smb/smblib-util.c 2004-02-26 21:04:35.000000000 +0200
++++ freeradius-1.1.6/src/modules/rlm_smb/smblib-util.c 2007-04-12 21:33:44.000000000 +0300
+@@ -23,6 +23,8 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
++#include <string.h>
++
+ #include "smblib-priv.h"
+
+ #include "rfcnb.h"
--- /dev/null
+diff -Nru freeradius-1.1.6.orig/src/modules/rlm_eap/libeap/Makefile freeradius-1.1.6/src/modules/rlm_eap/libeap/Makefile
+--- freeradius-1.1.6.orig/src/modules/rlm_eap/libeap/Makefile 2007-04-12 21:32:44.000000000 +0300
++++ freeradius-1.1.6/src/modules/rlm_eap/libeap/Makefile 2007-04-12 21:34:41.000000000 +0300
+@@ -9,6 +9,7 @@
+ SRCS = eapcommon.c eapcrypto.c eapsimlib.c fips186prf.c
+ ifneq ($(OPENSSL_LIBS),)
+ SRCS += cb.c eap_tls.c mppe_keys.c tls.c
++LIBS += $(OPENSSL_LIBS)
+ endif
+ LT_OBJS = $(SRCS:.c=.lo)
+ INCLUDES = eap_types.h eap_tls.h
--- /dev/null
+diff -Nru freeradius-1.1.6.orig/src/lib/Makefile freeradius-1.1.6/src/lib/Makefile
+--- freeradius-1.1.6.orig/src/lib/Makefile 2006-04-12 23:45:20.000000000 +0300
++++ freeradius-1.1.6/src/lib/Makefile 2007-04-12 21:32:08.000000000 +0300
+@@ -51,5 +51,3 @@
+ $(INSTALL) -d -m 755 $(R)$(libdir)
+ $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la \
+ $(R)$(libdir)/$(TARGET).la
+- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la;
+- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la
+diff -Nru freeradius-1.1.6.orig/src/modules/rlm_eap/libeap/Makefile freeradius-1.1.6/src/modules/rlm_eap/libeap/Makefile
+--- freeradius-1.1.6.orig/src/modules/rlm_eap/libeap/Makefile 2006-03-23 13:17:46.000000000 +0200
++++ freeradius-1.1.6/src/modules/rlm_eap/libeap/Makefile 2007-04-12 21:32:08.000000000 +0300
+@@ -40,5 +40,3 @@
+ install: all
+ $(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la \
+ $(R)$(libdir)/$(TARGET).la
+- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la;
+- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la
+diff -Nru freeradius-1.1.6.orig/src/modules/rules.mak freeradius-1.1.6/src/modules/rules.mak
+--- freeradius-1.1.6.orig/src/modules/rules.mak 2006-07-06 19:42:57.000000000 +0300
++++ freeradius-1.1.6/src/modules/rules.mak 2007-04-12 21:32:08.000000000 +0300
+@@ -162,6 +162,4 @@
+ if [ "x$(TARGET)" != "x" ]; then \
+ $(LIBTOOL) --mode=install $(INSTALL) -c \
+ $(TARGET).la $(R)$(libdir)/$(TARGET).la || exit $$?; \
+- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la; \
+- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la || exit $$?; \
+ fi
--- /dev/null
+# 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.6.ebuild,v 1.1 2007/04/12 18:48:42 mrness Exp $
+
+WANT_AUTOMAKE="none"
+
+inherit eutils multilib autotools
+
+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 ~sparc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug edirectory firebird frascend frnothreads frxp kerberos ldap mysql pam postgres snmp ssl udpfromto"
+
+RDEPEND="!net-dialup/cistronradius
+ !net-dialup/gnuradius
+ >=sys-libs/db-3.2
+ sys-libs/gdbm
+ dev-lang/perl
+ snmp? ( net-analyzer/net-snmp )
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )
+ firebird? ( dev-db/firebird )
+ pam? ( sys-libs/pam )
+ ssl? ( dev-libs/openssl )
+ ldap? ( net-nds/openldap )
+ kerberos? ( virtual/krb5 )
+ frxp? ( dev-lang/python )"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf"
+
+pkg_setup() {
+ if use edirectory && ! use ldap ; then
+ eerror "Cannot add integration with Novell's eDirectory without having LDAP support!"
+ eerror "Either you select ldap USE flag or remove edirectory"
+ die "edirectory needs ldap"
+ fi
+ enewgroup radiusd
+ enewuser radiusd -1 -1 /var/log/radius radiusd
+}
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-versionless-la-files.patch"
+ epatch "${FILESDIR}/${P}-ssl.patch"
+ epatch "${FILESDIR}/${P}-qa-fixes.patch"
+
+ cd "${S}"
+
+ # kill modules we don't use
+ if ! use ssl; then
+ einfo "removing rlm_eap_tls and rlm_x99_token (no use ssl)"
+ rm -rf src/modules/rlm_eap/types/rlm_eap_tls src/modules/rlm_x99_token
+ fi
+ if ! use ldap; then
+ einfo "removing rlm_ldap (no use ldap)"
+ rm -rf src/modules/rlm_ldap
+ fi
+ if ! use kerberos; then
+ einfo "removing rlm_krb5 (no use kerberos)"
+ rm -rf src/modules/rlm_krb5
+ fi
+ if ! use pam; then
+ einfo "removing rlm_pam (no use pam)"
+ rm -rf src/modules/rlm_pam
+ fi
+ if ! use mysql; then
+ einfo "removing rlm_sql_mysql (no use mysql)"
+ rm -rf src/modules/rlm_sql/drivers/rlm_sql_mysql
+ sed -i -e '/rlm_sql_mysql/d' src/modules/rlm_sql/stable
+ fi
+ if ! use postgres; then
+ einfo "removing rlm_sql_postgresql (no use postgres)"
+ rm -rf src/modules/rlm_sql/drivers/rlm_sql_postgresql
+ sed -i -e '/rlm_sql_postgresql/d' src/modules/rlm_sql/stable
+ fi
+ if ! use firebird; then
+ einfo "removing rlm_sql_firebird (no use firebird)"
+ rm -rf src/modules/rlm_sql/drivers/rlm_sql_firebird
+ sed -i -e '/rlm_sql_firebird/d' src/modules/rlm_sql/stable
+ fi
+
+ eautoconf || die "eautoconf failed"
+}
+
+src_compile() {
+ local myconf=" \
+ $(use_enable debug developer) \
+ $(use_with snmp) \
+ $(use_with frascend ascend-binary) \
+ $(use_with frxp experimental-modules) \
+ $(use_with udpfromto) \
+ $(use_with edirectory edir) "
+
+ if useq frnothreads; then
+ myconf="${myconf} --without-threads"
+ fi
+
+ #fix bug #77613
+ if has_version app-crypt/heimdal; then
+ myconf="${myconf} --enable-heimdal-krb5"
+ fi
+
+ econf --with-large-files --disable-ltdl-install --with-pic \
+ --localstatedir=/var ${myconf} || die "econf failed"
+
+ make || die "make failed"
+}
+
+src_install() {
+ dodir /etc
+ dodir /var/log
+ dodir /var/run
+ diropts -m0750 -o root -g radiusd
+ dodir /etc/raddb
+ diropts -m0750 -o radiusd -g radiusd
+ dodir /var/log/radius
+ keepdir /var/log/radius/radacct
+ dodir /var/run/radiusd
+ diropts
+
+ make R="${D}" install || die "make install failed"
+ dosed 's:^#user *= *nobody:user = radiusd:;s:^#group *= *nobody:group = radiusd:' \
+ /etc/raddb/radiusd.conf
+ chown -R root:radiusd "${D}"/etc/raddb/*
+
+ mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
+ gzip -f -9 "${D}/usr/share/doc/${PF}"/{rfc/*.txt,*}
+ dodoc CREDITS
+
+ rm "${D}/usr/sbin/rc.radiusd"
+
+ newinitd "${FILESDIR}/radius.init" radiusd
+ newconfd "${FILESDIR}/radius.conf" radiusd
+}
+
+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."
+}
<email>mrness@gentoo.org</email>
<name>Alin Nastac</name>
</maintainer>
+<longdescription>Highly configurable free RADIUS server.</longdescription>
</pkgmetadata>