2 # example configuration file for debianqueued
5 # set to != 0 for debugging output (to log file)
10 $gpg = "/usr/bin/gpg";
11 $ssh = "/usr/bin/ssh";
12 $scp = "/usr/bin/scp";
13 $ssh_agent = "/usr/bin/ssh-agent";
14 $ssh_add = "/usr/bin/ssh-add";
15 $md5sum = "/usr/bin/md5sum";
16 $mail = "/usr/sbin/sendmail";
17 $mkfifo = "/usr/bin/mkfifo";
18 $tar = "/bin/tar"; # must be GNU tar!
20 $ar = "/usr/bin/ar"; # must support p option, optional
23 $chmod = "/bin/chmod";
25 # binaries which existance should be tested before each queue run
28 # general options to ssh/scp
29 $ssh_options = "-o'BatchMode yes' -o'FallBackToRsh no' ".
30 "-o'ForwardAgent no' -o'ForwardX11 no' ".
31 "-o'PasswordAuthentication no' -o'StrictHostKeyChecking yes'";
33 # ssh key file to use for connects to master (empty: default ~/.ssh/identity)
36 # the incoming dir we live in
37 $incoming = "/srv/upload.debian.org/ftp/pub/UploadQueue";
39 # the delayed incoming directories
40 $incoming_delayed = "/srv/upload.debian.org/ftp/pub/UploadQueue/DELAYED/%d-day";
42 # maximum delay directory, -1 for no delayed directory,
43 # incoming_delayed and target_delayed need to exist.
46 # files not to delete in $incoming (regexp)
47 $keep_files = '(status|\.message|README)$';
49 # file patterns that aren't deleted right away
50 $valid_files = '(\.changes|\.tar\.(?:gz|bz2)|\.dsc|\.u?deb|diff\.gz|\.sh)$';
52 # Change files to mode 644 locally (after md5 check) or only on master?
55 # Do an md5sum check after upload?
58 # name of the status file or named pipe in the incoming dir
59 $statusfile = "$incoming/status";
61 # if 0, status file implemented as FIFO; if > 0, status file is plain
62 # file and updated with a delay of this many seconds
65 # names of the keyring files
66 @keyrings = ( "/srv/keyring.debian.org/keyrings/debian-keyring.gpg",
67 "/srv/keyring.debian.org/keyrings/debian-maintainers.gpg" );
70 $logfile = "$queued_dir/log";
73 $pidfile = "$queued_dir/pid";
75 # upload method (ssh, copy, ftp)
76 $upload_method = "copy";
78 # name of target host (ignored on copy method)
79 $target = "localhost";
81 # login name on target host (for ssh, always 'ftp' for ftp, ignored for copy)
82 $targetlogin = "queue";
84 # incoming on target host
85 $targetdir = "/srv/ftp-master.debian.org/queue/unchecked/";
87 # incoming/delayed on target host
88 $targetdir_delayed = "/srv/upload.debian.org/DEFERRED/%d-day";
90 # select FTP debugging
96 # max. number of tries to upload
97 $max_upload_retries = 8;
99 # delay after first failed upload
100 $upload_delay_1 = 30*60; # 30 min.
102 # delay between successive failed uploads
103 $upload_delay_2 = 4*60*60; # 4 hours
105 # packages that must go to nonus.debian.org and thus are rejected here
106 #@nonus_packages = qw(gpg-rsaidea);
110 # time between two queue checks
111 $queue_delay = 5*60; # 5 min.
112 # when are stray files deleted?
113 $stray_remove_timeout = 24*60*60; # 1 day
114 # delay before reporting problems with a .changes file (not
115 # immediately for to-be-continued uploads)
116 $problem_report_timeout = 30*60; # 30 min.
117 # delay before reporting that a .changes file is missing (not
118 # immediately for to-be-continued uploads)
119 $no_changes_timeout = 30*60; # 30 min.
120 # when are .changes with persistent problems removed?
121 $bad_changes_timeout = 2*24*60*60; # 2 days
122 # how long may a remote operation (ssh/scp) take?
123 $remote_timeout = 3*60*60; # 3 hours
125 # mail address of maintainer
126 $maintainer_mail = "ftpmaster\@debian.org";
128 # to override the TO address of ALL outgoing mail, set this value.
133 # how often to rotate (in days)
135 # how much old logs to keep
137 # send summary mail when rotating logs?
139 # write summary to file when rotating logs? (no if name empty)
140 $summary_file = "$queued_dir/summary";
142 # don't remove this, Perl needs it!