Skip to content

Commit 4555cf2

Browse files
committed
2 parents ec282f2 + 584de48 commit 4555cf2

File tree

4 files changed

+32
-35
lines changed

4 files changed

+32
-35
lines changed

systemd-selinux/.SRCINFO

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pkgbase = systemd-selinux
2-
pkgver = 256.6
2+
pkgver = 256.7
33
pkgrel = 1
44
url = https://www.github.com/systemd/systemd
55
arch = x86_64
@@ -54,9 +54,10 @@ pkgbase = systemd-selinux
5454
makedepends = qrencode
5555
makedepends = lib32-gcc-libs
5656
makedepends = python-pefile
57+
makedepends = linux-headers
5758
makedepends = libselinux
5859
conflicts = mkinitcpio<38-1
59-
source = git+https://github.com/systemd/systemd#tag=v256.6?signed
60+
source = git+https://github.com/systemd/systemd#tag=v256.7?signed
6061
source = 0001-Use-Arch-Linux-device-access-groups.patch
6162
source = arch.conf
6263
source = loader.conf
@@ -77,13 +78,13 @@ pkgbase = systemd-selinux
7778
validpgpkeys = A9EA9081724FFAE0484C35A1A81CEA22BC8C7E2E
7879
validpgpkeys = 9A774DB5DB996C154EBBFBFDA0099A18E29326E1
7980
validpgpkeys = 5C251B5FC54EB2F80F407AAAC54CA336CFEB557E
80-
sha512sums = e9fc19946f329aa89c1014a735d4d7828cebaa32ece8244b79e101c41d1c0cb0207b4109ce55d14204b0915f6cac57ace6286c6abaebd809031949693131de16
81+
sha512sums = 468f772b3dfa83483da75516499c50159206dc5f8e26d7a62fc08437c93a4e536c0b27ee7fa5ac11fb1bc27a9c0e41315261751e5cc7428629a30849aeb23386
8182
sha512sums = 3ccf783c28f7a1c857120abac4002ca91ae1f92205dcd5a84aff515d57e706a3f9240d75a0a67cff5085716885e06e62597baa86897f298662ec36a940cf410e
8283
sha512sums = 61032d29241b74a0f28446f8cf1be0e8ec46d0847a61dadb2a4f096e8686d5f57fe5c72bcf386003f6520bc4b5856c32d63bf3efe7eb0bc0deefc9f68159e648
8384
sha512sums = c416e2121df83067376bcaacb58c05b01990f4614ad9de657d74b6da3efa441af251d13bf21e3f0f71ddcb4c9ea658b81da3d915667dc5c309c87ec32a1cb5a5
8485
sha512sums = 5a1d78b5170da5abe3d18fdf9f2c3a4d78f15ba7d1ee9ec2708c4c9c2e28973469bc19386f70b3cf32ffafbe4fcc4303e5ebbd6d5187a1df3314ae0965b25e75
8586
sha512sums = b90c99d768dc2a4f020ba854edf45ccf1b86a09d2f66e475de21fe589ff7e32c33ef4aa0876d7f1864491488fd7edb2682fc0d68e83a6d4890a0778dc2d6fe19
86-
sha512sums = 3cb8f88c1bffc753d0c540be5d25a0fdb9224478cca64743b5663340f2f26b197775286e6e680228db54c614dcd11da1135e625674a622127681662bec4fa886
87+
sha512sums = 9835dbb46a3942e89774dd26f295af30ed9eb2cf7ba574e3016b0b4357536a102eb58d72b3add0ea7fd2a56d46b097f273dd02f68840b7a0211c9dbd2b0b7c29
8788
sha512sums = 299dcc7094ce53474521356647bdd2fb069731c08d14a872a425412fcd72da840727a23664b12d95465bf313e8e8297da31259508d1c62cc2dcea596160e21c5
8889
sha512sums = 0d6bc3d928cfafe4e4e0bc04dbb95c5d2b078573e4f9e0576e7f53a8fab08a7077202f575d74a3960248c4904b5f7f0661bf17dbe163c524ab51dd30e3cb80f7
8990
sha512sums = 2b50b25e8680878f7974fa9d519df7e141ca11c4bfe84a92a5d01bb193f034b1726ea05b3c0030bad1fbda8dbb78bf1dc7b73859053581b55ba813c39b27d9dc
@@ -102,7 +103,7 @@ pkgname = systemd-selinux
102103
license = CC0-1.0
103104
license = GPL-2.0-or-later
104105
license = MIT-0
105-
depends = systemd-libs-selinux=256.6
106+
depends = systemd-libs-selinux=256.7
106107
depends = acl
107108
depends = libacl.so
108109
depends = bash
@@ -150,9 +151,9 @@ pkgname = systemd-selinux
150151
optdepends = libp11-kit: support PKCS#11
151152
optdepends = tpm2-tss: unlocking LUKS2 volumes with TPM2
152153
provides = nss-myhostname
153-
provides = systemd-tools=256.6
154-
provides = udev=256.6
155-
provides = systemd=256.6-1
154+
provides = systemd-tools=256.7
155+
provides = udev=256.7
156+
provides = systemd=256.7-1
156157
conflicts = nss-myhostname
157158
conflicts = systemd-tools
158159
conflicts = udev
@@ -193,37 +194,37 @@ pkgname = systemd-libs-selinux
193194
provides = libsystemd.so
194195
provides = libudev.so
195196
provides = libsystemd-selinux
196-
provides = systemd-libs=256.6-1
197+
provides = systemd-libs=256.7-1
197198
conflicts = libsystemd
198199
conflicts = libsystemd-selinux
199200
conflicts = systemd-libs
200201
replaces = libsystemd-selinux
201202

