summaryrefslogtreecommitdiff
path: root/sysutils/amanda-client/patches
diff options
context:
space:
mode:
authorbouyer <bouyer>1999-02-23 17:03:41 +0000
committerbouyer <bouyer>1999-02-23 17:03:41 +0000
commit1bc15469869e2a0c209f04cd8a4307137fd5466d (patch)
treec671f5d5c0561c1e97d3a8caec875a6d2172d468 /sysutils/amanda-client/patches
parent734c3a52e46d975db69b65340945cb9d005a8eb2 (diff)
downloadpkgsrc-1bc15469869e2a0c209f04cd8a4307137fd5466d.tar.gz
An amanda 2.4.1p1 package, split into common, server and client parts.
Diffstat (limited to 'sysutils/amanda-client/patches')
-rw-r--r--sysutils/amanda-client/patches/patch-aa20
-rw-r--r--sysutils/amanda-client/patches/patch-ab144
-rw-r--r--sysutils/amanda-client/patches/patch-ac11
-rw-r--r--sysutils/amanda-client/patches/patch-ad16
4 files changed, 191 insertions, 0 deletions
diff --git a/sysutils/amanda-client/patches/patch-aa b/sysutils/amanda-client/patches/patch-aa
new file mode 100644
index 00000000000..1dcb847b0a2
--- /dev/null
+++ b/sysutils/amanda-client/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/02/23 17:03:42 bouyer Exp $
+
+--- configure.orig Sat Jul 18 10:34:33 1998
++++ configure Sat Jul 18 10:35:03 1998
+@@ -4204,6 +4204,7 @@
+ echo "$ac_t""no" 1>&6
+ fi
+
++if false; then
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+@@ -4249,6 +4250,7 @@
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
+ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
++fi
+
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
diff --git a/sysutils/amanda-client/patches/patch-ab b/sysutils/amanda-client/patches/patch-ab
new file mode 100644
index 00000000000..dc7498adf32
--- /dev/null
+++ b/sysutils/amanda-client/patches/patch-ab
@@ -0,0 +1,144 @@
+--- client-src/Makefile.in.old Tue Feb 23 11:09:57 1999
++++ client-src/Makefile.in Tue Feb 23 11:11:28 1999
+@@ -83,7 +83,7 @@
+ BUILD_CLIENT_SCRIPTS_LIBEXEC = @BUILD_CLIENT_SCRIPTS_LIBEXEC@
+ BUILD_CLIENT_SCRIPTS_SBIN = @BUILD_CLIENT_SCRIPTS_SBIN@
+ BUILD_COMMON_LIB = @BUILD_COMMON_LIB@
+-BUILD_COMMON_LTLIB = @BUILD_COMMON_LTLIB@
++BUILD_COMMON_LTLIB =
+ BUILD_RECOVER_PROGS_SBIN = @BUILD_RECOVER_PROGS_SBIN@
+ BUILD_RESTORE_PROGS_LIBEXEC = @BUILD_RESTORE_PROGS_LIBEXEC@
+ BUILD_RESTORE_PROGS_SBIN = @BUILD_RESTORE_PROGS_SBIN@
+@@ -162,12 +162,11 @@
+
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(AMANDA_CFLAGS)
+
+-LDADD = libamclient.$(LIB_EXTENSION) \
+- ../common-src/libamanda.$(LIB_EXTENSION)
++LDADD = libamclient.$(LIB_EXTENSION)
+
+ SUFFIXES = .sh .pl
+
+-libexec_PROGRAMS = versionsuffix @BUILD_CLIENT_PROGS_LIBEXEC@
++libexec_PROGRAMS = @BUILD_CLIENT_PROGS_LIBEXEC@
+
+ # these are used for testing only:
+ TEST_PROGS = getfsent
+@@ -224,7 +223,7 @@
+ DEFS = @DEFS@ -I. -I$(srcdir) -I../config
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lamanda
+ libamclient_a_OBJECTS = amandates.o getfsent.o unctime.o
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+
+@@ -234,60 +233,50 @@
+ amandad_SOURCES = amandad.c
+ amandad_OBJECTS = amandad.o
+ amandad_LDADD = $(LDADD)
+-amandad_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++amandad_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ amandad_LDFLAGS =
+ calcsize_SOURCES = calcsize.c
+ calcsize_OBJECTS = calcsize.o
+ calcsize_LDADD = $(LDADD)
+-calcsize_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++calcsize_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ calcsize_LDFLAGS =
+ killpgrp_SOURCES = killpgrp.c
+ killpgrp_OBJECTS = killpgrp.o
+ killpgrp_LDADD = $(LDADD)
+-killpgrp_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++killpgrp_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ killpgrp_LDFLAGS =
+ rundump_SOURCES = rundump.c
+ rundump_OBJECTS = rundump.o
+ rundump_LDADD = $(LDADD)
+-rundump_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++rundump_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ rundump_LDFLAGS =
+ runtar_SOURCES = runtar.c
+ runtar_OBJECTS = runtar.o
+ runtar_LDADD = $(LDADD)
+-runtar_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++runtar_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ runtar_LDFLAGS =
+ selfcheck_SOURCES = selfcheck.c
+ selfcheck_OBJECTS = selfcheck.o
+ selfcheck_LDADD = $(LDADD)
+-selfcheck_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++selfcheck_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ selfcheck_LDFLAGS =
+ sendbackup_OBJECTS = sendbackup.o sendbackup-dump.o sendbackup-gnutar.o
+ sendbackup_LDADD = $(LDADD)
+-sendbackup_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++sendbackup_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ sendbackup_LDFLAGS =
+ sendsize_SOURCES = sendsize.c
+ sendsize_OBJECTS = sendsize.o
+ sendsize_LDADD = $(LDADD)
+-sendsize_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++sendsize_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ sendsize_LDFLAGS =
+ getfsent_OBJECTS = getfsent.test.o
+ getfsent_LDADD = $(LDADD)
+-getfsent_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++getfsent_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ getfsent_LDFLAGS =
+ versionsuffix_SOURCES = versionsuffix.c
+ versionsuffix_OBJECTS = versionsuffix.o
+ versionsuffix_LDADD = $(LDADD)
+-versionsuffix_DEPENDENCIES = libamclient.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++versionsuffix_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ versionsuffix_LDFLAGS =
+ SCRIPTS = $(libexec_SCRIPTS) $(sbin_SCRIPTS)
+
+--- recover-src/Makefile.in.old Tue Feb 23 11:34:04 1999
++++ recover-src/Makefile.in Tue Feb 23 11:36:07 1999
+@@ -83,7 +83,7 @@
+ BUILD_CLIENT_SCRIPTS_LIBEXEC = @BUILD_CLIENT_SCRIPTS_LIBEXEC@
+ BUILD_CLIENT_SCRIPTS_SBIN = @BUILD_CLIENT_SCRIPTS_SBIN@
+ BUILD_COMMON_LIB = @BUILD_COMMON_LIB@
+-BUILD_COMMON_LTLIB = @BUILD_COMMON_LTLIB@
++BUILD_COMMON_LTLIB =
+ BUILD_RECOVER_PROGS_SBIN = @BUILD_RECOVER_PROGS_SBIN@
+ BUILD_RESTORE_PROGS_LIBEXEC = @BUILD_RESTORE_PROGS_LIBEXEC@
+ BUILD_RESTORE_PROGS_SBIN = @BUILD_RESTORE_PROGS_SBIN@
+@@ -164,9 +164,7 @@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(AMANDA_CFLAGS)
+
+ LDADD = @LEXLIB@ \
+- ../client-src/libamclient.$(LIB_EXTENSION) \
+- ../tape-src/libamtape.$(LIB_EXTENSION) \
+- ../common-src/libamanda.$(LIB_EXTENSION)
++ ../client-src/libamclient.$(LIB_EXTENSION)
+
+ EXTRA_PROGRAMS = amrecover
+
+@@ -189,13 +187,11 @@
+ DEFS = @DEFS@ -I. -I$(srcdir) -I../config
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lamanda -lamtape
+ amrecover_OBJECTS = amrecover.o display_commands.o extract_list.o \
+ help.o set_commands.o uparse.o uscan.o
+ amrecover_LDADD = $(LDADD)
+-amrecover_DEPENDENCIES = ../client-src/libamclient.$(LIB_EXTENSION) \
+-../tape-src/libamtape.$(LIB_EXTENSION) \
+-../common-src/libamanda.$(LIB_EXTENSION)
++amrecover_DEPENDENCIES = ../client-src/libamclient.$(LIB_EXTENSION)
+ amrecover_LDFLAGS =
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LEXLIB = @LEXLIB@
diff --git a/sysutils/amanda-client/patches/patch-ac b/sysutils/amanda-client/patches/patch-ac
new file mode 100644
index 00000000000..a89f09768e9
--- /dev/null
+++ b/sysutils/amanda-client/patches/patch-ac
@@ -0,0 +1,11 @@
+--- Makefile.in.old Tue Feb 23 10:37:10 1999
++++ Makefile.in Tue Feb 23 10:38:36 1999
+@@ -157,7 +157,7 @@
+ AUTOCONF = @AUTOCONF@ --localdir=config
+
+ SUBDIRS=config \
+- common-src client-src tape-src \
++ client-src tape-src \
+ server-src restore-src recover-src \
+ changer-src amplot man \
+ example
diff --git a/sysutils/amanda-client/patches/patch-ad b/sysutils/amanda-client/patches/patch-ad
new file mode 100644
index 00000000000..83b2a57a2b9
--- /dev/null
+++ b/sysutils/amanda-client/patches/patch-ad
@@ -0,0 +1,16 @@
+--- man/Makefile.in.old Tue Feb 23 11:12:23 1999
++++ man/Makefile.in Tue Feb 23 11:12:46 1999
+@@ -158,12 +158,7 @@
+
+ transform = s,x,x,;
+
+-man_MANS = amadmin.8 amanda.8 amcheck.8 \
+- amcheckdb.8 amcleanup.8 amdump.8 \
+- amflush.8 amlabel.8 amoverview.8 \
+- amplot.8 amrecover.8 amrestore.8 \
+- amrmtape.8 amtape.8 amtoc.8 \
+- amverify.8 amstatus.8 amreport.8
++man_MANS = amrecover.8
+
+ EXTRA_DIST = amplot.8 amrestore.8 amtape.8
+ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs