* ndmp-src/Makefile.am: Fix for building out of tree.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5823 a8d146d6-cc15-0410-8900-af154a0219e0
* ndmp-src/Makefile.am: Fix for building out of tree.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5825 a8d146d6-cc15-0410-8900-af154a0219e0
* common-src/security-util.c (check_security): Take a new service
  argument.
* common-src/amanda.h (check_security): Change prototype.
* common-src/conffile.c (config_is_initialized): New functionto return
  if the config is initialized.
* common-src/conffile.h (config_is_initialized) New prototype.
* common-src/debug.c: (debug_unlink_old): Return if config is not
  initialized.
* server-src/amidxtaped.pl: Add "amidxtaped" as argument to
  check_bsd_security.
* server-src/amindexd.c: Add "amindexd" as argument to check_security.
* perl/Amanda/Util.swg (check_security_fd): Take a new service
  argument, pass it to check_security.
* perl/Amanda/ClientService.pm (check_bsd_security): Take a new
  service argument, pass it to Amanda::Util::check_security.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5827 a8d146d6-cc15-0410-8900-af154a0219e0
* common-src/conffile.h (config_is_initialized): Fix prototype.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5829 a8d146d6-cc15-0410-8900-af154a0219e0
* common-src/conffile.c (config_is_initialized): Fix declaration.
* common-src/conffile.h: Comment typo.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5831 a8d146d6-cc15-0410-8900-af154a0219e0
* common-src/bsd-security.c, common-src/bsdtcp-security.c,
  common-src/bsdudp-security.c, common-src/krb5-security.c:
  Remove "\n" in security_seterror error message.
* server-src/amanda-rest-server.pl: Improve error detection.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5833 a8d146d6-cc15-0410-8900-af154a0219e0
* common-src/security-util.c (check_security): service is
  unused in some compilation path.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5834 a8d146d6-cc15-0410-8900-af154a0219e0
* server-src/amanda-rest-server.pl: Use Amadna::Paths::AMANDA_DBGDIR
  instead of CNF_LOGDIR for the rest-api-pid file.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5836 a8d146d6-cc15-0410-8900-af154a0219e0
Patch by Nathan Stratton Treadway
* man/xml-source/amgtar.8.xml:
  Add ": directory is on a different filesystem; not dumped".
* man/xml-source/amanda-devices.7.xml: Add amanda-changers man page.
* man/xml-source/ambsdtar.8.xml: Typo.
* man/xml-source/amanda.conf.5.xml: Typo.



git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5837 a8d146d6-cc15-0410-8900-af154a0219e0
* config/amanda/bsd-security.m4: USE_AMANDAHOSTS must be defined even
  without bsd security (for bsdudp and bsdtcp).


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5839 a8d146d6-cc15-0410-8900-af154a0219e0
* perl/Amanda/Rest/Amcheck.pm: Use '-c' for client check.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5841 a8d146d6-cc15-0410-8900-af154a0219e0
* common-src/conffile.c (config_print_errors_as_message): New function.
* common-src/conffile.h (config_print_errors_as_message): New
  prototype.
* perl/Amanda/Config.swg: Add error 1500016.
* server-src/amanda-rest-server.pl: s/Amadna/Amanda/
* server-src/amcheck.c: Use printf_message instead of error.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5842 a8d146d6-cc15-0410-8900-af154a0219e0
* config/amanda/dumpers.m4: Improve error message for bsdtar.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5843 a8d146d6-cc15-0410-8900-af154a0219e0
* amandad-src/amandad.c: Handle senddiscover service.
* client-src/Makefile.am: Build senddiscover.
* client-src/client_util.c: Parse DISCOVER backup support option.
* client-src/client_util.h (backup_support_option_t): Add discover.
* client-src/senddiscover.c: New client service.
* common-src/Makefile.am: Add ammessage.
* common-src/ammessage.c: Add struct and function to handle Message
  and print them in JSON format.
* common-src/ammessage.h: Add prototype.
* common-src/conffile.c: Fix json indentation.
* perl/Amanda/Message.pm: Add senddiscover.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5845 a8d146d6-cc15-0410-8900-af154a0219e0
* common-src/conffile.c, server-src/amcheck.c: Fix bug found by
  coverity.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5846 a8d146d6-cc15-0410-8900-af154a0219e0
* config/amanda/amanda_configure.m4: Call AMANDA_REST_HOOK
* perl/Amanda/Constants.pm.in.src: Add $REST_HOOK_DIR.
* config/amanda/rest-hook.m4 (AMANDA_REST_HOOK): --with-rest-hook
* perl/Amanda/Rest/Amanda/bin/app.pl.in: Load rest-hook


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5847 a8d146d6-cc15-0410-8900-af154a0219e0
* common-src/ammessage.c: Fix typedef.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5848 a8d146d6-cc15-0410-8900-af154a0219e0
* perl/Amanda/Application.swg (known_commands: Add discover.
* perl/Amanda/Message.pm: Add Amanda::Amvmware::Message.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5849 a8d146d6-cc15-0410-8900-af154a0219e0
* client-src/senddiscover.c: Fix.
* common-src/ammessage.c: Fix json output.
* perl/Amanda/Message.pm: Add Amanda::Service::Message.
* perl/Amanda/Rest/Amanda/bin/app.pl.in: Add
  /amanda/v1.0/services/discover URL
* perl/Makefile.am: Add Amanda/Service.pm and Amanda/Rest/Services.pm
* perl/Amanda/Service.pm: New perl module
* perl/Amanda/Rest/Services.pm: REST API for deicover service.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5850 a8d146d6-cc15-0410-8900-af154a0219e0
* perl/Makefile.am: Remove duplicate entry.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5851 a8d146d6-cc15-0410-8900-af154a0219e0