Subject: CVS commit: pkgsrc/sysutils
From: Greg Troxel
Date: 2015-03-28 00:45:29
Message id: 20150327234529.5FD0298@cvs.netbsd.org

Log Message:
Add 2 fixes to for amanda-server to work on NetBSD.

While amanda-client 3.3 has been stable on NetBSD for a while, the
server code has apparently never worked.  This commit adds several
patches:

  - include sys/{types,time}.h so autoconf tape drive checks pass
  - improve error messages when tape drive code is not compiled in
  - avoid perl crash in report generation

These changes have been tested on NetBSD 6 kernel with NetBSD 5
userland, amd64 (for no good reason, but this was the machine with the
tape drive), dumping many machines and writing to LTO.

The first two patches are taken from an upstream patch committed to
the 3.3 branch due to this problem being reported.  The third patch is
ad hoc based on perl debugging, and needs further investigation.  (But
it's better to get a report without a header line than an empty mail
message.)

Files:
RevisionActionfile
1.16modifypkgsrc/sysutils/amanda-common/distinfo
1.58modifypkgsrc/sysutils/amanda-server/Makefile
1.1addpkgsrc/sysutils/amanda-common/patches/patch-config_amanda_tape.m4
1.1addpkgsrc/sysutils/amanda-common/patches/patch-device-src_device.c
1.1addpkgsrc/sysutils/amanda-common/patches/patch-perl_Amanda_Report_human.pm