summaryrefslogtreecommitdiff
path: root/config_abslibre_gnu+linux_arm
blob: 4e35017764a01cda767112c4b4def8fa23ae39ae (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/hint/bash

source "$(dirname "$(readlink -e "$0")")/config"

# Parabola Platform
PLATFORM_NAME='GNU/Linux-libre'
PLATFORM='gnu+linux'

# Multilib Support Archictectures
MULTILIB_ARCHES=()

# Archictectures
ARCHES=('arm' 'armv6h' 'armv7h' 'aarch64' "${MULTILIB_ARCHES[@]}")

# Main Repositories from Arch GNU/Linux ARM
MAIN_REPOS=('core' 'extra' 'community' 'aur' 'alarm')
# Libre Repositories from Parabola GNU/Linux-libre
LIBRE_MAIN_REPOS=('libre' 'libre-testing')

# Multilib Repositories from Arch GNU/Linux ARM
MULTILIB_REPOS=('multilib')
# Libre Multilib Repositories from Parabola GNU/Linux-libre
LIBRE_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing')

# Extra Repositories
EXTRA_REPOS=('nonprism' 'nonprism-testing' 'kernels' 'kernels-testing' 'cross' 'java')

# Community Repositories
COMMUNITY_REPOS=('pcr' 'pcr-testing' 'pur' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh')

# Platform Repositories
PLATFORM_REPOS=('nonsystemd' 'nonsystemd-testing')

# Remote Repositories
PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}")
PKG_MULTILIB_REPOS=("${LIBRE_MULTILIB_REPOS[@]}" "${MULTILIB_REPOS[@]}")

# Directories where packages are shared between repos
# *relative to REPO_DIR*
PKG_POOL="${PKG_POOL_DIR}/abslibre_${PLATFORM}_arm"

# Directories where sources are stored
SRC_POOL="${SRC_POOL_DIR}/abslibre_${PLATFORM}_arm"

# Build System and Repository scripts
BS_MAIN_NAME="abslibre_${PLATFORM}_arm"
BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}"
BS_DERIVATION_NAME="abs_${PLATFORM}_arm"
BS_DERIVATION_DIR="${SRV_DIR}/${BS_DERIVATION_NAME}"
BS_GIT="${GIT_BASE}/abslibre/${BS_MAIN_NAME}.git"
# BS_GIT='http://projects.parabola.gnu/abslibre/${BS_MAIN_NAME}.git'
BS_GIT_TMP="${TMP_DIR}/${BS_MAIN_NAME}"
BLACKLIST_NAME="blacklist_${PLATFORM}_arm.txt"
BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt"
BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt"
SYNC_DERIVATION_SERVER='rsync.archlinuxarm.org'

# Base Repository
REPO_DIR="${SRV_DIR}/repo/abslibre_${PLATFORM}_arm"

CLEANUP_DESTDIR="${REPO_DIR}/old/packages"
CLEANUP_DRYRUN='false'
# Time in days to keep moved packages
CLEANUP_KEEP='30'

SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources"
SOURCE_CLEANUP_DRYRUN='true'
# Time in days to keep moved sourcepackages
SOURCE_CLEANUP_KEEP='30'