Compare commits
6
Commits
6ec59e7ade
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15746e45cc
|
||
|
|
9a2aee599d
|
||
|
|
5a37aaa78a
|
||
|
|
b273e3fb3d
|
||
|
|
9403384a49
|
||
|
|
29837f4c0a
|
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
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')
|
||||||
|
|||||||
+5
-3
@@ -1,7 +1,7 @@
|
|||||||
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: "257.13"
|
version: "257.16"
|
||||||
revision: 1
|
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:
|
maintainers:
|
||||||
@@ -12,6 +12,7 @@ optional_depends:
|
|||||||
- polkit
|
- polkit
|
||||||
make_depends:
|
make_depends:
|
||||||
- acl
|
- acl
|
||||||
|
- audit
|
||||||
- dbus
|
- dbus
|
||||||
- docbook-xsl-nons
|
- docbook-xsl-nons
|
||||||
- gperf
|
- gperf
|
||||||
@@ -26,7 +27,7 @@ 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: 075db32e8997bc88cd74f9e06590edb860b94c734434f2699fa258f6ab72d097
|
checksum: 3c8146409bfb9daa77f272212c2b0bf0ae727c782ec87ece0d2d25e0e5bf5f4c
|
||||||
split_packages:
|
split_packages:
|
||||||
- name: elogind
|
- name: elogind
|
||||||
keep:
|
keep:
|
||||||
@@ -36,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
|
||||||
@@ -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,7 +9,7 @@ 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 \
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user