From 791b4eb6f5c56d1335d9eb8c1d8b4584dd3a48e0 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 11 May 2017 09:27:47 +0200 Subject: [PATCH] ConsoleKit2: update to 1.1.1. --- srcpkgs/ConsoleKit2/patches/9999-musl.patch | 12 ------------ srcpkgs/ConsoleKit2/template | 9 +++------ 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/ConsoleKit2/patches/9999-musl.patch diff --git a/srcpkgs/ConsoleKit2/patches/9999-musl.patch b/srcpkgs/ConsoleKit2/patches/9999-musl.patch deleted file mode 100644 index 779a091ece..0000000000 --- a/srcpkgs/ConsoleKit2/patches/9999-musl.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- pam-ck-connector/pam-ck-connector.c.orig 2015-05-14 06:36:12.217472340 +0200 -+++ pam-ck-connector/pam-ck-connector.c 2015-05-14 06:37:03.465067270 +0200 -@@ -197,7 +197,8 @@ _util_name_to_uid (const char *username, - - bufsize = sysconf (_SC_GETPW_R_SIZE_MAX); - if (bufsize == -1) { -- return res; -+ /* musl returns -1, so that use a considerable buffer size */ -+ bufsize = BUFSIZ; - } - buf = calloc (sizeof (char), bufsize); - rc = getpwnam_r (username, &pwd, buf, bufsize, &pwdp); diff --git a/srcpkgs/ConsoleKit2/template b/srcpkgs/ConsoleKit2/template index b1d8abb749..782473d19d 100644 --- a/srcpkgs/ConsoleKit2/template +++ b/srcpkgs/ConsoleKit2/template @@ -1,6 +1,6 @@ # Template file for 'ConsoleKit2' pkgname=ConsoleKit2 -version=1.1.0.1 +version=1.1.1 revision=1 build_style=gnu-configure configure_args="ac_cv_file__sys_class_tty_tty0_active=yes @@ -13,11 +13,8 @@ short_desc="A framework for defining and tracking users, login sessions, and sea maintainer="Enno Boland " homepage="http://consolekit2.github.io/ConsoleKit2/" license="GPL-2" -#distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2" -_gitcommit="8f1794996638dc3829cb1d2562a5601d055e0b91" -wrksrc="${pkgname}-${_gitcommit}" -distfiles="https://github.com/ConsoleKit2/ConsoleKit2/archive/${_gitcommit}.tar.gz" -checksum=e74f5efe79a11da56a7bb4526ef92b6246006e0470f4591d94b24db9f6ed8659 +distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2" +checksum=795b2cfb766bdffb9187ef7f8beb8d8298e4c38df4a69377115297a0dee3b0d0 make_dirs=" /etc/ConsoleKit/run-seat.d 0755 root root