From 9f21d3859baa9139824a513b809bfd3f3b0c13ce Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 13 Sep 2013 17:17:57 +0200 Subject: [PATCH] systemd: fix systemd-user pam configuration file. --- srcpkgs/systemd/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index b2e934cc63..b81e39f028 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -1,7 +1,7 @@ # Template file for 'systemd' pkgname=systemd version=207 -revision=1 +revision=2 short_desc="A system and service manager for Linux" maintainer="Juan RP " homepage="http://www.freedesktop.org/wiki/Software/systemd" @@ -120,6 +120,9 @@ post_install() { # fix .so links in manpage stubs find ${DESTDIR}/usr/share/man -type f -name '*.[[:digit:]]' \ -exec sed -ri '1s|^\.so (.*)\.([0-9]+)|.so man\2/\1.\2|' {} + + + # XXX We don't have pam.d/system-auth, use login pam service instead. + sed -e 's,system-auth,login,g' -i ${DESTDIR}/etc/pam.d/systemd-user } if [ -z "$CROSS_BUILD" ]; then