#!/hint/bash source "$(dirname "$(readlink -e "$0")")/config" # Parabola Platform PLATFORM_NAME='GNU/Hurd' PLATFORM='gnu+hurd' DERIVATION='true' # Archictectures ARCHES=('i686') # Multilib Support MULTILIB=() # Main Repositories from Arch GNU/Hurd MAIN_REPOS=('core' 'extra' 'testing' 'staging-core' 'staging-extra') # Libre Repositories from Parabola GNU/Hurd LIBRE_MAIN_REPOS=('libre' 'libre-testing') # Multilib Repositories from Arch GNU/Hurd MULTILIB_REPOS=('multilib' 'multilib-testing') # Libre Multilib Repositories from Parabola GNU/Hurd 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 PATFORM_REPOS=() # Remote Repositories PKG_ANY_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") PKG_MULTILIB_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${LIBRE_MAIN_REPOS[@]}" "${MAIN_REPOS[@]}" "${LIBRE_MULTILIB_REPOS[@]}" "${MULTILIB_REPOS[@]}" "${COMMUNITY_REPOS[@]}") # Directories where packages are shared between repos # *relative to REPO_DIR* PKG_POOL="abslibre_${PLATFORM}" # Directories where sources are stored SRC_POOL="abslibre_${PLATFORM}" # Build System and Repository scripts BS_MAIN_NAME="abslibre_${PLATFORM}" BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" BS_DERIVATION_NAME="abs_${PLATFORM}" 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}.txt" BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt" BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt" SYNC_DERIVATION_SERVER='rsync.archhurd.org' # Base Repository REPO_DIR="${SRV_DIR}/repo/abslibre_${PLATFORM}" 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'