ports/79412: [maintainer update] Update to .9.10, other maintenance
Adam Jette
jettea46 at yahoo.com
Thu Mar 31 20:50:05 UTC 2005
>Number: 79412
>Category: ports
>Synopsis: [maintainer update] Update to .9.10, other maintenance
>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: Thu Mar 31 20:50:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Adam Jette
>Release: FreeBSD 5.3-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD twist 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Tue Mar 8 20:26:34 EST 2005 jettea at twist:/usr/src/sys/GEN i386
>Description:
Upgrade to version .9.10. Previous port was not working on 5.X due to source using ARCH as a variable in make files, fixed that. Now copying over configuration files to sample files, so as to not destroy previous configs.
>How-To-Repeat:
>Fix:
--- openradius_new.diff begins here ---
diff -ruN openradiusold/Makefile openradius/Makefile
--- openradiusold/Makefile Tue Mar 8 18:31:50 2005
+++ openradius/Makefile Thu Mar 31 14:31:23 2005
@@ -6,7 +6,7 @@
#
PORTNAME= openradius
-PORTVERSION= 0.9.9
+PORTVERSION= 0.9.10
CATEGORIES= net
MASTER_SITES= http://www.xs4all.nl/~evbergen/openradius/download/ \
http://www.mirrors.wiretapped.net/security/authentication/radius/openradius/
@@ -22,11 +22,19 @@
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Broken by make(1) changes on FreeBSD >= 5.x"
-.endif
-
post-install:
+# Configuration, copy over to sample files
+ ${MKDIR} ${PREFIX}/etc/${PORTNAME}
+.for FILE in dictionary behaviour configuration
+ ${INSTALL_DATA} ${WRKSRC}/etc/${FILE} \
+ ${PREFIX}/etc/${PORTNAME}/${FILE}.sample
+.endfor
+# Copy over legacy config files to sample
+ ${MKDIR} ${PREFIX}/etc/${PORTNAME}/legacy
+.for FILE in clients nases realms users
+ ${INSTALL_DATA} ${WRKSRC}/etc/legacy/${FILE} \
+ ${PREFIX}/etc/${PORTNAME}/legacy/${FILE}.sample
+.endfor
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff -ruN openradiusold/distinfo openradius/distinfo
--- openradiusold/distinfo Tue Mar 8 18:31:50 2005
+++ openradius/distinfo Wed Mar 30 16:28:55 2005
@@ -1,2 +1,2 @@
-MD5 (openradius-0.9.9.tar.gz) = ab7fbbf7a9f1d95306d3f5a58859ca22
-SIZE (openradius-0.9.9.tar.gz) = 218559
+MD5 (openradius-0.9.10.tar.gz) = 73ef55461c7fff738045c4d964a8c669
+SIZE (openradius-0.9.10.tar.gz) = 231504
diff -ruN openradiusold/files/patch-COMMONRules.mk openradius/files/patch-COMMONRules.mk
--- openradiusold/files/patch-COMMONRules.mk Wed Dec 31 19:00:00 1969
+++ openradius/files/patch-COMMONRules.mk Thu Mar 31 15:11:46 2005
@@ -0,0 +1,11 @@
+--- common/Rules.mk.orig Thu Mar 31 15:10:39 2005
++++ common/Rules.mk Thu Mar 31 15:10:49 2005
+@@ -29,7 +29,7 @@
+ $(OBJS_$(d)): $(d)/platform.h
+
+ $(d)/common.a: $(OBJS_$(d))
+- $(ARCH)
++ $(ARTOUSE)
+
+ $(d)/platform.h: $(d)/Rules.mk
+ $(DEFHDR) $@ $(S_CF_U_INT32_T) $(S_CF_VSNPRINTF) $(S_CF_SYSLOG)
diff -ruN openradiusold/files/patch-ETCRules.mk openradius/files/patch-ETCRules.mk
--- openradiusold/files/patch-ETCRules.mk Wed Dec 31 19:00:00 1969
+++ openradius/files/patch-ETCRules.mk Thu Mar 31 10:52:22 2005
@@ -0,0 +1,13 @@
+--- etc/Rules.mk.orig Thu Mar 31 10:50:37 2005
++++ etc/Rules.mk Thu Mar 31 10:50:29 2005
+@@ -11,9 +11,7 @@
+
+ CMD_INSTETC := $(CMD_INSTETC) \
+ $(INST) $(d)/subdicts/* -m 644 -d $(DIR_ETC)/subdicts \
+- $(d)/modules/* -m 644 -d $(DIR_ETC)/modules \
+- $(d)/legacy/* -m 640 -d $(DIR_ETC)/legacy ;
+-
++ $(d)/modules/* -m 644 -d $(DIR_ETC)/modules ;
+
+ # Standard things
+
diff -ruN openradiusold/files/patch-LANGUAGERules.mk openradius/files/patch-LANGUAGERules.mk
--- openradiusold/files/patch-LANGUAGERules.mk Wed Dec 31 19:00:00 1969
+++ openradius/files/patch-LANGUAGERules.mk Thu Mar 31 15:14:23 2005
@@ -0,0 +1,11 @@
+--- language/Rules.mk.orig Thu Mar 31 15:13:48 2005
++++ language/Rules.mk Thu Mar 31 15:13:56 2005
+@@ -31,7 +31,7 @@
+ $(COMP)
+
+ $(d)/language.a: $(LIBOBJS_$(d))
+- $(ARCH)
++ $(ARTOUSE)
+
+ $(d)/langtest: $(TSTOBJS_$(d)) common/common.a
+ $(LINK)
diff -ruN openradiusold/files/patch-Rules.mk openradius/files/patch-Rules.mk
--- openradiusold/files/patch-Rules.mk Wed Dec 31 19:00:00 1969
+++ openradius/files/patch-Rules.mk Thu Mar 31 10:56:24 2005
@@ -0,0 +1,15 @@
+--- Rules.mk.orig Thu Mar 31 10:55:15 2005
++++ Rules.mk Thu Mar 31 10:55:43 2005
+@@ -69,12 +69,7 @@
+ $(CMD_INSTBIN)
+ $(INST) $(TGT_SBIN) -m 750 -d $(DIR_SBIN)
+ $(CMD_INSTSBIN)
+-ifeq ($(wildcard $(DIR_ETC)/*),)
+- $(INST) $(TGT_ETC) -m 644 -d $(DIR_ETC)
+ $(CMD_INSTETC)
+-else
+- @echo Configuration directory $(DIR_ETC) already present -- skipping
+-endif
+ $(INST) $(TGT_LIB) -m 750 -d $(DIR_LIB)
+ $(CMD_INSTLIB)
+ @echo
diff -ruN openradiusold/pkg-plist openradius/pkg-plist
--- openradiusold/pkg-plist Tue Mar 8 18:31:50 2005
+++ openradius/pkg-plist Thu Mar 31 09:45:57 2005
@@ -1,38 +1,32 @@
-etc/openradius/behaviour
-etc/openradius/configuration
-etc/openradius/behaviour.sample-ldap
-etc/openradius/behaviour.sample-ldap-authbind
-etc/openradius/behaviour.sample-mysql
-etc/openradius/behaviour.sample-postgres
-etc/openradius/behaviour.sample-unixpass
-etc/openradius/behaviour.sample-usersfile
-etc/openradius/configuration.sample-ldap
-etc/openradius/configuration.sample-ldap-authbind
-etc/openradius/configuration.sample-mysql
-etc/openradius/configuration.sample-postgres
-etc/openradius/configuration.sample-unixpass
-etc/openradius/configuration.sample-usersfile
-etc/openradius/dictionary
-
-etc/openradius/legacy/clients
-etc/openradius/legacy/users
-etc/openradius/legacy/realms
+etc/openradius/behaviour.sample
+etc/openradius/configuration.sample
+etc/openradius/dictionary.sample
+
+etc/openradius/legacy/clients.sample
+etc/openradius/legacy/nases.sample
+etc/openradius/legacy/users.sample
+etc/openradius/legacy/realms.sample
@dirrm etc/openradius/legacy
etc/openradius/modules/radldap.attrmap
@dirrm etc/openradius/modules
+etc/openradius/subdicts/dict.ascend
etc/openradius/subdicts/dict.cisco
+etc/openradius/subdicts/dict.erx
+etc/openradius/subdicts/dict.garderos
etc/openradius/subdicts/dict.internal
etc/openradius/subdicts/dict.microsoft
+etc/openradius/subdicts/dict.nomadix
etc/openradius/subdicts/dict.rfc2869
etc/openradius/subdicts/dict.stdacct
etc/openradius/subdicts/dict.stdauth
etc/openradius/subdicts/dict.str-ldap
+etc/openradius/subdicts/dict.tnova
etc/openradius/subdicts/dict.tunnel
etc/openradius/subdicts/dict.usr
etc/openradius/subdicts/dict.vendors
-etc/openradius/subdicts/dict.ascend
+etc/openradius/subdicts/dict.wispr
@dirrm etc/openradius/subdicts
@dirrm etc/openradius
@@ -40,6 +34,7 @@
lib/openradius/ascfile
lib/openradius/delay
lib/openradius/radclient
+lib/openradius/radldap
lib/openradius/radlogger
lib/openradius/radsql
lib/openradius/unixpasswd
@@ -52,3 +47,6 @@
bin/radtest
sbin/radiusd
+
+share/nls/POSIX
+share/nls/en_US.US-ASCII
diff -ruN openradiusold/scripts/configure openradius/scripts/configure
--- openradiusold/scripts/configure Tue Mar 8 18:31:50 2005
+++ openradius/scripts/configure Thu Mar 31 15:12:55 2005
@@ -57,7 +57,7 @@
CMPLR = ./build/ccd-gcc
DEFHDR = ./build/hdr
INST = ./build/install
-ARCH = ar rc \$@ \$^
+ARTOUSE = ar rc \$@ \$^
#
COMP = \$(CMPLR) \$(CF_ALL) \$(CF_TGT) -o \$@ -c \$<
LINK = \$(CMPLR) \$(LF_ALL) \$(LF_TGT) -o \$@ \$^ \$(LL_TGT) \$(LL_ALL)
--- openradius_new.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list