From 52766cbe0436d9b097c6ccbb6428c9826ba24932 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 6 Aug 2012 17:40:59 -0500 Subject: dirmngr 1.1.0 -new --- abs/core/dirmngr/PKGBUILD | 30 ++++++++++++++++++++++++++++++ abs/core/dirmngr/dirmngr.install | 20 ++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 abs/core/dirmngr/PKGBUILD create mode 100644 abs/core/dirmngr/dirmngr.install diff --git a/abs/core/dirmngr/PKGBUILD b/abs/core/dirmngr/PKGBUILD new file mode 100644 index 0000000..40e0c74 --- /dev/null +++ b/abs/core/dirmngr/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 155870 2012-04-08 07:13:40Z tpowa $ +# Maintainer: Tobias Powalowski + +pkgname=dirmngr +pkgver=1.1.0 +pkgrel=4 +pkgdesc="A daemon to handle CRL and certificate requests" +arch=('i686' 'x86_64') +license=('GPL') +url="ftp://ftp.gnupg.org/gcrypt/dirmngr" +depends=('libgcrypt' 'libldap' 'libksba' 'libgpg-error' 'libassuan' 'pth') +source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2) +install=dirmngr.install + +build() { + cd $srcdir/$pkgname-$pkgver + # FIX for https://bugzilla.redhat.com/565131 + # not sure how best to turn this into something more upstreamable + # patch configure to try this combo first? -- Rex + # https://bugs.archlinux.org/task/28606 + export LDAPLIBS="-lldap -llber" + ./configure --prefix=/usr --libexecdir=/usr/lib + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install +} +md5sums=('f2570f0248f5947daac200e85291b328') diff --git a/abs/core/dirmngr/dirmngr.install b/abs/core/dirmngr/dirmngr.install new file mode 100644 index 0000000..e26e0e7 --- /dev/null +++ b/abs/core/dirmngr/dirmngr.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(dirmngr.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} -- cgit v0.12