ConsoleKit2: update to 1.1.1.
This commit is contained in:
parent
92e71add21
commit
791b4eb6f5
|
@ -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);
|
|
@ -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 <gottox@voidlinux.eu>"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue