[arch-commits] Commit in gssproxy/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Saturday, April 18, 2020 @ 10:22:43 Author: andyrtr Revision: 380496 archrelease: copy trunk to testing-x86_64 Added: gssproxy/repos/testing-x86_64/ gssproxy/repos/testing-x86_64/PKGBUILD (from rev 380495, gssproxy/trunk/PKGBUILD) --+ PKGBUILD | 77 + 1 file changed, 77 insertions(+) Copied: gssproxy/repos/testing-x86_64/PKGBUILD (from rev 380495, gssproxy/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-04-18 10:22:43 UTC (rev 380496) @@ -0,0 +1,77 @@ +# Maintainer: AndyRTR +# Contributor: Mantas Mikulėnas + +pkgname=gssproxy +pkgver=0.8.3 +pkgrel=1 +pkgdesc="GSSAPI Proxy" +arch=(x86_64) +url="https://github.com/gssapi/gssproxy; +license=('custom: MIT') +depends=('krb5' 'popt' 'ding-libs') +makedepends=('popt' 'libxslt' 'systemd' 'docbook-xsl' 'doxygen' 'po4a') +options=('emptydirs' 'makeflags') +backup=(etc/gssproxy/{gssproxy,24-nfs-server,80-httpd,99-nfs-client}.conf +etc/gss/mech.d/gssproxy.conf) +source=(https://github.com/gssapi/gssproxy/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz) +sha512sums=('144b10ec4e19ad2ded5ae57adf1ca311e2fc6c2b97e202eedde69d82c8d50afc0459ac36c7fc5d5290184eb68547a696b33e8a069fde43478104ac26b2c98bc2') + +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 "s/syslog.target //" systemd/gssproxy.service.in + + autoreconf -vfi +} + +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 \ +--with-gpp-default-behavior=REMOTE_FIRST + + make +} + +check() { + cd "$pkgname"-$pkgver + make test_proxymech +} + + +package() { + cd gssproxy-$pkgver + make DESTDIR=$pkgdir install + + # cleanup empty directories + rm -rf "$pkgdir"/usr/include + rm -rf "$pkgdir"/usr/share/doc + + # install default config files + install -m644 examples/gssproxy.conf "$pkgdir"/etc/gssproxy/gssproxy.conf + # nfs services + install -m644 examples/24-nfs-server.conf "$pkgdir"/etc/gssproxy/24-nfs-server.conf + install -m644 examples/99-nfs-client.conf "$pkgdir"/etc/gssproxy/99-nfs-client.conf + # httpd service / use Arch UID/GID http/33 (by pkg filesystem) + install -m644 examples/80-httpd.conf "$pkgdir"/etc/gssproxy/80-httpd.conf + sed -i -e "s:euid = apache:euid = http:" "$pkgdir"/etc/gssproxy/80-httpd.conf + + install -Dm644 examples/mech "$pkgdir"/etc/gss/mech.d/gssproxy.conf + + # FS#51574 + install -m700 -d ${pkgdir}/var/lib/gssproxy/rcache + + install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname + install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/ +}
[arch-commits] Commit in gssproxy/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Monday, December 9, 2019 @ 09:47:09 Author: andyrtr Revision: 370549 archrelease: copy trunk to testing-x86_64 Added: gssproxy/repos/testing-x86_64/ gssproxy/repos/testing-x86_64/PKGBUILD (from rev 370548, gssproxy/trunk/PKGBUILD) --+ PKGBUILD | 86 + 1 file changed, 86 insertions(+) Copied: gssproxy/repos/testing-x86_64/PKGBUILD (from rev 370548, gssproxy/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-12-09 09:47:09 UTC (rev 370549) @@ -0,0 +1,86 @@ +# Maintainer: AndyRTR +# Contributor: Mantas Mikulėnas + +pkgname=gssproxy +pkgver=0.8.2 +pkgrel=3 +pkgdesc="GSSAPI Proxy" +arch=(x86_64) +url="https://pagure.io/gssproxy; +license=('custom: MIT') +depends=('krb5' 'popt' 'ding-libs') +makedepends=('popt' 'libxslt' 'systemd' 'docbook-xsl' 'doxygen' 'po4a') +options=('emptydirs' 'makeflags') +backup=(etc/gssproxy/{gssproxy,24-nfs-server,80-httpd,99-nfs-client}.conf +etc/gss/mech.d/gssproxy.conf) +source=(https://releases.pagure.org/gssproxy/$pkgname-$pkgver.tar.gz) +sha512sums=('68ce39b36ee83d77da19e9a9fb322ba901366999828a2b427bc2275c4187b4d2291de140c202cce02bdf53eb5cf64da2fafa022ea482258c102f28b0af5d7c63') + +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 + + # Replace /var/run -> /run in gssproxy.service - FS#64754 + sed -i "s/PIDFile=@localstatedir@\/run\/gssproxy.pid/PIDFile=\/run\/gssproxy.pid/" systemd/gssproxy.service.in + +# autoreconf -vfi +} + +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 \ +--with-gpp-default-behavior=REMOTE_FIRST + + make +} + +check() { + cd "$pkgname"-$pkgver + make test_proxymech +} + + +package() { + cd gssproxy-$pkgver + make DESTDIR=$pkgdir install + + # cleanup empty directories + rm -rf "$pkgdir"/usr/include + rm -rf "$pkgdir"/usr/share/doc + + # install default config files + install -m644 examples/gssproxy.conf "$pkgdir"/etc/gssproxy/gssproxy.conf + # nfs services + install -m644 examples/24-nfs-server.conf "$pkgdir"/etc/gssproxy/24-nfs-server.conf + install -m644 examples/99-nfs-client.conf "$pkgdir"/etc/gssproxy/99-nfs-client.conf + # httpd service / use Arch UID/GID http/33 (by pkg filesystem) + install -m644 examples/80-httpd.conf "$pkgdir"/etc/gssproxy/80-httpd.conf + sed -i -e "s:euid = apache:euid = http:" "$pkgdir"/etc/gssproxy/80-httpd.conf + + install -Dm644 examples/mech "$pkgdir"/etc/gss/mech.d/gssproxy.conf + + # FS#51574 + install -m700 -d ${pkgdir}/var/lib/gssproxy/rcache + + install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname + install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/ +}
[arch-commits] Commit in gssproxy/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Tuesday, April 23, 2019 @ 16:37:43 Author: andyrtr Revision: 351992 archrelease: copy trunk to testing-x86_64 Added: gssproxy/repos/testing-x86_64/ gssproxy/repos/testing-x86_64/PKGBUILD (from rev 351991, gssproxy/trunk/PKGBUILD) --+ PKGBUILD | 85 + 1 file changed, 85 insertions(+) Copied: gssproxy/repos/testing-x86_64/PKGBUILD (from rev 351991, gssproxy/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-04-23 16:37:43 UTC (rev 351992) @@ -0,0 +1,85 @@ +# Maintainer: AndyRTR +# Contributor: Mantas Mikulėnas + +pkgname=gssproxy +pkgver=0.8.2 +pkgrel=1 +pkgdesc="GSSAPI Proxy" +arch=(x86_64) +url="https://pagure.io/gssproxy; +license=('custom: MIT') +depends=('krb5' 'popt' 'ding-libs') +makedepends=('popt' 'libxslt' 'systemd' 'docbook-xsl' 'doxygen' 'po4a') +options=('emptydirs' 'makeflags') +backup=(etc/gssproxy/{gssproxy,24-nfs-server,80-httpd,99-nfs-client}.conf +etc/gss/mech.d/gssproxy.conf) +source=(https://releases.pagure.org/gssproxy/$pkgname-$pkgver.tar.gz) +sha512sums=('68ce39b36ee83d77da19e9a9fb322ba901366999828a2b427bc2275c4187b4d2291de140c202cce02bdf53eb5cf64da2fafa022ea482258c102f28b0af5d7c63') + +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 + +# autoreconf -vfi +} + +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 \ +--with-gpp-default-behavior=REMOTE_FIRST + +#LOCAL_FIRST|LOCAL_ONLY|REMOTE_FIRST|REMOTE_ONLY +# Which default behavior the gssproxy interposer +# plugin should use [LOCAL_FIRST] +#--help + make +} + +check() { + cd $pkgname-$pkgver + make test_proxymech +} + + +package() { + cd gssproxy-$pkgver + make DESTDIR=$pkgdir install + + # cleanup empty directories + rm -rf $pkgdir/usr/include + rm -rf $pkgdir/usr/share/doc + + # install default config files + install -m644 examples/gssproxy.conf $pkgdir/etc/gssproxy/gssproxy.conf + # nfs services + install -m644 examples/24-nfs-server.conf $pkgdir/etc/gssproxy/24-nfs-server.conf + install -m644 examples/99-nfs-client.conf $pkgdir/etc/gssproxy/99-nfs-client.conf + # httpd service / use Arch UID/GID http/33 (by pkg filesystem) + install -m644 examples/80-httpd.conf $pkgdir/etc/gssproxy/80-httpd.conf + sed -i -e "s:euid = apache:euid = http:" $pkgdir/etc/gssproxy/80-httpd.conf + + install -Dm644 examples/mech $pkgdir/etc/gss/mech.d/gssproxy.conf + + # FS#51574 + install -m700 -d ${pkgdir}/var/lib/gssproxy/rcache + + install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname + install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/ +}
[arch-commits] Commit in gssproxy/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Friday, February 9, 2018 @ 19:58:50 Author: andyrtr Revision: 316539 archrelease: copy trunk to testing-x86_64 Added: gssproxy/repos/testing-x86_64/ gssproxy/repos/testing-x86_64/PKGBUILD (from rev 316538, gssproxy/trunk/PKGBUILD) --+ PKGBUILD | 86 + 1 file changed, 86 insertions(+) Copied: gssproxy/repos/testing-x86_64/PKGBUILD (from rev 316538, gssproxy/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-02-09 19:58:50 UTC (rev 316539) @@ -0,0 +1,86 @@ +# $Id$ +# Maintainer: AndyRTR+# Contributor: Mantas Mikulėnas + +pkgname=gssproxy +pkgver=0.8.0 +pkgrel=1 +pkgdesc="GSSAPI Proxy" +arch=(x86_64) +url="https://pagure.io/gssproxy; +license=('custom: MIT') +depends=('krb5' 'popt' 'ding-libs') +makedepends=('popt' 'libxslt' 'systemd' 'docbook-xsl' 'doxygen' 'po4a') +options=('emptydirs' 'makeflags') +backup=(etc/gssproxy/{gssproxy,24-nfs-server,80-httpd,99-nfs-client}.conf +etc/gss/mech.d/gssproxy.conf) +source=(https://releases.pagure.org/gssproxy/$pkgname-$pkgver.tar.gz) +sha512sums=('f3b8f053d6750d7ee6ab2bfb6bfc4dc1ac2e2f354f923590340bb3c522f57cc881df5a2850750bc00c0dcacf2ae173549dc3bb9ece4512cf2f39869527afc2ec') + +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 + +# autoreconf -vfi +} + +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 \ +--with-gpp-default-behavior=REMOTE_FIRST + +#LOCAL_FIRST|LOCAL_ONLY|REMOTE_FIRST|REMOTE_ONLY +# Which default behavior the gssproxy interposer +# plugin should use [LOCAL_FIRST] +#--help + make +} + +check() { + cd $pkgname-$pkgver + make test_proxymech +} + + +package() { + cd gssproxy-$pkgver + make DESTDIR=$pkgdir install + + # cleanup empty directories + rm -rf $pkgdir/usr/include + rm -rf $pkgdir/usr/share/doc + + # install default config files + install -m644 examples/gssproxy.conf $pkgdir/etc/gssproxy/gssproxy.conf + # nfs services + install -m644 examples/24-nfs-server.conf $pkgdir/etc/gssproxy/24-nfs-server.conf + install -m644 examples/99-nfs-client.conf $pkgdir/etc/gssproxy/99-nfs-client.conf + # httpd service / use Arch UID/GID http/33 (by pkg filesystem) + install -m644 examples/80-httpd.conf $pkgdir/etc/gssproxy/80-httpd.conf + sed -i -e "s:euid = apache:euid = http:" $pkgdir/etc/gssproxy/80-httpd.conf + + install -Dm644 examples/mech $pkgdir/etc/gss/mech.d/gssproxy.conf + + # FS#51574 + install -m700 -d ${pkgdir}/var/lib/gssproxy/rcache + + install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname + install -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/ +}