-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgettor.conf
175 lines (163 loc) · 6.81 KB
/
gettor.conf
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
#
# Basic GetTor configuration file.
#
# What `From:' address are we using by default?
MAIL_FROM = "GetTor <[email protected]>"
# Where it is all based at. Subdirs for GetTor start from here.
BASEDIR = "/tmp"
# Should we send a `Your package will arrive soon, be patient' mail?
DELAY_ALERT = True
# Basename of the GetTor log files. Will be expandet to $LOGFILE-YYYY-MM-DD.log
LOGFILE = "gettor_log"
# What log level should we use?
LOGLEVEL = "DEBUG"
# The file containing the hashed command password
PASSFILE = "gettor.pass"
# Where do we dump erronous emails? If this is "", no records are kept
DUMPFILE = "gettor.dump"
# Do we send every mail type to every user only once before we blacklist them
# for it?
BLACKLIST_BY_TYPE = True
# Which mirror to sync packages from
RSYNC_MIRROR = "rsync.torproject.org"
# Default locale
DEFAULT_LOCALE = "en"
# Which languages to we support in GetTor?
SUPP_LANGS = { "en": ("english", ),
"fa": ("farsi", ),
"de": ("deutsch", ),
"ar": ("arabic", ),
"es": ("spanish", ),
"fr": ("french", ),
"it": ("italian", ),
"nl": ("dutch", ),
"pl": ("polish", ),
"ru": ("russian", ),
"zh_CN": ("chinese", "zh",) }
PACKAGES = {
# "bundle name":
# ("single file regex", # Path names need to be relative to
# "split file regex"), # BASEDIR/dist
"tor-browser-bundle":
("torbrowser/tor-browser-*_en-US.exe",
"torbrowser/tor-browser-*_en-US_split"),
"tor-browser-bundle_en":
("torbrowser/tor-browser-*_en-US.exe",
"torbrowser/tor-browser-*_en-US_split"),
"tor-browser-bundle_de":
("torbrowser/tor-browser-*_de.exe",
"torbrowser/tor-browser-*_de_split"),
"tor-browser-bundle_ar":
("torbrowser/tor-browser-*_ar.exe",
"torbrowser/tor-browser-*_ar_split"),
"tor-browser-bundle_es":
("torbrowser/tor-browser-*_es-ES.exe",
"torbrowser/tor-browser-*_es-ES_split"),
"tor-browser-bundle_fa":
("torbrowser/tor-browser-*_fa.exe",
"torbrowser/tor-browser-*_fa_split"),
"tor-browser-bundle_fr":
("torbrowser/tor-browser-*_fr.exe",
"torbrowser/tor-browser-*_fr_split"),
"tor-browser-bundle_it":
("torbrowser/tor-browser-*_it.exe",
"torbrowser/tor-browser-*_it_split"),
"tor-browser-bundle_nl":
("torbrowser/tor-browser-*_nl.exe",
"torbrowser/tor-browser-*_nl_split"),
"tor-browser-bundle_pl":
("torbrowser/tor-browser-*_pl.exe",
"torbrowser/tor-browser-*_pl_split"),
"tor-browser-bundle_pt":
("torbrowser/tor-browser-*_pt-PT.exe",
"torbrowser/tor-browser-*_pt-PT_split"),
"tor-browser-bundle_ru":
("torbrowser/tor-browser-*_ru.exe",
"torbrowser/tor-browser-*_ru_split"),
"tor-browser-bundle_zh_CN":
("torbrowser/tor-browser-*_zh-CN.exe",
"torbrowser/tor-browser-*_zh-CN_split"),
"source-bundle":
("tor-*.tar.gz",
"unavailable"),
"windows-bundle":
("vidalia-bundles/vidalia-bundle-*.exe",
"unavailable"),
"macosx-ppc-bundle":
("vidalia-bundles/vidalia-bundle-*-ppc.dmg",
"unavailable"),
"macosx-i386-bundle":
("vidalia-bundles/vidalia-bundle-*-i386.dmg",
"unavailable"),
"linux-browser-bundle-i386":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-en-US.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_en":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-en-US.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_ar":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-ar.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_de":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-de.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_es-ES":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-es-ES.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_fa":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-fa.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_fr":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-fr.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_it":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-it.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_nl":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-nl.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_pl":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-pl.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_ru":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-ru.tar.gz",
"unavailable"),
"linux-browser-bundle-i386_zh_CN":
("torbrowser/linux/tor-browser-gnu-linux-i686-*-zh-CN.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-en-US.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_en":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-en-US.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_ar":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-ar.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_de":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-de.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_es-ES":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-es-ES.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_fa":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-fa.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_fr":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-fr.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_it":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-it.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_nl":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-nl.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_pl":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-pl.tar.gz",
"unavailable"),
"linux-browser-bundle-x86_64_zh_CN":
("torbrowser/linux/tor-browser-gnu-linux-x86_64-*-zh-CN.tar.gz",
"unavailable"),
# Mike won't sign Torbutton; He doesn't get gettor support
#"torbutton": "torbutton-current.xpi",
}