summaryrefslogtreecommitdiff
path: root/core/krb5/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/krb5/PKGBUILD')
-rw-r--r--core/krb5/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/core/krb5/PKGBUILD b/core/krb5/PKGBUILD
index a5b003f54..eb7fc0f73 100644
--- a/core/krb5/PKGBUILD
+++ b/core/krb5/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 199942 2013-11-20 02:11:51Z eric $
+# $Id: PKGBUILD 204797 2014-01-27 13:46:43Z eric $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=krb5
-pkgver=1.11.4
+pkgver=1.12.1
pkgrel=1
pkgdesc="The Kerberos network authentication system"
arch=('i686' 'x86_64')
@@ -19,7 +19,7 @@ source=(http://web.mit.edu/kerberos/dist/${pkgname}/${pkgver%.*}/${pkgname}-${pk
krb5-kpropd.service
krb5-kpropd@.service
krb5-kpropd.socket)
-sha1sums=('a432489410efa3ff27ac0ae54f55edeede3ed63f'
+sha1sums=('d59e8dc0fc9e1890e109cd033756539984e3d3fe'
'09e478cddfb9d46d2981dd25ef96b8c3fd91e1aa'
'59bbc7e686cbb4bcefddf0f134d928d7bd5e7722'
'2ef2476a8673b3b702e829d8f451c839c2273b02'
@@ -28,10 +28,15 @@ sha1sums=('a432489410efa3ff27ac0ae54f55edeede3ed63f'
'f3677d30dbbd7106c581379c2c6ebb1bf7738912')
prepare() {
- tar -xf ${pkgname}-${pkgver}.tar.gz
- cd ${pkgname}-${pkgver}/src
- # cf https://bugs.gentoo.org/show_bug.cgi?id=448778
- patch -Np2 -i "${srcdir}"/krb5-config_LDFLAGS.patch
+ tar -xf ${pkgname}-${pkgver}.tar.gz
+ # the signature and source are bundled together, so signature check needs to be done here
+ local statusfile=$(mktemp)
+ (( SKIPPGPCHECK )) || gpg --quiet --batch --status-file "$statusfile" --verify krb5-${pkgver}.tar.gz.asc krb5-${pkgver}.tar.gz 2> /dev/null
+ rm "$statusfile"
+
+ cd ${pkgname}-${pkgver}/src
+ # cf https://bugs.gentoo.org/show_bug.cgi?id=448778
+ (cd build-tools; patch -Np2 -i "${srcdir}"/krb5-config_LDFLAGS.patch; cd ..)
# FS#25384
sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4