summaryrefslogtreecommitdiff
path: root/net/arla/patches/patch-ah
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2003-01-14 12:00:08 +0000
committerwennmach <wennmach@pkgsrc.org>2003-01-14 12:00:08 +0000
commit27f579f1db0f63555a07cd35cedf4916887af07d (patch)
tree2c135e18cae50f19d8460b73adb5cca190f53827 /net/arla/patches/patch-ah
parenta1a69784ca52f48ee39440a8f1026ca807f9459d (diff)
downloadpkgsrc-27f579f1db0f63555a07cd35cedf4916887af07d.tar.gz
Update arla to 0.35.12pre1.
Prior versions had two major bugs that could lead to kernel panics on NetBSD-1.6 and -current. mmap(2)ing a file residing beneath /afs would trigger the panic. Thanks to Love <lha@stacken.kth.se> for preparing the snapshot.
Diffstat (limited to 'net/arla/patches/patch-ah')
-rw-r--r--net/arla/patches/patch-ah35
1 files changed, 13 insertions, 22 deletions
diff --git a/net/arla/patches/patch-ah b/net/arla/patches/patch-ah
index 8a7ad9b1905..4c136a83603 100644
--- a/net/arla/patches/patch-ah
+++ b/net/arla/patches/patch-ah
@@ -1,45 +1,36 @@
-$NetBSD: patch-ah,v 1.2 2000/08/15 16:08:25 wennmach Exp $
+$NetBSD: patch-ah,v 1.3 2003/01/14 12:00:09 wennmach Exp $
Install xfs_mod.o into $(lkmdir), not $(bindir).
Do not strip xfs_mod.o while installing it.
---- xfs/bsd/Makefile.in.orig Thu Jun 22 04:24:42 2000
-+++ xfs/bsd/Makefile.in Wed Aug 9 16:09:04 2000
-@@ -18,6 +18,7 @@
+--- xfs/bsd/Makefile.in.orig Fri Jan 10 14:18:09 2003
++++ xfs/bsd/Makefile.in Fri Jan 10 14:22:48 2003
+@@ -19,6 +19,7 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
-+INSTALL_LKM = ${INSTALL_PROGRAM:C/-s//}
++INSTALL_LKMD = ${INSTALL_PROGRAM:C/-s//}
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
-@@ -26,6 +27,7 @@
+@@ -27,6 +28,7 @@
libdir = @libdir@
libexecdir = @libexecdir@
bindir = @bindir@
-+lkmdir = $(exec_prefix)/lkm
++lkmdir = $(exec_prefix)/lkm
transform = @program_transform_name@
EXECSUFFIX = @EXECSUFFIX@
-@@ -111,10 +113,10 @@
- ./bin/umount_xfs /afs
+@@ -117,10 +119,10 @@
+ $(INSTALL_DATA) Info.plist $(KEXTDIR)/Contents
- install: all
+ install-bsd:
- $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
+ $(MKINSTALLDIRS) $(DESTDIR)$(lkmdir)
PROG_BIN='$(XFS_BIN)'; for x in $$PROG_BIN; do \
f=`echo $$x | sed '$(transform)'`; \
- $(INSTALL_PROGRAM) $$x $(DESTDIR)$(bindir)/$$f; \
-+ $(INSTALL_LKM) $$x $(DESTDIR)$(lkmdir)/$$f; \
++ $(INSTALL_LKMD) $$x $(DESTDIR)$(lkmdir)/$$f; \
done
- for i in lkm subsys modules; do \
- if test -d /$$i; then \
-@@ -126,7 +128,7 @@
- uninstall:
- PROG_BIN='$(XFS_BIN)'; for x in $$PROG_BIN; do \
- f=`echo $$x | sed '$(transform)'`; \
-- rm -f $(DESTDIR)$(bindir)/$$f; \
-+ rm -f $(DESTDIR)$(lkmdir)/$$f; \
- done
- for i in lkm subsys modules; do \
- if test -d /$$i; then \
+
+ install: all $(INSTALL_LKM)