Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2008 03:22:40 GMT
From:      David Wood <david@wood2.org.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119909: [maintainer update] net/freeradius2 - update to 2.0.1, fix radsqlrelay, update MASTER_SITES
Message-ID:  <200801230322.m0N3Meo7013960@www.freebsd.org>
Resent-Message-ID: <200801230330.m0N3U1HM060893@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         119909
>Category:       ports
>Synopsis:       [maintainer update] net/freeradius2 - update to 2.0.1, fix radsqlrelay, update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 23 03:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     David Wood
>Release:        6.2-RELEASE i386
>Organization:
>Environment:
FreeBSD titanium.wood2.org.uk 6.2-RELEASE-p10 FreeBSD 6.2-RELEASE-p10 #0: Tue Jan 15 17:30:36 GMT 2008     david@titanium.wood2.org.uk:/usr/obj/usr/src/sys/TITANIUM  i386
>Description:
FreeBSD enhancements
====================

Update MASTER_SITES to allow MASTER_SITE_SUBDIR to work correctly. This should
stop problems with fetching between a new version of FreeRADIUS being released
and the port being updated (as the tarballs for old versions are moved to the
'old' folder on the download sites).

Patch radsqlrelay to work correctly with FreeBSD. [1]

[1] - http://preview.tinyurl.com/2ku5yp


Release notes
=============

FreeRADIUS 2.0.1 has been released. The focus of this release is stability.


Feature Improvements

    * Unlang now permits type-specific checks, and requires using strings less
      often. e.g. if (Framed-IP-Address > 192.168.0.1) { ....

Bug Fixes

    * The acct_unique module has been updated to understand the deprecated
      (but still used) Client-IP-Address attribute.
    * The EAP-MSCHAPv2 module no longer leaks MS-CHAP2-Success in packets.
    * Fixed crash in the dbm module.
    * Corrected parsing of syslog entries in radiusd.conf.

>How-To-Repeat:

>Fix:
Files added: files/patch-radsqlrelay
Files deleted: <none>

Patch attached with submission follows:

Index: distinfo
===================================================================
--- distinfo	(.../branches/FreeBSD-ports-tree/freeradius2)	(revision 166)
+++ distinfo	(.../trunk/freeradius2)	(revision 166)
@@ -1,3 +1,3 @@
-MD5 (freeradius-server-2.0.0.tar.bz2) = 965bf18592468023fec80279246fa1df
-SHA256 (freeradius-server-2.0.0.tar.bz2) = 5938c20470af3a970fe74abad352e30cf7dd6e12a3248446a42eb95e2f199311
-SIZE (freeradius-server-2.0.0.tar.bz2) = 2270574
+MD5 (freeradius-server-2.0.1.tar.bz2) = 670810d0ee7e80999fcd753cfdcecdb4
+SHA256 (freeradius-server-2.0.1.tar.bz2) = d5e1cd96762cc2091d64198bc50d03690f94dfd4d96b36a042dda1490b8143df
+SIZE (freeradius-server-2.0.1.tar.bz2) = 2270018
Index: files/patch-radsqlrelay
===================================================================
--- files/patch-radsqlrelay	(.../branches/FreeBSD-ports-tree/freeradius2)	(revision 0)
+++ files/patch-radsqlrelay	(.../trunk/freeradius2)	(revision 166)
@@ -0,0 +1,32 @@
+--- scripts/radsqlrelay	Sat Nov  4 12:58:14 2006
++++ scripts/radsqlrelay	Wed Jan 23 00:54:27 2008
+@@ -43,14 +43,13 @@
+ }
+ 
+ # /!\ OS-dependent structure
+-# Linux struct flock
+-#   short l_type;
+-#   short l_whence;
++# FreeBSD struct flock
+ #   off_t l_start;
+ #   off_t l_len;
+ #   pid_t l_pid;
+-# c2ph says: typedef='s2 l2 i', sizeof=16
+-my $FLOCK_STRUCT = 's2l2i';
++#   short l_type;
++#   short l_whence;
++my $FLOCK_STRUCT = 'q2is2';
+ 
+ sub setlock($;$$)
+ {
+@@ -58,8 +57,8 @@
+     $start = 0 unless defined $start;
+     $len = 0 unless defined $len;
+ 
+-                                    #type     whence    start   till  pid
+-    my $packed = pack($FLOCK_STRUCT, F_WRLCK, SEEK_SET, $start, $len, 0);
++                                    #start   till  pid type    whence
++    my $packed = pack($FLOCK_STRUCT, $start, $len, 0, F_WRLCK, SEEK_SET);
+     if (fcntl($fh, F_SETLKW, $packed)) { return 1 }
+     else { return 0 }
+ }
Index: Makefile
===================================================================
--- Makefile	(.../branches/FreeBSD-ports-tree/freeradius2)	(revision 166)
+++ Makefile	(.../trunk/freeradius2)	(revision 166)
@@ -6,14 +6,14 @@
 #
 
 PORTNAME=	freeradius
-DISTVERSION=	2.0.0
+DISTVERSION=	2.0.1
 CATEGORIES=	net
-MASTER_SITES=	ftp://ftp.freeradius.org/pub/freeradius/ \
-		ftp://ftp.ntua.gr/pub/net/radius/freeradius/ \
-		ftp://ftp.uk.freeradius.org/pub/radius/ \
-		http://ftp.cc.uoc.gr/mirrors/ftp.freeradius.org/ \
-		http://freeradius.portal-to-web.de/
-MASTER_SITE_SUBDIR=	. old
+MASTER_SITES=	ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \
+		ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \
+		ftp://ftp.uk.freeradius.org/pub/radius/%SUBDIR%/ \
+		http://ftp.cc.uoc.gr/mirrors/ftp.freeradius.org/%SUBDIR%/ \
+		http://freeradius.portal-to-web.de/%SUBDIR%/
+MASTER_SITE_SUBDIR= . old
 DISTNAME=	freeradius-server-${DISTVERSION}
 
 MAINTAINER=	david@wood2.org.uk


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801230322.m0N3Meo7013960>