Skip site navigation (1)Skip section navigation (2)
Date:      01 Jul 2004 14:40:59 +0200
From:      Rasmus Kaj <kaj@e.kth.se>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68556: Update port: net/arla to version 0.36.1
Message-ID:  <rqc1xjvc338.fsf@quetzalcoatlite.e.kth.se>
Resent-Message-ID: <200407011250.i61CoPDS021138@freefall.freebsd.org>

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

>Number:         68556
>Category:       ports
>Synopsis:       Update port: net/arla to version 0.36.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 01 12:50:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rasmus Kaj
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
Stacken computer club
>Environment:

	Tested on FreeBSD 5.2.1-RELEASE-p8 i386

>Description:
	The port net/arla, a client for the distributed filesystem
	AFS, is out of date, here is a new version.

	This PR replaces ports/43484

>How-To-Repeat:
	N/A

>Fix:

	Apply the follwing patch to ports/net/arla.  Note: Everything
	in the files directory is removed.

diff -ruN arla-old/Makefile arla/Makefile
--- arla-old/Makefile	Sat Jun 26 01:54:55 2004
+++ arla/Makefile	Thu Jul  1 11:26:40 2004
@@ -6,31 +6,32 @@
 #
 
 PORTNAME=	arla
-PORTVERSION=	0.35.6
+PORTVERSION=	0.36.2
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.stacken.kth.se/pub/arla/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	rasmus@kaj.se
 COMMENT=	A free AFS client implementation
 
-ROKEN=		"Does not build"
-
-USE_XLIB=	yes
-
-.if !exists(/usr/lib/libkafs.a)
-IGNORE=		requires kerberos
-.endif
+LIB_DEPENDS=	roken.16:${PORTSDIR}/security/heimdal
 
 .if !exists(/usr/src/sys/kern/vnode_if.src)
 IGNORE=		requires kernel source
 .endif
 
+USE_XLIB=	yes
 GNU_CONFIGURE=	yes
-MAN1=		rxdebug.1 tokens.1 unlog.1 aklog.1 klog.1 fs.1 kalog.1 pts.1 \
-		udebug.1
-MAN3=		cmd.3
-MAN5=		CellServDB.5 DynRootDB.5 ThisCell.5 SuidCells.5
-MAN8=		mount_xfs.8 umount_xfs.8 arlad.8 arla-cli.8 vos.8 bos.8
-INFO=		arla
+CONFIGURE_ARGS=	--with-roken=${PREFIX} --with-sl=${PREFIX}
+# For some reason, the arla configure script doesn't like a target argument.
+CONFIGURE_TARGET=
+MAN1=		afstool.1 arla-send-pr.1 fs.1 pts.1 rxdebug.1 tokens.1 udebug.1
+MAN3=		log_close.3 log_get_mask.3 log_log.3 log_mask2str.3	\
+		log_open.3 log_set_mask.3 log_set_mask_str.3		\
+		log_unit_free.3 log_unit_init.3 log_vlog.3
+MAN4=		nnpfs.4
+MAN5=		AliasDB.5 CellServDB.5 DynRootDB.5 SuidCells.5 ThisCell.5 \
+		arla.conf.5
+MAN8=		arla-cli.8 arlad.8 bos.8 mount_nnpfs.8 umount_nnpfs.8 vos.8
+INFO=		arla send-pr
 
 .include <bsd.port.mk>
