X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=perl%2FAmanda%2FPaths.pm.in;h=a6ffb63b3805063a96410a8602ce401a3b34b9e3;hb=refs%2Ftags%2Fupstream%2F3.3.3;hp=501bffa7211f96295dd2525795554ad381fa599e;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/perl/Amanda/Paths.pm.in b/perl/Amanda/Paths.pm.in index 501bffa..a6ffb63 100644 --- a/perl/Amanda/Paths.pm.in +++ b/perl/Amanda/Paths.pm.in @@ -1,9 +1,10 @@ # vim:ft=perl -# Copyright (c) 2006 Zmanda Inc. All Rights Reserved. +# Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 2 as published -# by the Free Software Foundation. +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -14,14 +15,14 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# Contact information: Zmanda Inc, 505 N Mathlida Ave, Suite 120 -# Sunnyvale, CA 94085, USA, or: http://www.zmanda.com +# Contact information: Zmanda Inc, 465 S. Mathilda Ave., Suite 300 +# Sunnyvale, CA 94086, USA, or: http://www.zmanda.com package Amanda::Paths; =head1 NAME -Amanda::Paths - perl access to build-time configuration values +Amanda::Paths - perl access to build-time configuration paths =head1 SYNOPSIS @@ -51,10 +52,15 @@ use Exporter; $amlibexecdir $mandir $datarootdir + $sysconfdir + $amdatadir + $localstatedir $AMANDA_TMPDIR $CONFIG_DIR $AMANDA_DBGDIR + $APPLICATION_DIR + $GNUTAR_LISTED_INCREMENTAL_DIR ); # the 'warnings' pragma doesn't recognized exported variables as "used", and generates warnings @@ -73,9 +79,16 @@ $amlibexecdir = "@amlibexecdir@"; $mandir = "@mandir@"; # (config.status worries if it doesn't see this:) $datarootdir = "@datarootdir@"; +$sysconfdir = "@sysconfdir@"; +$amdatadir = "@amdatadir@"; +$localstatedir = "@localstatedir@"; ## amanda configuration directories $AMANDA_TMPDIR = "@AMANDA_TMPDIR@"; $CONFIG_DIR = "@CONFIG_DIR@"; $AMANDA_DBGDIR = "@AMANDA_DBGDIR@"; +$APPLICATION_DIR = "@APPLICATION_DIR@"; +$GNUTAR_LISTED_INCREMENTAL_DIR = "@GNUTAR_LISTED_INCREMENTAL_DIR@"; + +1;