debian/0000755000000000000000000000000012163175125007171 5ustar debian/cifs-utils.NEWS0000644000000000000000000000120212144666336011754 0ustar cifs-utils (2:4.0-1) unstable; urgency=low * As of this version, the mount.cifs binary is no longer setuid due to upstream concerns about the audit status of this code. As a consequence, users will no longer be able to run mount.cifs directly to mount shares unless mount points have been individually configured in /etc/fstab with the "user" mount option. Sites that require their users to retain the ability to mount arbitrary CIFS shares without system-level configuration may want to consider using the fusesmb package instead. -- Steve Langasek Sun, 28 Feb 2010 16:07:14 -0800 debian/source/0000755000000000000000000000000012144666631010477 5ustar debian/source/format0000644000000000000000000000001412144666336011707 0ustar 3.0 (quilt) debian/control0000644000000000000000000000226412163173760010603 0ustar Source: cifs-utils Section: otherosfs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Samba Maintainers Uploaders: Steve Langasek , Christian Perrier , Noèl Köthe , Jelmer Vernooij , Luk Claes Build-Depends: debhelper (>= 9), quilt, libkeyutils-dev, libkrb5-dev, libtalloc-dev (>= 1.2.0~git20080616), libwbclient-dev (>= 2:3.6.5-3) Standards-Version: 3.8.4 Homepage: http://www.samba.org/~jlayton/cifs-utils/ Vcs-Browser: http://bzr.debian.org/loggerhead/pkg-samba/cifs-utils/trunk Vcs-Bzr: http://bzr.debian.org/bzr/pkg-samba/cifs-utils/trunk Package: cifs-utils Architecture: any Depends: samba-common, ${shlibs:Depends}, ${misc:Depends} Recommends: keyutils Replaces: smbfs (<< 2:4.0~rc1-1) Suggests: smbclient, winbind Description: Common Internet File System utilities The SMB/CIFS protocol provides support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. . This package provides utilities for managing mounts of CIFS network file systems. debian/cifs-utils.docs0000644000000000000000000000000712144666336012132 0ustar README debian/copyright0000644000000000000000000000506012144666336011135 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: cifs-utils Maintainer: Jeff Layton Source: http://www.samba.org/~jlayton/cifs-utils/ Files: * Copyright: 2001, Andrew Tridgell 2001, Andrew Bartlett 2002, Jim McDonough 2003, Luke Howard 2003,2008, Steve French 2007, Igor Mammedov 2008, Jeremy Allison 2008-2009, Jeff Layton License: GPL-3+ Files: util.c, util.h, replace.h, cifs_spnego.h Copyright: 1992-1998,2005, Andrew Tridgell 2005-2008, Jelmer Vernooij 2007, Red Hat, Inc 2007, Jeremy Allison License: LGPL-3+ Files: ./debian/* Copyright: 2002-2004, Eloy Paris 2004-2010, Steve Langasek 2005, Noèl Köthe 2006, Peter Eisentraut 2008-2010, Christian Perrier License: GPL-3+ License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: LGPL-3+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, see . . On Debian systems, the full text of the GNU Lesser General Public License version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'. debian/rules0000755000000000000000000000034612163173606010256 0ustar #!/usr/bin/make -f %: dh $@ --with quilt override_dh_auto_configure: dh_auto_configure -- --enable-cifsidmap --enable-cifscreds --without-libcap override_dh_fixperms: dh_fixperms chmod u+s debian/cifs-utils/sbin/mount.cifs debian/cifs-utils.lintian0000644000000000000000000000007112144666336012641 0ustar cifs-utils: setuid-binary sbin/mount.cifs 4755 root/root debian/install0000644000000000000000000000016112144666336010570 0ustar contrib/request-key.d/cifs.idmap.conf etc/request-key.d contrib/request-key.d/cifs.spnego.conf etc/request-key.d debian/compat0000644000000000000000000000000212144666336010377 0ustar 9 debian/watch0000644000000000000000000000044612144666336010236 0ustar # format version number, currently 2; this line is compulsory! version=2 # Line continuations are performed with \ # This the format for an FTP site: # Full‐site‐with‐pattern [Version [Action]] ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-(.*)\.tar.bz2 \ debian uupdate debian/patches/0000755000000000000000000000000012163145557010626 5ustar debian/patches/stat_systemd-ask-password.patch0000644000000000000000000000122412163145557017005 0ustar Index: cifs-utils-6.0/mount.cifs.c =================================================================== --- cifs-utils-6.0.orig/mount.cifs.c 2013-03-25 11:52:05.000000000 -0300 +++ cifs-utils-6.0/mount.cifs.c 2013-06-27 20:31:56.144316008 -0300 @@ -1627,12 +1627,13 @@ { #ifdef ENABLE_SYSTEMD int is_systemd_running; - struct stat a, b; + struct stat a, b, c; /* We simply test whether the systemd cgroup hierarchy is * mounted */ is_systemd_running = (lstat("/sys/fs/cgroup", &a) == 0) && (lstat("/sys/fs/cgroup/systemd", &b) == 0) + && (lstat("/bin/systemd-ask-password", &c) == 0) && (a.st_dev != b.st_dev); if (is_systemd_running) { debian/patches/series0000644000000000000000000000004012163144170012023 0ustar stat_systemd-ask-password.patch debian/bzr-builddeb.conf0000644000000000000000000000017412144666336012417 0ustar [BUILDDEB] upstream-branch = git://git.samba.org/cifs-utils.git export-upstream-revision = tag:cifs-utils-$UPSTREAM_VERSION debian/changelog0000644000000000000000000001724312163145710011047 0ustar cifs-utils (2:6.0-1ubuntu2) saucy; urgency=low * debian/patches/stat_systemd-ask-password.patch: also check for /bin/systemd-ask-password before trying to use systemd's tools -- Ricardo Salveti de Araujo Thu, 27 Jun 2013 20:11:19 -0300 cifs-utils (2:6.0-1ubuntu1) saucy; urgency=low * Merge from Debian unstable (LP: #1155918). Remaining changes: - debian/control: Demote winbind from Recommends to Suggests. This avoids winbind being pulled onto the CD images when it's not required. * debian/patches/eglibc.diff: Drop, as it is no longer necessary. -- Logan Rosen Tue, 07 May 2013 18:29:02 -0400 cifs-utils (2:6.0-1) unstable; urgency=low * New upstream release (Closes: #703451). - Use errno instead of having unknown error (Closes: #681873). - Treat uid=,gid=,cruid= options as name before assuming they're a number (Closes: #659246). -- Luk Claes Tue, 07 May 2013 20:48:49 +0200 cifs-utils (2:5.5-1ubuntu2) raring; urgency=low * Fix build failure with glibc-2.17. -- Matthias Klose Tue, 02 Apr 2013 07:51:20 +0200 cifs-utils (2:5.5-1ubuntu1) quantal; urgency=low * Merge from Debian Unstable (LP: #1015874). Remaining Changes: - debian/control: Demote winbind from Recommends to Suggests. This avoids winbind being pulled onto the cd images, when it's not required. - (LP: #817962) -- Vibhav Pant Thu, 21 Jun 2012 09:07:59 +0530 cifs-utils (2:5.5-1) unstable; urgency=low * New upstream release - Merge all patches, they are all upstream. -- Luk Claes Sun, 03 Jun 2012 19:29:16 +0200 cifs-utils (2:5.4-2ubuntu1) quantal; urgency=low * Merge from debian unstable. Remaining changes: - debian/control: Demote winbind from Recommends to Suggests. This avoids winbind being pulled onto the cd images, when it's not required. - (LP: #817962) -- Dave Walker (Daviey) Thu, 24 May 2012 10:28:54 +0000 cifs-utils (2:5.4-2) unstable; urgency=high * Set mount.cifs setuid again now that upstream took measures (Closes: #673140,#622802,#668137,#572691). * Add __attribute__((unused)) to stop gcc warnings -> errors. -- Luk Claes Fri, 18 May 2012 17:12:38 +0200 cifs-utils (2:5.4-1ubuntu1) quantal; urgency=low * Merge from debian unstable. Remaining changes: - debian/control: Demote winbind from Recommends to Suggests. This avoids winbind being pulled onto the cd images, when it's not required. - (LP: #817962) -- Dave Walker (Daviey) Fri, 18 May 2012 11:24:07 +0100 cifs-utils (2:5.4-1) unstable; urgency=low * New upstream release (Closes: #669327). - Version build dep on libwbclient-dev for wbclient.pc file - Add 01_use_rc.patch to fix building. - Add 02_add_D_FORTIFY_SOURCE.patch to fix building. * Drop smbfs binary package (Closes: #620847). -- Luk Claes Sun, 13 May 2012 18:39:07 +0200 cifs-utils (2:5.3-2) unstable; urgency=high * Drop capabilities instead of having mount.cifs setuid (Closes: #665923). -- Luk Claes Thu, 29 Mar 2012 20:15:27 +0200 cifs-utils (2:5.3-1) unstable; urgency=low * New upstream release - Add manpage for cifscreds - Add /etc/request-key.d configuration -- Luk Claes Sat, 04 Feb 2012 17:10:13 +0100 cifs-utils (2:5.2-1) unstable; urgency=low * New upstream release (Closes: #651580). - Move acltools to /usr/bin. -- Luk Claes Sat, 10 Dec 2011 16:16:19 +0100 cifs-utils (2:5.1-2) unstable; urgency=low * Bump debian/compat to 9 for dpkg-buildflags support. -- Steve Langasek Tue, 25 Oct 2011 04:40:11 +0000 cifs-utils (2:5.1-1ubuntu1) precise; urgency=low * Merge from debian unstable. Remaining changes: - make cifs-utils suggests winbind instead of recommending it. We don't need it on the CD and it's taking multiple MB (LP: #817962) + Dropped: - debian/patches/CVE-2011-1678.patch: Applied upstream. - debian/patches/CVE-2011-2724.patch: Applied upstream. -- Chuck Short Mon, 17 Oct 2011 17:37:35 +0000 cifs-utils (2:5.1-1) unstable; urgency=low * New upstream release. * Install getcifsacl and setcifsacl binaries and manpages -- Luk Claes Sun, 02 Oct 2011 15:42:26 +0200 cifs-utils (2:5.0-1ubuntu2) oneiric; urgency=low * SECURITY UPDATE: mtab corruption via resource limits - debian/patches/CVE-2011-1678.patch: trunk mtab file if updating it failed in mount.cifs.c, mount.h, mtab.c. - CVE-2011-1678 * SECURITY UPDATE: mtab corruption via incorrect new line check - debian/patches/CVE-2011-2724.patch: check proper return codes in mount.cifs.c. - CVE-2011-2724 -- Marc Deslauriers Thu, 29 Sep 2011 14:37:21 -0400 cifs-utils (2:5.0-1ubuntu1) oneiric; urgency=low * debian/control: - make cifs-utils suggests winbind instead of recommending it. We don't need it on the CD and it's taking multiple MB (LP: #817962) -- Didier Roche Mon, 01 Aug 2011 08:05:15 +0200 cifs-utils (2:5.0-1) unstable; urgency=low * New upstream release. Closes: #628880. - mount.cifs: Use original device string all the way. Closes: #620818. * Install cifs.idmap upcall binary and manpage - Add libwbclient-dev to Build-Depends - Add winbind to Recommends * Install cifscreds binary -- Luk Claes Wed, 20 Jul 2011 18:25:39 +0200 cifs-utils (2:4.9-1) unstable; urgency=low [ Luk Claes ] * Add Recommends to keyutils so following DFS links works out of the box. Closes: #504690. * Install README. Closes: #603094. * Add --without-libcap to dh_auto_configure. Closes: #615211. [ Steve Langasek ] * New upstream release. Closes: #600788. - mount.cifs: use original device name as-is for mtab. Closes: #586009, #583508, #589218. -- Luk Claes Sat, 02 Apr 2011 17:10:35 +0200 cifs-utils (2:4.5-2) unstable; urgency=low * Lintian override for the suid-root binary. * Cherry-pick upstream fix for parsing of the cred= argument. Closes: #584104. -- Steve Langasek Fri, 04 Jun 2010 13:33:23 -0700 cifs-utils (2:4.5-1) unstable; urgency=low [ Christian Perrier ] * New upstream release. Closes: #576314. [ Steve Langasek ] * Set mount.cifs suid-root, again supported upstream and required for use in user mounts. Closes: #576713. -- Steve Langasek Mon, 31 May 2010 03:28:42 -0700 cifs-utils (2:4.1-1) unstable; urgency=low * New upstream release. Closes: #575112 - Fixes a segfault when calling mount.cifs. Closes: #574128 * Pass --enable-cifsupcall to configure, to guard against misbuilds. -- Steve Langasek Tue, 23 Mar 2010 23:11:40 -0700 cifs-utils (2:4.0-1) unstable; urgency=low * Initial release, packaging imported from samba source. (Closes: #571969) * Rename binary package from smbfs to cifs-utils, but leave the "smbfs" tools under the smbfs name for later deprecation post-squeeze. * Drop the dependency on netbase, which has no reason given in the changelog and doesn't appear to be needed. * Adjust the language in debian/cifs-utils.NEWS to make clear the consequences of this change, and direct users to alternatives. Closes: #572691. * umount.cifs (and by extension, smbumount) no longer exists upstream, because mount.cifs no longer permits non-root users to mount except by way of the standard /etc/fstab arguments. -- Steve Langasek Tue, 09 Mar 2010 17:20:22 -0800