202203
pkgname = systemd-resolvconf-selinux
203204
pkgdesc = systemd resolvconf replacement with SELinux support (for use with systemd-resolved)
204-
depends = systemd-selinux=256.6
205+
depends = systemd-selinux=256.7
205206
provides = openresolv
206207
provides = resolvconf
207-
provides = systemd-resolvconf=256.6-1
208+
provides = systemd-resolvconf=256.7-1
208209
conflicts = resolvconf
209-
conflicts = systemd-resolvconf=256.6-1
210+
conflicts = systemd-resolvconf=256.7-1
210211

211212
pkgname = systemd-sysvcompat-selinux
212213
pkgdesc = sysvinit compat for systemd with SELinux support
213-
depends = systemd-selinux=256.6
214-
provides = systemd-sysvcompat=256.6-1
215-
provides = selinux-systemd-sysvcompat=256.6-1
214+
depends = systemd-selinux=256.7
215+
provides = systemd-sysvcompat=256.7-1
216+
provides = selinux-systemd-sysvcompat=256.7-1
216217
conflicts = sysvinit
217218
conflicts = systemd-sysvcompat
218219
conflicts = selinux-systemd-sysvcompat
219220

220221
pkgname = systemd-ukify-selinux
221222
pkgdesc = Combine kernel and initrd into a signed Unified Kernel Image with SELinux support
222-
depends = systemd-selinux=256.6
223+
depends = systemd-selinux=256.7
223224
depends = binutils
224225
depends = python-cryptography
225226
depends = python-pefile
226227
optdepends = python-pillow: Show the size of splash image
227228
optdepends = sbsigntools: Sign the embedded kernel
228229
provides = ukify
229-
provides = systemd-ukify=256.6-1
230+
provides = systemd-ukify=256.7-1

