Browse Source

gssproxy-0.6.2-1.hyperbola3: adapt package to be FHS compliant

tags/milky-way/v0.3
André Silva 1 year ago
parent
commit
cf43d3c649
2 changed files with 3 additions and 8 deletions
  1. +3
    -8
      gssproxy/PKGBUILD
  2. +0
    -0
      gssproxy/gssproxy.initd

+ 3
- 8
gssproxy/PKGBUILD View File

@@ -1,15 +1,14 @@
# $Id: PKGBUILD 289948 2017-03-03 19:19:09Z andyrtr $
# Maintainer (Arch): AndyRTR <andyrtr@archlinux.org>
# Contributor (Arch): Mantas Mikulėnas <grawity@gmail.com>
# Maintainer: André Silva <emulatorman@hyperbola.info>

pkgname=gssproxy
pkgver=0.6.2
pkgrel=1.hyperbola2
pkgrel=1.hyperbola3
pkgdesc="GSSAPI Proxy, with logger recommendation and OpenRC support"
arch=(i686 x86_64)
url="https://pagure.io/gssproxy"
license=('custom: MIT')
license=('Expat')
depends=('krb5' 'popt' 'ding-libs')
makedepends=('popt' 'libxslt' 'docbook-xsl' 'doxygen' 'po4a')
optdepends=('logger: message logging support')
@@ -29,7 +28,6 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-pubconf-path=/etc/gssproxy \
--sbindir=/usr/bin \
--localstatedir=/var \
--without-selinux \
--with-initscript=none
@@ -54,7 +52,7 @@ package() {
# 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)
# httpd service / use Hyperbola 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

@@ -68,7 +66,4 @@ package() {

# OpenRC
install -Dm755 ${srcdir}/gssproxy.initd ${pkgdir}/etc/init.d/gssproxy
sed -e 's|/var/run|/run|g' \
-e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g' \
-i ${pkgdir}/etc/init.d/gssproxy
}

+ 0
- 0
gssproxy/gssproxy.initd View File


Loading…
Cancel
Save