Compare commits

..
8 Commits
Author SHA1 Message Date
EnumDev 15746e45cc Rebuild package 2026-07-10 19:15:51 +03:00
EnumDev 9a2aee599d Switch to new package format 2026-06-13 19:59:09 +03:00
EnumDev 5a37aaa78a Update package version to 257.16 2026-06-07 16:32:20 +03:00
EnumDev b273e3fb3d Update package version to 257.14 2026-05-17 16:18:31 +03:00
EnumDev 9403384a49 Move libnss_elogind to libelogind package 2026-05-08 16:51:47 +03:00
EnumDev 29837f4c0a Rebuild with audit 2026-05-07 15:30:09 +03:00
EnumDev 6ec59e7ade Add missing dbus service 2026-05-02 18:24:19 +03:00
EnumDev bb50c94012 Update package version to 257.13 2026-05-01 16:43:51 +03:00
3 changed files with 18 additions and 9 deletions
+2 -2
View File
@@ -4,9 +4,9 @@
REPO="elogind/elogind" REPO="elogind/elogind"
# Get tag name using Github Rest API # Get tag name using Github Rest API
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name') TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases | jq -r '.[].tag_name' | sort -V | tail -n1)
# Trim 'v' character in TAG_NAME variable # Trim 'v' character in TAG_NAME variable
VERSION=$(echo "$TAG_NAME" | tr -d 'V') VERSION=$(echo "$TAG_NAME" | tr -d 'v')
echo "$VERSION" echo "$VERSION"
+8 -4
View File
@@ -1,15 +1,18 @@
name: elogind name: elogind
description: The systemd project's 'logind', extracted to a standalone package description: The systemd project's 'logind', extracted to a standalone package
version: "255.22" version: "257.16"
revision: 2 revision: 3
url: https://github.com/elogind/elogind url: https://github.com/elogind/elogind
license: GPL2-only,LGPL2.1-only license: GPL2-only,LGPL2.1-only
maintainers:
- [email protected]
architecture: any architecture: any
type: source type: source
optional_depends: optional_depends:
- polkit - polkit
make_depends: make_depends:
- acl - acl
- audit
- dbus - dbus
- docbook-xsl-nons - docbook-xsl-nons
- gperf - gperf
@@ -21,10 +24,10 @@ make_depends:
- udev - udev
- util-linux - util-linux
downloads: downloads:
- url: https://github.com/elogind/elogind/archive/refs/tags/V${BPM_PKG_VERSION}.tar.gz - url: https://github.com/elogind/elogind/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: 79b5eb96bccf3a6101b35e62d0f80b2d0a47077a1507a6edc705f8cb7bdb0619 checksum: 3c8146409bfb9daa77f272212c2b0bf0ae727c782ec87ece0d2d25e0e5bf5f4c
split_packages: split_packages:
- name: elogind - name: elogind
keep: keep:
@@ -34,6 +37,7 @@ split_packages:
- etc/elogind/sleep.conf.d/10-elogind.conf - etc/elogind/sleep.conf.d/10-elogind.conf
depends: depends:
- acl - acl
- audit
- dbus - dbus
- libelogind - libelogind
- pam - pam
+8 -3
View File
@@ -1,4 +1,4 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package # This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
@@ -9,11 +9,11 @@ build() {
--libdir=/usr/lib \ --libdir=/usr/lib \
--buildtype=release \ --buildtype=release \
-Dman=auto \ -Dman=auto \
-Daudit=disabled \ -Daudit=enabled \
-Ddocdir=/usr/share/doc/elogind \ -Ddocdir=/usr/share/doc/elogind \
-Dcgroup-controller=elogind \ -Dcgroup-controller=elogind \
-Ddev-kvm-mode=0660 \ -Ddev-kvm-mode=0660 \
-Ddbuspolicydir=/etc/dbus-1/system.d build -Ddbuspolicydir=/usr/share/dbus-1/system.d build
meson compile -C build meson compile -C build
} }
@@ -43,6 +43,7 @@ package_elogind() {
# Move client library files into split package # Move client library files into split package
_pick libelogind usr/lib/libelogind*.so* _pick libelogind usr/lib/libelogind*.so*
_pick libelogind usr/lib/libnss_elogind*.so*
_pick libelogind usr/lib/pkgconfig _pick libelogind usr/lib/pkgconfig
_pick libelogind usr/include _pick libelogind usr/include
_pick libelogind usr/share/man/man3 _pick libelogind usr/share/man/man3
@@ -50,6 +51,10 @@ package_elogind() {
# Install pam module # Install pam module
install -Dm644 "$BPM_WORKDIR"/elogind-user "$BPM_OUTPUT"/etc/pam.d/elogind-user install -Dm644 "$BPM_WORKDIR"/elogind-user "$BPM_OUTPUT"/etc/pam.d/elogind-user
# Install missing dbus service
sed 's|{{LIBEXECDIR}}|/usr/libexec|g' "$BPM_SOURCE"/src/login/org.freedesktop.login1.service.in | \
install -Dm644 /dev/stdin "$BPM_OUTPUT"/usr/share/dbus-1/system-services/org.freedesktop.login1.service
# Install esvm service # Install esvm service
install -Dm644 "$BPM_WORKDIR"/elogind.esv "$BPM_OUTPUT"/etc/esvm/services/elogind.esv install -Dm644 "$BPM_WORKDIR"/elogind.esv "$BPM_OUTPUT"/etc/esvm/services/elogind.esv