summaryrefslogtreecommitdiff
path: root/etc/dbscripts.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'etc/dbscripts.cfg')
-rw-r--r--etc/dbscripts.cfg35
1 files changed, 35 insertions, 0 deletions
diff --git a/etc/dbscripts.cfg b/etc/dbscripts.cfg
new file mode 100644
index 0000000..044b21f
--- /dev/null
+++ b/etc/dbscripts.cfg
@@ -0,0 +1,35 @@
+#!/hint/bash
+
+root_dir="/srv/repo/main"
+
+# distributions
+native_distributions=()
+derivative_distributions=('gnu+linux_x86_arch_legacy' 'gnu+linux_arm_arch_legacy')
+distributions=("${native_distributions}" "${derivative_distributions}")
+
+# add compability support
+source "$(dirname "$(readlink -e "$0")")/dbscripts.cfg.d/gnu+linux_x86_arch_legacy
+
+cleanup_destination_directory="${root_dir}/old/packages"
+cleanup_dryrun=false
+# Time in days to keep moved packages
+cleanup_keep=30
+
+source_cleanup_destination_directory="${root_dir}/old/sources"
+source_cleanup_dryrun=true
+# Time in days to keep moved sourcepackages
+source_cleanup_keep=30
+
+require_signature=true
+
+lock_delay=10
+lock_timeout=300
+
+[ -n "${staging_directory:-}" ] || staging_directory="$HOME/staging/unknown/staging"
+temporary_directory="/tmp"
+database_extension_suffixfile=".db.tar.gz"
+files_extension_suffixfile=".files.tar.gz"
+package_extension_suffixfile=".pkg.tar.?z"
+source_extension_suffixfile=".src.tar.gz"
+
+blacklist_file="$HOME/blacklist/blacklist.txt"