View | Details | Raw Unified | Return to bug 118425
Collapse All | Expand All

(-)files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c (-10 lines)
Lines 1-10 Link Here
1
--- src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c.orig	Sat Jun 18 14:29:43 2005
2
+++ src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c	Sat Jun 18 14:31:48 2005
3
@@ -27,6 +27,7 @@
4
 #include <stdio.h>
5
 #include <stdlib.h>
6
 #include <string.h>
7
+#include <sys/types.h>
8
 #ifdef HAVE_REGEX_H
9
 #	include <regex.h>
10
 #endif
(-)files/radiusd.sh.in (-3 / +9 lines)
Lines 14-26 Link Here
14
14
15
name=radiusd
15
name=radiusd
16
rcvar=`set_rcvar`
16
rcvar=`set_rcvar`
17
load_rc_config $name
17
18
18
command=%%PREFIX%%/sbin/radiusd
19
command=%%PREFIX%%/sbin/radiusd
19
radiusd_config=${radiusd_config:-"%%PREFIX%%/etc/raddb/radiusd.conf"}
20
required_files=${radiusd_config}
21
pidfile=/var/run/radiusd/radiusd.pid
20
pidfile=/var/run/radiusd/radiusd.pid
22
21
22
# The radiusd_config parameter is now obsolete. Instead, derive the
23
# configuration directory name from radiusd_flags if possible, otherwise
24
# default to %%PREFIX%%/etc/raddb
25
required_dirs=`echo ${radiusd_flags} | sed -Ee 's:.*\-[^[:space:]d]*d[[:space:]]*([^[:space:]]+).*:\1:'`
26
required_dirs=${required_dirs:-"%%PREFIX%%/etc/raddb"}
27
28
required_files="${required_dirs}/radiusd.conf"
29
23
radiusd_enable=${radiusd_enable-"NO"}
30
radiusd_enable=${radiusd_enable-"NO"}
24
31
25
load_rc_config $name
26
run_rc_command "$1"
32
run_rc_command "$1"
(-)files/patch-radiusd-no-pie (+11 lines)
Line 0 Link Here
1
--- src/main/Makefile.in	Wed Feb 14 15:44:23 2007
2
+++ src/main/Makefile.in	Mon Dec  3 14:26:53 2007
3
@@ -61,7 +61,7 @@
4
 
5
 radiusd: $(SERVER_OBJS) $(MODULE_OBJS) ../lib/libradius.la
6
 	$(LIBTOOL) --mode=link $(CC) -export-dynamic -dlopen self \
7
-		$(LDFLAGS) -pie $(LINK_MODE) -o $@ $(SERVER_OBJS)      \
8
+		$(LDFLAGS) $(LINK_MODE) -o $@ $(SERVER_OBJS)      \
9
 		$(MODULE_LIBS) $(LIBS) $(SNMP_LIBS) $(PTHREADLIB) \
10
 		$(LIBLTDL) $(OPENSSL_LIBS)
11
 
(-)Makefile (-8 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	freeradius
8
PORTNAME=	freeradius
9
PORTVERSION?=	1.1.7
9
PORTVERSION?=	1.1.7
10
PORTREVISION?=	1
10
PORTREVISION?=	2
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	ftp://ftp.freeradius.org/pub/radius/ \
12
MASTER_SITES=	ftp://ftp.freeradius.org/pub/radius/ \
13
		ftp://ftp.ntua.gr/pub/net/radius/freeradius/ \
13
		ftp://ftp.ntua.gr/pub/net/radius/freeradius/ \
Lines 61-72 Link Here
61
61
62
.include <bsd.port.pre.mk>
62
.include <bsd.port.pre.mk>
63
63
64
.if ${OSVERSION} >= 700042
65
.if ${ARCH} == "amd64"
66
BROKEN=		Does not compile with GCC 4.2
67
.endif
68
.endif
69
70
# Default requirements for rc script
64
# Default requirements for rc script
71
_REQUIRE=	NETWORKING SERVERS
65
_REQUIRE=	NETWORKING SERVERS
72
66
Lines 110-116 Link Here
110
104
111
.ifdef(WITH_KERBEROS)
105
.ifdef(WITH_KERBEROS)
112
.ifdef(WITH_HEIMDAL)
106
.ifdef(WITH_HEIMDAL)
113
LIB_DEPENDS+=	krb5.21:${PORTSDIR}/security/heimdal
107
LIB_DEPENDS+=	krb5.23:${PORTSDIR}/security/heimdal
114
CONFIGURE_ARGS+=--enable-heimdal-krb5
108
CONFIGURE_ARGS+=--enable-heimdal-krb5
115
.else
109
.else
116
LIB_DEPENDS+=	krb5.3:${PORTSDIR}/security/krb5
110
LIB_DEPENDS+=	krb5.3:${PORTSDIR}/security/krb5

Return to bug 118425