2012-03-02 00:57:03 +08:00
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2012-12-05 23:41:59 +08:00
|
|
|
# Contributor: Phil Miller <philm[at]chakra-project[dog]org>
|
2012-03-02 00:57:03 +08:00
|
|
|
|
|
|
|
pkgname=cifs-utils
|
2012-12-05 23:41:59 +08:00
|
|
|
pkgver=5.7
|
2012-03-02 00:57:03 +08:00
|
|
|
pkgrel=1
|
2012-12-05 23:41:59 +08:00
|
|
|
pkgdesc="CIFS filesystem user-space tools"
|
|
|
|
arch=(x86_64)
|
2012-03-02 00:57:03 +08:00
|
|
|
url="http://wiki.samba.org/index.php/LinuxCIFS_utils"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('libcap' 'keyutils' 'krb5' 'talloc')
|
|
|
|
source=(ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2)
|
2012-12-05 23:41:59 +08:00
|
|
|
md5sums=('4215f12be8663f65d2c21dbbbafbc7f8')
|
|
|
|
|
2012-03-02 00:57:03 +08:00
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2012-12-05 23:41:59 +08:00
|
|
|
# systemd support is broken in mount.cifs: https://bugs.archlinux.org/task/30958
|
|
|
|
./configure --prefix=/usr --disable-systemd
|
2012-03-02 00:57:03 +08:00
|
|
|
make
|
|
|
|
}
|
2012-12-05 23:41:59 +08:00
|
|
|
|
2012-03-02 00:57:03 +08:00
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2012-12-05 23:41:59 +08:00
|
|
|
make DESTDIR="$pkgdir" ROOTSBINDIR=/usr/bin install
|
2012-03-02 00:57:03 +08:00
|
|
|
msg 'if you want to enable user mounting and unmounting you need to set the suid flag'
|
|
|
|
msg 'chmod +s /sbin/mount.cifs'
|
|
|
|
msg 'and put the mount in the fstab. use the nosuid option in fstab for remote execution prevention'
|
|
|
|
}
|