aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-03-07 09:12:11 +0800
committerwxs <wxs@FreeBSD.org>2010-03-07 09:12:11 +0800
commitb0cbab69dd6c40873cc11e94a660b353d8470974 (patch)
tree15453af871c70b57479ee5b2b156a345e8dfdd49 /net
parent654da8aa07945d4f980646c3aa0e76ea78015621 (diff)
downloadfreebsd-ports-gnome-b0cbab69dd6c40873cc11e94a660b353d8470974.tar.gz
freebsd-ports-gnome-b0cbab69dd6c40873cc11e94a660b353d8470974.tar.zst
freebsd-ports-gnome-b0cbab69dd6c40873cc11e94a660b353d8470974.zip
- Unbreak on 9.x after utmp changes.
- Pass maintainer to Ryan Steinmetz who has been active with this port in the past. PR: ports/143950 Submitted by: YAMAMOTO@FreeBSD.org, Shigeru <shigeru@iij.ad.jp> Approved by: maintainer timeout, portmgr (linimon@) Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r--net/freeradius2/Makefile2
-rw-r--r--net/freeradius2/files/patch-src__include__sysutmp.h20
2 files changed, 21 insertions, 1 deletions
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index b81f1ed7f96e..f079202293b8 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/Makefile
@@ -19,7 +19,7 @@ MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \
MASTER_SITE_SUBDIR= . old
DISTNAME= freeradius-server-${DISTVERSION}
-MAINTAINER= david@wood2.org.uk
+MAINTAINER= rpsfa@rit.edu
COMMENT= A free RADIUS server implementation
RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake
diff --git a/net/freeradius2/files/patch-src__include__sysutmp.h b/net/freeradius2/files/patch-src__include__sysutmp.h
new file mode 100644
index 000000000000..1589ee1d283c
--- /dev/null
+++ b/net/freeradius2/files/patch-src__include__sysutmp.h
@@ -0,0 +1,20 @@
+--- ./src/include/sysutmp.h.orig 2009-12-30 10:44:35.000000000 -0500
++++ ./src/include/sysutmp.h 2010-03-06 09:32:13.075571526 -0500
+@@ -30,7 +30,7 @@
+ # define UT_NAMESIZE 32
+ # define UT_LINESIZE 32
+ # define UT_HOSTSIZE 257
+-#ifdef hpux
++#if defined(hpux) || defined(__FreeBSD__)
+ # define ut_name ut_user
+ #endif
+ #else
+@@ -43,7 +43,7 @@
+ # define UT_HOSTSIZE 64
+ #endif
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(bsdi) || defined(__OpenBSD__) || defined(__APPLE__)
++#if (defined(__FreeBSD__) && !defined(HAVE_UTMPX_H)) || defined(__NetBSD__) || defined(bsdi) || defined(__OpenBSD__) || defined(__APPLE__)
+ # ifndef UTMP_FILE
+ # define UTMP_FILE "/var/run/utmp"
+ # endif