summaryrefslogtreecommitdiffstats
path: root/scripts/aurblup/config.h.proto
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-02-05 17:42:47 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2011-02-11 14:43:22 +0100
commit400d7845e4c959660edf4cbeb1a390c6590cc4fc (patch)
treeb404bf77af58e698d1ac55b82555c2fda35b9a7f /scripts/aurblup/config.h.proto
parentb69f548065e78d14afcdc91548d73539762f8d93 (diff)
downloadaur-400d7845e4c959660edf4cbeb1a390c6590cc4fc.tar.gz
aur-400d7845e4c959660edf4cbeb1a390c6590cc4fc.tar.xz
Add AUR package blacklist updater (aurblup).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'scripts/aurblup/config.h.proto')
-rw-r--r--scripts/aurblup/config.h.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/aurblup/config.h.proto b/scripts/aurblup/config.h.proto
new file mode 100644
index 00000000..daf1744c
--- /dev/null
+++ b/scripts/aurblup/config.h.proto
@@ -0,0 +1,13 @@
+/* AUR configuration file */
+#define AUR_CONFIG "/srv/aur/web/lib/config.inc"
+
+#define CONFIG_KEY_HOST "AUR_db_host"
+#define CONFIG_KEY_USER "AUR_db_user"
+#define CONFIG_KEY_PASSWD "AUR_db_pass"
+#define CONFIG_KEY_DB "AUR_db_name"
+
+/* libalpm options */
+#define ALPM_DBPATH "/var/lib/aurblup/"
+#define ALPM_MIRROR "ftp://mirrors.kernel.org/archlinux/%s/os/i686"
+
+static const char *alpm_repos[] = { "core", "community", "extra" };