From 70512ff7d436dc3c0251a582bafcc093499d5b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Wed, 26 Aug 2015 19:19:22 -0300 Subject: rename dbscripts to xbs; and fix names and variables --- src/etc/dbscripts.cfg | 6 --- src/etc/dbscripts.d/gnu+hurd_add.cfg | 71 ---------------------------- src/etc/dbscripts.d/gnu+hurd_native.cfg | 65 ------------------------- src/etc/dbscripts.d/gnu+linux_add.cfg | 71 ---------------------------- src/etc/dbscripts.d/gnu+linux_add_arm.cfg | 71 ---------------------------- src/etc/dbscripts.d/gnu+linux_add_legacy.cfg | 71 ---------------------------- src/etc/dbscripts.d/gnu+linux_native.cfg | 65 ------------------------- src/etc/dbscripts.d/main.cfg | 36 -------------- src/etc/xbs.cfg | 6 +++ src/etc/xbs.d/gnu+hurd_dd.cfg | 71 ++++++++++++++++++++++++++++ src/etc/xbs.d/gnu+hurd_nd.cfg | 65 +++++++++++++++++++++++++ src/etc/xbs.d/gnu+linux-arm_dd.cfg | 71 ++++++++++++++++++++++++++++ src/etc/xbs.d/gnu+linux-legacy_dd.cfg | 71 ++++++++++++++++++++++++++++ src/etc/xbs.d/gnu+linux_dd.cfg | 71 ++++++++++++++++++++++++++++ src/etc/xbs.d/gnu+linux_nd.cfg | 65 +++++++++++++++++++++++++ src/etc/xbs.d/main.cfg | 36 ++++++++++++++ 16 files changed, 456 insertions(+), 456 deletions(-) delete mode 100644 src/etc/dbscripts.cfg delete mode 100644 src/etc/dbscripts.d/gnu+hurd_add.cfg delete mode 100644 src/etc/dbscripts.d/gnu+hurd_native.cfg delete mode 100644 src/etc/dbscripts.d/gnu+linux_add.cfg delete mode 100644 src/etc/dbscripts.d/gnu+linux_add_arm.cfg delete mode 100644 src/etc/dbscripts.d/gnu+linux_add_legacy.cfg delete mode 100644 src/etc/dbscripts.d/gnu+linux_native.cfg delete mode 100644 src/etc/dbscripts.d/main.cfg create mode 100644 src/etc/xbs.cfg create mode 100644 src/etc/xbs.d/gnu+hurd_dd.cfg create mode 100644 src/etc/xbs.d/gnu+hurd_nd.cfg create mode 100644 src/etc/xbs.d/gnu+linux-arm_dd.cfg create mode 100644 src/etc/xbs.d/gnu+linux-legacy_dd.cfg create mode 100644 src/etc/xbs.d/gnu+linux_dd.cfg create mode 100644 src/etc/xbs.d/gnu+linux_nd.cfg create mode 100644 src/etc/xbs.d/main.cfg diff --git a/src/etc/dbscripts.cfg b/src/etc/dbscripts.cfg deleted file mode 100644 index 7970040..0000000 --- a/src/etc/dbscripts.cfg +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -# Platforms Distributions -MAIN_PLATFORMS=('gnu+linux_native') # 'gnu+hurd_native' -DD_PLATFORMS=('gnu+linux_add' 'gnu+linux_add_arm') # 'gnu+hurd_add' -PLATFORMS=("${MAIN_PLATFORMS[@]}" "${DD_PLATFORMS[@]}") diff --git a/src/etc/dbscripts.d/gnu+hurd_add.cfg b/src/etc/dbscripts.d/gnu+hurd_add.cfg deleted file mode 100644 index 58be117..0000000 --- a/src/etc/dbscripts.d/gnu+hurd_add.cfg +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Platform Distribution -PLATFORM_NAME='GNU/Hurd' -PLATFORM='gnu+hurd' - -# Multilib Support Archictectures -MULTILIB_ARCHES=() - -# Archictectures -ARCHES=('i686' "${MULTILIB_ARCHES[@]}") - -# Main Repositories -MAIN_REPOS=('libre' 'libre-testing') -# Main Repositories from a Derative Distribution -DD_REPOS=('core' 'extra' 'testing' 'staging-core' 'staging-extra') - -# Multilib Repositories -MAIN_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing') -# Multilib Repositories from a Derative Distribution -DD_MULTILIB_REPOS=('multilib' '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=() - -# Remote Repositories -PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") - -# Directories where packages are shared between repos -# *relative to REPO_DIR* -PKG_MAIN_POOLS=("${PKG_POOL_DIR}/abslibre_${PLATFORM}") -PKG_DD_POOLS=("${PKG_POOL_DIR}/abs_${PLATFORM}") -PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") - -# Directories where sources are stored -SRC_MAIN_POOLS=("${SRC_POOL_DIR}/abslibre_${PLATFORM}") -SRC_DD_POOLS=("${SRC_POOL_DIR}/abs_${PLATFORM}") -SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") - -# Build System and Repository scripts -BS_MAIN_NAME="abslibre_${PLATFORM}" -BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" -BS_DD_NAME="abs_${PLATFORM}" -BS_DD_DIR="${SRV_DIR}/${BS_DD_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}.txt" -BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt" -BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt" -SYNC_DD_SERVER='rsync.archhurd.org' - -# Base Repository -REPO_DIR="${SRV_DIR}/repo/main" - -CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}_dd" -CLEANUP_DRYRUN='false' -# Time in days to keep moved packages -CLEANUP_KEEP='30' - -SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}_dd" -SOURCE_CLEANUP_DRYRUN='true' -# Time in days to keep moved sourcepackages -SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/dbscripts.d/gnu+hurd_native.cfg b/src/etc/dbscripts.d/gnu+hurd_native.cfg deleted file mode 100644 index b6feb28..0000000 --- a/src/etc/dbscripts.d/gnu+hurd_native.cfg +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/bash - -# Platform Distribution -PLATFORM_NAME='GNU/Hurd' -PLATFORM='gnu+hurd' - -# Multilib Support Archictectures -MULTILIB_ARCHES=() - -# Archictectures -ARCHES=('i686' "${MULTILIB_ARCHES[@]}") - -# Main Repositories -MAIN_REPOS=('core' 'extra' 'testing') -# Main Repositories from a Derative Distribution -DD_REPOS=() - -# Multilib Repositories -MAIN_MULTILIB_REPOS=('multilib' 'multilib-testing') -# Multilib Repositories from a Derative Distribution -DD_MULTILIB_REPOS=() - -# 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=() - -# Remote Repositories -PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") - -# Directories where packages are shared between repos -# *relative to REPO_DIR* -PKG_MAIN_POOLS=("${PKG_POOL_DIR}/${PLATFORM}") -PKG_DD_POOLS=() -PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") - -# Directories where sources are stored -SRC_MAIN_POOLS=("${SRC_POOL_DIR}/${PLATFORM}") -SRC_DD_POOLS=() -SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") - -# Build System and Repository scripts -BS_MAIN_NAME="pbs_${PLATFORM}" -BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" -BS_GIT="${GIT_BASE}/${BS_MAIN_NAME}/pmr.git" -# BS_GIT='http://projects.parabola.gnu/${BS_MAIN_NAME}/pmr.git' -BS_GIT_TMP="${TMP_DIR}/${BS_MAIN_NAME}" - -# Base Repository -REPO_DIR="${SRV_DIR}/repo/main" - -CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}" -CLEANUP_DRYRUN='false' -# Time in days to keep moved packages -CLEANUP_KEEP='30' - -SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}" -SOURCE_CLEANUP_DRYRUN='true' -# Time in days to keep moved sourcepackages -SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/dbscripts.d/gnu+linux_add.cfg b/src/etc/dbscripts.d/gnu+linux_add.cfg deleted file mode 100644 index 2cff8f4..0000000 --- a/src/etc/dbscripts.d/gnu+linux_add.cfg +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Platform Distribution -PLATFORM_NAME='GNU/Linux-libre' -PLATFORM='gnu+linux' - -# Multilib Support Archictectures -MULTILIB_ARCHES=('x86_64') - -# Archictectures -ARCHES=('i686' "${MULTILIB_ARCHES[@]}") - -# Main Repositories -MAIN_REPOS=('libre' 'libre-testing') -# Main Repositories from a Derative Distribution -DD_REPOS=('core' 'extra' 'testing' 'community' 'community-testing') - -# Multilib Repositories -MAIN_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing') -# Multilib Repositories from a Derative Distribution -DD_MULTILIB_REPOS=('multilib' '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[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") - -# Directories where packages are shared between repos -# *relative to REPO_DIR* -PKG_MAIN_POOLS=("${PKG_POOL_DIR}/abslibre_${PLATFORM}") -PKG_DD_POOLS=("${PKG_POOL_DIR}"/abs_{packages,community}_"${PLATFORM}") -PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") - -# Directories where sources are stored -SRC_MAIN_POOLS=("${SRC_POOL_DIR}/abslibre_${PLATFORM}") -SRC_DD_POOLS=("${SRC_POOL_DIR}"/abs_{packages,community}_"${PLATFORM}") -SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") - -# Build System and Repository scripts -BS_MAIN_NAME="abslibre_${PLATFORM}" -BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" -BS_DD_NAME="abs_${PLATFORM}" -BS_DD_DIR="${SRV_DIR}/${BS_DD_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}.txt" -BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt" -BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt" -SYNC_DD_SERVER='rsync.archlinux.org' - -# Base Repository -REPO_DIR="${SRV_DIR}/repo/main" - -CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}_dd" -CLEANUP_DRYRUN='false' -# Time in days to keep moved packages -CLEANUP_KEEP='30' - -SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}_dd" -SOURCE_CLEANUP_DRYRUN='true' -# Time in days to keep moved sourcepackages -SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/dbscripts.d/gnu+linux_add_arm.cfg b/src/etc/dbscripts.d/gnu+linux_add_arm.cfg deleted file mode 100644 index 3b8a9fb..0000000 --- a/src/etc/dbscripts.d/gnu+linux_add_arm.cfg +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Platform Distribution -PLATFORM_NAME='GNU/Linux-libre' -PLATFORM='gnu+linux' - -# Multilib Support Archictectures -MULTILIB_ARCHES=() - -# Archictectures -ARCHES=('arm' 'armv6h' 'armv7h' 'aarch64' "${MULTILIB_ARCHES[@]}") - -# Main Repositories -MAIN_REPOS=('libre' 'libre-testing') -# Main Repositories from a Derative Distribution -DD_REPOS=('core' 'extra' 'community' 'aur' 'alarm') - -# Multilib Repositories -MAIN_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing') -# Multilib Repositories from a Derative Distribution -DD_MULTILIB_REPOS=('multilib' '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[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") - -# Directories where packages are shared between repos -# *relative to REPO_DIR* -PKG_MAIN_POOLS=("${PKG_POOL_DIR}/abslibre_${PLATFORM}_arm") -PKG_DD_POOLS=("${PKG_POOL_DIR}/abs_${PLATFORM}_arm") -PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") - -# Directories where sources are stored -SRC_MAIN_POOLS=("${SRC_POOL_DIR}/abslibre_${PLATFORM}_arm") -SRC_DD_POOLS=("${SRC_POOL_DIR}/abs_${PLATFORM}_arm") -SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") - -# Build System and Repository scripts -BS_MAIN_NAME="abslibre_${PLATFORM}_arm" -BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" -BS_DD_NAME="abs_${PLATFORM}_arm" -BS_DD_DIR="${SRV_DIR}/${BS_DD_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_DD_SERVER='rsync.archlinuxarm.org' - -# Base Repository -REPO_DIR="${SRV_DIR}/repo/main" - -CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}_ddarm" -CLEANUP_DRYRUN='false' -# Time in days to keep moved packages -CLEANUP_KEEP='30' - -SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}_ddarm" -SOURCE_CLEANUP_DRYRUN='true' -# Time in days to keep moved sourcepackages -SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/dbscripts.d/gnu+linux_add_legacy.cfg b/src/etc/dbscripts.d/gnu+linux_add_legacy.cfg deleted file mode 100644 index 4398a30..0000000 --- a/src/etc/dbscripts.d/gnu+linux_add_legacy.cfg +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -# Platform Distribution -PLATFORM_NAME='GNU/Linux-libre' -PLATFORM='gnu+linux' - -# Multilib Support Archictectures -MULTILIB_ARCHES=('x86_64') - -# Archictectures -ARCHES=('i686' "${MULTILIB_ARCHES[@]}") - -# Main Repositories -MAIN_REPOS=('libre' 'libre-testing') -# Main Repositories from a Derative Distribution -DD_REPOS=('core' 'extra' 'testing' 'community' 'community-testing') - -# Multilib Repositories -MAIN_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing') -# Multilib Repositories from a Derative Distribution -DD_MULTILIB_REPOS=('multilib' '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[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") - -# Directories where packages are shared between repos -# *relative to REPO_DIR* -PKG_MAIN_POOLS=('pool/parabola') -PKG_DD_POOLS=('pool'/{packages,community}) -PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") - -# Directories where sources are stored -SRC_MAIN_POOLS=('sources/parabola') -SRC_DD_POOLS=('sources'/{packages,community}) -SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") - -# Build System and Repository scripts -BS_MAIN_NAME="abslibre" -BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" -BS_DD_NAME="abs" -BS_DD_DIR="${SRV_DIR}/${BS_DD_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.txt" -BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt" -BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt" -SYNC_DD_SERVER='rsync.archlinux.org' - -# Base Repository -REPO_DIR="${SRV_DIR}/repo/main" - -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' diff --git a/src/etc/dbscripts.d/gnu+linux_native.cfg b/src/etc/dbscripts.d/gnu+linux_native.cfg deleted file mode 100644 index 80be453..0000000 --- a/src/etc/dbscripts.d/gnu+linux_native.cfg +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/bash - -# Platform Distribution -PLATFORM_NAME='GNU/Linux-libre' -PLATFORM='gnu+linux' - -# Multilib Support Archictectures -MULTILIB_ARCHES=() # 'x86_64' - -# Archictectures -ARCHES=('mips64el' "${MULTILIB_ARCHES[@]}") # 'i686' - -# Main Repositories -MAIN_REPOS=('core' 'extra' 'testing') -# Main Repositories from a Derative Distribution -DD_REPOS=() - -# Multilib Repositories -MAIN_MULTILIB_REPOS=('multilib' 'multilib-testing') -# Multilib Repositories from a Derative Distribution -DD_MULTILIB_REPOS=() - -# 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=() - -# Remote Repositories -PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") -PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") - -# Directories where packages are shared between repos -# *relative to REPO_DIR* -PKG_MAIN_POOLS=("${PKG_POOL_DIR}/${PLATFORM}") -PKG_DD_POOLS=() -PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") - -# Directories where sources are stored -SRC_MAIN_POOLS=("${SRC_POOL_DIR}/${PLATFORM}") -SRC_DD_POOLS=() -SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") - -# Build System and Repository scripts -BS_MAIN_NAME="pbs_${PLATFORM}" -BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" -BS_GIT="${GIT_BASE}/${BS_MAIN_NAME}/pmr.git" -# BS_GIT='http://projects.parabola.gnu/${BS_MAIN_NAME}/pmr.git' -BS_GIT_TMP="${TMP_DIR}/${BS_MAIN_NAME}" - -# Base Repository -REPO_DIR="${SRV_DIR}/repo/main" - -CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}" -CLEANUP_DRYRUN='false' -# Time in days to keep moved packages -CLEANUP_KEEP='30' - -SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}" -SOURCE_CLEANUP_DRYRUN='true' -# Time in days to keep moved sourcepackages -SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/dbscripts.d/main.cfg b/src/etc/dbscripts.d/main.cfg deleted file mode 100644 index 906ea0c..0000000 --- a/src/etc/dbscripts.d/main.cfg +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# Software Development Distribution -SDD=('rolling' 'testing' 'stable') - -ROLLING_NAME='rolling' -TESTING_NAME='waterbird-v2' -STABLE_NAME='minicat-v1' - -PKG_POOL_DIR='pools' -SRC_POOL_DIR='sources' - -SRV_DIR='/srv' -TMP_DIR='/tmp' -PKG_POOL_DIR='pools' -SRC_POOL_DIR='sources' -GIT_BASE="${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" diff --git a/src/etc/xbs.cfg b/src/etc/xbs.cfg new file mode 100644 index 0000000..25bb811 --- /dev/null +++ b/src/etc/xbs.cfg @@ -0,0 +1,6 @@ +#!/bin/bash + +# Platforms Distributions +ND_PLATFORMS=('gnu+linux_nd') # 'gnu+hurd_d' +DD_PLATFORMS=('gnu+linux_dd' 'gnu+linux_arm_dd') # 'gnu+hurd_dd' +PLATFORMS=("${ND_PLATFORMS[@]}" "${DD_PLATFORMS[@]}") diff --git a/src/etc/xbs.d/gnu+hurd_dd.cfg b/src/etc/xbs.d/gnu+hurd_dd.cfg new file mode 100644 index 0000000..58be117 --- /dev/null +++ b/src/etc/xbs.d/gnu+hurd_dd.cfg @@ -0,0 +1,71 @@ +#!/bin/bash + +# Platform Distribution +PLATFORM_NAME='GNU/Hurd' +PLATFORM='gnu+hurd' + +# Multilib Support Archictectures +MULTILIB_ARCHES=() + +# Archictectures +ARCHES=('i686' "${MULTILIB_ARCHES[@]}") + +# Main Repositories +MAIN_REPOS=('libre' 'libre-testing') +# Main Repositories from a Derative Distribution +DD_REPOS=('core' 'extra' 'testing' 'staging-core' 'staging-extra') + +# Multilib Repositories +MAIN_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing') +# Multilib Repositories from a Derative Distribution +DD_MULTILIB_REPOS=('multilib' '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=() + +# Remote Repositories +PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") + +# Directories where packages are shared between repos +# *relative to REPO_DIR* +PKG_MAIN_POOLS=("${PKG_POOL_DIR}/abslibre_${PLATFORM}") +PKG_DD_POOLS=("${PKG_POOL_DIR}/abs_${PLATFORM}") +PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") + +# Directories where sources are stored +SRC_MAIN_POOLS=("${SRC_POOL_DIR}/abslibre_${PLATFORM}") +SRC_DD_POOLS=("${SRC_POOL_DIR}/abs_${PLATFORM}") +SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") + +# Build System and Repository scripts +BS_MAIN_NAME="abslibre_${PLATFORM}" +BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" +BS_DD_NAME="abs_${PLATFORM}" +BS_DD_DIR="${SRV_DIR}/${BS_DD_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}.txt" +BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt" +BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt" +SYNC_DD_SERVER='rsync.archhurd.org' + +# Base Repository +REPO_DIR="${SRV_DIR}/repo/main" + +CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}_dd" +CLEANUP_DRYRUN='false' +# Time in days to keep moved packages +CLEANUP_KEEP='30' + +SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}_dd" +SOURCE_CLEANUP_DRYRUN='true' +# Time in days to keep moved sourcepackages +SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/xbs.d/gnu+hurd_nd.cfg b/src/etc/xbs.d/gnu+hurd_nd.cfg new file mode 100644 index 0000000..b6feb28 --- /dev/null +++ b/src/etc/xbs.d/gnu+hurd_nd.cfg @@ -0,0 +1,65 @@ +#!/bin/bash + +# Platform Distribution +PLATFORM_NAME='GNU/Hurd' +PLATFORM='gnu+hurd' + +# Multilib Support Archictectures +MULTILIB_ARCHES=() + +# Archictectures +ARCHES=('i686' "${MULTILIB_ARCHES[@]}") + +# Main Repositories +MAIN_REPOS=('core' 'extra' 'testing') +# Main Repositories from a Derative Distribution +DD_REPOS=() + +# Multilib Repositories +MAIN_MULTILIB_REPOS=('multilib' 'multilib-testing') +# Multilib Repositories from a Derative Distribution +DD_MULTILIB_REPOS=() + +# 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=() + +# Remote Repositories +PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") + +# Directories where packages are shared between repos +# *relative to REPO_DIR* +PKG_MAIN_POOLS=("${PKG_POOL_DIR}/${PLATFORM}") +PKG_DD_POOLS=() +PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") + +# Directories where sources are stored +SRC_MAIN_POOLS=("${SRC_POOL_DIR}/${PLATFORM}") +SRC_DD_POOLS=() +SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") + +# Build System and Repository scripts +BS_MAIN_NAME="pbs_${PLATFORM}" +BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" +BS_GIT="${GIT_BASE}/${BS_MAIN_NAME}/pmr.git" +# BS_GIT='http://projects.parabola.gnu/${BS_MAIN_NAME}/pmr.git' +BS_GIT_TMP="${TMP_DIR}/${BS_MAIN_NAME}" + +# Base Repository +REPO_DIR="${SRV_DIR}/repo/main" + +CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}" +CLEANUP_DRYRUN='false' +# Time in days to keep moved packages +CLEANUP_KEEP='30' + +SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}" +SOURCE_CLEANUP_DRYRUN='true' +# Time in days to keep moved sourcepackages +SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/xbs.d/gnu+linux-arm_dd.cfg b/src/etc/xbs.d/gnu+linux-arm_dd.cfg new file mode 100644 index 0000000..3b8a9fb --- /dev/null +++ b/src/etc/xbs.d/gnu+linux-arm_dd.cfg @@ -0,0 +1,71 @@ +#!/bin/bash + +# Platform Distribution +PLATFORM_NAME='GNU/Linux-libre' +PLATFORM='gnu+linux' + +# Multilib Support Archictectures +MULTILIB_ARCHES=() + +# Archictectures +ARCHES=('arm' 'armv6h' 'armv7h' 'aarch64' "${MULTILIB_ARCHES[@]}") + +# Main Repositories +MAIN_REPOS=('libre' 'libre-testing') +# Main Repositories from a Derative Distribution +DD_REPOS=('core' 'extra' 'community' 'aur' 'alarm') + +# Multilib Repositories +MAIN_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing') +# Multilib Repositories from a Derative Distribution +DD_MULTILIB_REPOS=('multilib' '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[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") + +# Directories where packages are shared between repos +# *relative to REPO_DIR* +PKG_MAIN_POOLS=("${PKG_POOL_DIR}/abslibre_${PLATFORM}_arm") +PKG_DD_POOLS=("${PKG_POOL_DIR}/abs_${PLATFORM}_arm") +PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") + +# Directories where sources are stored +SRC_MAIN_POOLS=("${SRC_POOL_DIR}/abslibre_${PLATFORM}_arm") +SRC_DD_POOLS=("${SRC_POOL_DIR}/abs_${PLATFORM}_arm") +SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") + +# Build System and Repository scripts +BS_MAIN_NAME="abslibre_${PLATFORM}_arm" +BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" +BS_DD_NAME="abs_${PLATFORM}_arm" +BS_DD_DIR="${SRV_DIR}/${BS_DD_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_DD_SERVER='rsync.archlinuxarm.org' + +# Base Repository +REPO_DIR="${SRV_DIR}/repo/main" + +CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}_ddarm" +CLEANUP_DRYRUN='false' +# Time in days to keep moved packages +CLEANUP_KEEP='30' + +SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}_ddarm" +SOURCE_CLEANUP_DRYRUN='true' +# Time in days to keep moved sourcepackages +SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/xbs.d/gnu+linux-legacy_dd.cfg b/src/etc/xbs.d/gnu+linux-legacy_dd.cfg new file mode 100644 index 0000000..4398a30 --- /dev/null +++ b/src/etc/xbs.d/gnu+linux-legacy_dd.cfg @@ -0,0 +1,71 @@ +#!/bin/bash + +# Platform Distribution +PLATFORM_NAME='GNU/Linux-libre' +PLATFORM='gnu+linux' + +# Multilib Support Archictectures +MULTILIB_ARCHES=('x86_64') + +# Archictectures +ARCHES=('i686' "${MULTILIB_ARCHES[@]}") + +# Main Repositories +MAIN_REPOS=('libre' 'libre-testing') +# Main Repositories from a Derative Distribution +DD_REPOS=('core' 'extra' 'testing' 'community' 'community-testing') + +# Multilib Repositories +MAIN_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing') +# Multilib Repositories from a Derative Distribution +DD_MULTILIB_REPOS=('multilib' '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[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") + +# Directories where packages are shared between repos +# *relative to REPO_DIR* +PKG_MAIN_POOLS=('pool/parabola') +PKG_DD_POOLS=('pool'/{packages,community}) +PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") + +# Directories where sources are stored +SRC_MAIN_POOLS=('sources/parabola') +SRC_DD_POOLS=('sources'/{packages,community}) +SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") + +# Build System and Repository scripts +BS_MAIN_NAME="abslibre" +BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" +BS_DD_NAME="abs" +BS_DD_DIR="${SRV_DIR}/${BS_DD_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.txt" +BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt" +BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt" +SYNC_DD_SERVER='rsync.archlinux.org' + +# Base Repository +REPO_DIR="${SRV_DIR}/repo/main" + +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' diff --git a/src/etc/xbs.d/gnu+linux_dd.cfg b/src/etc/xbs.d/gnu+linux_dd.cfg new file mode 100644 index 0000000..2cff8f4 --- /dev/null +++ b/src/etc/xbs.d/gnu+linux_dd.cfg @@ -0,0 +1,71 @@ +#!/bin/bash + +# Platform Distribution +PLATFORM_NAME='GNU/Linux-libre' +PLATFORM='gnu+linux' + +# Multilib Support Archictectures +MULTILIB_ARCHES=('x86_64') + +# Archictectures +ARCHES=('i686' "${MULTILIB_ARCHES[@]}") + +# Main Repositories +MAIN_REPOS=('libre' 'libre-testing') +# Main Repositories from a Derative Distribution +DD_REPOS=('core' 'extra' 'testing' 'community' 'community-testing') + +# Multilib Repositories +MAIN_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing') +# Multilib Repositories from a Derative Distribution +DD_MULTILIB_REPOS=('multilib' '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[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") + +# Directories where packages are shared between repos +# *relative to REPO_DIR* +PKG_MAIN_POOLS=("${PKG_POOL_DIR}/abslibre_${PLATFORM}") +PKG_DD_POOLS=("${PKG_POOL_DIR}"/abs_{packages,community}_"${PLATFORM}") +PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") + +# Directories where sources are stored +SRC_MAIN_POOLS=("${SRC_POOL_DIR}/abslibre_${PLATFORM}") +SRC_DD_POOLS=("${SRC_POOL_DIR}"/abs_{packages,community}_"${PLATFORM}") +SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") + +# Build System and Repository scripts +BS_MAIN_NAME="abslibre_${PLATFORM}" +BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" +BS_DD_NAME="abs_${PLATFORM}" +BS_DD_DIR="${SRV_DIR}/${BS_DD_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}.txt" +BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt" +BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt" +SYNC_DD_SERVER='rsync.archlinux.org' + +# Base Repository +REPO_DIR="${SRV_DIR}/repo/main" + +CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}_dd" +CLEANUP_DRYRUN='false' +# Time in days to keep moved packages +CLEANUP_KEEP='30' + +SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}_dd" +SOURCE_CLEANUP_DRYRUN='true' +# Time in days to keep moved sourcepackages +SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/xbs.d/gnu+linux_nd.cfg b/src/etc/xbs.d/gnu+linux_nd.cfg new file mode 100644 index 0000000..80be453 --- /dev/null +++ b/src/etc/xbs.d/gnu+linux_nd.cfg @@ -0,0 +1,65 @@ +#!/bin/bash + +# Platform Distribution +PLATFORM_NAME='GNU/Linux-libre' +PLATFORM='gnu+linux' + +# Multilib Support Archictectures +MULTILIB_ARCHES=() # 'x86_64' + +# Archictectures +ARCHES=('mips64el' "${MULTILIB_ARCHES[@]}") # 'i686' + +# Main Repositories +MAIN_REPOS=('core' 'extra' 'testing') +# Main Repositories from a Derative Distribution +DD_REPOS=() + +# Multilib Repositories +MAIN_MULTILIB_REPOS=('multilib' 'multilib-testing') +# Multilib Repositories from a Derative Distribution +DD_MULTILIB_REPOS=() + +# 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=() + +# Remote Repositories +PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}") + +# Directories where packages are shared between repos +# *relative to REPO_DIR* +PKG_MAIN_POOLS=("${PKG_POOL_DIR}/${PLATFORM}") +PKG_DD_POOLS=() +PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}") + +# Directories where sources are stored +SRC_MAIN_POOLS=("${SRC_POOL_DIR}/${PLATFORM}") +SRC_DD_POOLS=() +SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}") + +# Build System and Repository scripts +BS_MAIN_NAME="pbs_${PLATFORM}" +BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" +BS_GIT="${GIT_BASE}/${BS_MAIN_NAME}/pmr.git" +# BS_GIT='http://projects.parabola.gnu/${BS_MAIN_NAME}/pmr.git' +BS_GIT_TMP="${TMP_DIR}/${BS_MAIN_NAME}" + +# Base Repository +REPO_DIR="${SRV_DIR}/repo/main" + +CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}" +CLEANUP_DRYRUN='false' +# Time in days to keep moved packages +CLEANUP_KEEP='30' + +SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}" +SOURCE_CLEANUP_DRYRUN='true' +# Time in days to keep moved sourcepackages +SOURCE_CLEANUP_KEEP='30' diff --git a/src/etc/xbs.d/main.cfg b/src/etc/xbs.d/main.cfg new file mode 100644 index 0000000..906ea0c --- /dev/null +++ b/src/etc/xbs.d/main.cfg @@ -0,0 +1,36 @@ +#!/bin/bash + +# Software Development Distribution +SDD=('rolling' 'testing' 'stable') + +ROLLING_NAME='rolling' +TESTING_NAME='waterbird-v2' +STABLE_NAME='minicat-v1' + +PKG_POOL_DIR='pools' +SRC_POOL_DIR='sources' + +SRV_DIR='/srv' +TMP_DIR='/tmp' +PKG_POOL_DIR='pools' +SRC_POOL_DIR='sources' +GIT_BASE="${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" -- cgit v1.2.3