From 6dc61e7d9e87ad6821869dab61e5f005af2e0252 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 7 Dec 2012 23:20:11 +0100 Subject: 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 --- scripts/aurblup/config.h.proto | 8 -------- 1 file changed, 8 deletions(-) (limited to 'scripts/aurblup/config.h.proto') diff --git a/scripts/aurblup/config.h.proto b/scripts/aurblup/config.h.proto index 1a19ef42..45acb877 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" -- cgit v1.2.3-24-g4f1b