Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 1 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 magnus 1
# DebPool configuration file
2
 
3
package DebPool::Config;
4
 
5
# A DebPool::Config file is a well-formed Perl module; it declares a
6
# package namespace of 'DebPool::Config', contains a definition of exactly
7
# one hash named 'Options', and declares a true value at the end of the
8
# file.
9
 
10
# File/Directory configuration
11
#
12
# These config values determine what directories various parts of the
13
# archive are put in, and what permissions those directories have, as well
14
# as the default permissions for files.
15
#
16
# NOTE: While debpool will attempt to create db_dir, dists_dir,
17
# incoming_dir, installed_dir, pool_dir, and reject_dir if they do not
18
# exist, it will *not* attempt to do this for archive_dir.
19
#
20
# WARNING: If you redefine archive_dir and you want the other four
21
# entries to reflect this by incorporating the new value, you *MUST*
22
# redefine them here (even if you simply use the default value of
23
# 'archive_dir'/<dirname>) so that they use the new definition of
24
# archive_dir.
25
 
26
#$Options{'archive_dir'} = '/var/cache/debpool';
27
#$Options{'db_dir'} = "$Options{'archive_dir'}/db";
28
#$Options{'db_dir_mode'} = 0750;
29
#$Options{'db_file_mode'} = 0640;
30
#$Options{'dists_dir'} = "$Options{'archive_dir'}/dists";
31
#$Options{'dists_dir_mode'} = 0755;
32
#$Options{'dists_file_mode'} = 0644;
33
#$Options{'incoming_dir'} = "$Options{'archive_dir'}/incoming";
34
#$Options{'incoming_dir_mode'} = 01775;
35
#$Options{'installed_dir'} = "$Options{'archive_dir'}/installed";
36
#$Options{'installed_dir_mode'} = 0755;
37
#$Options{'installed_file_mode'} = 0644;
38
#$Options{'pool_dir'} = "$Options{'archive_dir'}/pool";
39
#$Options{'pool_dir_mode'} = 0755;
40
#$Options{'pool_file_mode'} = 0644;
41
#$Options{'reject_dir'} = "$Options{'archive_dir'}/reject";
42
#$Options{'reject_dir_mode'} = 0750;
43
#$Options{'reject_file_mode'} = 0640;
44
#$Options{'lock_file'} = "$Options{'archive_dir'}/.lock";
45
#$Options{'compress_dists'} = 0;
46
 
47
# Archive configuration
48
#
49
# These values control which distributions, components, and architectures
50
# the archive will support.
51
 
52
#$Options{'dists'} = {
53
#    'stable' => 'woody',
54
#    'testing' => 'sarge',
55
#    'unstable' => 'sid',
56
#    'experimental' => 'experimental'
57
#};
58
 
59
#$Options{'virtual_dists'} = {
60
#};
61
 
62
#$Options{'sections'} = [ 'main', 'contrib', 'non-free' ];
63
#$Options{'archs'} = [ 'i386' ];
64
 
65
# Release configuration
66
 
67
# If all of the variables below are defined (release_origin, release_label,
68
# and release_description), Release files will be generated for each
69
# distribution directory.
70
#
71
# Please note that enabling Release files will introduce a dependancy on
72
# the packages 'libdigest-md5-perl' and 'libdigest-sha1-perl'.
73
 
74
#$Options{'release_origin'} = undef;
75
#$Options{'release_label'} = undef;
76
#$Options{'release_description'} = undef;
77
 
78
#$Options{'release_noauto'} = [
79
#    'experimental',
80
#];
81
 
82
# Signature configuration
83
 
84
# Please note that enabling either of these options will cause a dependancy
85
# on the 'gnupg' package. See /usr/share/doc/debpool/README.GnuPG for more
86
# information.
87
 
88
#$Options{'require_sigs_debs'} = 0;
89
#$Options{'require_sigs_meta'} = 0;
90
#$Options{'sign_release'} = 0;
91
 
92
# GnuPG configuration
93
 
94
# These values will only be used if the use of GnuPG is triggered in some
95
# fashion (such as 'require_sigs' or 'sign_release' being true), and
96
# thus do not (in themselves) trigger a dependancy on GnuPG. Please see
97
# /usr/share/doc/debpool/README.GnuPG for more information.
98
 
99
#$Options{'gpg_bin'} = '/usr/bin/gpg';
100
#$Options{'gpg_home'} = '/home/user/.gnupg';
101
#$Options{'gpg_keyrings'} = [ 'uploaders.gpg' ];
102
#$Options{'gpg_sign_key'} = undef;
103
#$Options{'gpg_passfile'} = '/home/user/.gnupg/passphrase';
104
 
105
# Logging configuration
106
#
107
# These are values which control the logging system.
108
 
109
#$Options{'log_file'} = '/home/user/.debpool/DebPool.log';
110
 
111
# Misc. configuration
112
 
113
# These are values which don't particularly fit into any of the other
114
# sections.
115
 
116
#$Options{'daemon'} = 0;
117
#$Options{'sleep'} = 300;
118
#$Options{'rollback'} = 0;
119
#$Options{'rebuild-files'} = 0;
120
#$Options{'rebuild-dbs'} = 0;
121
#$Options{'rebuild-all'} = 0;
122
 
123
# We're a module, so return a true value.
124
 
125
1;