summaryrefslogtreecommitdiff
path: root/sysutils/amanda-common
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2012-09-09 22:21:54 +0000
committerspz <spz@pkgsrc.org>2012-09-09 22:21:54 +0000
commitcc46b11509a37f6b811e273d638398844ef55358 (patch)
tree1b80ff0f3d4c00b1033612e818516b386394fe6b /sysutils/amanda-common
parentcf75a6ee7f265100734521264d3ec8102f495aa1 (diff)
downloadpkgsrc-cc46b11509a37f6b811e273d638398844ef55358.tar.gz
make the package compile on NetBSD -current
Diffstat (limited to 'sysutils/amanda-common')
-rw-r--r--sysutils/amanda-common/distinfo6
-rw-r--r--sysutils/amanda-common/patches/patch-common-src_security-util.h17
-rw-r--r--sysutils/amanda-common/patches/patch-perl_Makefile.am166
-rw-r--r--sysutils/amanda-common/patches/patch-perl_amglue_Makefile.am11
-rw-r--r--sysutils/amanda-common/version.mk3
5 files changed, 183 insertions, 20 deletions
diff --git a/sysutils/amanda-common/distinfo b/sysutils/amanda-common/distinfo
index 58c17019058..352ea81e6cb 100644
--- a/sysutils/amanda-common/distinfo
+++ b/sysutils/amanda-common/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2012/07/30 07:21:11 sbd Exp $
+$NetBSD: distinfo,v 1.11 2012/09/09 22:21:54 spz Exp $
SHA1 (amanda-3.3.1.tar.gz) = 22273381f61319e46e1da9d7029ca2b3991eee98
RMD160 (amanda-3.3.1.tar.gz) = 0d66ad25fd905901a1afd3651bd6c1e00db9af8d
@@ -11,12 +11,14 @@ SHA1 (patch-client-src_sendbackup-dump.c) = aea1aca0bbcdab0c393b012a592cbc5ca458
SHA1 (patch-client-src_sendsize.c) = 32a1627c250b6413e4695a610bba59796c6e7ed6
SHA1 (patch-common-src_glib-util.c) = 8b62499f6730843fbf9e872adc80978b77b5573f
SHA1 (patch-common-src_glib-util.h) = 6d5b14acd7a44b17a52ebc697f5354db2a4b04f9
+SHA1 (patch-common-src_security-util.h) = c628cc19a624da2cfabdb7d488bc2cd2d4b955a4
SHA1 (patch-config_amanda_dumpers.m4) = 3d0cf6133b003de53e05929d2ce04eaa0f614819
SHA1 (patch-config_amanda_krb5-security.m4) = c82af0e106e49b59994b40f12ed5b1c165a8497f
SHA1 (patch-config_macro-archive_xsltproc.m4) = 20324db1ce3db016fa89fe39df5a8133c7766693
SHA1 (patch-device-src_Makefile.am) = 29fd554033ff0ff7b1d98a08306f157ced7324c5
SHA1 (patch-example_Makefile.am) = 8d2dac1abdc473fbf94489bcb620a42a665fd27a
SHA1 (patch-oldrecover-src_Makefile.am) = 9127c1523937da3955662cc0b0921d05bca75248
-SHA1 (patch-perl_Makefile.am) = 9b02c19d88a91385fe0bd330cebe5520a40a78af
+SHA1 (patch-perl_Makefile.am) = fc87ad285a70bc8883b158b32a4a368e3dff7758
+SHA1 (patch-perl_amglue_Makefile.am) = c28fa7bac55b328e9e34b0024cab16ccce1e04e4
SHA1 (patch-recover-src_Makefile.am) = cd2ee55a0b285a33903e6157260cf167a1c79249
SHA1 (patch-server-src_Makefile.am) = d1a4546a8ae55b86040d423bd1bde7b5de5f03aa
diff --git a/sysutils/amanda-common/patches/patch-common-src_security-util.h b/sysutils/amanda-common/patches/patch-common-src_security-util.h
new file mode 100644
index 00000000000..96e570c8a79
--- /dev/null
+++ b/sysutils/amanda-common/patches/patch-common-src_security-util.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-common-src_security-util.h,v 1.1 2012/09/09 22:21:54 spz Exp $
+
+--- common-src/security-util.h.orig 2012-02-21 11:36:51.000000000 +0000
++++ common-src/security-util.h
+@@ -52,7 +52,11 @@
+ #define H_EOF -2 /* this connection has been shut down */
+
+ #ifdef KRB5_SECURITY
+-# define KRB5_DEPRECATED 1
++# if !defined(__NetBSD__) /* expecting more OSes to need this */
++# define KRB5_DEPRECATED 1
++# else
++# define KRB5_DEPRECATED
++# endif __NetBSD__
+ # ifndef KRB5_HEIMDAL_INCLUDES
+ # include <gssapi/gssapi_generic.h>
+ # else
diff --git a/sysutils/amanda-common/patches/patch-perl_Makefile.am b/sysutils/amanda-common/patches/patch-perl_Makefile.am
index 2ccfc5ce78e..f39124e6d24 100644
--- a/sysutils/amanda-common/patches/patch-perl_Makefile.am
+++ b/sysutils/amanda-common/patches/patch-perl_Makefile.am
@@ -1,17 +1,29 @@
-$NetBSD: patch-perl_Makefile.am,v 1.1 2012/07/30 07:21:11 sbd Exp $
-
-Link with installed librarys from amanda-common.
+$NetBSD: patch-perl_Makefile.am,v 1.2 2012/09/09 22:21:54 spz Exp $
--- perl/Makefile.am.orig 2012-02-21 11:36:47.000000000 +0000
+++ perl/Makefile.am
+@@ -118,9 +118,9 @@ libArchivedir = $(amperldir)/auto/Amanda
+ libArchive_LTLIBRARIES = libArchive.la
+ libArchive_la_SOURCES = Amanda/Archive.c $(AMGLUE_SWG)
+ libArchive_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libArchive_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/amar-src/libamar.la \
+- $(top_builddir)/common-src/libamanda.la
++libArchive_la_LIBADD = -lamglue \
++ -lamar \
++ -lamanda
+ Amanda_DATA += Amanda/Archive.pm
+ EXTRA_DIST += Amanda/Archive.swg Amanda/Archive.pm Amanda/Archive.pod
+ MAINTAINERCLEANFILES += Amanda/Archive.c Amanda/Archive.pm
@@ -135,9 +135,9 @@ libDevicedir = $(amperldir)/auto/Amanda/
libDevice_LTLIBRARIES = libDevice.la
libDevice_la_SOURCES = Amanda/Device.c $(AMGLUE_SWG)
libDevice_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libDevice_la_LIBADD = amglue/libamglue.la \
-+libDevice_la_LIBADD = -lamglue \
- $(top_builddir)/device-src/libamdevice.la \
+- $(top_builddir)/device-src/libamdevice.la \
- $(top_builddir)/common-src/libamanda.la
++libDevice_la_LIBADD = -lamglue \
++ -lamdevice \
+ -lamanda
Amanda_DATA += Amanda/Device.pm
MAINTAINERCLEANFILES += Amanda/Device.c Amanda/Device.pm
@@ -21,9 +33,10 @@ Link with installed librarys from amanda-common.
libLogfile_la_SOURCES = Amanda/Logfile.c $(AMGLUE_SWG)
libLogfile_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libLogfile_la_LIBADD = amglue/libamglue.la \
-+libLogfile_la_LIBADD = -lamglue \
- $(top_builddir)/server-src/libamserver.la \
+- $(top_builddir)/server-src/libamserver.la \
- $(top_builddir)/common-src/libamanda.la
++libLogfile_la_LIBADD = -lamglue \
++ -lamserver \
+ -lamanda
Amanda_DATA += Amanda/Logfile.pm
MAINTAINERCLEANFILES += Amanda/Logfile.c Amanda/Logfile.pm
@@ -33,9 +46,10 @@ Link with installed librarys from amanda-common.
libCmdline_la_SOURCES = Amanda/Cmdline.c $(AMGLUE_SWG)
libCmdline_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libCmdline_la_LIBADD = amglue/libamglue.la \
-+libCmdline_la_LIBADD = -lamglue \
- $(top_builddir)/server-src/libamserver.la \
+- $(top_builddir)/server-src/libamserver.la \
- $(top_builddir)/common-src/libamanda.la
++libCmdline_la_LIBADD = -lamglue \
++ -lamserver \
+ -lamanda
Amanda_DATA += Amanda/Cmdline.pm
MAINTAINERCLEANFILES += Amanda/Cmdline.c Amanda/Cmdline.pm
@@ -45,9 +59,10 @@ Link with installed librarys from amanda-common.
libTapelist_la_SOURCES = Amanda/Tapelist.c $(AMGLUE_SWG)
libTapelist_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libTapelist_la_LIBADD = amglue/libamglue.la \
-+libTapelist_la_LIBADD = -lamglue \
- $(top_builddir)/server-src/libamserver.la \
+- $(top_builddir)/server-src/libamserver.la \
- $(top_builddir)/common-src/libamanda.la
++libTapelist_la_LIBADD = -lamglue \
++ -lamserver \
+ -lamanda
Amanda_DATA += Amanda/Tapelist.pm
MAINTAINERCLEANFILES += Amanda/Tapelist.c Amanda/Tapelist.pm
@@ -57,28 +72,145 @@ Link with installed librarys from amanda-common.
libDisklist_la_SOURCES = Amanda/Disklist.c $(AMGLUE_SWG)
libDisklist_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libDisklist_la_LIBADD = amglue/libamglue.la \
-+libDisklist_la_LIBADD = -lamglue \
- $(top_builddir)/server-src/libamserver.la \
+- $(top_builddir)/server-src/libamserver.la \
- $(top_builddir)/common-src/libamanda.la
++libDisklist_la_LIBADD = -lamglue \
++ -lamserver \
+ -lamanda
Amanda_DATA += Amanda/Disklist.pm
MAINTAINERCLEANFILES += Amanda/Disklist.c Amanda/Disklist.pm
endif
-@@ -359,7 +359,7 @@ libXferServerdir = $(amperldir)/auto/Ama
+@@ -205,8 +205,8 @@ libFeaturedir = $(amperldir)/auto/Amanda
+ libFeature_LTLIBRARIES = libFeature.la
+ libFeature_la_SOURCES = Amanda/Feature.c $(AMGLUE_SWG)
+ libFeature_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libFeature_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++libFeature_la_LIBADD = -lamglue \
++ -lamanda
+ Amanda_DATA += Amanda/Feature.pm
+ MAINTAINERCLEANFILES += Amanda/Feature.c Amanda/Feature.pm
+ EXTRA_DIST += Amanda/Feature.swg Amanda/Feature.pm Amanda/Feature.pod
+@@ -333,8 +333,8 @@ libXferdir = $(amperldir)/auto/Amanda/Xf
+ libXfer_LTLIBRARIES = libXfer.la
+ libXfer_la_SOURCES = Amanda/Xfer.c $(AMGLUE_SWG)
+ libXfer_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libXfer_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/xfer-src/libamxfer.la
++libXfer_la_LIBADD = -lamglue \
++ -lamxfer
+ Amanda_DATA += Amanda/Xfer.pm
+ MAINTAINERCLEANFILES += Amanda/Xfer.c Amanda/Xfer.pm
+ EXTRA_DIST += Amanda/Xfer.swg Amanda/Xfer.pm Amanda/Xfer.pod
+@@ -345,9 +345,9 @@ libNDMPdir = $(amperldir)/auto/Amanda/ND
+ libNDMP_LTLIBRARIES = libNDMP.la
+ libNDMP_la_SOURCES = Amanda/NDMP.c $(AMGLUE_SWG)
+ libNDMP_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libNDMP_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/common-src/libamanda.la \
+- $(top_builddir)/ndmp-src/libndmlib.la
++libNDMP_la_LIBADD = -lamglue \
++ -lamanda \
++ -lndmlib
+ Amanda_DATA += Amanda/NDMP.pm
+ MAINTAINERCLEANFILES += Amanda/NDMP.c Amanda/NDMP.pm
+ EXTRA_DIST += Amanda/NDMP.swg Amanda/NDMP.pm Amanda/NDMP.pod
+@@ -359,8 +359,8 @@ libXferServerdir = $(amperldir)/auto/Ama
libXferServer_LTLIBRARIES = libXferServer.la
libXferServer_la_SOURCES = Amanda/XferServer.c $(AMGLUE_SWG)
libXferServer_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libXferServer_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/server-src/libamserver.la
+libXferServer_la_LIBADD = -lamglue \
- $(top_builddir)/server-src/libamserver.la
++ -lamserver
Amanda_DATA += Amanda/XferServer.pm
MAINTAINERCLEANFILES += Amanda/XferServer.c Amanda/XferServer.pm
-@@ -502,7 +502,7 @@ libApplicationdir = $(amperldir)/auto/Am
+ EXTRA_DIST += Amanda/XferServer.swg Amanda/XferServer.pm Amanda/XferServer.pod
+@@ -392,8 +392,8 @@ libDebugdir = $(amperldir)/auto/Amanda/D
+ libDebug_LTLIBRARIES = libDebug.la
+ libDebug_la_SOURCES = Amanda/Debug.c $(AMGLUE_SWG)
+ libDebug_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libDebug_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++libDebug_la_LIBADD = -lamglue \
++ -lamanda
+ Amanda_DATA += Amanda/Debug.pm
+ EXTRA_DIST += Amanda/Debug.swg Amanda/Debug.pm Amanda/Debug.pod
+ MAINTAINERCLEANFILES += Amanda/Debug.c Amanda/Debug.pm
+@@ -403,8 +403,8 @@ libConfigdir = $(amperldir)/auto/Amanda/
+ libConfig_LTLIBRARIES = libConfig.la
+ libConfig_la_SOURCES = Amanda/Config.c $(AMGLUE_SWG)
+ libConfig_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libConfig_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++libConfig_la_LIBADD = -lamglue \
++ -lamanda
+ Amanda_DATA += Amanda/Config.pm
+ EXTRA_DIST += Amanda/Config.swg Amanda/Config.pm Amanda/Config.pod
+ MAINTAINERCLEANFILES += Amanda/Config.c Amanda/Config.pm
+@@ -419,8 +419,8 @@ libUtildir = $(amperldir)/auto/Amanda/Ut
+ libUtil_LTLIBRARIES = libUtil.la
+ libUtil_la_SOURCES = Amanda/Util.c $(AMGLUE_SWG)
+ libUtil_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libUtil_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++libUtil_la_LIBADD = -lamglue \
++ -lamanda
+ Amanda_DATA += Amanda/Util.pm
+ EXTRA_DIST += Amanda/Util.swg Amanda/Util.pm Amanda/Util.pod
+ MAINTAINERCLEANFILES += Amanda/Util.c Amanda/Util.pm
+@@ -430,8 +430,8 @@ libHeaderdir = $(amperldir)/auto/Amanda/
+ libHeader_LTLIBRARIES = libHeader.la
+ libHeader_la_SOURCES = Amanda/Header.c $(AMGLUE_SWG)
+ libHeader_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libHeader_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++libHeader_la_LIBADD = -lamglue \
++ -lamanda
+ Amanda_DATA += Amanda/Header.pm
+ EXTRA_DIST += Amanda/Header.swg Amanda/Header.pm Amanda/Header.pod
+ MAINTAINERCLEANFILES += Amanda/Header.c Amanda/Header.pm
+@@ -441,8 +441,8 @@ libTestsdir = $(amperldir)/auto/Amanda/T
+ libTests_LTLIBRARIES = libTests.la
+ libTests_la_SOURCES = Amanda/Tests.c $(AMGLUE_SWG)
+ libTests_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libTests_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++libTests_la_LIBADD = -lamglue \
++ -lamanda
+ Amanda_DATA += Amanda/Tests.pm
+ EXTRA_DIST += Amanda/Tests.swg Amanda/Tests.pm Amanda/Tests.pod
+ MAINTAINERCLEANFILES += Amanda/Tests.c Amanda/Tests.pm
+@@ -452,8 +452,8 @@ libMainLoopdir = $(amperldir)/auto/Amand
+ libMainLoop_LTLIBRARIES = libMainLoop.la
+ libMainLoop_la_SOURCES = Amanda/MainLoop.c $(AMGLUE_SWG)
+ libMainLoop_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libMainLoop_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++libMainLoop_la_LIBADD = -lamglue \
++ -lamanda
+ Amanda_DATA += Amanda/MainLoop.pm
+ EXTRA_DIST += Amanda/MainLoop.swg Amanda/MainLoop.pm Amanda/MainLoop.pod
+ MAINTAINERCLEANFILES += Amanda/MainLoop.c Amanda/MainLoop.pm
+@@ -469,8 +469,8 @@ libIPCBinarydir = $(amperldir)/auto/Aman
+ libIPCBinary_LTLIBRARIES = libBinary.la
+ libBinary_la_SOURCES = Amanda/IPC/Binary.c $(AMGLUE_SWG)
+ libBinary_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
+-libBinary_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/common-src/libamanda.la
++libBinary_la_LIBADD = -lamglue \
++ -lamanda
+ AmandaIPC_DATA += Amanda/IPC/Binary.pm
+ EXTRA_DIST += Amanda/IPC/Binary.swg Amanda/IPC/Binary.pm Amanda/IPC/Binary.pod
+ MAINTAINERCLEANFILES += Amanda/IPC/Binary.c Amanda/IPC/Binary.pm
+@@ -502,8 +502,8 @@ libApplicationdir = $(amperldir)/auto/Am
libApplication_LTLIBRARIES = libApplication.la
libApplication_la_SOURCES = Amanda/Application.c $(AMGLUE_SWG)
libApplication_la_LDFLAGS = $(PERL_EXT_LDFLAGS)
-libApplication_la_LIBADD = amglue/libamglue.la \
+- $(top_builddir)/client-src/libamclient.la
+libApplication_la_LIBADD = -lamglue \
- $(top_builddir)/client-src/libamclient.la
++ -lamclient
Amanda_DATA += Amanda/Application.pm
MAINTAINERCLEANFILES += Amanda/Application.c Amanda/Application.pm
+ endif
diff --git a/sysutils/amanda-common/patches/patch-perl_amglue_Makefile.am b/sysutils/amanda-common/patches/patch-perl_amglue_Makefile.am
new file mode 100644
index 00000000000..3581f7276b1
--- /dev/null
+++ b/sysutils/amanda-common/patches/patch-perl_amglue_Makefile.am
@@ -0,0 +1,11 @@
+$NetBSD: patch-perl_amglue_Makefile.am,v 1.1 2012/09/09 22:21:54 spz Exp $
+
+--- perl/amglue/Makefile.am.orig 2012-02-21 11:36:47.000000000 +0000
++++ perl/amglue/Makefile.am
+@@ -31,5 +31,5 @@ libamglue_la_SOURCES = \
+ amglue.h
+ libamglue_la_LDFLAGS = $(PERL_EXT_LDFLAGS) -release $(VERSION)
+ libamglue_la_LIBADD = \
+- $(top_builddir)/xfer-src/libamxfer.la
++ -lamxfer
+ EXTRA_DIST += $(libamglue_la_SOURCES)
diff --git a/sysutils/amanda-common/version.mk b/sysutils/amanda-common/version.mk
index c1013243613..eb2359a7ed1 100644
--- a/sysutils/amanda-common/version.mk
+++ b/sysutils/amanda-common/version.mk
@@ -1,2 +1,3 @@
-# $NetBSD: version.mk,v 1.2 2012/07/30 07:21:11 sbd Exp $
+# $NetBSD: version.mk,v 1.3 2012/09/09 22:21:54 spz Exp $
AMANDA_VERSION= 3.3.1
+PKGREVISION= 1