systemd-selinux/PKGBUILD

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pkgname=('systemd-selinux'
1212
'systemd-resolvconf-selinux'
1313
'systemd-sysvcompat-selinux'
1414
'systemd-ukify-selinux')
15-
_tag='256.6'
15+
_tag='256.7'
1616
# Upstream versioning is incompatible with pacman's version comparisons, one
1717
# way or another. So we replace dashes and tildes with the empty string to
1818
# make sure pacman's version comparing does the right thing for rc versions:
@@ -29,7 +29,7 @@ makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam-selinux' '
2929
'meson' 'libseccomp' 'pcre2' 'audit' 'kexec-tools' 'libxkbcommon'
3030
'bash-completion' 'p11-kit' 'systemd' 'libfido2' 'tpm2-tss' 'rsync'
3131
'bpf' 'libbpf' 'clang' 'llvm' 'curl' 'gnutls' 'python-pyelftools'
32-
'libpwquality' 'qrencode' 'lib32-gcc-libs' 'python-pefile' 'libselinux')
32+
'libpwquality' 'qrencode' 'lib32-gcc-libs' 'python-pefile' 'linux-headers' 'libselinux')
3333
conflicts=("mkinitcpio<38-1")
3434
validpgpkeys=('63CDA1E5D3FC22B998D20DD6327F26951A015CC4' # Lennart Poettering <[email protected]>
3535
'A9EA9081724FFAE0484C35A1A81CEA22BC8C7E2E' # Luca Boccassi <[email protected]>
@@ -55,13 +55,13 @@ source=("git+https://github.com/systemd/systemd#tag=v${_tag}?signed"
5555
'30-systemd-tmpfiles.hook'
5656
'30-systemd-udev-reload.hook'
5757
'30-systemd-update.hook')
58-
sha512sums=('e9fc19946f329aa89c1014a735d4d7828cebaa32ece8244b79e101c41d1c0cb0207b4109ce55d14204b0915f6cac57ace6286c6abaebd809031949693131de16'
58+
sha512sums=('468f772b3dfa83483da75516499c50159206dc5f8e26d7a62fc08437c93a4e536c0b27ee7fa5ac11fb1bc27a9c0e41315261751e5cc7428629a30849aeb23386'
5959
'3ccf783c28f7a1c857120abac4002ca91ae1f92205dcd5a84aff515d57e706a3f9240d75a0a67cff5085716885e06e62597baa86897f298662ec36a940cf410e'
6060
'61032d29241b74a0f28446f8cf1be0e8ec46d0847a61dadb2a4f096e8686d5f57fe5c72bcf386003f6520bc4b5856c32d63bf3efe7eb0bc0deefc9f68159e648'
6161
'c416e2121df83067376bcaacb58c05b01990f4614ad9de657d74b6da3efa441af251d13bf21e3f0f71ddcb4c9ea658b81da3d915667dc5c309c87ec32a1cb5a5'
6262
'5a1d78b5170da5abe3d18fdf9f2c3a4d78f15ba7d1ee9ec2708c4c9c2e28973469bc19386f70b3cf32ffafbe4fcc4303e5ebbd6d5187a1df3314ae0965b25e75'
6363
'b90c99d768dc2a4f020ba854edf45ccf1b86a09d2f66e475de21fe589ff7e32c33ef4aa0876d7f1864491488fd7edb2682fc0d68e83a6d4890a0778dc2d6fe19'
64-
'3cb8f88c1bffc753d0c540be5d25a0fdb9224478cca64743b5663340f2f26b197775286e6e680228db54c614dcd11da1135e625674a622127681662bec4fa886'
64+
'9835dbb46a3942e89774dd26f295af30ed9eb2cf7ba574e3016b0b4357536a102eb58d72b3add0ea7fd2a56d46b097f273dd02f68840b7a0211c9dbd2b0b7c29'
6565
'299dcc7094ce53474521356647bdd2fb069731c08d14a872a425412fcd72da840727a23664b12d95465bf313e8e8297da31259508d1c62cc2dcea596160e21c5'
6666
'0d6bc3d928cfafe4e4e0bc04dbb95c5d2b078573e4f9e0576e7f53a8fab08a7077202f575d74a3960248c4904b5f7f0661bf17dbe163c524ab51dd30e3cb80f7'
6767
'2b50b25e8680878f7974fa9d519df7e141ca11c4bfe84a92a5d01bb193f034b1726ea05b3c0030bad1fbda8dbb78bf1dc7b73859053581b55ba813c39b27d9dc'
@@ -148,13 +148,15 @@ build() {
148148
-Dman=enabled
149149
-Dnscd=false
150150
-Dselinux=enabled
151+
-Dsshdprivsepdir=/usr/share/empty.sshd
152+
-Dvmlinux-h=provided
153+
-Dvmlinux-h-path=/usr/src/linux/vmlinux.h
151154

152155
# We disable DNSSEC by default, it still causes trouble:
153156
# https://github.com/systemd/systemd/issues/10579
154157

155158
-Ddbuspolicydir=/usr/share/dbus-1/system.d
156159
-Ddefault-dnssec=no
157-
-Ddefault-hierarchy=unified
158160
-Ddefault-kill-user-processes=false
159161
-Ddefault-locale='C.UTF-8'
160162
-Dlocalegen-path=/usr/bin/locale-gen
@@ -235,7 +237,7 @@ package_systemd-selinux() {
235237
etc/udev/udev.conf)
236238
install=systemd.install
237239

238-
meson install -C build --destdir "$pkgdir" "${_meson_install[@]}"
240+
meson install -C build --no-rebuild --destdir "$pkgdir" "${_meson_install[@]}"
239241

240242
# we'll create this on installation
241243
rmdir "$pkgdir"/var/log/journal/remote

systemd-selinux/systemd-hook

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
#!/bin/sh -e
22

3-
is_chrooted() {
3+
skip_chrooted() {
44
if systemd-detect-virt --chroot; then
55
echo >&2 " Skipped: Running in chroot."
66
exit 0
77
fi
88
}
99

1010
systemd_live() {
11-
is_chrooted
12-
if [ ! -d /run/systemd/system ]; then
11+
skip_chrooted
12+
13+
if ! systemd-notify --booted >/dev/null 2>&1; then
1314
echo >&2 " Skipped: Current root is not booted."
1415
exit 0
1516
fi
1617
}
1718

1819
udevd_live() {
19-
is_chrooted
20+
skip_chrooted
21+
2022
if [ ! -S /run/udev/control ]; then
2123
echo >&2 " Skipped: Device manager is not running."
2224
exit 0

systemd-selinux/systemd.install

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ sd_booted() {
44
[[ -d run/systemd/system && ! -L run/systemd/system ]]
55
}
66

7-
add_journal_acls() {
8-
# ignore errors, since the filesystem might not support ACLs
9-
setfacl -Rnm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx var/log/journal/ 2>/dev/null
10-
:
11-
}
12-
137
post_common() {
148
systemd-sysusers
159
journalctl --update-catalog
@@ -24,8 +18,6 @@ post_install() {
2418

2519
post_common "$@"
2620

27-
add_journal_acls
28-
2921
# enable some services by default, but don't track them
3022
systemctl enable \
3123

0 commit comments

Comments
 (0)