pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils



Module Name:    pkgsrc
Committed By:   gdt
Date:           Fri Mar 27 23:45:29 UTC 2015

Modified Files:
        pkgsrc/sysutils/amanda-common: distinfo
        pkgsrc/sysutils/amanda-server: Makefile
Added Files:
        pkgsrc/sysutils/amanda-common/patches: patch-config_amanda_tape.m4
            patch-device-src_device.c patch-perl_Amanda_Report_human.pm

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.)


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/amanda-common/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/amanda-common/patches/patch-config_amanda_tape.m4 \
    pkgsrc/sysutils/amanda-common/patches/patch-device-src_device.c \
    pkgsrc/sysutils/amanda-common/patches/patch-perl_Amanda_Report_human.pm
cvs rdiff -u -r1.57 -r1.58 pkgsrc/sysutils/amanda-server/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index