summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/freeradius/files')
-rw-r--r--net-dialup/freeradius/files/freeradius-2.0.3-check-radiusd.patch12
-rw-r--r--net-dialup/freeradius/files/freeradius-2.0.3-ssl.patch11
-rw-r--r--net-dialup/freeradius/files/freeradius-2.0.3-versionless-la-files.patch28
3 files changed, 51 insertions, 0 deletions
diff --git a/net-dialup/freeradius/files/freeradius-2.0.3-check-radiusd.patch b/net-dialup/freeradius/files/freeradius-2.0.3-check-radiusd.patch
new file mode 100644
index 000000000000..210ddda6a5db
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-2.0.3-check-radiusd.patch
@@ -0,0 +1,12 @@
+diff -Nru freeradius-server-2.0.3.orig/scripts/check-radiusd-config.in freeradius-server-2.0.3/scripts/check-radiusd-config.in
+--- freeradius-server-2.0.3.orig/scripts/check-radiusd-config.in 2007-05-15 01:27:24.000000000 +0300
++++ freeradius-server-2.0.3/scripts/check-radiusd-config.in 2008-04-13 20:38:50.000000000 +0300
+@@ -35,7 +35,7 @@
+ # Note that you might have to add a '-d raddb' to the command line
+ # options, if your database is somewhere other than /etc/raddb
+ #
+-$sbindir/radiusd -X -p 32768 > startup.log 2>&1 &
++$sbindir/radiusd -X > startup.log 2>&1 &
+
+ #
+ # Remember what it's process ID was.
diff --git a/net-dialup/freeradius/files/freeradius-2.0.3-ssl.patch b/net-dialup/freeradius/files/freeradius-2.0.3-ssl.patch
new file mode 100644
index 000000000000..a948080e4d02
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-2.0.3-ssl.patch
@@ -0,0 +1,11 @@
+diff -Nru freeradius-server-2.0.3.orig/src/modules/rlm_eap/libeap/Makefile freeradius-server-2.0.3/src/modules/rlm_eap/libeap/Makefile
+--- freeradius-server-2.0.3.orig/src/modules/rlm_eap/libeap/Makefile 2008-04-13 18:46:14.000000000 +0300
++++ freeradius-server-2.0.3/src/modules/rlm_eap/libeap/Makefile 2008-04-13 18:46:28.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-2.0.3-versionless-la-files.patch b/net-dialup/freeradius/files/freeradius-2.0.3-versionless-la-files.patch
new file mode 100644
index 000000000000..40b6fe150af0
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-2.0.3-versionless-la-files.patch
@@ -0,0 +1,28 @@
+diff -Nru freeradius-server-2.0.3.orig/src/lib/Makefile freeradius-server-2.0.3/src/lib/Makefile
+--- freeradius-server-2.0.3.orig/src/lib/Makefile 2008-03-17 08:28:54.000000000 +0200
++++ freeradius-server-2.0.3/src/lib/Makefile 2008-04-13 18:45:30.000000000 +0300
+@@ -53,5 +53,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-server-2.0.3.orig/src/modules/rlm_eap/libeap/Makefile freeradius-server-2.0.3/src/modules/rlm_eap/libeap/Makefile
+--- freeradius-server-2.0.3.orig/src/modules/rlm_eap/libeap/Makefile 2007-11-25 15:56:10.000000000 +0200
++++ freeradius-server-2.0.3/src/modules/rlm_eap/libeap/Makefile 2008-04-13 18:45:30.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-server-2.0.3.orig/src/modules/rules.mak freeradius-server-2.0.3/src/modules/rules.mak
+--- freeradius-server-2.0.3.orig/src/modules/rules.mak 2008-01-10 12:12:01.000000000 +0200
++++ freeradius-server-2.0.3/src/modules/rules.mak 2008-04-13 18:45:30.000000000 +0300
+@@ -163,6 +163,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