From owner-freebsd-ports Sun Feb 27 22:12:37 2000 Delivered-To: freebsd-ports@freebsd.org Received: from hunahpu.sics.se (hunahpu.sics.se [193.10.66.220]) by hub.freebsd.org (Postfix) with ESMTP id B7F7B37B763; Sun, 27 Feb 2000 22:12:28 -0800 (PST) (envelope-from root@hunahpu.sics.se) Received: (from root@localhost) by hunahpu.sics.se (8.9.3/8.9.3) id FAA14969; Mon, 28 Feb 2000 05:42:17 +0100 (CET) (envelope-from root) Date: Mon, 28 Feb 2000 05:42:17 +0100 (CET) Message-Id: <200002280442.FAA14969@hunahpu.sics.se> To: FreeBSD-gnats-submit@freebsd.org Subject: working port for arla-0.31 From: assar@stacken.kth.se Cc: thepish@freebsd.org, ports@freebsd.org Cc: assar@stacken.kth.se X-send-pr-version: 3.2 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Submitter-Id: current-users >Originator: Assar Westerlund >Organization: Arla-hackers-R-us >Confidential: no >Synopsis: working port for arla-0.31 >Severity: serious >Priority: high >Category: ports >Release: FreeBSD 4.0-CURRENT i386 >Class: sw-bug >Environment: -current >Description: The current arla port is based on (old) arla 0.28 and does not build on 4.0-current. This update fixes both of these problems. I've sent in earlier patches to which nothing happened, they were assigned to the maintainer (thepish). As far as I can tell, the maintainer does not have time to deal with this. I would appreciate it a lot if this can be applied so that 4.0 gets shipped with a working arla. Feel free to send any questions to me. >How-To-Repeat: cd /usr/ports/net/arla && make >Fix: diff -x *~ -x work -ruw -N arla.orig/Makefile arla/Makefile --- arla.orig/Makefile Fri Dec 10 20:27:08 1999 +++ arla/Makefile Mon Feb 28 05:28:12 2000 @@ -6,7 +6,7 @@ # $FreeBSD: ports/net/arla/Makefile,v 1.8 1999/12/10 19:27:08 obrien Exp $ # -DISTNAME= arla-0.28 +DISTNAME= arla-0.31 CATEGORIES= net MASTER_SITES= ftp://ftp.stacken.kth.se/pub/arla/ diff -x *~ -x work -ruw -N arla.orig/files/md5 arla/files/md5 --- arla.orig/files/md5 Fri Dec 10 20:27:09 1999 +++ arla/files/md5 Mon Feb 28 05:29:27 2000 @@ -1 +1 @@ -MD5 (arla-0.28.tar.gz) = 49de77ef617ab0caebee2f5401fec4f3 +MD5 (arla-0.31.tar.gz) = a29b1c2815246cf98317af466ac19f3a diff -x *~ -x work -ruw -N arla.orig/patches/patch-ab arla/patches/patch-ab --- arla.orig/patches/patch-ab Wed Sep 9 07:51:30 1998 +++ arla/patches/patch-ab Thu Jan 1 01:00:00 1970 @@ -1,40 +0,0 @@ ---- xfs/bsd/bin/Makefile.in.orig Fri Jul 31 10:07:17 1998 -+++ xfs/bsd/bin/Makefile.in Wed Sep 9 14:32:36 1998 -@@ -10,6 +10,7 @@ - - INSTALL = @INSTALL@ - INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_DATA = @INSTALL_DATA@ - MKINSTALLDIRS = @top_srcdir@/mkinstalldirs - -@@ -21,7 +22,7 @@ - transform = @program_transform_name@ - ARLACACHEDIR = @ARLACACHEDIR@ - --XFS_BIN = $(MOUNT_PROG) $(UMOUNT_PROG) @OSF1_FALSE@ startarla -+XFS_BIN = $(MOUNT_PROG) $(UMOUNT_PROG) @OSF1_FALSE@ - - DEFS = @DEFS@ -DDEBUG - CFLAGS = @CFLAGS@ -@@ -37,7 +38,7 @@ - - PROGS = $(MOUNT_PROG) $(UMOUNT_PROG) - --all: $(XFS_BIN) -+all: $(XFS_BIN) startarla - - .c.o: - $(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) -I../../../include -I$(srcdir)/../../../include $< -@@ -65,7 +66,10 @@ - f=`echo $$x | sed '$(transform)'`; \ - $(INSTALL_PROGRAM) $$x $(DESTDIR)$(bindir)/$$f; \ - done -- $(INSTALL_PROGRAM) $(srcdir)/xfs_makedev $(DESTDIR)$(bindir)/xfs_makedev -+ for x in $(srcdir)/xfs_makedev startarla; do \ -+ f=`echo $$x | sed '$(transform)'`; \ -+ $(INSTALL_SCRIPT) $$x $(DESTDIR)$(bindir)/$$f; \ -+ done - - uninstall: - PROG_BIN='$(XFS_BIN)'; for x in $$PROG_BIN; do \ diff -x *~ -x work -ruw -N arla.orig/patches/patch-ad arla/patches/patch-ad --- arla.orig/patches/patch-ad Fri Dec 10 20:27:10 1999 +++ arla/patches/patch-ad Thu Jan 1 01:00:00 1970 @@ -1,14 +0,0 @@ ---- xfs/bsd/xfs_wrap-bsd.c.orig Tue Nov 16 15:29:00 1999 -+++ xfs/bsd/xfs_wrap-bsd.c Fri Dec 10 10:48:27 1999 -@@ -182,7 +182,11 @@ - - #define XFS_DEV_NO 128 - -+#if defined(__FreeBSD__) && __FreeBSD__ >= 4 -+DEV_MODULE(xfsdev, xfs_load, NULL); -+#else - DEV_MODULE(xfsdev, XFS_DEV_NO, NOMAJ, xfs_dev, xfs_load, NULL); -+#endif - - #else /* DEV_MODULE */ - diff -x *~ -x work -ruw -N arla.orig/patches/patch-ae arla/patches/patch-ae --- arla.orig/patches/patch-ae Fri Dec 10 20:27:11 1999 +++ arla/patches/patch-ae Thu Jan 1 01:00:00 1970 @@ -1,12 +0,0 @@ ---- xfs/bsd/Makefile.in.orig Thu Feb 4 13:08:42 1999 -+++ xfs/bsd/Makefile.in Fri Dec 10 11:03:57 1999 -@@ -115,6 +115,9 @@ - f=`echo $$x | sed '$(transform)'`; \ - $(INSTALL_PROGRAM) $$x $(DESTDIR)$(bindir)/$$f; \ - done -+ if test -d /modules; then \ -+ $(INSTALL_PROGRAM) $(MODULE) $(DESTDIR)/modules/$(MODULE); \ -+ fi - if test -d /lkm; then \ - $(INSTALL_PROGRAM) $(MODULE) $(DESTDIR)/lkm/$(MODULE); \ - fi diff -x *~ -x work -ruw -N arla.orig/pkg/DESCR arla/pkg/DESCR --- arla.orig/pkg/DESCR Mon May 3 07:24:57 1999 +++ arla/pkg/DESCR Mon Feb 28 05:35:30 2000 @@ -4,7 +4,7 @@ capabilities of commercial AFS. Other planned and implemented things are all the normal management tools and a server. -Version 0.9 status: +Version 0.31 status: * Read/write support * Authentication (with kth-krb4) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message