summaryrefslogtreecommitdiff
path: root/net/radius
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-08-26 07:49:38 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-08-26 07:49:38 +0000
commit2c23efd3f6b7cf231622c0ce7b46e7ebc8625abb (patch)
treeb40817dd310ffb3d060195fbd88cad1790190ce2 /net/radius
parent- update to version 0.8.2 (diff)
- 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)
Notes
Notes: svn path=/head/; revision=46927
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