summaryrefslogtreecommitdiffstats
path: root/abs/extra/cifs-utils
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-02-17 00:03:22 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-02-19 19:03:04 (GMT)
commita9abd6237a047a63b9bcf75b90055cb4321dd0f6 (patch)
treebc392f127cad6a31d4346e106f8b39fd8bfdad11 /abs/extra/cifs-utils
parent8fbb8d1e260eaa571aca058a0723865206a86b6e (diff)
downloadlinhes_pkgbuild-a9abd6237a047a63b9bcf75b90055cb4321dd0f6.zip
linhes_pkgbuild-a9abd6237a047a63b9bcf75b90055cb4321dd0f6.tar.gz
linhes_pkgbuild-a9abd6237a047a63b9bcf75b90055cb4321dd0f6.tar.bz2
cifs-utils: 6.2
update binary path to /usr/bin refs #961
Diffstat (limited to 'abs/extra/cifs-utils')
-rw-r--r--abs/extra/cifs-utils/PKGBUILD10
-rw-r--r--abs/extra/cifs-utils/fix-5.9-credentials.patch16
2 files changed, 22 insertions, 4 deletions
diff --git a/abs/extra/cifs-utils/PKGBUILD b/abs/extra/cifs-utils/PKGBUILD
index f220fa4..fb2db27 100644
--- a/abs/extra/cifs-utils/PKGBUILD
+++ b/abs/extra/cifs-utils/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: PKGBUILD 161430 2012-06-11 13:06:12Z tpowa $
+# $Id: PKGBUILD 200381 2013-11-27 10:08:51Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=cifs-utils
-pkgver=5.5
+pkgver=6.2
pkgrel=1
pkgdesc="CIFS filesystem user-space tools"
arch=(i686 x86_64)
@@ -12,7 +12,9 @@ source=(ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2)
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
+ # systemd support is broken in mount.cifs
+ # https://bugs.archlinux.org/task/30958
+ ./configure --prefix=/usr --sbindir=/usr/bin --disable-systemd
make
}
@@ -22,4 +24,4 @@ package() {
# set mount.cifs uid, to enable none root mounting form fstab
chmod +s $pkgdir/usr/bin/mount.cifs
}
-md5sums=('4de6c660ccdb9506d0e2cff4f37b8707')
+md5sums=('6a83fe19e02266cb468ea3bf1cc0d007')
diff --git a/abs/extra/cifs-utils/fix-5.9-credentials.patch b/abs/extra/cifs-utils/fix-5.9-credentials.patch
new file mode 100644
index 0000000..24e20ed
--- /dev/null
+++ b/abs/extra/cifs-utils/fix-5.9-credentials.patch
@@ -0,0 +1,16 @@
+X-Git-Url: https://git.samba.org/?p=cifs-utils.git;a=blobdiff_plain;f=mount.cifs.c;h=40b77e92e3f734c606f522ccf279a0508ad64eab;hp=c7c3055cb890764937193b1d50d1f0fb7ae18826;hb=1a01f7c4b90695211d12291d7a24bec05b1f2922;hpb=739289ad3ce915e1ee2705ecd7ac4e907cd91405
+
+diff --git a/mount.cifs.c b/mount.cifs.c
+index c7c3055..40b77e9 100644
+--- a/mount.cifs.c
++++ b/mount.cifs.c
+@@ -581,7 +581,8 @@ static int open_cred_file(char *file_name,
+ switch (parse_cred_line(line_buf + i, &temp_val)) {
+ case CRED_USER:
+ strlcpy(parsed_info->username, temp_val,
+- sizeof(parsed_info->domain));
++ sizeof(parsed_info->username));
++ parsed_info->got_user = 1;
+ break;
+ case CRED_PASS:
+ i = set_password(parsed_info, temp_val);