#!/bin/bash # non-executable, but put this there as a hint to text editors FTP_BASE="/srv/http/repo/public" PKGREPOS=( # Arch {core,extra,testing,staging} {gnome,kde}-unstable {community,multilib}{,-testing,-staging} # Parabola libre{,-testing} libre-multilib{,-testing} pcr kernels cross java nonprism '~smv' '~xihh' '~brendan' '~lukeshu' '~emulatorman' '~aurelien' '~jorginho' '~coadde' '~drtan' ) PKGPOOL='pool/parabola' SRCPOOL='sources/parabola' TESTING_REPO='testing' STABLE_REPOS=( # Arch {core,extra} {community,multilib} # Parabola libre libre-multilib pcr kernels cross java nonprism '~smv' '~xihh' '~brendan' '~lukeshu' '~emulatorman' '~aurelien' '~jorginho' '~coadde' '~drtan' ) CLEANUP_DESTDIR="/srv/http/repo/private/cleanup-destdir" CLEANUP_DRYRUN=false # Time in days to keep moved packages CLEANUP_KEEP=30 SOURCE_CLEANUP_DESTDIR="/srv/http/repo/private/source-cleanup-destdir" SOURCE_CLEANUP_DRYRUN=false # Time in days to keep moved sourcepackages SOURCE_CLEANUP_KEEP=30 REQUIRE_SIGNATURE=true LOCK_DELAY=10 LOCK_TIMEOUT=300 [ -n "${STAGING:-}" ] || STAGING="$HOME/staging/unknown/staging" export TMPDIR="${TMPDIR:-/tmp}" ARCHES=(i686 x86_64 mips64el) DBEXT=".db.tar.gz" FILESEXT=".files.tar.gz" PKGEXT=".pkg.tar.?z" SRCEXT=".src.tar.gz" # Allowed licenses: get sourceballs only for licenses in this array # Empty (commented out) to get sourceballs for all packages #ALLOWED_LICENSES=('GPL' 'GPL1' 'GPL2' 'LGPL' 'LGPL1' 'LGPL2' 'LGPL2.1') # For db-cleanup PKGPOOLS=(pool/{packages,community,parabola}) SRCPOOLS=(sources/{packages,community,parabola}) # Where to send error emails, and who they are from LIST="dev@lists.parabolagnulinux.org" FROM="dbscripts+$(whoami)@$(hostname -f)" # Override default config with config.local [ -f "$(dirname "${BASH_SOURCE[0]}")/config.local" ] && . "$(dirname "${BASH_SOURCE[0]}")/config.local"