diff -ruN arla-old/distinfo arla/distinfo
--- arla-old/distinfo	Sat Jun 26 01:54:55 2004
+++ arla/distinfo	Tue Jun 29 15:25:21 2004
@@ -1,2 +1,2 @@
-MD5 (arla-0.35.6.tar.gz) = 42dbf03c908faf72ae38dfb3cfdffe53
-SIZE (arla-0.35.6.tar.gz) = 1290419
+MD5 (arla-0.36.2.tar.gz) = 42743c0ca3f4a92971da137998388195
+SIZE (arla-0.36.2.tar.gz) = 2080959
diff -ruN arla-old/files/patch-aa arla/files/patch-aa
--- arla-old/files/patch-aa	Sat Jun 26 01:54:55 2004
+++ arla/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,34 +0,0 @@
---- util/Makefile.in.orig	Sat Sep  8 18:55:41 2001
-+++ util/Makefile.in	Sat Sep  8 18:56:07 2001
-@@ -78,31 +78,8 @@
- libutil_LIB:	$(libutil_OBJS)
- 
- install:	all
--		$(MKINSTALLDIRS) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
--		$(INSTALL_DATA) $(LIB) $(DESTDIR)$(libdir)/$(LIB)
--		for i in $(HEADERS); do \
--		  $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/$$i; \
--		done ; \
--		MANPAGES='$(MANPAGES)'; for x in $$MANPAGES; do \
--			n=`echo $$x | sed 's/\(.*\)\.[1-9a-zA-Z]*$$/\1/'`; \
--			e=`echo $$x | sed 's/.*\.\([1-9a-zA-Z]*\)$$/\1/'`; \
--			f=`echo $$n | sed '$(transform)'`; \
--			$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$$e ; \
--			$(INSTALL_DATA) $(srcdir)/$$x \
--				$(DESTDIR)$(mandir)/man$$e/$$f.$$e; \
--		done
- 
- uninstall:
--		rm -f $(DESTDIR)$(libdir)/$(LIB)
--		for i in $(HEADERS); do \
--			rm -f $(DESTDIR)$(includedir)/$$i; \
--		done ; \
--		MANPAGES='$(MANPAGES)'; for x in $$MANPAGES; do \
--			n=`echo $$x | sed 's/\(.*\)\.[1-9a-zA-Z]*$$/\1/'`; \
--			e=`echo $$x | sed 's/.*\.\([1-9a-zA-Z]*\)$$/\1/'`; \
--			f=`echo $$n | sed '$(transform)'`; \
--			rm -rf $(DESTDIR)$(mandir)/$$f.$$e; \
--		done
- 
- libutil.a:	$(libutil_OBJS)
- 		$(AR) cr $@ $(libutil_OBJS)
diff -ruN arla-old/files/patch-ac arla/files/patch-ac
--- arla-old/files/patch-ac	Sat Jun 26 01:54:55 2004
+++ arla/files/patch-ac	Thu Jan  1 01:00:00 1970
@@ -1,31 +0,0 @@
-Index: xfs/bsd/xfs_message.c
-===================================================================
-RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/xfs_message.c,v
-retrieving revision 1.64.2.3
-diff -u -w -r1.64.2.3 xfs_message.c
---- xfs/bsd/xfs_message.c	2001/10/19 04:29:31	1.64.2.3
-+++ xfs/bsd/xfs_message.c	2002/01/07 04:28:29
-@@ -473,6 +473,15 @@
- 	/* XXX see comment in xfs_node_find */
- 	/* XXXSMP do gone[l] need to get mntvnode_slock ? */
- 
-+#if __FreeBSD_version >= 440002
-+	for(vp = TAILQ_FIRST(&XFS_TO_VFS(&xfs[fd])->mnt_nvnodelist);
-+	    vp != NULL; 
-+	    vp = next) {
-+
-+	    next = TAILQ_NEXT(vp, v_nmntvnodes);
-+	    gc_vnode (vp, p);
-+	}
-+#else
- 	for(vp = XFS_TO_VFS(&xfs[fd])->mnt_vnodelist.lh_first;
- 	    vp != NULL; 
- 	    vp = next) {
-@@ -480,6 +489,7 @@
- 	    next = vp->v_mntvnodes.le_next;
- 	    gc_vnode (vp, p);
- 	}
-+#endif
-     } else {
- 	struct xfs_node *t;
- 	int i;
diff -ruN arla-old/files/patch-ad arla/files/patch-ad
--- arla-old/files/patch-ad	Sat Jun 26 01:54:55 2004
+++ arla/files/patch-ad	Thu Jan  1 01:00:00 1970
@@ -1,32 +0,0 @@
-Index: xfs/bsd/xfs_node-bsd.c
-===================================================================
-RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/xfs_node-bsd.c,v
-retrieving revision 1.47.2.4
-diff -u -w -r1.47.2.4 xfs_node-bsd.c
---- xfs/bsd/xfs_node-bsd.c	2001/09/17 01:57:20	1.47.2.4
-+++ xfs/bsd/xfs_node-bsd.c	2002/01/07 04:31:03
-@@ -272,6 +272,15 @@
-      *       on FreeBSD once.
-      */
- 
-+#if __FreeBSD_version >= 440002
-+    for(t = TAILQ_FIRST(&XFS_TO_VFS(xfsp)->mnt_nvnodelist);
-+	t != NULL; 
-+	t = TAILQ_NEXT(t, v_nmntvnodes)) {
-+	xn = VNODE_TO_XNODE(t);
-+	if (xn && xfs_handle_eq(&xn->handle, handlep))
-+	    break;
-+    }
-+#else
-     for(t = XFS_TO_VFS(xfsp)->mnt_vnodelist.lh_first;
- 	t != NULL; 
- 	t = t->v_mntvnodes.le_next) {
-@@ -279,7 +288,7 @@
- 	if (xn && xfs_handle_eq(&xn->handle, handlep))
- 	    break;
-     }
--
-+#endif
-     if (t != NULL)
- 	return xn;
-     else
diff -ruN arla-old/pkg-descr arla/pkg-descr
--- arla-old/pkg-descr	Sat Jun 26 01:54:55 2004
+++ arla/pkg-descr	Mon Jun 28 23:39:46 2004
@@ -1,19 +1,8 @@
-Arla is a free AFS client implementation.
-
-The main goal of the Arla project is to make a fully functional client with all
-capabilities of commercial AFS. Other planned and implemented things are
-all the normal management tools and a server.
-
-Version 0.35.5 status:
-
-* Read/write support
-* Authentication (with kth-krb4)
-* Working filesystem on OpenBSD, FreeBSD, NetBSD, Linux and Solaris
-* Some administration programs (fs, vos and pts)
+Arla is a free AFS client implementation.  AFS is a distributed
+filesystem featuring a global namespace, location transparency,
+kerberos authentication, and fine-grained access control lists.
 
 WWW: http://www.stacken.kth.se/projekt/arla/
 
-This port requires kerberos
-
-Peter Hawkins
-thepish@freebsd.org
+- Rasmus Kaj
+rasmus@kaj.se
diff -ruN arla-old/pkg-plist arla/pkg-plist
--- arla-old/pkg-plist	Sat Jun 26 01:54:55 2004
+++ arla/pkg-plist	Thu Jul  1 12:08:04 2004
@@ -1,55 +1,42 @@
-bin/aklog
+bin/afstool
 bin/amon
+bin/arla-send-pr
 bin/bos
 bin/fs
-bin/kalog
-bin/klog
-bin/mk_cmds
+bin/nnpfs.ko
 bin/pts
 bin/rxdebug
 bin/tokens
 bin/udebug
-bin/unlog
-bin/up
 bin/vos
-bin/xfs.ko
 bin/ydr
-@unexec if cmp -s %D/etc/CellServDB %D/etc/CellServDB.default; then rm -f %D/etc/CellServDB; fi
 etc/CellServDB.default
-@unexec if cmp -s %D/etc/SuidCells %D/etc/SuidCells.default; then rm -f %D/etc/SuidCells; fi
 etc/SuidCells.default
-@unexec if cmp -s %D/etc/ThisCell %D/etc/ThisCell.default; then rm -f %D/etc/ThisCell; fi
 etc/ThisCell.default
-@unexec if cmp -s %D/etc/arla.conf %D/etc/arla.conf.default; then rm -f %D/etc/arla.conf; fi
 etc/arla.conf.default
-include/afs/cmd.h
 include/arlalib.h
+include/arlamath.h
 include/atypes.h
-include/auth.h
-include/base64.h
+include/bool.h
 include/bos.cs.h
 include/cb.cs.h
 include/cb.h
 include/cb.ss.h
-include/cellconfig.h
 include/fs.cs.h
 include/fs.h
 include/fs.ss.h
 include/fs_errors.h
-include/getarg.h
+include/hash.h
+include/heap.h
 include/ka-procs.h
+include/list.h
 include/lock.h
+include/log.h
 include/lwp.h
-include/parse_bytes.h
-include/parse_time.h
-include/parse_units.h
 include/preempt.h
 include/pts.cs.h
 include/pts.h
 include/pts.ss.h
-include/resolve.h
-include/roken.h
-include/rtbl.h
 include/rx/rx.h
 include/rx/rx_clock.h
 include/rx/rx_event.h
@@ -63,44 +50,44 @@
 include/rx/rx_trace.h
 include/rx/rx_user.h
 include/rx/rxgencon.h
-include/rx/rxkad.h
-include/ss/ss.h
 include/timer.h
 include/ubik.cs.h
 include/ubik.ss.h
 include/vldb.cs.h
 include/vldb.h
 include/vldb.ss.h
-info/arla.info
-lib/libacl.a
+lib/emacs/site-lisp/send-pr.el
 lib/libarlalib.a
+lib/libarlautil.a
+lib/libarlautil.la
 lib/libbosclient.a
 lib/libbosserver.a
 lib/libbufdir.a
-lib/libcmd.a
 lib/libkaclient.a
 lib/libkaserver.a
-lib/libko.a
 lib/liblwp.a
 lib/libptclient.a
 lib/libptserver.a
-lib/libroken.a
 lib/librx.a
+lib/librxcbclient.a
+lib/librxcbserver.a
 lib/librxdefclient.a
 lib/librxfsserver.a
-lib/librxkad.a
 lib/librxvlserver.a
 lib/librxvolserver.a
-lib/libsl.a
-lib/libss.a
 libexec/arlad
+sbin/afsfsperf
 sbin/arla-cli
+sbin/mount_nnpfs
+sbin/nnpfs_makedev
 sbin/rxperf
-sbin/mount_xfs
 sbin/startarla
-sbin/umount_xfs
-sbin/xfs_makedev
-@dirrm include/afs
+sbin/umount_nnpfs
+share/gnats/stacken
+share/nls/POSIX
+share/nls/en_US.US-ASCII
+@dirrm share/gnats
+@dirrm lib/emacs/site-lisp
+@dirrm lib/emacs
 @dirrm include/rx
-@dirrm include/ss
-@unexec rmdir cache 2>/dev/null || true
+@dirrm cache




-- 
Rasmus Kaj ----------------------------------------------- rasmus@kaj.se
 \                         What if this weren't a hypothetical question?
  \------------------------------------- http://www.stacken.kth.se/~kaj/
>Release-Note:
>Audit-Trail:
>Unformatted:



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