diff options
author | jmelo <jmelo@FreeBSD.org> | 2008-01-31 21:22:15 +0800 |
---|---|---|
committer | jmelo <jmelo@FreeBSD.org> | 2008-01-31 21:22:15 +0800 |
commit | 626ddde65bd7a6d4a0e964acdbe3efcdc51af791 (patch) | |
tree | 173411507802502bfa18e5c81ed4940cdf9ed28f /net | |
parent | 6c983f85300a299d444e01bf9d213ea57e572f36 (diff) | |
download | freebsd-ports-gnome-626ddde65bd7a6d4a0e964acdbe3efcdc51af791.tar.gz freebsd-ports-gnome-626ddde65bd7a6d4a0e964acdbe3efcdc51af791.tar.zst freebsd-ports-gnome-626ddde65bd7a6d4a0e964acdbe3efcdc51af791.zip |
- Update to 2.0.1.
- Fix radsqlrelay.
- Update mastersites.
PR: ports/119909
Submitted by: David Wood <david@wood2.org.uk> (maintainer)
Diffstat (limited to 'net')
-rw-r--r-- | net/freeradius2/Makefile | 12 | ||||
-rw-r--r-- | net/freeradius2/distinfo | 6 | ||||
-rw-r--r-- | net/freeradius2/files/patch-radsqlrelay | 32 |
3 files changed, 41 insertions, 9 deletions
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile index 8df8e2e1a62d..6dc9145672dd 100644 --- a/net/freeradius2/Makefile +++ b/net/freeradius2/Makefile @@ -6,13 +6,13 @@ # 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_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} diff --git a/net/freeradius2/distinfo b/net/freeradius2/distinfo index ea5242127a3a..9c1cb1575633 100644 --- a/net/freeradius2/distinfo +++ b/net/freeradius2/distinfo @@ -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 diff --git a/net/freeradius2/files/patch-radsqlrelay b/net/freeradius2/files/patch-radsqlrelay new file mode 100644 index 000000000000..0db498671b89 --- /dev/null +++ b/net/freeradius2/files/patch-radsqlrelay @@ -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 } + } |