[arch-commits] Commit in lib32-krb5/repos (4 files)

Felix Yan fyan at archlinux.org
Mon Feb 16 02:18:49 UTC 2015


    Date: Monday, February 16, 2015 @ 03:18:49
  Author: fyan
Revision: 127769

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-krb5/repos/multilib-testing-x86_64/
  lib32-krb5/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 127768, lib32-krb5/trunk/PKGBUILD)
  lib32-krb5/repos/multilib-testing-x86_64/krb5-1.10.1-gcc47.patch
    (from rev 127768, lib32-krb5/trunk/krb5-1.10.1-gcc47.patch)
  lib32-krb5/repos/multilib-testing-x86_64/krb5-config_LDFLAGS.patch
    (from rev 127768, lib32-krb5/trunk/krb5-config_LDFLAGS.patch)

---------------------------+
 PKGBUILD                  |   69 ++++++++++++++++++++++++++++++++++++++++++++
 krb5-1.10.1-gcc47.patch   |   11 +++++++
 krb5-config_LDFLAGS.patch |   12 +++++++
 3 files changed, 92 insertions(+)

Copied: lib32-krb5/repos/multilib-testing-x86_64/PKGBUILD (from rev 127768, lib32-krb5/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2015-02-16 02:18:49 UTC (rev 127769)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Florian Pritz <flo at xinu.at>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+_pkgbasename=krb5
+pkgname=lib32-$_pkgbasename
+pkgver=1.13.1
+pkgrel=1
+pkgdesc="The Kerberos network authentication system (32-bit)"
+arch=('x86_64')
+url="http://web.mit.edu/kerberos/"
+license=('custom')
+depends=('lib32-e2fsprogs' 'lib32-libldap' 'lib32-keyutils' "$_pkgbasename")
+makedepends=('perl' 'gcc-multilib')
+source=("http://web.mit.edu/kerberos/dist/${_pkgbasename}/1.13/${_pkgbasename}-${pkgver}-signed.tar"
+        krb5-config_LDFLAGS.patch)
+sha1sums=('2832695845d6c4cb0e7a622df4885f18acbd94cf'
+          'f125824ed37f31e6fd2fdb6a437be8ff1c3700ab')
+options=('!emptydirs')
+
+prepare() {
+   tar zxvf ${_pkgbasename}-${pkgver}.tar.gz
+   cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+   # cf https://bugs.gentoo.org/show_bug.cgi?id=448778
+   patch -p1 -i "${srcdir}"/krb5-config_LDFLAGS.patch
+}
+
+build() {
+   cd "${srcdir}/${_pkgbasename}-${pkgver}/src"
+
+   export CC="gcc -m32"
+   export CXX="g++ -m32"
+   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+   export CFLAGS+=" -fPIC -fno-strict-aliasing -fstack-protector-all"
+   export CPPFLAGS+=" -I/usr/include/et"
+   ./configure --prefix=/usr \
+               --sysconfdir=/etc \
+               --localstatedir=/var/lib \
+               --libdir=/usr/lib32 \
+               --enable-shared \
+               --with-system-et \
+               --with-system-ss \
+               --disable-rpath \
+               --without-tcl \
+               --enable-dns-for-realm \
+               --with-ldap \
+               --without-system-verto
+
+   make
+}
+
+#check() {
+   # We can't do this in the build directory.
+
+   # only works if the hostname is set properly/resolves to something. whatever...
+   #cd "${srcdir}/${_pkgbasename}-${pkgver}"
+   #make -C src check
+#}
+
+package() {
+   cd "${srcdir}/${_pkgbasename}-${pkgver}/src"
+   make DESTDIR="${pkgdir}" install
+
+   rm -rf "${pkgdir}"/usr/{include,share,bin,sbin}
+   mkdir -p "$pkgdir/usr/share/licenses"
+   ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}

Copied: lib32-krb5/repos/multilib-testing-x86_64/krb5-1.10.1-gcc47.patch (from rev 127768, lib32-krb5/trunk/krb5-1.10.1-gcc47.patch)
===================================================================
--- multilib-testing-x86_64/krb5-1.10.1-gcc47.patch	                        (rev 0)
+++ multilib-testing-x86_64/krb5-1.10.1-gcc47.patch	2015-02-16 02:18:49 UTC (rev 127769)
@@ -0,0 +1,11 @@
+diff -Naur krb5-1.10.1.ori/src/lib/krb5/krb/x-deltat.y krb5-1.10.1/src/lib/krb5/krb/x-deltat.y
+--- krb5-1.10.1.ori/src/lib/krb5/krb/x-deltat.y	2011-09-06 07:34:32.000000000 -0400
++++ krb5-1.10.1/src/lib/krb5/krb/x-deltat.y	2012-03-24 13:15:11.543551318 -0400
+@@ -44,6 +44,7 @@
+ #ifdef __GNUC__
+ #pragma GCC diagnostic push
+ #pragma GCC diagnostic ignored "-Wuninitialized"
++#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
+ #endif
+ 
+ #include <ctype.h>

Copied: lib32-krb5/repos/multilib-testing-x86_64/krb5-config_LDFLAGS.patch (from rev 127768, lib32-krb5/trunk/krb5-config_LDFLAGS.patch)
===================================================================
--- multilib-testing-x86_64/krb5-config_LDFLAGS.patch	                        (rev 0)
+++ multilib-testing-x86_64/krb5-config_LDFLAGS.patch	2015-02-16 02:18:49 UTC (rev 127769)
@@ -0,0 +1,12 @@
+Bug #448778
+--- krb5-1.11/src/build-tools/krb5-config.in	2012-12-18 02:47:04.000000000 +0000
++++ krb5-1.11/src/build-tools/krb5-config.in	2012-12-28 07:13:16.582693363 +0000
+@@ -217,7 +217,7 @@
+ 	    -e 's#\$(PROG_RPATH)#'$libdir'#' \
+ 	    -e 's#\$(PROG_LIBPATH)#'$libdirarg'#' \
+ 	    -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \
+-	    -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \
++	    -e 's#\$(LDFLAGS)##' \
+ 	    -e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \
+ 	    -e 's#\$(CFLAGS)##'`
+ 



More information about the arch-commits mailing list