[arch-commits] Commit in openldap/trunk (PKGBUILD openldap.install)
Christian Hesse
eworm at archlinux.org
Thu Jan 12 11:53:14 UTC 2017
Date: Thursday, January 12, 2017 @ 11:53:14
Author: eworm
Revision: 285843
upgpkg: openldap 2.4.44-3
pacman hook: do not call systemd-sysusers and systemd-tmpfiles from install script
Modified:
openldap/trunk/PKGBUILD
Deleted:
openldap/trunk/openldap.install
------------------+
PKGBUILD | 3 +--
openldap.install | 14 --------------
2 files changed, 1 insertion(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-12 11:01:23 UTC (rev 285842)
+++ PKGBUILD 2017-01-12 11:53:14 UTC (rev 285843)
@@ -4,7 +4,7 @@
pkgbase=openldap
pkgname=('openldap' 'libldap')
pkgver=2.4.44
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
url="http://www.openldap.org/"
license=('custom')
@@ -79,7 +79,6 @@
pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server"
depends=("libldap>=${pkgver}" 'libltdl' 'unixodbc')
backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif')
- install=openldap.install
cd ${pkgbase}-${pkgver}
for dir in clients servers doc/man/man{1,5,8}; do
Deleted: openldap.install
===================================================================
--- openldap.install 2017-01-12 11:01:23 UTC (rev 285842)
+++ openldap.install 2017-01-12 11:53:14 UTC (rev 285843)
@@ -1,14 +0,0 @@
-# arg 1: the new package version
-post_install(){
- systemd-sysusers openldap.conf
- systemd-tmpfiles --create openldap.conf
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if (( "$(vercmp $2 2.4.42-1)" < 0 )); then
- # install placeholder
- systemd-tmpfiles --create openldap.conf
- fi
-}
More information about the arch-commits
mailing list