Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius/files: radius.init-r3 radius.conf-r3 freeradius-2.0.5-versionless-la-files.patch freeradius-2.1.6-ssl.patch freeradius-2.1.6-versionless-la-files.patch freeradius-2.1.7-ssl.patch freeradius-2.1.6-pkglibdir.patch freeradius-2.1.6-nothreads.patch freeradius-2.1.1-versionless-la-files.patch freeradius-2.1.7-qafixes.patch freeradius-2.1.7-pkglibdir.patch freeradius-2.0.5-ssl.patch freeradius-2.1.3-ssl.patch freeradius-2.1.3-qafixes.patch freeradius-2.1.1-ssl.patch freeradius-2.0.5-threads.patch freeradius-2.1.3-versionless-la-files.patch freeradius-2.1.1-qafixes.patch freeradius-2.1.3-pkglibdir.patch freeradius-2.1.6-qafixes.patch freeradius-2.1.7-nothreads.patch freeradius-2.1.7-versionless-la-files.patch
Date: Sun, 30 Sep 2012 07:01:19
Message-Id: 20120930070104.7D36D21601@flycatcher.gentoo.org
1 flameeyes 12/09/30 07:01:04
2
3 Added: radius.init-r3 radius.conf-r3
4 Removed: freeradius-2.0.5-versionless-la-files.patch
5 freeradius-2.1.6-ssl.patch
6 freeradius-2.1.6-versionless-la-files.patch
7 freeradius-2.1.7-ssl.patch
8 freeradius-2.1.6-pkglibdir.patch
9 freeradius-2.1.6-nothreads.patch
10 freeradius-2.1.1-versionless-la-files.patch
11 freeradius-2.1.7-qafixes.patch
12 freeradius-2.1.7-pkglibdir.patch
13 freeradius-2.0.5-ssl.patch
14 freeradius-2.1.3-ssl.patch
15 freeradius-2.1.3-qafixes.patch
16 freeradius-2.1.1-ssl.patch
17 freeradius-2.0.5-threads.patch
18 freeradius-2.1.3-versionless-la-files.patch
19 freeradius-2.1.1-qafixes.patch
20 freeradius-2.1.3-pkglibdir.patch
21 freeradius-2.1.6-qafixes.patch
22 freeradius-2.1.7-nothreads.patch
23 freeradius-2.1.7-versionless-la-files.patch
24 Log:
25 Remove stale patches. Version bump, ebuild and init script rewrite: patches are now hosted on dev.gentoo.org instead than in $FILESDIR; remove threads USE flag (solves bug #296907); enable DHCP support unconditionally, as it's not an extra dependency (solves bug #376721); add "old" directory to SRC_URI (solves bug #398771); adds sqlite support (solves bug #401569) as well as oracle (untested), iodbc and unixodbc; make readline, python and pcap optional; use REQUIRED_USE to disallow firebird support for bindist packages; support USE=-ssl properly; always turn on optional features that add no extra dependencies, including experimental modules (drops frascend, frxp and udpfromto USE flags); enable edirectory support when ldap is enabled (drops edirectory USE flag); add pkg_config function to generate required TLS certificates; new init script uses the latest runscript syntax support, which allows for detecting crashed radiusd instances.
26
27 (Portage version: 2.2.0_alpha134/cvs/Linux x86_64)
28
29 Revision Changes Path
30 1.1 net-dialup/freeradius/files/radius.init-r3
31
32 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/freeradius/files/radius.init-r3?rev=1.1&view=markup
33 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/freeradius/files/radius.init-r3?rev=1.1&content-type=text/plain
34
35 Index: radius.init-r3
36 ===================================================================
37 #!/sbin/runscript
38 # Copyright 1999-2012 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40 # $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/files/radius.init-r3,v 1.1 2012/09/30 07:01:04 flameeyes Exp $
41
42 command=/usr/sbin/radiusd
43 command_args="${RADIUSD_OPTS}"
44 pidfile="${pidfile:-/var/run/radiusd/radiusd.pid}"
45 extra_started_commands="reload"
46
47 depend() {
48 need net
49 use dns
50 }
51
52 start_pre() {
53 if [ ! -f /etc/raddb/radiusd.conf ] ; then
54 eerror "No /etc/raddb/radiusd.conf file exists!"
55 return 1
56 fi
57
58 checkpath -m0750 -o "${RADIUSD_USER:-root}:${RADIUSD_GROUP:-root}" -d \
59 $(dirname ${pidfile}) /var/log/radius
60 }
61
62 reload() {
63 ebegin "Reloading radiusd"
64 kill -HUP $(cat /var/run/radiusd/radiusd.pid)
65 eend $?
66 }
67
68
69
70 1.1 net-dialup/freeradius/files/radius.conf-r3
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/freeradius/files/radius.conf-r3?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/freeradius/files/radius.conf-r3?rev=1.1&content-type=text/plain
74
75 Index: radius.conf-r3
76 ===================================================================
77 # Config file for /etc/init.d/radiusd
78
79 # see man pages for radiusd run `radiusd -h`
80 # for valid cmdline options
81 #RADIUSD_OPTS=""
82
83 # Change this value if you change it in /etc/raddb/radiusd.conf
84 pidfile=/var/run/radiusd/radiusd.pid
85
86 # Change these values if you change them in /etc/raddb/radiusd.conf
87 # RADIUSD_USER=radius
88 # RADIUSD_GROUP=radius