summaryrefslogtreecommitdiff
path: root/scripts/aurblup/config.h.proto
blob: fc1a87b8587d90dafdb6c91e99047cdbf8a57d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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"

/* unset this to use "LOCK TABLE" instead of transactions */
#define MYSQL_USE_TRANSACTIONS 1

/* 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" };