From 9c80ba1c4252b3376452451d5db80064451e6564 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 22 Apr 2016 18:13:37 +0200 Subject: [PATCH] nss-pam-ldapd: fix runit service to use /bin/sh not /bin/bash (doh). --- srcpkgs/nss-pam-ldapd/files/nslcd/run | 4 ++-- srcpkgs/nss-pam-ldapd/template | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/nss-pam-ldapd/files/nslcd/run b/srcpkgs/nss-pam-ldapd/files/nslcd/run index 49c45c4da5e..bbf88cf9b90 100755 --- a/srcpkgs/nss-pam-ldapd/files/nslcd/run +++ b/srcpkgs/nss-pam-ldapd/files/nslcd/run @@ -1,4 +1,4 @@ -#!/bin/bash -mkdir /var/run/nslcd +#!/bin/sh +mkdir -p /var/run/nslcd chown nslcd:nslcd /var/run/nslcd chpst -u nslcd:nslcd nslcd -n diff --git a/srcpkgs/nss-pam-ldapd/template b/srcpkgs/nss-pam-ldapd/template index 036121b830e..34988ffd477 100644 --- a/srcpkgs/nss-pam-ldapd/template +++ b/srcpkgs/nss-pam-ldapd/template @@ -1,7 +1,7 @@ # Template file for 'nss-pam-ldapd' pkgname=nss-pam-ldapd version=0.9.6 -revision=1 +revision=2 only_for_archs="i686 x86_64 armv6l armv7l aarch64" build_style=gnu-configure configure_args="--enable-sasl --enable-kerberos --with-pam-seclib-dir=/usr/lib/security/" @@ -17,4 +17,4 @@ checksum=101d5a7fa10549cc77be48d07f2b8141f59182f10f2cc0fea93efd13c3a5a6f2 post_install() { vsv nslcd -} \ No newline at end of file +}