[arch-commits] Commit in cifs-utils/repos (6 files)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Wed Mar 27 16:31:46 UTC 2013
Date: Wednesday, March 27, 2013 @ 17:31:46
Author: tpowa
Revision: 180876
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
cifs-utils/repos/testing-i686/
cifs-utils/repos/testing-i686/PKGBUILD
(from rev 180875, cifs-utils/trunk/PKGBUILD)
cifs-utils/repos/testing-i686/fix-5.9-credentials.patch
(from rev 180875, cifs-utils/trunk/fix-5.9-credentials.patch)
cifs-utils/repos/testing-x86_64/
cifs-utils/repos/testing-x86_64/PKGBUILD
(from rev 180875, cifs-utils/trunk/PKGBUILD)
cifs-utils/repos/testing-x86_64/fix-5.9-credentials.patch
(from rev 180875, cifs-utils/trunk/fix-5.9-credentials.patch)
------------------------------------------+
testing-i686/PKGBUILD | 27 +++++++++++++++++++++++++++
testing-i686/fix-5.9-credentials.patch | 16 ++++++++++++++++
testing-x86_64/PKGBUILD | 27 +++++++++++++++++++++++++++
testing-x86_64/fix-5.9-credentials.patch | 16 ++++++++++++++++
4 files changed, 86 insertions(+)
Copied: cifs-utils/repos/testing-i686/PKGBUILD (from rev 180875, cifs-utils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-03-27 16:31:46 UTC (rev 180876)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=cifs-utils
+pkgver=6.0
+pkgrel=1
+pkgdesc="CIFS filesystem user-space tools"
+arch=(i686 x86_64)
+url="http://wiki.samba.org/index.php/LinuxCIFS_utils"
+license=('GPL')
+depends=('libcap-ng' 'keyutils' 'krb5' 'talloc' 'libwbclient')
+source=(ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # systemd support is broken in mount.cifs
+ # https://bugs.archlinux.org/task/30958
+ ./configure --prefix=/usr --disable-systemd
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" ROOTSBINDIR=/usr/bin install
+ # set mount.cifs uid, to enable none root mounting form fstab
+ chmod +s $pkgdir/usr/bin/mount.cifs
+}
+md5sums=('371e007a201be90c16497cd9bd5e2553')
Copied: cifs-utils/repos/testing-i686/fix-5.9-credentials.patch (from rev 180875, cifs-utils/trunk/fix-5.9-credentials.patch)
===================================================================
--- testing-i686/fix-5.9-credentials.patch (rev 0)
+++ testing-i686/fix-5.9-credentials.patch 2013-03-27 16:31:46 UTC (rev 180876)
@@ -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);
Copied: cifs-utils/repos/testing-x86_64/PKGBUILD (from rev 180875, cifs-utils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-03-27 16:31:46 UTC (rev 180876)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=cifs-utils
+pkgver=6.0
+pkgrel=1
+pkgdesc="CIFS filesystem user-space tools"
+arch=(i686 x86_64)
+url="http://wiki.samba.org/index.php/LinuxCIFS_utils"
+license=('GPL')
+depends=('libcap-ng' 'keyutils' 'krb5' 'talloc' 'libwbclient')
+source=(ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # systemd support is broken in mount.cifs
+ # https://bugs.archlinux.org/task/30958
+ ./configure --prefix=/usr --disable-systemd
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" ROOTSBINDIR=/usr/bin install
+ # set mount.cifs uid, to enable none root mounting form fstab
+ chmod +s $pkgdir/usr/bin/mount.cifs
+}
+md5sums=('371e007a201be90c16497cd9bd5e2553')
Copied: cifs-utils/repos/testing-x86_64/fix-5.9-credentials.patch (from rev 180875, cifs-utils/trunk/fix-5.9-credentials.patch)
===================================================================
--- testing-x86_64/fix-5.9-credentials.patch (rev 0)
+++ testing-x86_64/fix-5.9-credentials.patch 2013-03-27 16:31:46 UTC (rev 180876)
@@ -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);
More information about the arch-commits
mailing list