summaryrefslogtreecommitdiffstats
path: root/abs/core/dirmngr
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-06 22:40:59 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-06 22:40:59 (GMT)
commit52766cbe0436d9b097c6ccbb6428c9826ba24932 (patch)
treebb5882affe919275408ccdcbe414674650753a4c /abs/core/dirmngr
parentb547bc0ac0b702e13e15dc6eb1754fc3e42cc8d5 (diff)
downloadlinhes_pkgbuild-52766cbe0436d9b097c6ccbb6428c9826ba24932.zip
linhes_pkgbuild-52766cbe0436d9b097c6ccbb6428c9826ba24932.tar.gz
linhes_pkgbuild-52766cbe0436d9b097c6ccbb6428c9826ba24932.tar.bz2
dirmngr 1.1.0
-new
Diffstat (limited to 'abs/core/dirmngr')
-rw-r--r--abs/core/dirmngr/PKGBUILD30
-rw-r--r--abs/core/dirmngr/dirmngr.install20
2 files changed, 50 insertions, 0 deletions
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 <tpowa@archlinux.org>
+
+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
+}