[Pkg-samba-maint] r3343 - in trunk/cifs-utils: . debian debian/source
bubulle at alioth.debian.org
bubulle at alioth.debian.org
Mon Mar 1 07:47:12 UTC 2010
tags 571969 pending
thanks
Author: bubulle
Date: 2010-03-01 07:47:11 +0000 (Mon, 01 Mar 2010)
New Revision: 3343
Added:
trunk/cifs-utils/debian/
trunk/cifs-utils/debian/changelog
trunk/cifs-utils/debian/cifs-utils.NEWS
trunk/cifs-utils/debian/cifs-utils.dirs
trunk/cifs-utils/debian/cifs-utils.files
trunk/cifs-utils/debian/cifs-utils.install
trunk/cifs-utils/debian/cifs-utils.links
trunk/cifs-utils/debian/cifs-utils.manpages
trunk/cifs-utils/debian/compat
trunk/cifs-utils/debian/control
trunk/cifs-utils/debian/copyright
trunk/cifs-utils/debian/mount.smbfs
trunk/cifs-utils/debian/patches/
trunk/cifs-utils/debian/rules
trunk/cifs-utils/debian/source/
trunk/cifs-utils/debian/source/format
trunk/cifs-utils/debian/watch
Log:
Fir version of the debian directory
Added: trunk/cifs-utils/debian/changelog
===================================================================
--- trunk/cifs-utils/debian/changelog (rev 0)
+++ trunk/cifs-utils/debian/changelog 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,6 @@
+cifs-utils (4.0rc1-1) unstable; urgency=low
+
+ * Initial release. Closes: #571969
+
+ -- Christian Perrier <bubulle at debian.org> Sat, 30 Jan 2010 15:14:36 +0100
+
Added: trunk/cifs-utils/debian/cifs-utils.NEWS
===================================================================
--- trunk/cifs-utils/debian/cifs-utils.NEWS (rev 0)
+++ trunk/cifs-utils/debian/cifs-utils.NEWS 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,12 @@
+cifs-utils (4.0rc1-1) unstable; urgency=low
+
+ * This NEWS file is copies from smbfs because the NEWS is important
+ enough for users upgrading from lenny to squeeze.
+ * As of this version, the mount.cifs binary is no longer setuid.
+ Upstream has always been increasingly unsupportive of this
+ configuration over time. For instance, in bugs like
+ https://bugzilla.samba.org/show_bug.cgi?id=6853, it is clearly
+ mentioned that having it setuid root is discouraged.
+
+ -- Christian Perrier <bubulle at debian.org> Sun, 28 Feb 2010 17:09:00 +0100
+
\ No newline at end of file
Added: trunk/cifs-utils/debian/cifs-utils.dirs
===================================================================
--- trunk/cifs-utils/debian/cifs-utils.dirs (rev 0)
+++ trunk/cifs-utils/debian/cifs-utils.dirs 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1 @@
+sbin
Added: trunk/cifs-utils/debian/cifs-utils.files
===================================================================
--- trunk/cifs-utils/debian/cifs-utils.files (rev 0)
+++ trunk/cifs-utils/debian/cifs-utils.files 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,7 @@
+sbin/mount.smbfs
+sbin/mount.cifs
+sbin/umount.cifs
+usr/sbin/cifs.upcall
+usr/share/man/man8/mount.cifs.8
+usr/share/man/man8/umount.cifs.8
+usr/share/man/man8/cifs.upcall.8
Added: trunk/cifs-utils/debian/cifs-utils.install
===================================================================
--- trunk/cifs-utils/debian/cifs-utils.install (rev 0)
+++ trunk/cifs-utils/debian/cifs-utils.install 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1 @@
+debian/mount.smbfs sbin
Added: trunk/cifs-utils/debian/cifs-utils.links
===================================================================
--- trunk/cifs-utils/debian/cifs-utils.links (rev 0)
+++ trunk/cifs-utils/debian/cifs-utils.links 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,5 @@
+sbin/mount.smbfs usr/bin/smbmount
+sbin/umount.cifs usr/bin/smbumount
+usr/share/man/man8/umount.cifs.8.gz usr/share/man/man8/smbumount.8.gz
+usr/share/man/man8/mount.cifs.8.gz usr/share/man/man8/smbmount.8.gz
+usr/share/man/man8/mount.cifs.8.gz usr/share/man/man8/mount.smbfs.8.gz
Added: trunk/cifs-utils/debian/cifs-utils.manpages
===================================================================
--- trunk/cifs-utils/debian/cifs-utils.manpages (rev 0)
+++ trunk/cifs-utils/debian/cifs-utils.manpages 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,2 @@
+cifs.upcall.8
+mount.cifs.8
Added: trunk/cifs-utils/debian/compat
===================================================================
--- trunk/cifs-utils/debian/compat (rev 0)
+++ trunk/cifs-utils/debian/compat 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1 @@
+7
Added: trunk/cifs-utils/debian/control
===================================================================
--- trunk/cifs-utils/debian/control (rev 0)
+++ trunk/cifs-utils/debian/control 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,29 @@
+Source: cifs-utils
+Section: net
+Priority: optional
+Maintainer: Debian Samba Maintainers <pkg-samba-maint at lists.alioth.debian.org>
+Uploaders: Steve Langasek <vorlon at debian.org>, Christian Perrier <bubulle at debian.org>, Noèl Köthe <noel at debian.org>, Jelmer Vernooij <jelmer at debian.org>
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7), libkrb5-dev, libtalloc-dev, libkeyutils-dev
+Homepage: http://www.samba.org/~jlayton/cifs-utils/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-samba/trunk/cifs-utils/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-samba/trunk/cifs-utils
+
+Package: cifs-utils
+Section: otherosfs
+Priority: optional
+Architecture: any
+Provides: smbfs
+Replaces: smbfs (<< 2:3.4.6~dfsg-1)
+Conflicts: smbfs (<< 2:3.4.6~dfsg-1)
+Depends: ${misc:Depends},${shlibs:Depends}
+Description: utilities for CIFS file systems
+ The CIFS protocol for Unix systems provides support for
+ cross-platform file sharing with Microsoft Windows, OS X, and other
+ Unix systems.
+ .
+ This package provides utilities for mounting and unmounting CIFS
+ network file systems.
+ .
+ These programs were originally part of Samba (distributed in the
+ "smbfs" package), but have now been split off into a separate package.
\ No newline at end of file
Added: trunk/cifs-utils/debian/copyright
===================================================================
--- trunk/cifs-utils/debian/copyright (rev 0)
+++ trunk/cifs-utils/debian/copyright 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,24 @@
+This is the Debian Linux prepackaged version of the CIFS utilities.
+
+This package was put together by Christian Perrier
+<bubulle at debian.org>.
+
+Copyright © 1992-2010 Andrew Tridgell and the Samba Team
+
+ 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; version 3 dated June, 2007.
+
+ 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, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-3'.
Added: trunk/cifs-utils/debian/mount.smbfs
===================================================================
--- trunk/cifs-utils/debian/mount.smbfs (rev 0)
+++ trunk/cifs-utils/debian/mount.smbfs 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,115 @@
+#!/bin/bash
+# Debian mount.smbfs compatibility wrapper
+# Copyright 2007, Steve Langasek <vorlon at debian.org>
+# Licensed under the GNU General Public License, version 2. See the
+# file /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+
+# This script accepts all documented mount options for mount.smbfs,
+# passing through those that are also recognized by mount.cifs,
+# converting those that are not recognized but map to available cifs
+# options, and warning about the use of options for which no equivalent
+# exists.
+
+# known bugs: quoted spaces in arguments are not passed intact
+
+set -e
+
+# reverse the order of username and password in a "username" parameter,
+# taking care to leave any "%password" bit intact
+
+reverse_username_workgroup() {
+ local workgroup password username
+
+ username="$1"
+ case "$username" in
+ *%*) password="${username#*%}"
+ username="${username%%%*}"
+ ;;
+ *) ;;
+ esac
+ case "$username" in
+ */*) workgroup="${username#*/}"
+ username="${username%%/*}"
+ ;;
+ *) ;;
+ esac
+ if [ -n "$workgroup" ]; then
+ username="$workgroup\\$username"
+ fi
+ if [ -n "$password" ]; then
+ username="$username%$password"
+ fi
+ echo "$username"
+}
+
+
+# parse out the mount options that have been specified using -o, and if
+# necessary, convert them for use by mount.cifs
+
+parse_mount_options () {
+ local OLD_IFS IFS options option username
+ OLD_IFS="$IFS"
+ IFS=","
+ options=""
+ workgroup=""
+ password=""
+
+ for option in $@; do
+ case "$option" in
+ sockopt=* | scope=* | codepage=* | ttl=* | debug=*)
+ echo "Warning: ignoring deprecated smbfs option '$option'" >&2
+ ;;
+
+ krb)
+ options="$options${options:+,}sec=krb5"
+ ;;
+
+ guest)
+ echo "Warning: mapping 'guest' to 'guest,sec=none'" >&2
+ options="$options${options:+,}guest,sec=none"
+ ;;
+
+ # username and workgroup are reversed in username= arguments,
+ # so need to be parsed out
+ username=*/*)
+ IFS="$OLD_IFS"
+ username="${option#username=}"
+ username="$(reverse_username_workgroup "$username")"
+ IFS=","
+ options="$options${options:+,}username=$username"
+ ;;
+
+ *)
+ options="$options${options:+,}$option"
+ ;;
+ esac
+ done
+ IFS="$OLD_IFS"
+ echo $options
+}
+
+args=()
+while [ "$#" -gt 0 ]; do
+ case "$1" in
+ -o*)
+ arg=${1#-o}
+ shift
+ if [ -z "$arg" ]; then
+ arg=$1
+ shift
+ fi
+ arg="$(parse_mount_options "$arg")"
+ if [ -n "$arg" ]; then
+ args=("${args[@]}" "-o" "$arg")
+ fi
+ ;;
+ *)
+ args=("${args[@]}" "$1")
+ shift
+ ;;
+ esac
+done
+
+USER="$(reverse_username_workgroup "$USER")"
+
+exec /sbin/mount.cifs "${args[@]}"
Property changes on: trunk/cifs-utils/debian/mount.smbfs
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/cifs-utils/debian/rules
===================================================================
--- trunk/cifs-utils/debian/rules (rev 0)
+++ trunk/cifs-utils/debian/rules 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+ dh $@
Property changes on: trunk/cifs-utils/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/cifs-utils/debian/source/format
===================================================================
--- trunk/cifs-utils/debian/source/format (rev 0)
+++ trunk/cifs-utils/debian/source/format 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/cifs-utils/debian/watch
===================================================================
--- trunk/cifs-utils/debian/watch (rev 0)
+++ trunk/cifs-utils/debian/watch 2010-03-01 07:47:11 UTC (rev 3343)
@@ -0,0 +1,9 @@
+# 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/samba/cifs-utils/cifs-utils-(.*)\.tar.bz2 \
+ debian uupdate
More information about the Pkg-samba-maint
mailing list