diff options
author | fredb <fredb@pkgsrc.org> | 1999-10-22 10:15:46 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 1999-10-22 10:15:46 +0000 |
commit | b15813653646ae7d2f4c8e36d25858400e2918cb (patch) | |
tree | f5573585c53aa465e46eab1d5f538c445ac498f1 /sysutils/xhfs | |
parent | b16573760c166e79ed8c2ea598c501b045a102db (diff) | |
download | pkgsrc-b15813653646ae7d2f4c8e36d25858400e2918cb.tar.gz |
Fix permissions and she-bang line, to make "hfs" script work.
Diffstat (limited to 'sysutils/xhfs')
-rw-r--r-- | sysutils/xhfs/files/patch-sum | 5 | ||||
-rw-r--r-- | sysutils/xhfs/patches/patch-aa | 31 | ||||
-rw-r--r-- | sysutils/xhfs/patches/patch-ab | 21 |
3 files changed, 48 insertions, 9 deletions
diff --git a/sysutils/xhfs/files/patch-sum b/sysutils/xhfs/files/patch-sum index 1cfd3cfaa9c..102b4e9559e 100644 --- a/sysutils/xhfs/files/patch-sum +++ b/sysutils/xhfs/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $ +$NetBSD: patch-sum,v 1.2 1999/10/22 10:15:46 fredb Exp $ -MD5 (patch-aa) = 3c272a7def94065f04a0ad440a801a8a +MD5 (patch-aa) = 9bfda9c5086a8aaa08c52053914ddcb9 +MD5 (patch-ab) = 65180e755047eaefcf156bf165218131 diff --git a/sysutils/xhfs/patches/patch-aa b/sysutils/xhfs/patches/patch-aa index acc4e57a0aa..dae58c0f84c 100644 --- a/sysutils/xhfs/patches/patch-aa +++ b/sysutils/xhfs/patches/patch-aa @@ -1,8 +1,15 @@ -$NetBSD: patch-aa,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $ +$NetBSD: patch-aa,v 1.2 1999/10/22 10:15:48 fredb Exp $ --- Makefile.in.orig Mon Aug 31 13:40:14 1998 -+++ Makefile.in Sat Oct 16 02:31:06 1999 -@@ -42,7 +42,7 @@ ++++ Makefile.in Fri Oct 22 05:00:50 1999 +@@ -37,12 +37,13 @@ + MANEXT = 1 + + INSTALL = @INSTALL@ +-BININSTALL = @INSTALL_PROGRAM@ -m 755 ++BININSTALL = @INSTALL_PROGRAM@ + LIBINSTALL = @INSTALL_DATA@ ++SCRIPTINSTALL= @INSTALL_SCRIPT@ HARDLINK = ln -f CC = @CC@ @@ -11,7 +18,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $ DEFINES = @DEFS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ -@@ -51,7 +51,7 @@ +@@ -51,7 +52,7 @@ TKLIBS = @TK_LIB_SPEC@ @TCL_LIB_SPEC@ @TK_LIBS@ COPTS = @CFLAGS@ @@ -20,7 +27,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $ ### END OF USER CUSTOMIZATION ################################################# -@@ -67,11 +67,11 @@ +@@ -67,11 +68,11 @@ TCLTARGETS = hfssh hfs TKTARGETS = xhfs @@ -36,7 +43,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $ HFSUTIL = hfsutil HFSCK = hfsck/hfsck -@@ -125,15 +125,14 @@ +@@ -125,15 +126,14 @@ done install_tcl :: all_tcl @@ -44,7 +51,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $ - $(BININSTALL) $$file "$(BINDEST)/."; \ - done + $(BININSTALL) hfssh "$(BINDEST)/." -+ $(LIBINSTALL) hfs "$(BINDEST)/." ++ $(SCRIPTINSTALL) hfs "$(BINDEST)/." - if [ -f "$(BINDEST)/hfs" ]; then \ - sed -e '1d' "$(BINDEST)/hfs" > "$(BINDEST)/hfs.new"; \ @@ -59,3 +66,13 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/10/17 04:35:55 fredb Exp $ for file in $(TCLDOCS); do \ $(LIBINSTALL) doc/man/$$file \ +@@ -239,8 +239,7 @@ + -lhfs $(LIBS) $(TCLLIBS) $(LIBOBJS) -o $@ + + hfs: hfs.tcl hfssh +- ( echo "#!./hfssh"; \ +- echo "#! /bin/sh"; \ ++ ( echo "#! /bin/sh"; \ + echo "# Start hfssh ... \\"; \ + echo 'exec hfssh "$$0" "$$@"'; \ + echo; \ diff --git a/sysutils/xhfs/patches/patch-ab b/sysutils/xhfs/patches/patch-ab new file mode 100644 index 00000000000..34a83bce08f --- /dev/null +++ b/sysutils/xhfs/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1 1999/10/22 10:15:48 fredb Exp $ + +--- configure.orig Mon Nov 2 17:33:47 1998 ++++ configure Fri Oct 22 05:02:04 1999 +@@ -849,6 +849,8 @@ + + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + ++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL} -m 755' ++ + # Extract the first word of "ranlib", so it can be a program name with args. + set dummy ranlib; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +@@ -1787,6 +1789,7 @@ + s%@CC@%$CC%g + s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g + s%@INSTALL_DATA@%$INSTALL_DATA%g ++s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g + s%@RANLIB@%$RANLIB%g + s%@CPP@%$CPP%g + s%@LIBOBJS@%$LIBOBJS%g |