[arch-commits] Commit in sssd/trunk (PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Fri May 29 13:11:32 UTC 2020
Date: Friday, May 29, 2020 @ 13:11:31
Author: mtorromeo
Revision: 637047
Added logrotate configuration
Modified:
sssd/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-29 13:11:14 UTC (rev 637046)
+++ PKGBUILD 2020-05-29 13:11:31 UTC (rev 637047)
@@ -3,7 +3,7 @@
pkgname=sssd
pkgver=2.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="System Security Services Daemon"
arch=('x86_64')
url="https://github.com/SSSD/sssd"
@@ -38,6 +38,7 @@
'openssh'
'softhsm'
)
+backup=('etc/logrotate.d/sssd')
source=("https://github.com/SSSD/$pkgname/releases/download/$pkgname-${pkgver//./_}/$pkgname-$pkgver.tar.gz"{,.asc})
sha512sums=('72fc69018c4b8a71198f4a82e89d49d7a5c513e9291deff2f8e0e132cbd67341a8fa89598d28fcc1d785497526c9eeffe9b261c751524ee0e553badf0f748d59'
'SKIP')
@@ -53,6 +54,8 @@
fi
done
+ sed -i 's#/var/run/#/run/#' src/examples/logrotate
+
# dbus policy files in /usr/share/dbus-1
sed -i -e 's/^dbuspolicydir = $(sysconfdir)/dbuspolicydir = $(datadir)/' Makefile.in
@@ -103,6 +106,8 @@
find "$pkgdir"/usr -depth -type d \
-exec rmdir --ignore-fail-on-non-empty {} \;
+ install -Dm0644 src/examples/logrotate "$pkgdir/etc/logrotate.d/sssd"
+
cd "$srcdir"
rm -rf "$pkgdir/etc/systemd" # remove the drop-in
}
More information about the arch-commits
mailing list