Browse Source

[trunk] -> [testing] 'libgssglue-0.5-1' add

master
artoo 3 weeks ago
parent
commit
a79ad1a2d9
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B
  1. 46
      trunk/PKGBUILD
  2. 22
      trunk/gssapi_mech.conf
  3. 37
      x86_64/testing/PKGBUILD

46
trunk/PKGBUILD

@ -1,33 +1,37 @@
# Maintainer: Tom Gundersen <teg@jklm.no>
# Maintainer: artoo <artoo@artixlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libgssglue
pkgver=0.4
pkgrel=4.1
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
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')

22
trunk/gssapi_mech.conf

@ -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

37
x86_64/testing/PKGBUILD

@ -0,0 +1,37 @@
# Maintainer: artoo <artoo@artixlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libgssglue
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)
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 $pkgname-$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
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/"
}
Loading…
Cancel
Save