From: Jakub Bogusz Date: Mon, 18 Nov 2002 13:57:50 +0000 (+0000) Subject: - updated for dump 0.4b32 and current autoconf X-Git-Tag: RA-1_0~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdump.git;a=commitdiff_plain;h=e918a17015a89230a58c3c88c3863f7245242777 - updated for dump 0.4b32 and current autoconf Changed files: dump-autoconf.patch -> 1.3 --- diff --git a/dump-autoconf.patch b/dump-autoconf.patch index 14f8a5e..e593971 100644 --- a/dump-autoconf.patch +++ b/dump-autoconf.patch @@ -1,7 +1,15 @@ -diff -Nru dump-0.4b22/MCONFIG.in dump-0.4b22.new/MCONFIG.in ---- dump-0.4b22/MCONFIG.in Sat May 12 13:39:45 2001 -+++ dump-0.4b22.new/MCONFIG.in Sun May 13 02:09:29 2001 -@@ -26,8 +26,8 @@ +diff -Nur dump-0.4b32.orig/MCONFIG.in dump-0.4b32/MCONFIG.in +--- dump-0.4b32.orig/MCONFIG.in Fri Nov 15 11:03:37 2002 ++++ dump-0.4b32/MCONFIG.in Mon Nov 18 15:51:55 2002 +@@ -1,7 +1,5 @@ + VPATH= $(srcdir) + +-top_builddir= @top_builddir@ +- + VERSION= 0.4b32 + DATE= November 15, 2002 + +@@ -26,8 +24,8 @@ prefix= @prefix@ exec_prefix= @exec_prefix@ @@ -12,10 +20,87 @@ diff -Nru dump-0.4b22/MCONFIG.in dump-0.4b22.new/MCONFIG.in DUMPDATESPATH= @DUMPDATESPATH@ # -diff -Nru dump-0.4b22/dump/Makefile.in dump-0.4b22.new/dump/Makefile.in ---- dump-0.4b22/dump/Makefile.in Thu Apr 12 18:03:29 2001 -+++ dump-0.4b22.new/dump/Makefile.in Sun May 13 02:22:22 2001 -@@ -12,12 +12,10 @@ +diff -Nur dump-0.4b32.orig/Makefile.in dump-0.4b32/Makefile.in +--- dump-0.4b32.orig/Makefile.in Tue Nov 2 10:35:55 1999 ++++ dump-0.4b32/Makefile.in Mon Nov 18 15:52:06 2002 +@@ -1,3 +1,4 @@ ++top_builddir= . + srcdir= @srcdir@ + top_srcdir= @top_srcdir@ + +@@ -8,7 +9,7 @@ + + all clean install dep depend realclean distclean:: + for i in $(SUBDIRS); do \ +- (cd $$i && $(MAKE) $@) || exit 1; \ ++ (cd $$i && $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; \ + done + + distclean:: +diff -Nur dump-0.4b32.orig/common/Makefile.in dump-0.4b32/common/Makefile.in +--- dump-0.4b32.orig/common/Makefile.in Mon Oct 11 15:31:08 1999 ++++ dump-0.4b32/common/Makefile.in Mon Nov 18 15:51:55 2002 +@@ -1,5 +1,6 @@ + # $Id$ + ++top_builddir= .. + top_srcdir= @top_srcdir@ + srcdir= @srcdir@ + +diff -Nur dump-0.4b32.orig/compat/include/Makefile.in dump-0.4b32/compat/include/Makefile.in +--- dump-0.4b32.orig/compat/include/Makefile.in Wed Oct 13 11:57:18 1999 ++++ dump-0.4b32/compat/include/Makefile.in Mon Nov 18 15:51:55 2002 +@@ -1,5 +1,6 @@ + # $Id$ + ++top_builddir= ../.. + top_srcdir= @top_srcdir@ + srcdir= @srcdir@ + +diff -Nur dump-0.4b32.orig/compat/lib/Makefile.in dump-0.4b32/compat/lib/Makefile.in +--- dump-0.4b32.orig/compat/lib/Makefile.in Mon Jul 29 14:00:33 2002 ++++ dump-0.4b32/compat/lib/Makefile.in Mon Nov 18 15:51:55 2002 +@@ -1,5 +1,6 @@ + # $Id$ + ++top_builddir= ../.. + top_srcdir= @top_srcdir@ + srcdir= @srcdir@ + +diff -Nur dump-0.4b32.orig/configure.in dump-0.4b32/configure.in +--- dump-0.4b32.orig/configure.in Mon Feb 25 14:54:52 2002 ++++ dump-0.4b32/configure.in Mon Nov 18 15:51:55 2002 +@@ -433,12 +433,6 @@ + AC_CHECK_TYPE(u_quad_t, __u64) + + dnl +-dnl Compute top_buildir +-dnl +-top_builddir=`cd .; pwd` +-AC_SUBST(top_builddir) +- +-dnl + dnl Create directories + dnl + test -d compat || mkdir compat +@@ -447,4 +441,5 @@ + dnl + dnl Output files + dnl +-AC_OUTPUT(MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE) ++AC_CONFIG_FILES([MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE]) ++AC_OUTPUT +diff -Nur dump-0.4b32.orig/dump/Makefile.in dump-0.4b32/dump/Makefile.in +--- dump-0.4b32.orig/dump/Makefile.in Wed Jan 2 11:13:15 2002 ++++ dump-0.4b32/dump/Makefile.in Mon Nov 18 15:51:55 2002 +@@ -1,5 +1,6 @@ + # $Id$ + ++top_builddir= .. + top_srcdir= @top_srcdir@ + srcdir= @srcdir@ + +@@ -12,12 +13,10 @@ PROG= dump RPROG= rdump @@ -29,13 +114,13 @@ diff -Nru dump-0.4b22/dump/Makefile.in dump-0.4b22.new/dump/Makefile.in all:: $(PROG) $(MAN8) -@@ -30,11 +28,10 @@ +@@ -30,11 +29,10 @@ -e "s|__VERSION__|$(VERSION)|g" $< > $@ install:: all - $(INSTALL) -d $(SBINDIR) $(MANDIR) - $(INSTALLBIN) $(PROG) $(SBINDIR) -- $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR) +- $(INSTALLMAN) $(MAN8) $(MANDIR) - cd $(SBINDIR) && $(RM) -f $(RPROG) && $(LN_S) $(PROG) $(RPROG) - cd $(MANDIR) && $(RM) -f $(RMAN8) && $(LN_S) $(MAN8) $(RMAN8) + $(INSTALL) -d $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8 @@ -45,16 +130,18 @@ diff -Nru dump-0.4b22/dump/Makefile.in dump-0.4b22.new/dump/Makefile.in clean:: $(RM) -f $(PROG) $(MAN8) \#* *.s *.o *.a *~ core -diff -Nru dump-0.4b22/dump/rdump.8 dump-0.4b22.new/dump/rdump.8 ---- dump-0.4b22/dump/rdump.8 Thu Jan 1 01:00:00 1970 -+++ dump-0.4b22.new/dump/rdump.8 Sun May 13 02:08:51 2001 +diff -Nur dump-0.4b32.orig/dump/rdump.8 dump-0.4b32/dump/rdump.8 +--- dump-0.4b32.orig/dump/rdump.8 Thu Jan 1 01:00:00 1970 ++++ dump-0.4b32/dump/rdump.8 Mon Nov 18 15:51:55 2002 @@ -0,0 +1 @@ +.so dump.8 -diff -Nru dump-0.4b22/restore/Makefile.in dump-0.4b22.new/restore/Makefile.in ---- dump-0.4b22/restore/Makefile.in Thu Apr 12 18:03:30 2001 -+++ dump-0.4b22.new/restore/Makefile.in Sun May 13 02:18:31 2001 -@@ -2,6 +2,8 @@ +diff -Nur dump-0.4b32.orig/restore/Makefile.in dump-0.4b32/restore/Makefile.in +--- dump-0.4b32.orig/restore/Makefile.in Wed Jan 2 11:13:16 2002 ++++ dump-0.4b32/restore/Makefile.in Mon Nov 18 15:51:55 2002 +@@ -1,7 +1,10 @@ + # $Id$ ++top_builddir= .. top_srcdir= @top_srcdir@ srcdir= @srcdir@ +mandir= @mandir@ @@ -62,7 +149,7 @@ diff -Nru dump-0.4b22/restore/Makefile.in dump-0.4b22.new/restore/Makefile.in @MCONFIG@ -@@ -17,8 +19,7 @@ +@@ -17,8 +20,7 @@ utilities.c OBJS= dirs.o interactive.o main.o restore.o symtab.o tape.o \ utilities.o ../common/dumprmt.o @@ -72,31 +159,34 @@ diff -Nru dump-0.4b22/restore/Makefile.in dump-0.4b22.new/restore/Makefile.in all:: $(PROG) $(MAN8) -@@ -30,11 +31,9 @@ +@@ -30,11 +32,10 @@ -e "s|__VERSION__|$(VERSION)|g" $< > $@ install:: all - $(INSTALL) -d $(SBINDIR) $(MANDIR) - $(INSTALLBIN) $(PROG) $(SBINDIR) -- $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR) +- $(INSTALLMAN) $(MAN8) $(MANDIR) - cd $(SBINDIR) && $(RM) -f $(RPROG) && $(LN_S) $(PROG) $(RPROG) - cd $(MANDIR) && $(RM) -f $(RMAN8) && $(LN_S) $(MAN8) $(RMAN8) + $(INSTALL) -d $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8 + $(INSTALLBIN) $(PROG) $(DESTDIR)$(sbindir) -+ $(INSTALLMAN) $(srcdir)/$(MAN8) $(DESTDIR)$(mandir)/man8 ++ $(LN_S) restore $(DESTDIR)$(sbindir)/rrestore ++ $(INSTALLMAN) $(MAN8) $(DESTDIR)$(mandir)/man8 clean:: $(RM) -f $(PROG) $(MAN8) \#* *.s *.o *.a *~ core -diff -Nru dump-0.4b22/restore/rrestore.8 dump-0.4b22.new/restore/rrestore.8 ---- dump-0.4b22/restore/rrestore.8 Thu Jan 1 01:00:00 1970 -+++ dump-0.4b22.new/restore/rrestore.8 Sun May 13 02:08:51 2001 +diff -Nur dump-0.4b32.orig/restore/rrestore.8 dump-0.4b32/restore/rrestore.8 +--- dump-0.4b32.orig/restore/rrestore.8 Thu Jan 1 01:00:00 1970 ++++ dump-0.4b32/restore/rrestore.8 Mon Nov 18 15:51:55 2002 @@ -0,0 +1 @@ +.so restore.8 -diff -Nru dump-0.4b22/rmt/Makefile.in dump-0.4b22.new/rmt/Makefile.in ---- dump-0.4b22/rmt/Makefile.in Fri Apr 6 12:09:40 2001 -+++ dump-0.4b22.new/rmt/Makefile.in Sun May 13 02:20:27 2001 -@@ -2,6 +2,8 @@ +diff -Nur dump-0.4b32.orig/rmt/Makefile.in dump-0.4b32/rmt/Makefile.in +--- dump-0.4b32.orig/rmt/Makefile.in Mon Jul 29 14:00:34 2002 ++++ dump-0.4b32/rmt/Makefile.in Mon Nov 18 15:51:55 2002 +@@ -1,7 +1,10 @@ + # $Id$ ++top_builddir= .. top_srcdir= @top_srcdir@ srcdir= @srcdir@ +sbindir= @sbindir@ @@ -104,7 +194,7 @@ diff -Nru dump-0.4b22/rmt/Makefile.in dump-0.4b22.new/rmt/Makefile.in @MCONFIG@ -@@ -30,9 +32,9 @@ +@@ -25,9 +28,9 @@ -e "s|__VERSION__|$(VERSION)|g" $< > $@ install:: all @@ -117,14 +207,3 @@ diff -Nru dump-0.4b22/rmt/Makefile.in dump-0.4b22.new/rmt/Makefile.in clean:: rm -f $(PROG) \#* *.s *.o *.a *~ core rmt.8 ---- dump-0.4b22/Makefile.in~ Tue Nov 2 10:35:55 1999 -+++ dump-0.4b22/Makefile.in Sun May 13 02:25:34 2001 -@@ -8,7 +8,7 @@ - - all clean install dep depend realclean distclean:: - for i in $(SUBDIRS); do \ -- (cd $$i && $(MAKE) $@) || exit 1; \ -+ (cd $$i && $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; \ - done - - distclean::