/usr/lib/amanda/perl/Amanda/Constants.pm is in amanda-common 1:3.3.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | # vim:ft=perl
# Copyright (c) 2008,2009 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 distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License along
# 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, 465 S. Mathilda Ave., Suite 300
# Sunnyvale, CA 94086, USA, or: http://www.zmanda.com
package Amanda::Constants;
=head1 NAME
Amanda::Constants - perl access to build-time configuration values
=head1 SYNOPSIS
use Amanda::Constants;
my $default_config = $Amanda::Constants::DEFAULT_CONFIG;
This package is a means of getting all of the necessary variables
provided by configure into Perl scripts, without a bunch of
boilerplate, and without requiring config.status substitution for
every .pm file.
This module does not automatically export any of its values.
See the source for the list of constants available.
=cut
# the 'warnings' pragma doesn't recognized exported variables as "used", and generates warnings
# for variables only used once. We turn it off for this module.
no warnings;
# (keep this list sorted in alphabetical order, for ease of updates)
$AIX_BACKUP = "";
$AMANDA_COMPONENTS = " server restore client amrecover ndmp";
$AMANDA_DEBUG_DAYS = "4";
$ASSERTIONS = "";
$BSDTCP_SECURITY = "yes";
$BSDUDP_SECURITY = "yes";
$BSD_SECURITY = "yes";
$CC = "gcc";
$CHECK_USERID = "1";
$CLIENT_HOST_INSTANCE = "@CLIENT_HOST_INSTANCE@";
$CLIENT_HOST_KEY_FILE = "@CLIENT_HOST_KEY_FILE@";
$CLIENT_HOST_PRINCIPAL = "@CLIENT_HOST_PRINCIPAL@";
$CLIENT_LOGIN = "backup";
$COMPRESS_BEST_OPT = "--best";
$COMPRESS_FAST_OPT = "--fast";
$COMPRESS_PATH = "/bin/gzip";
$COMPRESS_SUFFIX = ".gz";
$DD = "/bin/dd";
$DEFAULT_AMANDATES_FILE = "/var/lib/amanda/amandates";
$DEFAULT_CONFIG = "DailySet1";
$DEFAULT_SERVER = "localhost";
$DEFAULT_TAPE_DEVICE = "";
$DEFAULT_TAPE_SERVER = "localhost";
$DUMP = "/sbin/dump";
$DUMP_RETURNS_1 = "";
$GNUTAR = "/bin/tar";
$HAVE_GZIP = "1";
$KRB5_SECURITY = "no";
$LOCKING = "LNLOCK";
$MAILER = "/usr/bin/mail";
$MT = "mt";
$MTX = "/usr/sbin/mtx";
$MOUNT = "/bin/mount";
$UMOUNT = "/bin/umount";
$LPR = "/usr/bin/lpr";
$LPRFLAG = "";
$PS = "/bin/ps";
$PS_ARGUMENT = "-eo pid,ppid,command";
$PS_ARGUMENT_ARGS = "-eo pid,ppid,command";
$RESTORE = "/sbin/restore";
$RSH_SECURITY = "no";
$SAMBA_CLIENT = "/usr/bin/smbclient";
$SERVER_HOST_INSTANCE = "@SERVER_HOST_INSTANCE@";
$SERVER_HOST_KEY_FILE = "@SERVER_HOST_KEY_FILE@";
$SERVER_HOST_PRINCIPAL = "@SERVER_HOST_PRINCIPAL@";
$SSH_SECURITY = "yes";
$STAR = "";
$SUNTAR = "/usr/sbin/tar";
$TICKET_LIFETIME = "@TICKET_LIFETIME@";
$UNCOMPRESS_OPT = "-dc";
$UNCOMPRESS_PATH = "/bin/gzip";
$USE_AMANDAHOSTS = "yes";
$USE_RUNDUMP = "";
$VDUMP = "";
$VERSION = "3.3.1";
$VRESTORE = "";
$VXDUMP = "";
$VXRESTORE = "";
$XFSDUMP = "/sbin/xfsdump";
$XFSRESTORE = "/sbin/xfsrestore";
# non-AC_SUBST'd constants
$DATA_FD_OFFSET = 50;
$DATA_FD_COUNT = 3;
1;
|