summaryrefslogtreecommitdiffstats
path: root/scripts/aurblup/config.h.proto
diff options
context:
space:
mode:
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" };