aboutsummaryrefslogtreecommitdiffstats
path: root/net/radius
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-08-26 15:49:38 +0800
committerpetef <petef@FreeBSD.org>2001-08-26 15:49:38 +0800
commit96e21305c011a1b5eb4fca78ac550c8b2dfa1362 (patch)
tree8f76108f9374dcdd42b05ab0afa55df435e7ce77 /net/radius
parent8c1401ffb38569ed709241ca08d78917c0a48c60 (diff)
downloadfreebsd-ports-gnome-96e21305c011a1b5eb4fca78ac550c8b2dfa1362.tar.gz
freebsd-ports-gnome-96e21305c011a1b5eb4fca78ac550c8b2dfa1362.tar.zst
freebsd-ports-gnome-96e21305c011a1b5eb4fca78ac550c8b2dfa1362.zip
- update to 3.6B1
- remove 'SIZE' line from distinfo - sort pkg-plist - make pkg-plist create an empty lib/radius/acct directory (the port does this on it's own, but since no files are in this directory packages don't pick it up) - add patch-funcs.c to allow this port to compile on -current PR: 29099 (reporting compile problem)
Diffstat (limited to 'net/radius')
-rw-r--r--net/radius/Makefile5
-rw-r--r--net/radius/distinfo3
-rw-r--r--net/radius/files/patch-funcs.c14
-rw-r--r--net/radius/pkg-plist11
4 files changed, 23 insertions, 10 deletions
diff --git a/net/radius/Makefile b/net/radius/Makefile
index 5e336209a0fb..fd219756909f 100644
--- a/net/radius/Makefile
+++ b/net/radius/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= radius-basic
-PORTVERSION= 3.6B
-PORTREVISION= 1
+PORTVERSION= 3.6B1
CATEGORIES= net
MASTER_SITES= ftp://ftp.merit.edu/radius/releases/
-DISTNAME= radius.3.6B.basic
+DISTNAME= radius.${PORTVERSION}.basic
MAINTAINER= ports@FreeBSD.org
diff --git a/net/radius/distinfo b/net/radius/distinfo
index ee6727a8cc62..dcbae84aa730 100644
--- a/net/radius/distinfo
+++ b/net/radius/distinfo
@@ -1,2 +1 @@
-MD5 (radius.3.6B.basic.tar.gz) = 13dcc8f99cf4fa3cc421c47aaf48172b
-SIZE (radius.3.6B.basic.tar.gz) = 424424
+MD5 (radius.3.6B1.basic.tar.gz) = 63a63252efb8691f21e40fae72ce11f3
diff --git a/net/radius/files/patch-funcs.c b/net/radius/files/patch-funcs.c
new file mode 100644
index 000000000000..1e230c83bef7
--- /dev/null
+++ b/net/radius/files/patch-funcs.c
@@ -0,0 +1,14 @@
+--- src/funcs.c.orig Sun Aug 26 03:03:53 2001
++++ src/funcs.c Sun Aug 26 03:14:07 2001
+@@ -8333,9 +8333,9 @@
+ return 1;
+ }
+
+-/*The following two lines do not compile on Solaris or Linux or BSDI. */
+-#if !(defined(sys5) || defined(linux) || defined (BSDI))
+ close (fileno(fp));
++/*The following two lines do not compile on Solaris or Linux or BSDI. */
++#if !(defined(sys5) || defined(linux) || defined (BSDI) || defined (__FreeBSD__))
+ fileno(fp) = STDERR_FILENO;
+ #endif /* sys5 */
+
diff --git a/net/radius/pkg-plist b/net/radius/pkg-plist
index 8857c9b67f9c..e95bd907a68f 100644
--- a/net/radius/pkg-plist
+++ b/net/radius/pkg-plist
@@ -1,16 +1,17 @@
-sbin/radiusd
-bin/radpass
+bin/dnscheck
bin/radcheck
+bin/radpass
bin/radpwtst
-bin/dnscheck
+@exec mkdir -p %D/lib/radius/acct
lib/radius/db/authfile.sample
lib/radius/db/clients.sample
lib/radius/db/conversion.pl.sample
lib/radius/db/dictionary.sample
-lib/radius/db/users.sample
-lib/radius/db/xas.fsm.sample
lib/radius/db/engine.config.sample
+lib/radius/db/users.sample
lib/radius/db/vendors.sample
+lib/radius/db/xas.fsm.sample
+sbin/radiusd
@dirrm lib/radius/db
@dirrm lib/radius/acct
@dirrm lib/radius