summaryrefslogtreecommitdiff
path: root/config_abslibre_gnu+linux
diff options
context:
space:
mode:
Diffstat (limited to 'config_abslibre_gnu+linux')
-rw-r--r--config_abslibre_gnu+linux17
1 files changed, 15 insertions, 2 deletions
diff --git a/config_abslibre_gnu+linux b/config_abslibre_gnu+linux
index bcf8ab0..7a76a02 100644
--- a/config_abslibre_gnu+linux
+++ b/config_abslibre_gnu+linux
@@ -1,6 +1,6 @@
#!/hint/bash
-. ./config
+source "$(dirname "$(readlink -e "$0")")/config"
# Parabola GNU/Linux-libre configuration with Arch GNU/Linux derivation
DERIVATION='true'
@@ -35,7 +35,7 @@ PKG_ANY_REPOS=("${EXTRA_REPOS[@]}" "${PATFORM_REPOS[@]}" "${LIBRE_MAIN_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 FTP_BASE*
+# *relative to REPO_DIR*
PKG_POOL='abslibre_gnu+linux'
# Directories where sources are stored
@@ -53,3 +53,16 @@ BLACKLIST_NAME='blacklist_gnu+linux.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_gnu+linux"
+
+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'