systemd: update to 204.
This commit is contained in:
parent
0230cf162e
commit
13434bd018
4 changed files with 6 additions and 67 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libudev'
|
# Template file for 'libudev'
|
||||||
pkgname=libudev
|
pkgname=libudev
|
||||||
version=203
|
version=204
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="systemd-${version}"
|
wrksrc="systemd-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libexecdir=/usr/lib --disable-selinux
|
configure_args="--libexecdir=/usr/lib --disable-selinux
|
||||||
|
@ -20,7 +20,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
||||||
license="LGPL-2.1, GPL-2, MIT"
|
license="LGPL-2.1, GPL-2, MIT"
|
||||||
distfiles="http://www.freedesktop.org/software/systemd/systemd-${version}.tar.xz"
|
distfiles="http://www.freedesktop.org/software/systemd/systemd-${version}.tar.xz"
|
||||||
checksum=61b13e4dbce2156452bf85f126f5d540ee259cbcd6846f03d4284e7df3b0fb1d
|
checksum=072c393503c7c1e55ca7acf3db659cbd28c7fe5fa94fab3db95360bafd96731b
|
||||||
|
|
||||||
hostmakedepends="pkg-config intltool gperf libxslt docbook-xsl"
|
hostmakedepends="pkg-config intltool gperf libxslt docbook-xsl"
|
||||||
makedepends="attr-devel dbus-devel libcap-devel liblzma-devel libgcrypt-devel"
|
makedepends="attr-devel dbus-devel libcap-devel liblzma-devel libgcrypt-devel"
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
From 0ee8d63649ab475fe2a16b2d62b5a5e2a8a69829 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
|
|
||||||
Date: Tue, 07 May 2013 15:35:23 +0000
|
|
||||||
Subject: systemd-sleep: it is not an error if the config file is missing
|
|
||||||
|
|
||||||
---
|
|
||||||
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
|
|
||||||
index 73a3acb..cd3238b 100644
|
|
||||||
--- src/shared/sleep-config.c
|
|
||||||
+++ src/shared/sleep-config.c
|
|
||||||
@@ -47,19 +47,16 @@ int parse_sleep_config(const char *verb, char ***modes, char ***states) {
|
|
||||||
FILE _cleanup_fclose_ *f;
|
|
||||||
|
|
||||||
f = fopen(PKGSYSCONFDIR "/sleep.conf", "re");
|
|
||||||
- if (!f) {
|
|
||||||
- if (errno == ENOENT)
|
|
||||||
- return 0;
|
|
||||||
-
|
|
||||||
- log_warning("Failed to open configuration file " PKGSYSCONFDIR "/sleep.conf: %m");
|
|
||||||
- return 0;
|
|
||||||
+ if (!f)
|
|
||||||
+ log_full(errno == ENOENT ? LOG_DEBUG: LOG_WARNING,
|
|
||||||
+ "Failed to open configuration file " PKGSYSCONFDIR "/sleep.conf: %m");
|
|
||||||
+ else {
|
|
||||||
+ r = config_parse(NULL, PKGSYSCONFDIR "/sleep.conf", f, "Sleep\0",
|
|
||||||
+ config_item_table_lookup, (void*) items, false, false, NULL);
|
|
||||||
+ if (r < 0)
|
|
||||||
+ log_warning("Failed to parse configuration file: %s", strerror(-r));
|
|
||||||
}
|
|
||||||
|
|
||||||
- r = config_parse(NULL, PKGSYSCONFDIR "/sleep.conf", f, "Sleep\0",
|
|
||||||
- config_item_table_lookup, (void*) items, false, false, NULL);
|
|
||||||
- if (r < 0)
|
|
||||||
- log_warning("Failed to parse configuration file: %s", strerror(-r));
|
|
||||||
-
|
|
||||||
if (streq(verb, "suspend")) {
|
|
||||||
/* empty by default */
|
|
||||||
*modes = suspend_mode;
|
|
||||||
--
|
|
||||||
cgit v0.9.0.2-2-gbebe
|
|
|
@ -1,21 +0,0 @@
|
||||||
From 4d5fb96252d289e7899bc0bb87262127d19de949 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lennart Poettering <lennart@poettering.net>
|
|
||||||
Date: Tue, 07 May 2013 10:47:30 +0000
|
|
||||||
Subject: login: add missing _public_ to sd_get_machine_names()
|
|
||||||
|
|
||||||
---
|
|
||||||
diff --git a/src/login/sd-login.c b/src/login/sd-login.c
|
|
||||||
index 66c4487..d0dc42f 100644
|
|
||||||
--- src/login/sd-login.c
|
|
||||||
+++ src/login/sd-login.c
|
|
||||||
@@ -591,7 +591,7 @@ _public_ int sd_get_uids(uid_t **users) {
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
-int sd_get_machine_names(char ***machines) {
|
|
||||||
+_public_ int sd_get_machine_names(char ***machines) {
|
|
||||||
_cleanup_closedir_ DIR *d = NULL;
|
|
||||||
_cleanup_strv_free_ char **l = NULL;
|
|
||||||
_cleanup_free_ char *md = NULL;
|
|
||||||
--
|
|
||||||
cgit v0.9.0.2-2-gbebe
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'systemd'
|
# Template file for 'systemd'
|
||||||
pkgname=systemd
|
pkgname=systemd
|
||||||
version=203
|
version=204
|
||||||
revision=2
|
revision=1
|
||||||
short_desc="A system and service manager for Linux"
|
short_desc="A system and service manager for Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
||||||
license="LGPL-2.1, GPL-2, MIT"
|
license="LGPL-2.1, GPL-2, MIT"
|
||||||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
||||||
checksum=61b13e4dbce2156452bf85f126f5d540ee259cbcd6846f03d4284e7df3b0fb1d
|
checksum=072c393503c7c1e55ca7acf3db659cbd28c7fe5fa94fab3db95360bafd96731b
|
||||||
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libexecdir=/usr/lib
|
configure_args="--libexecdir=/usr/lib
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue