2016-01-10 08:26:15 +00:00
|
|
|
# Template file for 'munge'
|
|
|
|
pkgname=munge
|
2016-02-27 18:18:08 +00:00
|
|
|
version=0.5.12
|
2016-01-10 08:26:15 +00:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-crypto-lib=openssl
|
|
|
|
--with-openssl-prefix=${XBPS_CROSS_BASE}/usr
|
|
|
|
x_ac_cv_check_fifo_recvfd=no ac_cv_file__dev_spx=no"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="bzip2-devel libressl-devel zlib-devel"
|
|
|
|
depends="shadow"
|
|
|
|
short_desc="MUNGE Uid 'N' Gid Emporium authentication service"
|
|
|
|
maintainer="pulux <pulux@pf4sh.de>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://dun.github.io/munge/"
|
2016-02-27 18:18:08 +00:00
|
|
|
distfiles="https://github.com/dun/${pkgname}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=e972e3c3e947995a99e023f5758047db16cfe2f0c2c9ca76399dc1511fa71be8
|
2016-01-10 08:26:15 +00:00
|
|
|
|
|
|
|
system_accounts="munge"
|
|
|
|
munge_homedir="/var/run/munge"
|
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
# needs this to install pc files in cross compilation.
|
|
|
|
vmkdir usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vsv munge
|
|
|
|
rm -f ${DESTDIR}/etc/init.d/munge
|
|
|
|
rm -f ${DESTDIR}/etc/default/munge
|
2016-02-27 18:18:03 +00:00
|
|
|
rm -f ${DESTDIR}/usr/lib/tmpfiles.d/munge.conf
|
|
|
|
rm -f ${DESTDIR}/usr/lib/systemd/system/munge.service
|
2016-01-10 08:26:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
munge-devel_package() {
|
|
|
|
depends="munge-libs>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
munge-libs_package() {
|
|
|
|
short_descr+=" - runtime libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so.*"
|
|
|
|
}
|
|
|
|
}
|