summaryrefslogtreecommitdiff
path: root/net/arla/patches
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2001-08-09 13:48:58 +0000
committerwennmach <wennmach@pkgsrc.org>2001-08-09 13:48:58 +0000
commit7d3f3992044a9ff8983f3b05d6ddadad61336fb1 (patch)
tree1e2e40d2abaaed8081e2eef3d05f015a696619cc /net/arla/patches
parent25427e4014af739b2df44f9530a97d1430fbea23 (diff)
downloadpkgsrc-7d3f3992044a9ff8983f3b05d6ddadad61336fb1.tar.gz
Upgrade arla to 0.35.5
Most important changes: o added user-land programs: kalog, aklog, arla-cli o improved user-land programs: vos, bos, pts, etc. o added man pages o security fix (in rx) o and tons of bug fixes I included a start script to be placed under /etc/rc.d.
Diffstat (limited to 'net/arla/patches')
-rw-r--r--net/arla/patches/patch-aa11
-rw-r--r--net/arla/patches/patch-ab14
-rw-r--r--net/arla/patches/patch-ac10
-rw-r--r--net/arla/patches/patch-ae33
-rw-r--r--net/arla/patches/patch-ag34
-rw-r--r--net/arla/patches/patch-ak4
-rw-r--r--net/arla/patches/patch-an14
-rw-r--r--net/arla/patches/patch-at26
-rw-r--r--net/arla/patches/patch-au24
-rw-r--r--net/arla/patches/patch-av19
-rw-r--r--net/arla/patches/patch-aw28
-rw-r--r--net/arla/patches/patch-ax16
-rw-r--r--net/arla/patches/patch-ay15
-rw-r--r--net/arla/patches/patch-az15
-rw-r--r--net/arla/patches/patch-ba15
-rw-r--r--net/arla/patches/patch-bb15
-rw-r--r--net/arla/patches/patch-bc24
17 files changed, 189 insertions, 128 deletions
diff --git a/net/arla/patches/patch-aa b/net/arla/patches/patch-aa
index 02564b398b7..99b6569079d 100644
--- a/net/arla/patches/patch-aa
+++ b/net/arla/patches/patch-aa
@@ -1,11 +1,11 @@
-$NetBSD: patch-aa,v 1.2 2000/10/18 16:32:58 wennmach Exp $
+$NetBSD: patch-aa,v 1.3 2001/08/09 13:48:59 wennmach Exp $
Do not add a path to the library search path (-L) to find libsl.a. This will
find kth-krb4's sl library, which is the wrong one.
---- appl/fs/Makefile.in.orig Wed Oct 11 21:19:59 2000
-+++ appl/fs/Makefile.in Wed Oct 18 16:13:28 2000
-@@ -50,14 +50,15 @@
+--- appl/fs/Makefile.in.orig Fri Aug 3 15:24:20 2001
++++ appl/fs/Makefile.in Fri Aug 3 15:27:23 2001
+@@ -54,12 +54,13 @@
READLINE_lib = @LIB_readline@
KAFS_LIBS = @AIX_EXTRA_KAFS@ @KAFS_LIBS@
LIB_tgetent = @LIB_tgetent@
@@ -23,8 +23,5 @@ find kth-krb4's sl library, which is the wrong one.
+ ../../util/libutil.a \
+ ../../lib/sl/libsl.a \
$(READLINE_lib) \
-- -L../../lib/roken -lroken \
-+ ../../lib/roken/libroken.a \
$(RXKAD_LIBS) \
$(KAFS_LIBS) \
- $(RXKAD_LIBS) \
diff --git a/net/arla/patches/patch-ab b/net/arla/patches/patch-ab
index a86d918a2cb..9d1013173fe 100644
--- a/net/arla/patches/patch-ab
+++ b/net/arla/patches/patch-ab
@@ -1,12 +1,11 @@
-$NetBSD: patch-ab,v 1.2 2000/10/18 16:32:58 wennmach Exp $
+$NetBSD: patch-ab,v 1.3 2001/08/09 13:48:59 wennmach Exp $
Do not add a path to the library search path (-L) to find libsl.a. This will
find kth-krb4's sl library, which is the wrong one.
-
---- appl/vos/Makefile.in.orig Wed Oct 11 21:20:05 2000
-+++ appl/vos/Makefile.in Wed Oct 18 16:18:43 2000
-@@ -50,14 +50,15 @@
+--- appl/vos/Makefile.in.orig Fri Aug 3 15:29:25 2001
++++ appl/vos/Makefile.in Fri Aug 3 15:31:34 2001
+@@ -54,12 +54,13 @@
READLINE_lib = @LIB_readline@
KAFS_LIBS = @AIX_EXTRA_KAFS@ @KAFS_LIBS@
LIB_tgetent = @LIB_tgetent@
@@ -24,8 +23,5 @@ find kth-krb4's sl library, which is the wrong one.
+ ../../util/libutil.a \
+ ../../lib/sl/libsl.a \
$(READLINE_lib) \
-- -L../../lib/roken -lroken \
-+ ../../lib/roken/libroken.a \
- $(RXKAD_LIBS) \
- $(KAFS_LIBS) \
+ @LIB_roken@ \
$(RXKAD_LIBS) \
diff --git a/net/arla/patches/patch-ac b/net/arla/patches/patch-ac
index 652acf64f04..c5152d6f7b0 100644
--- a/net/arla/patches/patch-ac
+++ b/net/arla/patches/patch-ac
@@ -1,12 +1,12 @@
-$NetBSD: patch-ac,v 1.1.1.1 2000/06/08 15:56:28 wennmach Exp $
+$NetBSD: patch-ac,v 1.2 2001/08/09 13:48:59 wennmach Exp $
Do not install libsl.a and ss/ss.h. There is a conflict with the libsl.a from
the kth-krb4 package.
---- lib/sl/Makefile.in.orig Mon May 29 21:40:42 2000
-+++ lib/sl/Makefile.in Mon May 29 21:50:14 2000
-@@ -58,18 +58,8 @@
- $(CC) -c $(DEFS) -I../../include -I. -I$(srcdir) $(KRB4_INC_FLAGS) $(CFLAGS) $(CPPFLAGS) $(PICFLAGS) $<
+--- lib/sl/Makefile.in.orig Thu Dec 21 13:35:49 2000
++++ lib/sl/Makefile.in Fri Aug 3 14:33:44 2001
+@@ -61,18 +61,8 @@
+ $(CC) -c $(DEFS) -I../../include -I. -I$(srcdir) $(KRB4_INC_FLAGS) @INC_roken@ $(CFLAGS) $(CPPFLAGS) $(PICFLAGS) $<
install: all
- $(MKINSTALLDIRS) $(DESTDIR)$(includedir)/ss
diff --git a/net/arla/patches/patch-ae b/net/arla/patches/patch-ae
index 13233b3f456..eea5fefc92d 100644
--- a/net/arla/patches/patch-ae
+++ b/net/arla/patches/patch-ae
@@ -1,11 +1,12 @@
-$NetBSD: patch-ae,v 1.2 2000/08/15 16:08:25 wennmach Exp $
+$NetBSD: patch-ae,v 1.3 2001/08/09 13:48:59 wennmach Exp $
Do not install libutil.a and the header files bool.h, hash.h, heap.h, list.h,
-and log.h. There is a potential conflict with other libutils.
+and log.h, nor any of the man pages. There is a potential conflict with other
+libutils.
---- util/Makefile.in.orig Tue May 30 18:49:46 2000
-+++ util/Makefile.in Tue May 30 18:50:13 2000
-@@ -74,17 +74,8 @@
+--- util/Makefile.in.orig Wed Oct 25 09:06:47 2000
++++ util/Makefile.in Fri Aug 3 14:41:35 2001
+@@ -78,31 +78,8 @@
libutil_LIB: $(libutil_OBJS)
install: all
@@ -13,13 +14,27 @@ and log.h. There is a potential conflict with other libutils.
- $(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
+- 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 --git a/net/arla/patches/patch-ag b/net/arla/patches/patch-ag
deleted file mode 100644
index fccbddc1b0c..00000000000
--- a/net/arla/patches/patch-ag
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2000/06/08 15:56:28 wennmach Exp $
-
-Install arlad into $(sbindir), not $(bindir).
-
---- arlad/Makefile.in.orig Wed May 31 23:31:50 2000
-+++ arlad/Makefile.in Wed May 31 23:33:34 2000
-@@ -15,6 +15,7 @@
- libdir = @libdir@
- libexecdir = @libexecdir@
- bindir = @bindir@
-+sbindir = @sbindir@
- sysconfdir = @sysconfdir@
- transform = @program_transform_name@
- ARLACACHEDIR = @ARLACACHEDIR@
-@@ -139,16 +140,16 @@
- $(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) -I. $(REALCFLAGS) $<
-
- install: all
-- $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
-+ $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
- PROG_BIN='$(ARLA_BIN)'; for x in $$PROG_BIN; do \
- f=`echo $$x | sed '$(transform)'`; \
-- $(INSTALL_PROGRAM) $$x $(DESTDIR)$(bindir)/$$f; \
-+ $(INSTALL_PROGRAM) $$x $(DESTDIR)$(sbindir)/$$f; \
- done
-
- uninstall:
- PROG_BIN='$(ARLA_BIN)'; for x in $$PROG_BIN; do \
- f=`echo $$x | sed '$(transform)'`; \
-- rm -f $(DESTDIR)$(bindir)/$$f; \
-+ rm -f $(DESTDIR)$(sbindir)/$$f; \
- done
-
- arlad: $(arlad_OBJS) $(LIBDEPENDS)
diff --git a/net/arla/patches/patch-ak b/net/arla/patches/patch-ak
index ae311cb0cea..ef517f7cb6c 100644
--- a/net/arla/patches/patch-ak
+++ b/net/arla/patches/patch-ak
@@ -1,4 +1,4 @@
-$NetBSD: patch-ak,v 1.2 2000/11/06 15:24:58 wennmach Exp $
+$NetBSD: patch-ak,v 1.3 2001/08/09 13:49:00 wennmach Exp $
Do not print a cryptic message after xfs_mod has been modloaded, say it
in clear text.
@@ -20,7 +20,7 @@ in clear text.
xfs_dev_major = _module.lkm_offset;
- printf ("xfs: cdev: %d, syscall: %d\n",
- xfs_dev_major, xfs_syscall_num);
-+ printf("driver for %s loaded.\n", arla_version);
++ printf("xfs (%s): using cdev %d, syscall %d\n", arla_version, xfs_dev_major, xfs_syscall_num);
}
return ret;
}
diff --git a/net/arla/patches/patch-an b/net/arla/patches/patch-an
index 43ae1416b56..1e749acd598 100644
--- a/net/arla/patches/patch-an
+++ b/net/arla/patches/patch-an
@@ -1,11 +1,11 @@
-$NetBSD: patch-an,v 1.2 2000/10/18 16:32:58 wennmach Exp $
+$NetBSD: patch-an,v 1.3 2001/08/09 13:49:00 wennmach Exp $
Do not add a path to the library search path (-L) to find libsl.a. This will
-find kth-krb4's sl library, which is the wrong one.
+find kth-krb4's sl library, which is the wrong one. The same for libroken.
---- appl/bos/Makefile.in.orig Wed Oct 11 21:19:57 2000
-+++ appl/bos/Makefile.in Wed Oct 18 16:23:34 2000
-@@ -50,14 +50,15 @@
+--- appl/bos/Makefile.in.orig Mon May 28 13:32:03 2001
++++ appl/bos/Makefile.in Sat Aug 4 19:12:32 2001
+@@ -55,14 +55,15 @@
READLINE_lib = @LIB_readline@
KAFS_LIBS = @AIX_EXTRA_KAFS@ @KAFS_LIBS@
LIB_tgetent = @LIB_tgetent@
@@ -23,8 +23,8 @@ find kth-krb4's sl library, which is the wrong one.
+ ../../util/libutil.a \
+ ../../lib/sl/libsl.a \
$(READLINE_lib) \
-- -L../../lib/roken -lroken \
+- @LIB_roken@ \
+ ../../lib/roken/libroken.a \
$(RXKAD_LIBS) \
$(KAFS_LIBS) \
- $(RXKAD_LIBS) \
+ $(RXKAD_LIBS) @LIBS@
diff --git a/net/arla/patches/patch-at b/net/arla/patches/patch-at
index 7a4d97b07ca..3c1fa103edd 100644
--- a/net/arla/patches/patch-at
+++ b/net/arla/patches/patch-at
@@ -1,24 +1,26 @@
-$NetBSD: patch-at,v 1.1 2000/10/18 16:32:59 wennmach Exp $
+$NetBSD: patch-at,v 1.2 2001/08/09 13:49:00 wennmach Exp $
Set up proper path to the LKM for startarla.
---- xfs/bsd/bin/Makefile.in.orig Wed Oct 18 16:50:31 2000
-+++ xfs/bsd/bin/Makefile.in Wed Oct 18 16:53:41 2000
-@@ -19,6 +19,7 @@
+--- xfs/bsd/bin/Makefile.in.orig Mon Jul 16 07:37:45 2001
++++ xfs/bsd/bin/Makefile.in Fri Aug 3 14:53:46 2001
+@@ -20,6 +20,7 @@
libdir = @libdir@
libexecdir = @libexecdir@
bindir = @bindir@
-+lkmdir = @prefix@/lkm
++lkmdir = @prefix@/lkm
+ sbindir = @sbindir@
+ mandir = @mandir@
transform = @program_transform_name@
- ARLACACHEDIR = @ARLACACHEDIR@
-
-@@ -52,7 +53,9 @@
+@@ -58,7 +59,10 @@
$(RM) -f $(PROGRAMS) startarla *.o *~
startarla: startarla.in
-- sed -e ' s!%bindir%!$(bindir)! ; s!%ARLACACHEDIR%!$(ARLACACHEDIR)!' $(srcdir)/startarla.in > $@.new
-+ sed -e 's!%bindir%!$(bindir)!' \
-+ -e 's!%ARLACACHEDIR%!$(ARLACACHEDIR)!' \
-+ -e 's!%lkmdir%!$(lkmdir)!' startarla.in > $@.new
+- sed -e 's!%lkmdir%!$(bindir)!;s!%sbindir%!$(sbindir)!;s!%libexecdir%!$(libexecdir)!;s!%ARLACACHEDIR%!$(ARLACACHEDIR)!' $(srcdir)/startarla.in > $@.new
++ sed -e 's!%lkmdir%!$(lkmdir)!' \
++ -e 's!%sbindir%!$(sbindir)!' \
++ -e 's!%libexecdir%!$(libexecdir)!' \
++ -e 's!%ARLACACHEDIR%!$(ARLACACHEDIR)!' $(srcdir)/startarla.in > $@.new
mv $@.new $@
chmod +x $@
+
diff --git a/net/arla/patches/patch-au b/net/arla/patches/patch-au
deleted file mode 100644
index 6d1b83217d9..00000000000
--- a/net/arla/patches/patch-au
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-au,v 1.1 2000/10/18 16:32:59 wennmach Exp $
-
-We choose to install LKMs into $prefix/lkm, so we have to pay the price
-now and change startarla.
-
---- xfs/bsd/bin/startarla.in.orig Wed Oct 18 16:54:09 2000
-+++ xfs/bsd/bin/startarla.in Wed Oct 18 16:55:09 2000
-@@ -12,6 +12,7 @@
- PATH="/sbin:/usr/sbin:/usr/bin:/bin:%bindir%"
- BINDIR=%bindir%
- CACHEDIR=%ARLACACHEDIR%
-+LKMDIR=%lkmdir%
-
- if [ ! -e $CACHEDIR ] ; then
- mkdir $CACHEDIR
-@@ -27,7 +28,7 @@
- elif [ -x /sbin/kmodload ]; then
- kmodload $BINDIR/xfs_mod.o
- else
-- modload -e xfs_mod -p $BINDIR/xfs_makedev $BINDIR/xfs_mod.o
-+ modload -e xfs_mod -p $BINDIR/xfs_makedev $LKMDIR/xfs_mod.o
- fi
- test -d /afs || mkdir /afs
- mount_xfs /dev/xfs0 /afs
diff --git a/net/arla/patches/patch-av b/net/arla/patches/patch-av
deleted file mode 100644
index 7869a0e08e4..00000000000
--- a/net/arla/patches/patch-av
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-av,v 1.1 2000/11/06 15:24:58 wennmach Exp $
-
-Do not send SIGABRT to arlad if a deadlock could be avoided. This psignal
-is cruft left over from debugging. Also, avoid "interesting" error reports,
-like:
-"xfs_message_rpc: deadlock avoided pid = 8006 != 8006"
-
---- xfs/bsd/xfs_dev-common.c.old Wed Sep 13 08:34:10 2000
-+++ xfs/bsd/xfs_dev-common.c Mon Nov 6 15:50:15 2000
-@@ -399,8 +399,7 @@
-
- if (chan->proc != NULL && proc->p_pid == chan->proc->p_pid) {
- printf("xfs_message_rpc: deadlock avoided"
-- "pid = %u != %u\n", proc->p_pid, chan->proc->p_pid);
-- psignal (proc, SIGABRT);
-+ ", pid = %u == %u\n", proc->p_pid, chan->proc->p_pid);
- return EDEADLK;
- }
-
diff --git a/net/arla/patches/patch-aw b/net/arla/patches/patch-aw
new file mode 100644
index 00000000000..2d7e7af91cd
--- /dev/null
+++ b/net/arla/patches/patch-aw
@@ -0,0 +1,28 @@
+$NetBSD: patch-aw,v 1.1 2001/08/09 13:49:01 wennmach Exp $
+
+Use absolute library paths for linking.
+
+--- appl/afsutils/Makefile.in.orig Mon May 28 13:31:49 2001
++++ appl/afsutils/Makefile.in Sat Aug 4 13:07:43 2001
+@@ -52,13 +52,14 @@
+ RXKAD_LIBS = @MILKO_RXKAD_LIBS@
+ KERNEL_INCLUDE = @KERNEL_INCLUDE@
+ KAFS_LIBS = @AIX_EXTRA_KAFS@ @KAFS_LIBS@
+-LIBS = -L../lib -larlalib \
+- -L../../rxdef -lrxdefclient \
+- -L../../lib/cmd -lcmd \
+- -L../../rx -lrx \
+- -L../../lwp -llwp @PLWP_LIB_FLAGS@ \
+- -L../../lib/ko -lko -L../../util -lutil \
+- @LIB_roken@ \
++LIBS = ../lib/libarlalib.a \
++ ../../rxdef/librxdefclient.a \
++ ../../lib/cmd/libcmd.a \
++ ../../rx/librx.a \
++ ../../lwp/liblwp.a @PLWP_LIB_FLAGS@ \
++ ../../lib/ko/libko.a \
++ ../../util/libutil.a \
++ ../../lib/roken/libroken.a \
+ $(RXKAD_LIBS) \
+ $(KAFS_LIBS) \
+ $(RXKAD_LIBS) @LIBS@
diff --git a/net/arla/patches/patch-ax b/net/arla/patches/patch-ax
new file mode 100644
index 00000000000..ad02baad262
--- /dev/null
+++ b/net/arla/patches/patch-ax
@@ -0,0 +1,16 @@
+$NetBSD: patch-ax,v 1.1 2001/08/09 13:49:01 wennmach Exp $
+
+Don't use a search path for libroken.
+
+--- appl/amon/Makefile.in.orig Sat Aug 4 18:18:55 2001
++++ appl/amon/Makefile.in Sat Aug 4 18:19:42 2001
+@@ -60,7 +60,8 @@
+ $(RXKAD_LIBS) \
+ $(KAFS_LIBS) \
+ $(RXKAD_LIBS) \
+- @LIB_roken@ @LIBS@
++ ../../lib/roken/libroken.a \
++ @LIBS@
+
+ AMON_LIBS = @X_LIBS@ \
+ -lXaw -lXt -lXmu -lXext @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
diff --git a/net/arla/patches/patch-ay b/net/arla/patches/patch-ay
new file mode 100644
index 00000000000..8536b8d140b
--- /dev/null
+++ b/net/arla/patches/patch-ay
@@ -0,0 +1,15 @@
+$NetBSD: patch-ay,v 1.1 2001/08/09 13:49:01 wennmach Exp $
+
+Don't use search path for libroken.
+
+--- appl/kalog/Makefile.in.orig Sat Aug 4 18:30:31 2001
++++ appl/kalog/Makefile.in Sat Aug 4 18:31:21 2001
+@@ -59,7 +59,7 @@
+ -L../../rx -lrx \
+ -L../../lwp -llwp @PLWP_LIB_FLAGS@ \
+ -L../../lib/ko -lko -L../../util -lutil \
+- @LIB_roken@ \
++ ../../lib/roken/libroken.a \
+ $(RXKAD_LIBS) \
+ $(KAFS_LIBS) \
+ $(RXKAD_LIBS) @LIBS@
diff --git a/net/arla/patches/patch-az b/net/arla/patches/patch-az
new file mode 100644
index 00000000000..e69bd405a16
--- /dev/null
+++ b/net/arla/patches/patch-az
@@ -0,0 +1,15 @@
+$NetBSD: patch-az,v 1.1 2001/08/09 13:49:01 wennmach Exp $
+
+Don't use library search path for libroken.
+
+--- appl/pts/Makefile.in.orig Sat Aug 4 18:47:05 2001
++++ appl/pts/Makefile.in Sat Aug 4 18:47:45 2001
+@@ -61,7 +61,7 @@
+ -L../../lib/ko -lko -L../../util -lutil \
+ -L../../lib/sl -lsl \
+ $(READLINE_lib) \
+- @LIB_roken@ \
++ ../../lib/roken/libroken.a \
+ $(RXKAD_LIBS) \
+ $(KAFS_LIBS) \
+ $(RXKAD_LIBS) @LIBS@
diff --git a/net/arla/patches/patch-ba b/net/arla/patches/patch-ba
new file mode 100644
index 00000000000..10ea8f87e40
--- /dev/null
+++ b/net/arla/patches/patch-ba
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Don't use a library search path for libroken.
+
+--- appl/vos/Makefile.in.orig Sat Aug 4 19:01:10 2001
++++ appl/vos/Makefile.in Sat Aug 4 19:01:43 2001
+@@ -62,7 +62,7 @@
+ ../../util/libutil.a \
+ ../../lib/sl/libsl.a \
+ $(READLINE_lib) \
+- @LIB_roken@ \
++ ../../lib/roken/libroken.a \
+ $(RXKAD_LIBS) \
+ $(KAFS_LIBS) \
+ $(RXKAD_LIBS) @LIBS@
diff --git a/net/arla/patches/patch-bb b/net/arla/patches/patch-bb
new file mode 100644
index 00000000000..253652f2021
--- /dev/null
+++ b/net/arla/patches/patch-bb
@@ -0,0 +1,15 @@
+$NetBSD: patch-bb,v 1.1 2001/08/09 13:49:02 wennmach Exp $
+
+Don't use search path for libroken.
+
+--- tests/Makefile.in.orig Sat Aug 4 23:26:21 2001
++++ tests/Makefile.in Sat Aug 4 23:27:50 2001
+@@ -14,7 +14,7 @@
+ CPPFLAGS = @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIB_roken@ @LIBS@
++LIBS = ../lib/roken/libroken.a @LIBS@
+ KAFS_LIBS = @AFS_EXTRA_LIBS@ @KAFS_LIBS@
+ KRB_LIBS = @KRB4_LIB_FLAGS@
+ APPL_LIB = -L../appl/lib -larlalib -L../lib/ko -lko
diff --git a/net/arla/patches/patch-bc b/net/arla/patches/patch-bc
new file mode 100644
index 00000000000..23f066e5431
--- /dev/null
+++ b/net/arla/patches/patch-bc
@@ -0,0 +1,24 @@
+$NetBSD: patch-bc,v 1.1 2001/08/09 13:49:02 wennmach Exp $
+
+Do not install libroken and its header files.
+
+--- lib/roken/Makefile.in.orig Sun Aug 5 12:48:51 2001
++++ lib/roken/Makefile.in Sun Aug 5 12:50:40 2001
+@@ -175,17 +175,8 @@
+ $(CC) -c $(CPPFLAGS) $(DEFS) -I../../include -I$(srcdir) $(CFLAGS) $(PICFLAGS) $<
+
+ install: all
+- $(MKINSTALLDIRS) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+- $(INSTALL_DATA) $(LIB) $(DESTDIR)$(libdir)/$(LIB)
+- for x in $(include_HEADERS); do \
+- $(INSTALL_DATA) $(srcdir)/$$x $(DESTDIR)$(includedir)/$$x; \
+- done
+
+ uninstall:
+- rm -f $(DESTDIR)$(libdir)/$(LIB)
+- for x in $(include_HEADERS); do \
+- rm -f $(DESTDIR)$(includedir)/$$x; \
+- done
+
+ TAGS: $(SOURCES)
+ etags $(SOURCES)