config-backports 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. #
  2. # example configuration file for debianqueued
  3. #
  4. # set to != 0 for debugging output (to log file)
  5. $debug = 0;
  6. # various programs:
  7. # -----------------
  8. $gpg = "/usr/bin/gpg";
  9. $ssh = "/usr/bin/ssh";
  10. $scp = "/usr/bin/scp";
  11. $ssh_agent = "/usr/bin/ssh-agent";
  12. $ssh_add = "/usr/bin/ssh-add";
  13. $md5sum = "/usr/bin/md5sum";
  14. $mail = "/usr/sbin/sendmail";
  15. $mkfifo = "/usr/bin/mkfifo";
  16. $tar = "/bin/tar"; # must be GNU tar!
  17. $gzip = "/bin/gzip";
  18. $ar = "/usr/bin/ar"; # must support p option, optional
  19. $ls = "/bin/ls";
  20. $cp = "/bin/cp";
  21. $chmod = "/bin/chmod";
  22. # binaries which existance should be tested before each queue run
  23. #@test_binaries = ();
  24. # general options to ssh/scp
  25. $ssh_options = "-o'BatchMode yes' -o'FallBackToRsh no' ".
  26. "-o'ForwardAgent no' -o'ForwardX11 no' ".
  27. "-o'PasswordAuthentication no' -o'StrictHostKeyChecking yes'";
  28. # ssh key file to use for connects to master (empty: default ~/.ssh/identity)
  29. $ssh_key_file = "";
  30. # the incoming dir we live in
  31. $incoming = "/srv/backports-upload/pub/UploadQueue";
  32. # the delayed incoming directories
  33. $incoming_delayed = "/srv/upload.debian.org/ftp/pub/UploadQueue/DELAYED/%d-day";
  34. # maximum delay directory, -1 for no delayed directory,
  35. # incoming_delayed and target_delayed need to exist.
  36. $max_delayed = -1;
  37. # files not to delete in $incoming (regexp)
  38. $keep_files = '(status|\.message|README)$';
  39. # file patterns that aren't deleted right away
  40. $valid_files = '(\.changes|\.tar\.(?:gz|bz2|xz)|\.dsc|\.u?deb|diff\.gz|\.sh|\.asc)$';
  41. # Change files to mode 644 locally (after md5 check) or only on master?
  42. $chmod_on_target = 0;
  43. # Do an md5sum check after upload?
  44. $check_md5sum = 0;
  45. # name of the status file or named pipe in the incoming dir
  46. $statusfile = "$incoming/status";
  47. # if 0, status file implemented as FIFO; if > 0, status file is plain
  48. # file and updated with a delay of this many seconds
  49. $statusdelay = 30;
  50. # names of the keyring files
  51. @keyrings = ( "/srv/keyring.debian.org/keyrings/debian-keyring.gpg",
  52. "/srv/keyring.debian.org/keyrings/debian-maintainers.gpg",
  53. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-all-keyring.gpg",
  54. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-amd64-keyring.gpg",
  55. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-arm64-keyring.gpg",
  56. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-armel-keyring.gpg",
  57. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-hurd-i386-keyring.gpg",
  58. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-i386-keyring.gpg",
  59. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-ia64-keyring.gpg",
  60. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-kfreebsd-amd64-keyring.gpg",
  61. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-kfreebsd-i386-keyring.gpg",
  62. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-mips64el-keyring.gpg",
  63. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-mipsel-keyring.gpg",
  64. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-mips-keyring.gpg",
  65. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-powerpc-keyring.gpg",
  66. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-ppc64el-keyring.gpg",
  67. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-s390-keyring.gpg",
  68. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-sparc-keyring.gpg");
  69. # our log file
  70. $logfile = "$queued_dir/run/log";
  71. # our pid file
  72. $pidfile = "$queued_dir/run/pid";
  73. # upload method (ssh, copy, ftp)
  74. $upload_method = "ftp";
  75. # name of target host (ignored on copy method)
  76. $target = "ftp-master.debian.org";
  77. # login name on target host (for ssh, always 'ftp' for ftp, ignored for copy)
  78. $targetlogin = "ftp";
  79. # incoming on target host
  80. $targetdir = "/pub/UploadQueue/";
  81. # incoming/delayed on target host
  82. $targetdir_delayed = "/srv/upload.debian.org/DEFERRED/%d-day";
  83. # select FTP debugging
  84. $ftpdebug = 0;
  85. # FTP timeout
  86. $ftptimeout = 900;
  87. # max. number of tries to upload
  88. $max_upload_retries = 8;
  89. # delay after first failed upload
  90. $upload_delay_1 = 30*60; # 30 min.
  91. # delay between successive failed uploads
  92. $upload_delay_2 = 4*60*60; # 4 hours
  93. # packages that must go to nonus.debian.org and thus are rejected here
  94. #@nonus_packages = qw(gpg-rsaidea);
  95. # timings:
  96. # --------
  97. # time between two queue checks
  98. $queue_delay = 5*60; # 5 min.
  99. # when are stray files deleted?
  100. $stray_remove_timeout = 24*60*60; # 1 day
  101. # delay before reporting problems with a .changes file (not
  102. # immediately for to-be-continued uploads)
  103. $problem_report_timeout = 30*60; # 30 min.
  104. # delay before reporting that a .changes file is missing (not
  105. # immediately for to-be-continued uploads)
  106. $no_changes_timeout = 30*60; # 30 min.
  107. # when are .changes with persistent problems removed?
  108. $bad_changes_timeout = 2*24*60*60; # 2 days
  109. # how long may a remote operation (ssh/scp) take?
  110. $remote_timeout = 3*60*60; # 3 hours
  111. # mail address of maintainer
  112. $maintainer_mail = "ftpmaster\@debian.org";
  113. # to override the TO address of ALL outgoing mail, set this value.
  114. $overridemail = "debian-backports-changes\@lists.debian.org";
  115. # logfile rotating:
  116. # -----------------
  117. # how often to rotate (in days)
  118. $log_age = 7;
  119. # how much old logs to keep
  120. $log_keep = 4;
  121. # send summary mail when rotating logs?
  122. $mail_summary = 1;
  123. # write summary to file when rotating logs? (no if name empty)
  124. $summary_file = "$queued_dir/summary";
  125. # don't remove this, Perl needs it!
  126. 1;