summaryrefslogtreecommitdiffstats
path: root/scripts/aurblup/config.h.proto
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-12-07 23:20:11 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2013-02-15 13:25:56 +0100
commit6dc61e7d9e87ad6821869dab61e5f005af2e0252 (patch)
tree1fc19a0bc0d67a695cd60b1a762e42295dd6667b /scripts/aurblup/config.h.proto
parent21e6c3f65ff4b0daeac75d6d66dcdd33fb98d646 (diff)
downloadaurweb-6dc61e7d9e87ad6821869dab61e5f005af2e0252.tar.xz
Remove aurblup configuration file parser
Drop the (very bad) PHP parser and allow for passing all necessary configuration via command line parameters. Also, add a convenience wrapper written in PHP that parses the configuration file and subsequently calls aurblup with correct command line options. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'scripts/aurblup/config.h.proto')
-rw-r--r--scripts/aurblup/config.h.proto8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/aurblup/config.h.proto b/scripts/aurblup/config.h.proto
index 1a19ef4..45acb87 100644
--- a/scripts/aurblup/config.h.proto
+++ b/scripts/aurblup/config.h.proto
@@ -1,11 +1,3 @@
-/* AUR configuration file */
-#define AUR_CONFIG "/srv/aur/web/lib/config.inc.php"
-
-#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/x86_64"