Date: Tuesday, July 26, 2022 @ 08:59:01 Author: dvzrv Revision: 451657
upgpkg: libgssglue 0.5-1: Upgrade to 0.5. Switch to upstream on gitlab. Replace vendored gssapi_mech.conf with upstream one. Remove unnecessary quotes and curly braces. Add provides for libgssglue.so. Install docs. Update maintainer info. Modified: libgssglue/trunk/PKGBUILD Deleted: libgssglue/trunk/gssapi_mech.conf ------------------+ PKGBUILD | 48 ++++++++++++++++++++++++++---------------------- gssapi_mech.conf | 22 ---------------------- 2 files changed, 26 insertions(+), 44 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-26 08:31:10 UTC (rev 451656) +++ PKGBUILD 2022-07-26 08:59:01 UTC (rev 451657) @@ -1,33 +1,37 @@ -# Maintainer: Tom Gundersen <[email protected]> +# Maintainer: David Runge <[email protected]> +# Contributor: Tom Gundersen <[email protected]> # Contributor: Tobias Powalowski <[email protected]> pkgname=libgssglue -pkgver=0.4 -pkgrel=4 -pkgdesc="Exports a gssapi interface which calls other random gssapi libraries" -arch=('x86_64') -url="http://www.citi.umich.edu/projects/nfsv4/linux/" -license=('BSD') -depends=('glibc') -makedepends=('pkgconfig' 'autoconf') +pkgver=0.5 +pkgrel=1 +pkgdesc="Library exporting a gssapi interface to call gssapi routines in other libraries" +arch=(x86_64) +url="https://gitlab.com/gsasl/libgssglue/" +license=(BSD) +depends=(glibc) +provides=(libgssglue.so) backup=(etc/gssapi_mech.conf) -source=(http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver.tar.gz - gssapi_mech.conf) +options=(debug) +source=(https://gitlab.com/gsasl/$pkgname/-/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.gz) +sha512sums=('3e03f2c49d7533bd083a387d35e57ba5ec08dd5206fb1b49b8bebde7d3d60857d0850061a38067a272abe191a2841dcc63700032035d6b17b0cb56a8a3d46bed') +b2sums=('b60a6316dc61b82b462838a8693757708ccaecec43355b1287cee61f742596b4f48bba9156923ea695be7d6098ae7932f54ad51a02df5f5f432a891fd83e8eb2') +prepare() { + cd $pkgname-$pkgname-$pkgver + touch ChangeLog + autoreconf -fiv +} + build() { - cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr + cd $pkgname-$pkgname-$pkgver + ./configure --prefix=/usr make } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir/" install - - # Configuration - install -Dm644 "$srcdir"/gssapi_mech.conf "$pkgdir/"etc/gssapi_mech.conf - # install license - install -Dm644 COPYING "$pkgdir"/usr/share/licenses/libgssglue/COPYING + make DESTDIR="$pkgdir/" install -C $pkgname-$pkgname-$pkgver + install -vDm 644 $pkgname-$pkgname-$pkgver/doc/gssapi_mech.conf -t "$pkgdir/etc/" + install -vDm 644 $pkgname-$pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/" + install -vDm 644 $pkgname-$pkgname-$pkgver/{AUTHORS,README,NEWS} -t "$pkgdir/usr/share/doc/$pkgname/" } -sha512sums=('25d514c08320e42851ff153d7691267a8454f205492faf942f566aa30c1ac1c83bd095732a1a0fcc010ba3a5d48b4c95a196ad05bc821598cc1fc3a2c4960d29' - '28b8e77b61d6c86531b0b04e28bea6df6effd19f92b8f55f7c646b19cee75c1e9bb5132dc475a95dfc237ff0360ae4b117651a99474f15c5c1e710fdbe6f9465') Deleted: gssapi_mech.conf =================================================================== --- gssapi_mech.conf 2022-07-26 08:31:10 UTC (rev 451656) +++ gssapi_mech.conf 2022-07-26 08:59:01 UTC (rev 451657) @@ -1,22 +0,0 @@ -# Example /etc/gssapi_mech.conf file -# -# GSSAPI Mechanism Definitions -# -# This configuration file determines which GSS-API mechanisms -# the gssd code should use -# -# NOTE: -# The initiaiization function "mechglue_internal_krb5_init" -# is used for the MIT krb5 gssapi mechanism. This special -# function name indicates that an internal function should -# be used to determine the entry points for the MIT gssapi -# mechanism funtions. -# -# library initialization function -# ================================ ========================== -# The MIT K5 gssapi library, use special function for initialization. -/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init -#/usr/lib/libgssapi.so mechglue_internal_krb5_init -# -# The SPKM3 gssapi library function. Use the function spkm3_gss_initialize. -# /usr/local/gss_mechs/spkm/spkm3/libgssapi_spkm3.so spkm3_gss_initialize
