[arch-commits] Commit in lib32-krb5/repos (3 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Nov 13 18:11:29 UTC 2021
Date: Saturday, November 13, 2021 @ 18:11:29
Author: felixonmars
Revision: 1045813
archrelease: copy trunk to multilib-staging-x86_64
Added:
lib32-krb5/repos/multilib-staging-x86_64/
lib32-krb5/repos/multilib-staging-x86_64/PKGBUILD
(from rev 1045811, lib32-krb5/trunk/PKGBUILD)
lib32-krb5/repos/multilib-staging-x86_64/krb5-config_LDFLAGS.patch
(from rev 1045812, lib32-krb5/trunk/krb5-config_LDFLAGS.patch)
---------------------------+
PKGBUILD | 89 ++++++++++++++++++++++++++++++++++++++++++++
krb5-config_LDFLAGS.patch | 12 +++++
2 files changed, 101 insertions(+)
Copied: lib32-krb5/repos/multilib-staging-x86_64/PKGBUILD (from rev 1045811, lib32-krb5/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD (rev 0)
+++ multilib-staging-x86_64/PKGBUILD 2021-11-13 18:11:29 UTC (rev 1045813)
@@ -0,0 +1,89 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Florian Pritz <flo at xinu.at>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+_pkgbasename=krb5
+pkgname=lib32-${_pkgbasename}
+_pkgvermajor=1.19
+pkgver=1.19.2
+pkgrel=2
+pkgdesc='The Kerberos network authentication system (32-bit)'
+url='https://web.mit.edu/kerberos/'
+arch=('x86_64')
+license=('custom')
+depends=('lib32-glibc' 'lib32-e2fsprogs' 'lib32-libldap' 'lib32-keyutils' "${_pkgbasename}")
+makedepends=('perl')
+provides=(
+ libgssapi_krb5.so
+ libgssrpc.so
+ libk5crypto.so
+ libkadm5clnt_mit.so
+ libkadm5srv_mit.so
+ libkdb5.so
+ libkdb_ldap.so
+ libkrad.so
+ libkrb5.so
+ libkrb5support.so
+ libverto.so
+)
+options=('!emptydirs')
+source=(https://web.mit.edu/kerberos/dist/krb5/${_pkgvermajor}/${_pkgbasename}-${pkgver}.tar.gz{,.asc}
+ krb5-config_LDFLAGS.patch)
+sha512sums=('b90d6ed0e1e8a87eb5cb2c36d88b823a6a6caabf85e5d419adb8a930f7eea09a5f8491464e7e454cca7ba88be09d19415962fe0036ad2e31fc584f9fc0bbd470'
+ 'SKIP'
+ '5a3782ff17b383f8cd0415fd13538ab56afd788130d6ad640e9f2682b7deaae7f25713ce358058ed771091040dccf62a3bc87e6fd473d505ec189a95debcc801')
+validpgpkeys=('2C732B1C0DBEF678AB3AF606A32F17FD0055C305' # Tom Yu <tlyu at mit.edu>
+ 'C4493CB739F4A89F9852CBC20CBA08575F8372DF') # Greg Hudson <ghudson at mit.edu>
+
+prepare() {
+ cd ${_pkgbasename}-${pkgver}
+
+ # cf https://bugs.gentoo.org/show_bug.cgi?id=448778
+ patch -p1 < "${srcdir}"/krb5-config_LDFLAGS.patch
+
+ # FS#25384
+ sed -i "/KRB5ROOT=/s/\/local//" src/util/ac_check_krb5.m4
+}
+
+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 ${_pkgbasename}-${pkgver}/src
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin,sbin}
+ install -d "${pkgdir}/usr/share/licenses"
+ ln -s ${_pkgbasename} "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
Copied: lib32-krb5/repos/multilib-staging-x86_64/krb5-config_LDFLAGS.patch (from rev 1045812, lib32-krb5/trunk/krb5-config_LDFLAGS.patch)
===================================================================
--- multilib-staging-x86_64/krb5-config_LDFLAGS.patch (rev 0)
+++ multilib-staging-x86_64/krb5-config_LDFLAGS.patch 2021-11-13 18:11:29 UTC (rev 1045813)
@@ -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