summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-09-12 04:35:43 +0000
committerAlin Năstac <mrness@gentoo.org>2009-09-12 04:35:43 +0000
commita09db16cb0261f623a6997ea1bd4453b6e8f8ef1 (patch)
treecda4d83dff249eaad6da7619da73ca3721f7bcf8 /net-dialup/freeradius/files
parentInitial version. (diff)
downloadgentoo-2-a09db16cb0261f623a6997ea1bd4453b6e8f8ef1.tar.gz
gentoo-2-a09db16cb0261f623a6997ea1bd4453b6e8f8ef1.tar.bz2
gentoo-2-a09db16cb0261f623a6997ea1bd4453b6e8f8ef1.zip
Remove version 1.1.7 wrt security bug 284454.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-dialup/freeradius/files')
-rw-r--r--net-dialup/freeradius/files/freeradius-1.1.7-qa-fixes.patch36
-rw-r--r--net-dialup/freeradius/files/freeradius-1.1.7-ssl.patch11
-rw-r--r--net-dialup/freeradius/files/freeradius-1.1.7-versionless-la-files.patch28
-rw-r--r--net-dialup/freeradius/files/radius.init68
4 files changed, 0 insertions, 143 deletions
diff --git a/net-dialup/freeradius/files/freeradius-1.1.7-qa-fixes.patch b/net-dialup/freeradius/files/freeradius-1.1.7-qa-fixes.patch
deleted file mode 100644
index bd1dc8c822f1..000000000000
--- a/net-dialup/freeradius/files/freeradius-1.1.7-qa-fixes.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Nru freeradius-1.1.7.orig/configure.in freeradius-1.1.7/configure.in
---- freeradius-1.1.7.orig/configure.in 2007-07-17 17:41:38.000000000 +0300
-+++ freeradius-1.1.7/configure.in 2007-08-25 07:44:21.000000000 +0300
-@@ -832,7 +832,7 @@
- else
- devflags=""
- CFLAGS="$CFLAGS -DNDEBUG"
-- INSTALLSTRIP="-s"
-+ INSTALLSTRIP=""
- AC_MSG_RESULT(no.)
- fi
-
-diff -Nru freeradius-1.1.7.orig/src/modules/rlm_smb/smblib.c freeradius-1.1.7/src/modules/rlm_smb/smblib.c
---- freeradius-1.1.7.orig/src/modules/rlm_smb/smblib.c 2004-02-26 21:04:35.000000000 +0200
-+++ freeradius-1.1.7/src/modules/rlm_smb/smblib.c 2007-08-25 07:44:21.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.7.orig/src/modules/rlm_smb/smblib-util.c freeradius-1.1.7/src/modules/rlm_smb/smblib-util.c
---- freeradius-1.1.7.orig/src/modules/rlm_smb/smblib-util.c 2004-02-26 21:04:35.000000000 +0200
-+++ freeradius-1.1.7/src/modules/rlm_smb/smblib-util.c 2007-08-25 07:44:21.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"
diff --git a/net-dialup/freeradius/files/freeradius-1.1.7-ssl.patch b/net-dialup/freeradius/files/freeradius-1.1.7-ssl.patch
deleted file mode 100644
index 5a3df1c04f11..000000000000
--- a/net-dialup/freeradius/files/freeradius-1.1.7-ssl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nru freeradius-1.1.7.orig/src/modules/rlm_eap/libeap/Makefile freeradius-1.1.7/src/modules/rlm_eap/libeap/Makefile
---- freeradius-1.1.7.orig/src/modules/rlm_eap/libeap/Makefile 2007-08-25 07:23:16.000000000 +0300
-+++ freeradius-1.1.7/src/modules/rlm_eap/libeap/Makefile 2007-08-25 07:23:55.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
diff --git a/net-dialup/freeradius/files/freeradius-1.1.7-versionless-la-files.patch b/net-dialup/freeradius/files/freeradius-1.1.7-versionless-la-files.patch
deleted file mode 100644
index 1f5d8931e3e2..000000000000
--- a/net-dialup/freeradius/files/freeradius-1.1.7-versionless-la-files.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nru freeradius-1.1.7.orig/src/lib/Makefile freeradius-1.1.7/src/lib/Makefile
---- freeradius-1.1.7.orig/src/lib/Makefile 2006-04-12 23:45:20.000000000 +0300
-+++ freeradius-1.1.7/src/lib/Makefile 2007-08-25 07:22:43.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.7.orig/src/modules/rlm_eap/libeap/Makefile freeradius-1.1.7/src/modules/rlm_eap/libeap/Makefile
---- freeradius-1.1.7.orig/src/modules/rlm_eap/libeap/Makefile 2006-03-23 13:17:46.000000000 +0200
-+++ freeradius-1.1.7/src/modules/rlm_eap/libeap/Makefile 2007-08-25 07:22:43.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.7.orig/src/modules/rules.mak freeradius-1.1.7/src/modules/rules.mak
---- freeradius-1.1.7.orig/src/modules/rules.mak 2006-07-06 19:42:57.000000000 +0300
-+++ freeradius-1.1.7/src/modules/rules.mak 2007-08-25 07:22:43.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
diff --git a/net-dialup/freeradius/files/radius.init b/net-dialup/freeradius/files/radius.init
deleted file mode 100644
index 2b51958334f5..000000000000
--- a/net-dialup/freeradius/files/radius.init
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/sbin/runscript
-
-opts="${opts} reload"
-
-depend() {
- need net
- use dns
-}
-
-checkconfig() {
- #set the location of log files, including startup.log created by check-radiusd-config
- if ! cd /var/log/radius ; then
- eerror "Failed to change current directory to /var/log/radius"
- return 1
- fi
-
- if [ ! -d /var/run/radiusd ] && ! mkdir /var/run/radiusd ; then
- eerror "Failed to create /var/run/radiusd"
- return 1
- fi
-
- if [ ! -f /etc/raddb/radiusd.conf ] ; then
- eerror "No /etc/raddb/radiusd.conf file exists!"
- return 1
- fi
-
- 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
-
- RADIUSD_USER=`grep '^ *user *=' /etc/raddb/radiusd.conf | cut -d ' ' -f 3`
- RADIUSD_GROUP=`grep '^ *group *=' /etc/raddb/radiusd.conf | cut -d ' ' -f 3`
- if [ -n "${RADIUSD_USER}" ] && ! getent passwd ${RADIUSD_USER} > /dev/null ; then
- eerror "${RADIUSD_USER} user missing!"
- return 1
- fi
- if [ -n "${RADIUSD_GROUP}" ] && ! getent group ${RADIUSD_GROUP} > /dev/null ; then
- eerror "${RADIUSD_GROUP} group missing!"
- return 1
- fi
-
- #radius.log is created before privileges drop; we need to set proper permissions on it
- [ -f radius.log ] || touch radius.log || return 1
-
- chown -R "${RADIUSD_USER:-root}:${RADIUSD_GROUP:-root}" . /var/run/radiusd && \
- chmod -R u+rwX,g+rX . /var/run/radiusd || return 1
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting radiusd"
- start-stop-daemon --start --quiet --exec /usr/sbin/radiusd -- ${RADIUSD_OPTS} >/dev/null
- eend $?
-}
-
-stop () {
- ebegin "Stopping radiusd"
- start-stop-daemon --stop --quiet --pidfile=/var/run/radiusd/radiusd.pid
- eend $?
-}
-
-reload () {
- ebegin "Reloading radiusd"
- kill -HUP `</var/run/radiusd/radiusd.pid`
- eend $?
-}