summaryrefslogtreecommitdiff
path: root/src/etc/xbs.cfg
blob: d9797da3afb8d7064d7d2b07b418443a8b7813a9 (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
#!/bin/bash

# [ Native || Derivative ] Distribution Platforms
ND_PLATFORMS=('gnu+linux_nd') # 'gnu+hurd_nd'
DD_PLATFORMS=('gnu+linux_dd' 'gnu+linux-arm_dd') # 'gnu+hurd_dd'
PLATFORMS=("${ND_PLATFORMS[@]}" "${DD_PLATFORMS[@]}")

# Software Development Distributions
SDD=('rolling' 'testing' 'stable')

ROLLING_NAME='rolling'
TESTING_NAME='waterbird-v2'
STABLE_NAME='minicat-v1'

SRV_DIR='/srv'
TMP_DIR='/tmp'
SHARE_DIR="$(dirname "$(readlink -e "$0")")/share/xbs"
HTTP_DIR="${SRV_DIR}/repo/http"
ROOT_DIR="${SRV_DIR}/repo/main"
GIT_DIR="${SRV_DIR}/git"

SYNC_ARGS='-mrtv --no-motd --delete-after --no-p --no-o --no-g --quiet'

REQUIRE_SIGNATURE='true'

LOCK_DELAY='10'
LOCK_TIMEOUT='300'

[ -n "${STAGING:-}" ] || STAGING="${HOME}/staging/unknown/staging"
DB_EXT='.db.tar.gz'
FILES_EXT='.files.tar.gz'
PKG_EXT=".pkg.tar.?z"
SRC_EXT='.src.tar.gz'

MIRROR_LIST='/etc/pacman.d/mirrorlist'
MAKEPKG_CONF='/etc/makepkg.conf'
MAKEPKG_ARCH="$(uname -m)"

# web root
WEB_DIR="${SRV_DIR}/http/www.parabola.nu/web"