blob: d536d9673ced6e8cc759dc1287b3ac8b5abe9475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#include "rpmchk.h"
/*
* This file contains some values which must match, and some places to
* stick things which are discovered in one place, but used in another.
*/
char *architecture =
#if defined(__i386__)
"i486";
#elif defined(__ia64__)
"ia64";
#elif defined(__powerpc__)
"powerpc";
#else
"unknown architecture";
#endif
char *validos = "linux";
char *validdepver = "1.2";
char *pkgname;
int lsbdepidx=-1;
/* Stuff that we read in one part, but need to use for validation in
* another part.
*/
unsigned char *sigdata;
uint32_t sigsize;
uint32_t archivesize;
uint32_t rpmtagsize;
uint32_t *filesizes;
uint16_t *filemodes;
uint32_t *filedevs;
uint16_t *filerdevs;
uint32_t *fileinodes;
uint32_t *filetimes;
char *filemd5s;
char *filelinktos;
char *fileusernames;
char *filegroupnames;
char *filelangs;
uint32_t *dirindicies;
char **basenames;
char **dirnames;
int numdirnames;
int hasPayloadFilesHavePrefix;
int rpmchkdebug;
|