diff options
Diffstat (limited to 'src/etc/dbscripts.d')
-rw-r--r-- | src/etc/dbscripts.d/gnu+hurd_add.cfg | 67 | ||||
-rw-r--r-- | src/etc/dbscripts.d/gnu+hurd_native.cfg | 57 | ||||
-rw-r--r-- | src/etc/dbscripts.d/gnu+linux_add.cfg | 67 | ||||
-rw-r--r-- | src/etc/dbscripts.d/gnu+linux_add_arm.cfg | 67 | ||||
-rw-r--r-- | src/etc/dbscripts.d/gnu+linux_add_legacy.cfg | 67 | ||||
-rw-r--r-- | src/etc/dbscripts.d/gnu+linux_native.cfg | 57 | ||||
-rw-r--r-- | src/etc/dbscripts.d/main.cfg | 36 |
7 files changed, 418 insertions, 0 deletions
diff --git a/src/etc/dbscripts.d/gnu+hurd_add.cfg b/src/etc/dbscripts.d/gnu+hurd_add.cfg new file mode 100644 index 0000000..ae05228 --- /dev/null +++ b/src/etc/dbscripts.d/gnu+hurd_add.cfg @@ -0,0 +1,67 @@ +#!/hint/bash + +# Parabola Platform +PLATFORM_NAME='GNU/Hurd' +PLATFORM='gnu+hurd' + +# Multilib Support Archictectures +MULTILIB_ARCHES=() + +# Archictectures +ARCHES=('i686' "${MULTILIB_ARCHES[@]}") + +# 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 +PLATFORM_REPOS=() + +# 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}" + +# Directories where sources are stored +SRC_POOL="${SRC_POOL_DIR}/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' diff --git a/src/etc/dbscripts.d/gnu+hurd_native.cfg b/src/etc/dbscripts.d/gnu+hurd_native.cfg new file mode 100644 index 0000000..61fefc0 --- /dev/null +++ b/src/etc/dbscripts.d/gnu+hurd_native.cfg @@ -0,0 +1,57 @@ +#!/hint/bash + +# Parabola Platform +PLATFORM_NAME='GNU/Hurd' +PLATFORM='gnu+hurd' + +# Multilib Support Archictectures +MULTILIB_ARCHES=() + +# Archictectures +ARCHES=('i686' "${MULTILIB_ARCHES[@]}") + +# Main Repositories +MAIN_REPOS=('core' 'extra' 'testing') + +# Multilib Repositories +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[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MULTILIB_REPOS[@]}") + +# Directories where packages are shared between repos +# *relative to REPO_DIR* +PKG_POOL="${PKG_POOL_DIR}/${PLATFORM}" + +# Directories where sources are stored +SRC_POOL="${SRC_POOL_DIR}/${PLATFORM}" + +# 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/${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' diff --git a/src/etc/dbscripts.d/gnu+linux_add.cfg b/src/etc/dbscripts.d/gnu+linux_add.cfg new file mode 100644 index 0000000..b6fe319 --- /dev/null +++ b/src/etc/dbscripts.d/gnu+linux_add.cfg @@ -0,0 +1,67 @@ +#!/hint/bash + +# Parabola Platform +PLATFORM_NAME='GNU/Linux-libre' +PLATFORM='gnu+linux' + +# Multilib Support Archictectures +MULTILIB_ARCHES=('x86_64') + +# Archictectures +ARCHES=('i686' "${MULTILIB_ARCHES[@]}") + +# Main Repositories from Arch GNU/Linux +MAIN_REPOS=('core' 'extra' 'testing' 'community' 'community-testing') +# Libre Repositories from Parabola GNU/Linux-libre +LIBRE_MAIN_REPOS=('libre' 'libre-testing') + +# Multilib Repositories from Arch GNU/Linux +MULTILIB_REPOS=('multilib' 'multilib-testing') +# 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}" + +# Directories where sources are stored +SRC_POOL="${SRC_POOL_DIR}/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.archlinux.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' diff --git a/src/etc/dbscripts.d/gnu+linux_add_arm.cfg b/src/etc/dbscripts.d/gnu+linux_add_arm.cfg new file mode 100644 index 0000000..8eb226b --- /dev/null +++ b/src/etc/dbscripts.d/gnu+linux_add_arm.cfg @@ -0,0 +1,67 @@ +#!/hint/bash + +# 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' diff --git a/src/etc/dbscripts.d/gnu+linux_add_legacy.cfg b/src/etc/dbscripts.d/gnu+linux_add_legacy.cfg new file mode 100644 index 0000000..0cd0d8a --- /dev/null +++ b/src/etc/dbscripts.d/gnu+linux_add_legacy.cfg @@ -0,0 +1,67 @@ +#!/hint/bash + +# Parabola Platform +PLATFORM_NAME='GNU/Linux-libre' +PLATFORM='gnu+linux' + +# Multilib Support Archictectures +MULTILIB_ARCHES=('x86_64') + +# Archictectures +ARCHES=('i686' "${MULTILIB_ARCHES[@]}") + +# Main Repositories from Arch GNU/Linux +MAIN_REPOS=('core' 'extra' 'testing' 'community' 'community-testing') +# Libre Repositories from Parabola GNU/Linux-libre +LIBRE_MAIN_REPOS=('libre' 'libre-testing') + +# Multilib Repositories from Arch GNU/Linux +MULTILIB_REPOS=('multilib' 'multilib-testing') +# 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="pool/parabola" + +# Directories where sources are stored +SRC_POOL="sources/parabola" + +# Build System and Repository scripts +BS_MAIN_NAME="abslibre" +BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" +BS_DERIVATION_NAME="abs" +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.txt" +BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt" +BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt" +SYNC_DERIVATION_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 new file mode 100644 index 0000000..d0a611a --- /dev/null +++ b/src/etc/dbscripts.d/gnu+linux_native.cfg @@ -0,0 +1,57 @@ +#!/hint/bash + +# Parabola Platform +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') + +# Multilib Repositories +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[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MULTILIB_REPOS[@]}") + +# Directories where packages are shared between repos +# *relative to REPO_DIR* +PKG_POOL="${PKG_POOL_DIR}/${PLATFORM}" + +# Directories where sources are stored +SRC_POOL="${SRC_POOL_DIR}/${PLATFORM}" + +# 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/${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' diff --git a/src/etc/dbscripts.d/main.cfg b/src/etc/dbscripts.d/main.cfg new file mode 100644 index 0000000..c1b9ffa --- /dev/null +++ b/src/etc/dbscripts.d/main.cfg @@ -0,0 +1,36 @@ +#!/hint/bash + +# Parabola Software Development +PSD=('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)" + +# parabolaweb root +WEB_DIR="${SRV_DIR}/http/www.parabola.nu/web" |