Commit 5179792
0
plików
+0
dodanych
-0
usuniętych
@@ -1,103 +1,41 @@
1
-pkgname: libsepol
2
-pkgver: '3.5'
3
-pkgrel: '2'
4
-pkgdesc: 'SELinux binary policy manipulation library'
5
-url: 'http://userspace.selinuxproject.org'
6
-arch: x86_64
7
-depends: []
8
-makedepends:
9
-- flex
10
-
11
-source:
12
-- 'https://github.com/SELinuxProject/selinux/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz'
13
-
14
-sha256sums:
15
-- SKIP
16
-
17
-footprint_libsepol_devel: |
18
- drwxr-xr-x root/root usr/include/
19
- drwxr-xr-x root/root usr/include/sepol/
20
- -rw-r--r-- root/root usr/include/sepol/boolean_record.h
21
- -rw-r--r-- root/root usr/include/sepol/booleans.h
22
- drwxr-xr-x root/root usr/include/sepol/cil/
23
- -rw-r--r-- root/root usr/include/sepol/cil/cil.h
24
- -rw-r--r-- root/root usr/include/sepol/context.h
25
- -rw-r--r-- root/root usr/include/sepol/context_record.h
26
- -rw-r--r-- root/root usr/include/sepol/debug.h
27
- -rw-r--r-- root/root usr/include/sepol/errcodes.h
28
- -rw-r--r-- root/root usr/include/sepol/handle.h
29
- -rw-r--r-- root/root usr/include/sepol/ibendport_record.h
30
- -rw-r--r-- root/root usr/include/sepol/ibendports.h
31
- -rw-r--r-- root/root usr/include/sepol/ibpkey_record.h
32
- -rw-r--r-- root/root usr/include/sepol/ibpkeys.h
33
- -rw-r--r-- root/root usr/include/sepol/iface_record.h
34
- -rw-r--r-- root/root usr/include/sepol/interfaces.h
35
- -rw-r--r-- root/root usr/include/sepol/kernel_to_cil.h
36
- -rw-r--r-- root/root usr/include/sepol/kernel_to_conf.h
37
- -rw-r--r-- root/root usr/include/sepol/module.h
38
- -rw-r--r-- root/root usr/include/sepol/module_to_cil.h
39
- -rw-r--r-- root/root usr/include/sepol/node_record.h
40
- -rw-r--r-- root/root usr/include/sepol/nodes.h
41
- -rw-r--r-- root/root usr/include/sepol/policydb.h
42
- drwxr-xr-x root/root usr/include/sepol/policydb/
43
- -rw-r--r-- root/root usr/include/sepol/policydb/avrule_block.h
44
- -rw-r--r-- root/root usr/include/sepol/policydb/avtab.h
45
- -rw-r--r-- root/root usr/include/sepol/policydb/conditional.h
46
- -rw-r--r-- root/root usr/include/sepol/policydb/constraint.h
47
- -rw-r--r-- root/root usr/include/sepol/policydb/context.h
48
- -rw-r--r-- root/root usr/include/sepol/policydb/ebitmap.h
49
- -rw-r--r-- root/root usr/include/sepol/policydb/expand.h
50
- -rw-r--r-- root/root usr/include/sepol/policydb/flask_types.h
51
- -rw-r--r-- root/root usr/include/sepol/policydb/hashtab.h
52
- -rw-r--r-- root/root usr/include/sepol/policydb/hierarchy.h
53
- -rw-r--r-- root/root usr/include/sepol/policydb/link.h
54
- -rw-r--r-- root/root usr/include/sepol/policydb/mls_types.h
55
- -rw-r--r-- root/root usr/include/sepol/policydb/module.h
56
- -rw-r--r-- root/root usr/include/sepol/policydb/polcaps.h
57
- -rw-r--r-- root/root usr/include/sepol/policydb/policydb.h
58
- -rw-r--r-- root/root usr/include/sepol/policydb/services.h
59
- -rw-r--r-- root/root usr/include/sepol/policydb/sidtab.h
60
- -rw-r--r-- root/root usr/include/sepol/policydb/symtab.h
61
- -rw-r--r-- root/root usr/include/sepol/policydb/util.h
62
- -rw-r--r-- root/root usr/include/sepol/port_record.h
63
- -rw-r--r-- root/root usr/include/sepol/ports.h
64
- -rw-r--r-- root/root usr/include/sepol/sepol.h
65
- -rw-r--r-- root/root usr/include/sepol/user_record.h
66
- -rw-r--r-- root/root usr/include/sepol/users.h
67
- drwxr-xr-x root/root usr/lib/pkgconfig/
68
- -rw-r--r-- root/root usr/lib/pkgconfig/libsepol.pc
69
-
70
-footprint: |
71
- drwxr-xr-x root/root usr/
72
- drwxr-xr-x root/root usr/bin/
73
- -rwxr-xr-x root/root usr/bin/chkcon
74
- -rwxr-xr-x root/root usr/bin/sepol_check_access
75
- -rwxr-xr-x root/root usr/bin/sepol_compute_av
76
- -rwxr-xr-x root/root usr/bin/sepol_compute_member
77
- -rwxr-xr-x root/root usr/bin/sepol_compute_relabel
78
- -rwxr-xr-x root/root usr/bin/sepol_validate_transition
79
- drwxr-xr-x root/root usr/lib/
80
- -rw-r--r-- root/root usr/lib/libsepol.a
81
- lrwxrwxrwx root/root usr/lib/libsepol.so -> libsepol.so.2
82
- -rwxr-xr-x root/root usr/lib/libsepol.so.2
83
- drwxr-xr-x root/root usr/share/
84
-
85
-footprint_libsepol_man: |
86
- drwxr-xr-x root/root usr/share/man/
87
- drwxr-xr-x root/root usr/share/man/man3/
88
- -rw-r--r-- root/root usr/share/man/man3/sepol_check_context.3.gz
89
- drwxr-xr-x root/root usr/share/man/man8/
90
- -rw-r--r-- root/root usr/share/man/man8/chkcon.8.gz
91
- -rw-r--r-- root/root usr/share/man/man8/genpolbools.8.gz
92
- -rw-r--r-- root/root usr/share/man/man8/genpolusers.8.gz
93
- drwxr-xr-x root/root usr/share/man/ru/
94
- drwxr-xr-x root/root usr/share/man/ru/man8/
95
- -rw-r--r-- root/root usr/share/man/ru/man8/chkcon.8.gz
96
-
97
-build: |
98
- cd ${pkgname}-${pkgver}
99
- make
100
- make DESTDIR=${PKGDIR} LIBDIR=/usr/lib SHLIBDIR=/usr/lib install
101
-
102
-package: |
103
- true
1
+pkgname: libsepol
2
+pkgver: '3.5'
3
+pkgrel: '2'
4
+pkgdesc: 'SELinux binary policy manipulation library'
5
+url: 'https://github.com/SELinuxProject/selinux'
6
+arch: x86_64
7
+license:
8
+- LGPL-2.1-or-later
9
+
10
+depends: []
11
+makedepends: []
12
+source:
13
+- "https://github.com/SELinuxProject/selinux/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
14
+
15
+sha256sums:
16
+- SKIP
17
+
18
+footprint: |
19
+ drwxr-xr-x root/root usr/
20
+ drwxr-xr-x root/root usr/include/
21
+ drwxr-xr-x root/root usr/include/sepol/
22
+ drwxr-xr-x root/root usr/include/sepol/cil/
23
+ -rw-r--r-- root/root usr/include/sepol/cil/cil.h
24
+ -rw-r--r-- root/root usr/include/sepol/policydb/conditional.h
25
+ drwxr-xr-x root/root usr/lib/
26
+ lrwxrwxrwx root/root usr/lib/libsepol.so -> libsepol.so.2
27
+ lrwxrwxrwx root/root usr/lib/libsepol.so.2 -> libsepol.so.2.0
28
+ -rwxr-xr-x root/root usr/lib/libsepol.so.2.0
29
+
30
+build: |
31
+ cd ${pkgname}-${pkgver}
32
+
33
+ # Patczowanie konfliktu słowa zastrzeżonego 'bool' w nagłówkach i źródłach
34
+ sed -i 's/\bbool\b/bool_val/g' include/sepol/policydb/conditional.h
35
+ sed -i 's/\bbool\b/bool_val/g' src/conditional.c
36
+
37
+ make SHLIBDIR=/usr/lib
38
+ make DESTDIR=${PKGDIR} SHLIBDIR=/usr/lib install
39
+
40
+package: |
41
+ true