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

Andreas Radke andyrtr at archlinux.org
Tue Mar 31 19:09:31 UTC 2015


    Date: Tuesday, March 31, 2015 @ 21:09:30
  Author: andyrtr
Revision: 235311

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gssproxy/repos/testing-i686/
  gssproxy/repos/testing-i686/PKGBUILD
    (from rev 235310, gssproxy/trunk/PKGBUILD)
  gssproxy/repos/testing-x86_64/
  gssproxy/repos/testing-x86_64/PKGBUILD
    (from rev 235310, gssproxy/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   66 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   66 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 132 insertions(+)

Copied: gssproxy/repos/testing-i686/PKGBUILD (from rev 235310, gssproxy/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-03-31 19:09:30 UTC (rev 235311)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Mantas Mikulėnas <grawity at gmail.com>
+
+pkgname=gssproxy
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="GSSAPI Proxy"
+arch=(i686 x86_64)
+url="https://fedorahosted.org/gss-proxy/"
+license=('custom: MIT')
+depends=('krb5' 'popt' 'ding-libs')
+makedepends=('popt' 'libxslt' 'systemd' 'docbook-xsl' 'doxygen' )
+options=('emptydirs')
+backup=('etc/gssproxy/gssproxy.conf' 'etc/gss/mech')
+source=(https://fedorahosted.org/released/gss-proxy/$pkgname-$pkgver.tar.gz)
+sha512sums=('f536075601ec8936ca876d94c9212b8e80c7bd5ee3dff23d04ddcfb90b848a48022f226609d6cd3b6a92d6dbfcbd32b9dddcf45dc8380cb58e5d10e8ef1b7ec5')
+
+prepare() {
+  cd "$srcdir/gssproxy-$pkgver"
+  # delete unneeded service dependency
+  sed -i "/# GSSPROXY will not be started until syslog is/d" systemd/gssproxy.service.in
+  sed -i "/^After=syslog.target/d" systemd/gssproxy.service.in
+  
+  # see http://pkgs.fedoraproject.org/cgit/nfs-utils.git/tree/nfs-utils.spec creating symlinks
+  # rpc-gssd.service is nfs-secure.service
+  sed -i "s/nfs-secure.service/rpc-gssd.service/" systemd/gssproxy.service.in
+  # rpc.svcgssd is nfs-secure-server.service
+  sed -i "s/nfs-secure-server.service/rpc-svcgssd.service/" systemd/gssproxy.service.in
+}
+
+build() {
+  cd gssproxy-$pkgver
+  # make it find bundled verto from krb5 without its own pkg-config file
+  export VERTO_CFLAGS="-I/usr/include"
+  export VERTO_LIBS="-L/usr/lib -lverto"
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc  \
+    --with-pubconf-path=/etc/gssproxy \
+    --sbindir=/usr/bin \
+    --localstatedir=/var \
+    --without-selinux \
+    --with-initscript=systemd 
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  #make -k check
+  make test_proxymech
+}
+
+
+package() {
+  cd gssproxy-$pkgver
+  make DESTDIR=$pkgdir install
+  
+  rm -rf $pkgdir/usr/include
+  rm -rf $pkgdir/usr/share/doc
+
+  install -m644 examples/gssproxy.conf $pkgdir/etc/gssproxy/gssproxy.conf
+  install -m644 examples/mech  $pkgdir/etc/gss/mech
+  
+  install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname
+  install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/
+}

Copied: gssproxy/repos/testing-x86_64/PKGBUILD (from rev 235310, gssproxy/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-03-31 19:09:30 UTC (rev 235311)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Mantas Mikulėnas <grawity at gmail.com>
+
+pkgname=gssproxy
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="GSSAPI Proxy"
+arch=(i686 x86_64)
+url="https://fedorahosted.org/gss-proxy/"
+license=('custom: MIT')
+depends=('krb5' 'popt' 'ding-libs')
+makedepends=('popt' 'libxslt' 'systemd' 'docbook-xsl' 'doxygen' )
+options=('emptydirs')
+backup=('etc/gssproxy/gssproxy.conf' 'etc/gss/mech')
+source=(https://fedorahosted.org/released/gss-proxy/$pkgname-$pkgver.tar.gz)
+sha512sums=('f536075601ec8936ca876d94c9212b8e80c7bd5ee3dff23d04ddcfb90b848a48022f226609d6cd3b6a92d6dbfcbd32b9dddcf45dc8380cb58e5d10e8ef1b7ec5')
+
+prepare() {
+  cd "$srcdir/gssproxy-$pkgver"
+  # delete unneeded service dependency
+  sed -i "/# GSSPROXY will not be started until syslog is/d" systemd/gssproxy.service.in
+  sed -i "/^After=syslog.target/d" systemd/gssproxy.service.in
+  
+  # see http://pkgs.fedoraproject.org/cgit/nfs-utils.git/tree/nfs-utils.spec creating symlinks
+  # rpc-gssd.service is nfs-secure.service
+  sed -i "s/nfs-secure.service/rpc-gssd.service/" systemd/gssproxy.service.in
+  # rpc.svcgssd is nfs-secure-server.service
+  sed -i "s/nfs-secure-server.service/rpc-svcgssd.service/" systemd/gssproxy.service.in
+}
+
+build() {
+  cd gssproxy-$pkgver
+  # make it find bundled verto from krb5 without its own pkg-config file
+  export VERTO_CFLAGS="-I/usr/include"
+  export VERTO_LIBS="-L/usr/lib -lverto"
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc  \
+    --with-pubconf-path=/etc/gssproxy \
+    --sbindir=/usr/bin \
+    --localstatedir=/var \
+    --without-selinux \
+    --with-initscript=systemd 
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  #make -k check
+  make test_proxymech
+}
+
+
+package() {
+  cd gssproxy-$pkgver
+  make DESTDIR=$pkgdir install
+  
+  rm -rf $pkgdir/usr/include
+  rm -rf $pkgdir/usr/share/doc
+
+  install -m644 examples/gssproxy.conf $pkgdir/etc/gssproxy/gssproxy.conf
+  install -m644 examples/mech  $pkgdir/etc/gss/mech
+  
+  install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname
+  install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list