aboutsummaryrefslogtreecommitdiff
path: root/misc/amanda32-server/files
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2009-01-05 04:59:06 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2009-01-05 04:59:06 +0000
commit5cefa4a292a0982c09470deb1c2ccff9dcb43702 (patch)
tree5736138c3749f45afa0089b8b6df157a1845b374 /misc/amanda32-server/files
parent63ffd742f28f1a5fa9b0665af06139dce5457619 (diff)
downloadports-5cefa4a292a0982c09470deb1c2ccff9dcb43702.tar.gz
ports-5cefa4a292a0982c09470deb1c2ccff9dcb43702.zip
Notes
Diffstat (limited to 'misc/amanda32-server/files')
-rw-r--r--misc/amanda32-server/files/patch-aa39
-rw-r--r--misc/amanda32-server/files/patch-ab12
-rw-r--r--misc/amanda32-server/files/patch-ac11
-rw-r--r--misc/amanda32-server/files/patch-ad16
-rw-r--r--misc/amanda32-server/files/patch-ae14
-rw-r--r--misc/amanda32-server/files/patch-chg-zd-mtx.sh.in15
-rw-r--r--misc/amanda32-server/files/patch-common-src::Makefile.in42
-rw-r--r--misc/amanda32-server/files/patch-man::Makefile.in10
-rw-r--r--misc/amanda32-server/files/patch-perl::Makefile.in115
-rw-r--r--misc/amanda32-server/files/patch-sendsize.c11
-rw-r--r--misc/amanda32-server/files/patch-server-src::amcleanup.sh11
-rw-r--r--misc/amanda32-server/files/patch-server-src::amcrypt-ossl-asym.sh.in11
-rw-r--r--misc/amanda32-server/files/patch-server-src::amcrypt-ossl.sh.in11
13 files changed, 198 insertions, 120 deletions
diff --git a/misc/amanda32-server/files/patch-aa b/misc/amanda32-server/files/patch-aa
deleted file mode 100644
index 3f21a3181ae0..000000000000
--- a/misc/amanda32-server/files/patch-aa
+++ /dev/null
@@ -1,39 +0,0 @@
---- man/Makefile.in.orig Tue Sep 5 23:08:22 2006
-+++ man/Makefile.in Thu Sep 7 14:14:52 2006
-@@ -193,8 +193,8 @@
- WANT_CLIENT_TRUE = @WANT_CLIENT_TRUE@
- WANT_RECOVER_FALSE = @WANT_RECOVER_FALSE@
- WANT_RECOVER_TRUE = @WANT_RECOVER_TRUE@
--WANT_RESTORE_FALSE = @WANT_RESTORE_FALSE@
--WANT_RESTORE_TRUE = @WANT_RESTORE_TRUE@
-+WANT_CLIENT_FALSE = @WANT_CLIENT_FALSE@
-+WANT_CLIENT_TRUE = @WANT_CLIENT_TRUE@
- WANT_RUNTIME_PSEUDO_RELOC_FALSE = @WANT_RUNTIME_PSEUDO_RELOC_FALSE@
- WANT_RUNTIME_PSEUDO_RELOC_TRUE = @WANT_RUNTIME_PSEUDO_RELOC_TRUE@
- WANT_SAMBA_FALSE = @WANT_SAMBA_FALSE@
-@@ -261,13 +261,13 @@
- target_os = @target_os@
- target_vendor = @target_vendor@
- @WANT_AMPLOT_TRUE@AMPLOT_MAN8_PAGES = amplot.8
--COMMON_MAN8_PAGES = amanda.8
--COMMON_MAN5_PAGES = amanda.conf.5 \
-+@WANT_CLIENT_TRUE@COMMON_MAN8_PAGES = amanda.8
-+@WANT_CLIENT_TRUE@COMMON_MAN5_PAGES = amanda.conf.5 \
- amanda-client.conf.5
-
-
- #if WANT_SERVER
--SERVER_MAN8_PAGES = amadmin.8 \
-+@WANT_SERVER_TRUE@SERVER_MAN8_PAGES = amadmin.8 \
- amcheck.8 \
- amcheckdb.8 \
- amcleanup.8 \
-@@ -294,7 +294,7 @@
-
- #endif
- @WANT_RECOVER_TRUE@RECOVER_MAN8_PAGES = amrecover.8
--@WANT_RESTORE_TRUE@RESTORE_MAN8_PAGES = amrestore.8
-+@WANT_CLIENT_TRUE@RESTORE_MAN8_PAGES = amrestore.8
- man8_MANS = $(COMMON_MAN8_PAGES) \
- $(AMPLOT_MAN8_PAGES) \
- $(SERVER_MAN8_PAGES) \
diff --git a/misc/amanda32-server/files/patch-ab b/misc/amanda32-server/files/patch-ab
deleted file mode 100644
index 4f6bc0ca5d58..000000000000
--- a/misc/amanda32-server/files/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
---- common-src/Makefile.in Fri Nov 30 11:33:48 2001
-+++ common-src/Makefile.in.new Fri Nov 30 18:03:29 2001
-@@ -611,7 +611,8 @@
-
- install-data-am:
-
--install-exec-am: install-libLTLIBRARIES
-+@WANT_CLIENT_TRUE@install-exec-am: @WANT_CLIENT_TRUE@install-libLTLIBRARIES
-+@WANT_SERVER_TRUE@install-exec-am:
-
- install-info:
-
diff --git a/misc/amanda32-server/files/patch-ac b/misc/amanda32-server/files/patch-ac
deleted file mode 100644
index a9e95a3a6607..000000000000
--- a/misc/amanda32-server/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- tape-src/Makefile.in.orig Tue Oct 25 06:23:42 2005
-+++ tape-src/Makefile.in Wed Mar 22 12:10:00 2006
-@@ -43,7 +43,7 @@
- build_triplet = @build@
- host_triplet = @host@
- target_triplet = @target@
--sbin_PROGRAMS = ammt$(EXEEXT) amdd$(EXEEXT) amtapetype$(EXEEXT)
-+@WANT_SERVER_TRUE@sbin_PROGRAMS = ammt$(EXEEXT) amdd$(EXEEXT) amtapetype$(EXEEXT)
- EXTRA_PROGRAMS = $(am__EXEEXT_1)
- subdir = tape-src
- DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
diff --git a/misc/amanda32-server/files/patch-ad b/misc/amanda32-server/files/patch-ad
index 8d41e16eb9cb..3fff9c551c52 100644
--- a/misc/amanda32-server/files/patch-ad
+++ b/misc/amanda32-server/files/patch-ad
@@ -1,14 +1,14 @@
---- client-src/calcsize.c.orig Mon Nov 4 20:37:53 2002
-+++ client-src/calcsize.c Thu Oct 23 19:25:07 2003
-@@ -130,7 +130,11 @@
- dump_total += (ST_BLOCKS(finfo) + 1)/2 + 1;
- gtar_total += ROUND(4,(ST_BLOCKS(finfo) + 1));
+--- client-src/calcsize.c.orig 2008-01-18 09:31:16.000000000 +0900
++++ client-src/calcsize.c 2008-08-30 20:11:59.000000000 +0900
+@@ -160,7 +160,11 @@
+ dump_total += (ST_BLOCKS(finfo) + (off_t)1) / (off_t)2 + (off_t)1;
+ gtar_total += ROUND(4,(ST_BLOCKS(finfo) + (off_t)1));
}
+#ifdef GNUTAR
-+ printf(" GNUTAR dump\n");
++ g_printf(" GNUTAR dump\n");
+#else
- printf(" gtar dump\n");
+ g_printf(" gtar dump\n");
+#endif
- printf("total %-9lu %-9lu\n",gtar_total,dump_total);
+ g_printf("total %-9lu %-9lu\n",gtar_total,dump_total);
return 0;
#else
diff --git a/misc/amanda32-server/files/patch-ae b/misc/amanda32-server/files/patch-ae
deleted file mode 100644
index 5b539bea3d43..000000000000
--- a/misc/amanda32-server/files/patch-ae
+++ /dev/null
@@ -1,14 +0,0 @@
---- client-src/sendbackup-gnutar.c.orig Wed Jul 26 03:35:21 2006
-+++ client-src/sendbackup-gnutar.c Thu Sep 7 12:13:59 2006
-@@ -543,7 +543,11 @@
- my_argv[i++] = g_options->config;
- else
- my_argv[i++] = "NOCONFIG";
-+#ifdef GNUTAR
-+ my_argv[i++] = "GNUTAR";
-+#else
- my_argv[i++] = "gtar";
-+#endif
- my_argv[i++] = "--create";
- my_argv[i++] = "--file";
- my_argv[i++] = "-";
diff --git a/misc/amanda32-server/files/patch-chg-zd-mtx.sh.in b/misc/amanda32-server/files/patch-chg-zd-mtx.sh.in
index 555c4dffe362..589218b5d2c2 100644
--- a/misc/amanda32-server/files/patch-chg-zd-mtx.sh.in
+++ b/misc/amanda32-server/files/patch-chg-zd-mtx.sh.in
@@ -1,6 +1,6 @@
---- changer-src/chg-zd-mtx.sh.in.orig Wed Feb 9 21:58:30 2005
-+++ changer-src/chg-zd-mtx.sh.in Wed Feb 9 21:58:49 2005
-@@ -413,7 +413,7 @@
+--- changer-src/chg-zd-mtx.sh.orig 2008-05-27 02:25:32.000000000 +0900
++++ changer-src/chg-zd-mtx.sh 2009-01-05 07:34:15.000000000 +0900
+@@ -411,7 +411,7 @@
IsNumeric() {
test -z "$1" && return 1
@@ -9,3 +9,12 @@
return `expr X"$1" != X"$x"`
}
+@@ -797,7 +797,7 @@
+ max_drive_wait=${max_drive_wait:-'120'} # default: two minutes
+
+ # check MT and MTX for sanity
+-if test "${MTX:0:1}" = "/"; then
++if test "${MTX%${MTX#?}}" = "/"; then
+ if ! test -f "${MTX}"; then
+ Exit 2 \
+ `_ '<none>'` \
diff --git a/misc/amanda32-server/files/patch-common-src::Makefile.in b/misc/amanda32-server/files/patch-common-src::Makefile.in
new file mode 100644
index 000000000000..099a8ffb5dec
--- /dev/null
+++ b/misc/amanda32-server/files/patch-common-src::Makefile.in
@@ -0,0 +1,42 @@
+--- common-src/Makefile.in.orig 2008-08-23 03:20:00.000000000 +0900
++++ common-src/Makefile.in 2008-09-01 07:42:20.000000000 +0900
+@@ -926,12 +926,14 @@
+ sbin_SCRIPTS_PERL = \
+ amgpgcrypt \
+ amcryptsimple
++@WANT_SERVER_TRUE@sbin_SCRIPTS_PERL =
+
+ sbin_SCRIPTS_SHELL = \
+ amcrypt \
+ amaespipe \
+ amcrypt-ossl \
+ amcrypt-ossl-asym
++@WANT_SERVER_TRUE@sbin_SCRIPTS_SHELL =
+
+ amlibexec_SCRIPTS_PERL =
+ SCRIPTS_INCLUDE = \
+@@ -985,15 +987,15 @@
+ versuff.c: $(top_builddir)/config.status $(srcdir)/versuff.c.in
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+ install-amlibLTLIBRARIES: $(amlib_LTLIBRARIES)
+- @$(NORMAL_INSTALL)
+- test -z "$(amlibdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibdir)"
+- @list='$(amlib_LTLIBRARIES)'; for p in $$list; do \
+- if test -f $$p; then \
+- f=$(am__strip_dir) \
+- echo " $(LIBTOOL) --mode=install $(amlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(amlibdir)/$$f'"; \
+- $(LIBTOOL) --mode=install $(amlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(amlibdir)/$$f"; \
+- else :; fi; \
+- done
++@WANT_CLIENT_TRUE@ @$(NORMAL_INSTALL)
++@WANT_CLIENT_TRUE@ test -z "$(amlibdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibdir)"
++@WANT_CLIENT_TRUE@ @list='$(amlib_LTLIBRARIES)'; for p in $$list; do \
++@WANT_CLIENT_TRUE@ if test -f $$p; then \
++@WANT_CLIENT_TRUE@ f=$(am__strip_dir) \
++@WANT_CLIENT_TRUE@ echo " $(LIBTOOL) --mode=install $(amlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(amlibdir)/$$f'"; \
++@WANT_CLIENT_TRUE@ $(LIBTOOL) --mode=install $(amlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(amlibdir)/$$f"; \
++@WANT_CLIENT_TRUE@ else :; fi; \
++@WANT_CLIENT_TRUE@ done
+
+ uninstall-amlibLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
diff --git a/misc/amanda32-server/files/patch-man::Makefile.in b/misc/amanda32-server/files/patch-man::Makefile.in
new file mode 100644
index 000000000000..5f44834fe522
--- /dev/null
+++ b/misc/amanda32-server/files/patch-man::Makefile.in
@@ -0,0 +1,10 @@
+--- man/Makefile.in.orig 2008-08-31 22:27:26.000000000 +0900
++++ man/Makefile.in 2008-08-31 22:27:46.000000000 +0900
+@@ -565,6 +565,7 @@
+ COMMON_MAN_PAGES = amanda.8 \
+ amanda.conf.5 \
+ amanda-client.conf.5
++@WANT_SERVER_TRUE@COMMON_MAN_PAGES =
+
+ SERVER_MAN_PAGES = amadmin.8 \
+ amcheck.8 \
diff --git a/misc/amanda32-server/files/patch-perl::Makefile.in b/misc/amanda32-server/files/patch-perl::Makefile.in
new file mode 100644
index 000000000000..49f6a8c6e4c6
--- /dev/null
+++ b/misc/amanda32-server/files/patch-perl::Makefile.in
@@ -0,0 +1,115 @@
+--- perl/Makefile.in.orig 2008-08-23 03:20:01.000000000 +0900
++++ perl/Makefile.in 2008-09-02 07:36:59.000000000 +0900
+@@ -291,15 +291,15 @@
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(libCmdline_la_LDFLAGS) $(LDFLAGS) -o $@
+ @WANT_SERVER_TRUE@am_libCmdline_la_rpath = -rpath $(libCmdlinedir)
+-libConfig_la_DEPENDENCIES = libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++@WANT_CLIENT_TRUE@libConfig_la_DEPENDENCIES = libamglue.la \
++@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
+ am_libConfig_la_OBJECTS = Config.lo $(am__objects_1)
+ libConfig_la_OBJECTS = $(am_libConfig_la_OBJECTS)
+ libConfig_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(libConfig_la_LDFLAGS) $(LDFLAGS) -o $@
+-libDebug_la_DEPENDENCIES = libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++@WANT_CLIENT_TRUE@libDebug_la_DEPENDENCIES = libamglue.la \
++@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
+ am_libDebug_la_OBJECTS = Debug.lo $(am__objects_1)
+ libDebug_la_OBJECTS = $(am_libDebug_la_OBJECTS)
+ libDebug_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
+@@ -343,22 +343,22 @@
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(libTapefile_la_LDFLAGS) $(LDFLAGS) -o $@
+ @WANT_SERVER_TRUE@am_libTapefile_la_rpath = -rpath $(libTapefiledir)
+-libTypes_la_DEPENDENCIES = libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++@WANT_CLIENT_TRUE@libTypes_la_DEPENDENCIES = libamglue.la \
++@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
+ am_libTypes_la_OBJECTS = Types.lo $(am__objects_1)
+ libTypes_la_OBJECTS = $(am_libTypes_la_OBJECTS)
+ libTypes_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(libTypes_la_LDFLAGS) $(LDFLAGS) -o $@
+-libUtil_la_DEPENDENCIES = libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
+-am_libUtil_la_OBJECTS = Util.lo $(am__objects_1)
++@WANT_CLIENT_TRUE@libUtil_la_DEPENDENCIES = libamglue.la \
++@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
++@WANT_CLIENT_TRUE@am_libUtil_la_OBJECTS = Util.lo $(am__objects_1)
+ libUtil_la_OBJECTS = $(am_libUtil_la_OBJECTS)
+ libUtil_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(libUtil_la_LDFLAGS) $(LDFLAGS) -o $@
+ libamglue_la_LIBADD =
+-am_libamglue_la_OBJECTS = ghashtable.lo bigint.lo
++@WANT_CLIENT_TRUE@am_libamglue_la_OBJECTS = ghashtable.lo bigint.lo
+ libamglue_la_OBJECTS = $(am_libamglue_la_OBJECTS)
+ libamglue_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+@@ -914,39 +914,39 @@
+
+
+ # PACKAGE: Amanda::Debug
+-libDebugdir = $(amperldir)/auto/Amanda/Debug
+-libDebug_LTLIBRARIES = libDebug.la
+-libDebug_la_SOURCES = Amanda/Debug.c $(AMGLUE_SWG)
+-libDebug_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libDebug_la_LIBADD = libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++@WANT_CLIENT_TRUE@libDebugdir = $(amperldir)/auto/Amanda/Debug
++@WANT_CLIENT_TRUE@libDebug_LTLIBRARIES = libDebug.la
++@WANT_CLIENT_TRUE@libDebug_la_SOURCES = Amanda/Debug.c $(AMGLUE_SWG)
++@WANT_CLIENT_TRUE@libDebug_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
++@WANT_CLIENT_TRUE@libDebug_la_LIBADD = libamglue.la \
++@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
+
+
+ # PACKAGE: Amanda::Config
+-libConfigdir = $(amperldir)/auto/Amanda/Config
+-libConfig_LTLIBRARIES = libConfig.la
+-libConfig_la_SOURCES = Amanda/Config.c $(AMGLUE_SWG)
+-libConfig_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libConfig_la_LIBADD = libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++@WANT_CLIENT_TRUE@libConfigdir = $(amperldir)/auto/Amanda/Config
++@WANT_CLIENT_TRUE@libConfig_LTLIBRARIES = libConfig.la
++@WANT_CLIENT_TRUE@libConfig_la_SOURCES = Amanda/Config.c $(AMGLUE_SWG)
++@WANT_CLIENT_TRUE@libConfig_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
++@WANT_CLIENT_TRUE@libConfig_la_LIBADD = libamglue.la \
++@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
+
+
+ # PACKAGE: Amanda::Util
+-libUtildir = $(amperldir)/auto/Amanda/Util
+-libUtil_LTLIBRARIES = libUtil.la
+-libUtil_la_SOURCES = Amanda/Util.c $(AMGLUE_SWG)
+-libUtil_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libUtil_la_LIBADD = libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++@WANT_CLIENT_TRUE@libUtildir = $(amperldir)/auto/Amanda/Util
++@WANT_CLIENT_TRUE@libUtil_LTLIBRARIES = libUtil.la
++@WANT_CLIENT_TRUE@libUtil_la_SOURCES = Amanda/Util.c $(AMGLUE_SWG)
++@WANT_CLIENT_TRUE@libUtil_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
++@WANT_CLIENT_TRUE@libUtil_la_LIBADD = libamglue.la \
++@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
+
+
+ # PACKAGE: Amanda::Types
+-libTypesdir = $(amperldir)/auto/Amanda/Types
+-libTypes_LTLIBRARIES = libTypes.la
+-libTypes_la_SOURCES = Amanda/Types.c $(AMGLUE_SWG)
+-libTypes_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libTypes_la_LIBADD = libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++@WANT_CLIENT_TRUE@libTypesdir = $(amperldir)/auto/Amanda/Types
++@WANT_CLIENT_TRUE@libTypes_LTLIBRARIES = libTypes.la
++@WANT_CLIENT_TRUE@libTypes_la_SOURCES = Amanda/Types.c $(AMGLUE_SWG)
++@WANT_CLIENT_TRUE@libTypes_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
++@WANT_CLIENT_TRUE@libTypes_la_LIBADD = libamglue.la \
++@WANT_CLIENT_TRUE@ $(top_builddir)/common-src/libamanda.la
+
+
+ # perl doesn't use the cyg prefix and it doesn't search in the bin
diff --git a/misc/amanda32-server/files/patch-sendsize.c b/misc/amanda32-server/files/patch-sendsize.c
deleted file mode 100644
index 1279be968739..000000000000
--- a/misc/amanda32-server/files/patch-sendsize.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- client-src/sendsize.c.orig Thu Feb 15 11:11:39 2007
-+++ client-src/sendsize.c Thu Feb 15 11:12:03 2007
-@@ -1190,7 +1190,7 @@
- # endif
- dumpkeys = vstralloc(level_str,
- PARAM_DUMP_ESTIMATE,
-- PARAM_DUMP_ESTIMATE,
-+ PARAM_HONOR_NODUMP,
- "s", "f", NULL);
-
- # ifdef HAVE_DUMP_ESTIMATE
diff --git a/misc/amanda32-server/files/patch-server-src::amcleanup.sh b/misc/amanda32-server/files/patch-server-src::amcleanup.sh
new file mode 100644
index 000000000000..f566f64e6504
--- /dev/null
+++ b/misc/amanda32-server/files/patch-server-src::amcleanup.sh
@@ -0,0 +1,11 @@
+--- server-src/amcleanup.sh.orig 2009-01-05 07:37:09.000000000 +0900
++++ server-src/amcleanup.sh 2009-01-05 07:37:26.000000000 +0900
+@@ -75,7 +75,7 @@
+ # after receiving SIGTERM, if yes send SIGKILL
+ #
+
+-function killpid() {
++killpid() {
+
+ killPID=$1
+ SIGTERM=15
diff --git a/misc/amanda32-server/files/patch-server-src::amcrypt-ossl-asym.sh.in b/misc/amanda32-server/files/patch-server-src::amcrypt-ossl-asym.sh.in
deleted file mode 100644
index eeb0ea70129c..000000000000
--- a/misc/amanda32-server/files/patch-server-src::amcrypt-ossl-asym.sh.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- server-src/amcrypt-ossl-asym.sh.in.orig 2006-07-04 13:28:47.000000000 +0200
-+++ server-src/amcrypt-ossl-asym.sh.in 2008-07-12 12:11:30.000000000 +0200
-@@ -36,7 +36,7 @@
- # change these as needed
- OPENSSL= # whatever's in $PATH
- CIPHER=aes-256-cbc # see `openssl help` for more ciphers
--AMANDA_HOME=~amandabackup
-+AMANDA_HOME=~@CLIENT_LOGIN@
- RANDFILE=$AMANDA_HOME/.rnd
- export RANDFILE
- PASSPHRASE=$AMANDA_HOME/.am_passphrase # optional
diff --git a/misc/amanda32-server/files/patch-server-src::amcrypt-ossl.sh.in b/misc/amanda32-server/files/patch-server-src::amcrypt-ossl.sh.in
deleted file mode 100644
index 2eb587feb9af..000000000000
--- a/misc/amanda32-server/files/patch-server-src::amcrypt-ossl.sh.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- server-src/amcrypt-ossl.sh.in.orig 2006-07-04 13:28:47.000000000 +0200
-+++ server-src/amcrypt-ossl.sh.in 2008-07-12 12:11:35.000000000 +0200
-@@ -7,7 +7,7 @@
- # change these as needed
- OPENSSL= # whatever's in $PATH
- CIPHER=aes-256-cbc # see `openssl help` for more ciphers
--AMANDA_HOME=~amandabackup
-+AMANDA_HOME=~@CLIENT_LOGIN@
- RANDFILE=$AMANDA_HOME/.rnd
- export RANDFILE
- PASSPHRASE=$AMANDA_HOME/.am_passphrase # required