Commit 9db4fc14 authored by Luca Giambonini's avatar Luca Giambonini

cifs-utils 6.7, fix #36

parent 12c13a39
#
# Platform Packages for Chakra, part of chakra-project.org
# Platform Packages for Chakra, part of chakralinux.org
#
# maintainer abveritas[at]chakra-project[dog]org>
pkgname=cifs-utils
pkgver=6.5
pkgver=6.7
pkgrel=1
pkgdesc="CIFS filesystem user-space tools"
arch=('x86_64')
url="http://wiki.samba.org/index.php/LinuxCIFS_utils"
license=('GPL')
depends=('libcap' 'keyutils' 'krb5' 'talloc')
depends=('libcap-ng' 'keyutils' 'krb5' 'talloc' 'libwbclient' 'pam')
source=("https://download.samba.org/pub/linux-cifs/cifs-utils/${pkgname}-${pkgver}.tar.bz2")
md5sums=('74b2c398ce83a8b792faabc414cec314')
md5sums=('af3ae1d27aca624c4daac5bf3eb0d4c1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# systemd support is broken in mount.cifs
autoreconf -i
./configure --prefix=/usr --disable-systemd
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" ROOTSBINDIR=/usr/bin install
# mount.cifs uid, for root mounting fstab
mkdir -p $pkgdir/etc/request-key.d
install -m 644 contrib/request-key.d/cifs.idmap.conf $pkgdir/etc/request-key.d
install -m 644 contrib/request-key.d/cifs.spnego.conf $pkgdir/etc/request-key.d
# set mount.cifs uid, to enable none root mounting form fstab
chmod +s $pkgdir/usr/bin/mount.cifs
# fix idmap-plugin #42052
mkdir -p $pkgdir/etc/cifs-utils
ln -s /usr/lib/cifs-utils/idmapwb.so ${pkgdir}/etc/cifs-utils/idmap-plugin
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment