Skip to content

Commit

Permalink
Merge systemd-selinux 253.6-2 update
Browse files Browse the repository at this point in the history
  • Loading branch information
fishilico committed Jul 16, 2023
2 parents e229c40 + 219fde1 commit fcb7b98
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 25 deletions.
2 changes: 1 addition & 1 deletion compare_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def get_pkgbuild_pkgver(pkgbuild_filepath: Path) -> Optional[Tuple[str, int]]:
continue

# systemd package defines _tag_name
matches = re.match(r"^_tag_name=([0-9.]+)\s$", line)
matches = re.match(r"^_tag_name=([0-9.rc-]+)\s$", line)
if matches is not None:
pkgver = matches.group(1)
continue
Expand Down
22 changes: 11 additions & 11 deletions systemd-selinux/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgbase = systemd-selinux
pkgver = 253.5
pkgver = 253.6
pkgrel = 2
url = https://www.github.com/systemd/systemd
arch = x86_64
Expand Down Expand Up @@ -50,7 +50,7 @@ pkgbase = systemd-selinux
makedepends = gnutls
makedepends = libselinux
options = strip
source = git+https://github.com/systemd/systemd-stable#tag=c2b13f4d9f08d7f4ec113845195ea24bc871e7c0?signed
source = git+https://github.com/systemd/systemd-stable#tag=c017ed867787d09484ba7de75a8f025820596955?signed
source = git+https://github.com/systemd/systemd#tag=v253?signed
source = 0001-Use-Arch-Linux-device-access-groups.patch
source = initcpio-hook-udev
Expand Down Expand Up @@ -146,9 +146,9 @@ pkgname = systemd-selinux
optdepends = libp11-kit: support PKCS#11
optdepends = tpm2-tss: unlocking LUKS2 volumes with TPM2
provides = nss-myhostname
provides = systemd-tools=253.5
provides = udev=253.5
provides = systemd=253.5-2
provides = systemd-tools=253.6
provides = udev=253.6
provides = systemd=253.6-2
conflicts = nss-myhostname
conflicts = systemd-tools
conflicts = udev
Expand Down Expand Up @@ -186,7 +186,7 @@ pkgname = systemd-libs-selinux
provides = libsystemd.so
provides = libudev.so
provides = libsystemd-selinux
provides = systemd-libs=253.5-2
provides = systemd-libs=253.6-2
conflicts = libsystemd
conflicts = libsystemd-selinux
conflicts = systemd-libs
Expand All @@ -198,16 +198,16 @@ pkgname = systemd-resolvconf-selinux
depends = systemd-selinux
provides = openresolv
provides = resolvconf
provides = systemd-resolvconf=253.5-2
provides = systemd-resolvconf=253.6-2
conflicts = openresolv
conflicts = systemd-resolvconf=253.5-2
conflicts = systemd-resolvconf=253.6-2

pkgname = systemd-sysvcompat-selinux
pkgdesc = sysvinit compat for systemd with SELinux support
license = GPL2
depends = systemd-selinux
provides = systemd-sysvcompat=253.5-2
provides = selinux-systemd-sysvcompat=253.5-2
provides = systemd-sysvcompat=253.6-2
provides = selinux-systemd-sysvcompat=253.6-2
conflicts = sysvinit
conflicts = systemd-sysvcompat
conflicts = selinux-systemd-sysvcompat
Expand All @@ -221,4 +221,4 @@ pkgname = systemd-ukify-selinux
optdepends = python-pillow: Show the size of splash image
optdepends = sbsigntools: Sign the embedded kernel
provides = ukify
provides = systemd-ukify=253.5-2
provides = systemd-ukify=253.6-2
22 changes: 9 additions & 13 deletions systemd-selinux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ pkgname=('systemd-selinux'
'systemd-resolvconf-selinux'
'systemd-sysvcompat-selinux'
'systemd-ukify-selinux')
_tag='c2b13f4d9f08d7f4ec113845195ea24bc871e7c0' # git rev-parse v${_tag_name}
_tag_name=253.5
_tag='c017ed867787d09484ba7de75a8f025820596955' # git rev-parse v${_tag_name}
_tag_name=253.6
pkgver="${_tag_name/-/}"
pkgrel=2
arch=('x86_64' 'aarch64')
Expand Down Expand Up @@ -73,8 +73,6 @@ sha512sums=('SKIP'
'825b9dd0167c072ba62cabe0677e7cd20f2b4b850328022540f122689d8b25315005fa98ce867cf6e7460b2b26df16b88bb3b5c9ebf721746dce4e2271af7b97')

_backports=(
# Revert "core/service: when resetting PID also reset known flag"
'996b00ede87d6a870332e63974a7d4def3c2f1b0'
)

_reverts=(
Expand All @@ -86,18 +84,16 @@ prepare() {
# add upstream repository for cherry-picking
git remote add -f upstream ../systemd

local _c
local _c _l
for _c in "${_backports[@]}"; do
if [[ $_c == *..* ]]; then
git log --oneline --reverse "${_c}"
else
git log --oneline -1 "${_c}"
fi
git cherry-pick -n -m1 "${_c}"
if [[ "${_c}" == *..* ]]; then _l='--reverse'; else _l='--max-count=1'; fi
git log --oneline "${_l}" "${_c}"
git cherry-pick --mainline 1 --no-commit "${_c}"
done
for _c in "${_reverts[@]}"; do
git log --oneline -1 "${_c}"
git revert -n "${_c}"
if [[ "${_c}" == *..* ]]; then _l='--reverse'; else _l='--max-count=1'; fi
git log --oneline "${_l}" "${_c}"
git revert --mainline 1 --no-commit "${_c}"
done

# Replace cdrom/dialout/tape groups with optical/uucp/storage
Expand Down

0 comments on commit fcb7b98

Please sign in to comment.