mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
21e6c3f65f
commit
6dc61e7d9e
3 changed files with 56 additions and 73 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue