blob: 20ad30740c0477f1f9627b5d316ac57c18134172 (
plain)
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
|
#!/bin/bash
FTP_BASE="/srv/http/repo/public"
ARCH_BASE="/srv/http/repo/public"
SVNREPO="/var/abs"
# Repos from Arch
ARCHREPOS=('core' 'testing' 'extra' 'community' 'multilib')
# Official Parabola repos
OURREPOS=('libre' 'libre-testing')
# User repos
USERREPOS=('~fauno' '~smv' '~xihh' '~mtjm' '~brendan' '~lukeshu' '~emulatorman' '~aurelien' '~jorginho' '~coadde')
# Community project repos
PROJREPOS=('pcr' 'social' 'gis' 'artistic' 'elementary' 'kernels' 'radio' 'security' 'sugar' 'gnu' 'cross')
# Remote repos
RMTREPOS=('connos' 'connos-extra')
PKGREPOS=(${ARCHREPOS[@]} ${OURREPOS[@]} ${USERREPOS[@]} ${PROJREPOS[@]})
PKGPOOL='pool/packages'
SRCPOOL='sources/packages'
# Directories where packages are shared between repos
# *relative to FTP_BASE*
PKGPOOLS=('pool/packages' 'pool/community')
# Directories where sources are stored
SRCPOOLS=('sources/packages' 'sources/community')
CLEANUP_DESTDIR="$FTP_BASE/old/packages"
CLEANUP_DRYRUN=false
# Time in days to keep moved packages
CLEANUP_KEEP=30
SOURCE_CLEANUP_DESTDIR="$FTP_BASE/old/sources"
SOURCE_CLEANUP_DRYRUN=true
# Time in days to keep moved sourcepackages
SOURCE_CLEANUP_KEEP=30
REQUIRE_SIGNATURE=true
LOCK_DELAY=10
LOCK_TIMEOUT=300
STAGING="$FTP_BASE/staging"
TMPDIR="/tmp"
ARCHARCHES=(i686 x86_64)
OURARCHES=(mips64el)
ARCHES=(${ARCHARCHES[@]} ${OURARCHES[@]})
DBEXT=".db.tar.gz"
FILESEXT=".files.tar.gz"
PKGEXT=".pkg.tar.?z"
SRCEXT=".src.tar.gz"
MAKEPKGCONF="~/.makepkg.conf"
BLACKLIST_FILE="$HOME/blacklist/blacklist.txt"
# parabolaweb root
WEB_DIR=/srv/http/web
|