config-security-disembargo 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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/queued/UploadQueue/OpenSecurityUploadQueue/";
  32. # the delayed incoming directories
  33. $incoming_delayed = "/srv/queued/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?
  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/buildd-keyrings/buildd-all-keyring.gpg",
  53. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-amd64-keyring.gpg",
  54. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-arm64-keyring.gpg",
  55. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-armhf-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-s390x-keyring.gpg",
  69. "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-sparc-keyring.gpg");
  70. # our log file
  71. $logfile = "$queued_dir/run/log";
  72. # our pid file
  73. $pidfile = "$queued_dir/run/pid";
  74. # upload method (ssh, copy, ftp)
  75. $upload_method = "copy";
  76. # name of target host (ignored on copy method)
  77. $target = "localhost";
  78. # login name on target host (for ssh, always 'ftp' for ftp, ignored for copy)
  79. $targetlogin = "copy";
  80. # incoming on target host
  81. $targetdir = "/srv/security-master.debian.org/queue/unchecked-disembargo";
  82. # incoming/delayed on target host
  83. $targetdir_delayed = "/srv/queued/DEFERRED/%d-day";
  84. # select FTP debugging
  85. $ftpdebug = 0;
  86. # FTP timeout
  87. $ftptimeout = 900;
  88. # max. number of tries to upload
  89. $max_upload_retries = 8;
  90. # delay after first failed upload
  91. $upload_delay_1 = 30*60; # 30 min.
  92. # delay between successive failed uploads
  93. $upload_delay_2 = 4*60*60; # 4 hours
  94. # packages that must go to nonus.debian.org and thus are rejected here
  95. #@nonus_packages = qw(gpg-rsaidea);
  96. # timings:
  97. # --------
  98. # time between two queue checks
  99. $queue_delay = 5*60; # 5 min.
  100. # when are stray files deleted?
  101. $stray_remove_timeout = 24*60*60; # 1 day
  102. # delay before reporting problems with a .changes file (not
  103. # immediately for to-be-continued uploads)
  104. $problem_report_timeout = 30*60; # 30 min.
  105. # delay before reporting that a .changes file is missing (not
  106. # immediately for to-be-continued uploads)
  107. $no_changes_timeout = 30*60; # 30 min.
  108. # when are .changes with persistent problems removed?
  109. $bad_changes_timeout = 2*24*60*60; # 2 days
  110. # how long may a remote operation (ssh/scp) take?
  111. $remote_timeout = 3*60*60; # 3 hours
  112. # mail address of maintainer
  113. $maintainer_mail = "ftpmaster\@debian.org";
  114. # to override the TO address of ALL outgoing mail, set this value.
  115. $overridemail = "dak\@security.debian.org";
  116. # logfile rotating:
  117. # -----------------
  118. # how often to rotate (in days)
  119. $log_age = 7;
  120. # how much old logs to keep
  121. $log_keep = 4;
  122. # send summary mail when rotating logs?
  123. $mail_summary = 1;
  124. # write summary to file when rotating logs? (no if name empty)
  125. $summary_file = "$queued_dir/summary";
  126. # don't remove this, Perl needs it!
  127. 1;