summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-25 16:01:19 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-25 16:01:19 -0300
commita6e67e220e638ee69b63dd9a96af7e608c27531c (patch)
tree3a92c55f30a166fc8aeb1d49dc7d25fbedb2453b /config
parentfbd249636f43493fa97bc8a743cedf6b7502be3a (diff)
add more configuration and update abslibre script
Diffstat (limited to 'config')
-rw-r--r--config30
1 files changed, 17 insertions, 13 deletions
diff --git a/config b/config
index 8dbf8fc..5e13683 100644
--- a/config
+++ b/config
@@ -1,7 +1,5 @@
#!/hint/bash
-FTP_BASE='/srv/repo/main'
-
# Parabola Platforms
PLATFORMS=('ABSLibre_GNU/linux') # 'GNU/Hurd' 'GNU/Linux' 'ABSLibre_GNU/Hurd'
@@ -15,12 +13,18 @@ STABLE_NAME='minicat-v1'
PKG_POOL_DIR='pools'
SRC_POOL_DIR='sources'
-CLEANUP_DESTDIR="$FTP_BASE/old/packages"
+SRV_DIR='/srv'
+TMP_DIR='/tmp'
+FTP_BASE="${SRV_DIR}/repo/main"
+GIT_BASE="${SRV_DIR}/git"
+SYNC_ARGS='-mrtv --no-motd --delete-after --no-p --no-o --no-g --quiet'
+
+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_DESTDIR="${FTP_BASE}/old/sources"
SOURCE_CLEANUP_DRYRUN='true'
# Time in days to keep moved sourcepackages
SOURCE_CLEANUP_KEEP='30'
@@ -30,15 +34,15 @@ REQUIRE_SIGNATURE='true'
LOCK_DELAY='10'
LOCK_TIMEOUT='300'
-[ -n "${STAGING:-}" ] || STAGING="$HOME/staging/unknown/staging"
-TMPDIR='/tmp'
-DBEXT='.db.tar.gz'
-FILESEXT='.files.tar.gz'
-PKGEXT=".pkg.tar.?z"
-SRCEXT='.src.tar.gz'
+[ -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'
-MAKEPKGCONF="~/.makepkg.conf"
-BLACKLIST_FILE="$HOME/blacklist/blacklist.txt"
+MIRROR_LIST='/etc/pacman.d/mirrorlist'
+MAKEPKG_CONF='/etc/makepkg.conf'
+MAKEPKG_ARCH="$(uname -m)"
# parabolaweb root
-WEB_DIR='/srv/http/www.parabola.nu/web'
+WEB_DIR="${SRV_DIR}/http/www.parabola.nu/web"