summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-12-22 11:19:18 +0100
committerAllan McRae <allan@archlinux.org>2013-02-07 01:48:11 +0100
commit33b3b6d9b854687f0fc3030eba134aad1485546f (patch)
treebbd4c9542a7bc0bad8e02d4824e5b32ea550aeb9 /src/pacman/conf.h
parent3aece8f0eedd703349bcd7bd6bf4b221d9f5775c (diff)
downloadpacman-33b3b6d9b854687f0fc3030eba134aad1485546f.tar.gz
pacman-33b3b6d9b854687f0fc3030eba134aad1485546f.tar.xz
Add configuration option for Upgrade operation SigLevel
Add LocalFileSigLevel and RemoteFileSigLevel to control the signature checking for "pacman -U <file>" and "pacman -U <url>" operations respectively. The starting value for both these options is SigLevel, if it is specified in the [options] section, or the built-in system default. The specified values override and/or supplement this initial value. Note there is no distinction between setting "Required" and "PackageRequired" as there are no database options for Upgrade operations. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index 408b5913..d85d11f2 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -72,6 +72,8 @@ typedef struct __config_t {
unsigned int ask;
alpm_transflag_t flags;
alpm_siglevel_t siglevel;
+ alpm_siglevel_t localfilesiglevel;
+ alpm_siglevel_t remotefilesiglevel;
/* conf file options */
/* I Love Candy! */