debian/0000755000000000000000000000000011751457666007210 5ustar debian/control0000644000000000000000000000353711751460247010610 0ustar Source: gesftpserver Section: utils Priority: optional Maintainer: Jonas Smedegaard Build-Depends: cdbs, autotools-dev, automake1.11, autoconf, debhelper, dh-buildinfo, libreadline-dev, python, python-paramiko Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/gesftpserver.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gesftpserver.git Homepage: http://www.greenend.org.uk/rjk/sftpserver/ Package: gesftpserver Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Enhances: openssh-server Description: sftp server submodule for OpenSSH Green End SFTP Server is an SFTP server supporting up to protocol version 6. It is possible to use it as a drop-in replacement for the OpenSSH server (which supports only protocol version 3). . * Protocol versions 3 and higher: * Upload and download files * List files * Create directories and symbolic links * Rename and delete files * Protocol versions 4 and higher: * Filename encoding translation * Text mode transfers * String owner/group names (instead of numeric) * Sub-second timestamps (where supported by server OS) * Protocol versions 5 and higher: * Extended rename semantics (e.g. atomic overwrite) * Protocol versions 6 and higher: * Create hard links * Several SFTP extensions . Features of SFTP protocol versions are listed more detailed at . . Features beyond the v3 set depend on suitable client support. A list of clients and the versions they support is at . . NB! This server is currently experimental and still under development. Don't trust your critical data to it. The code has an extensive and growing test suite (invoke 'make check' to run it) but bugs may yet remain. debian/source/0000755000000000000000000000000011750110404010457 5ustar debian/source/format0000644000000000000000000000001411750110404011665 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000122511751457666011062 0ustar gesftpserver (0.1-3) unstable; urgency=low * Extend long description further, referencing upstream documentation. -- Jonas Smedegaard Sun, 06 May 2012 13:22:17 +0200 gesftpserver (0.1-2) unstable; urgency=low * Create m4 dir (apparently aclocal in Squeeze cannot do that itself). * Improve long description to clarify benefit over stock OpenSSH SFTP. Thanks to Russ Allbery and Bastian Blank. -- Jonas Smedegaard Sun, 06 May 2012 00:57:38 +0200 gesftpserver (0.1-1) unstable; urgency=low * Initial packaging release. Closes: bug#671130. -- Jonas Smedegaard Wed, 02 May 2012 03:24:36 +0200 debian/README.source0000644000000000000000000000361311750110404011341 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/compat0000644000000000000000000000000211750110404010355 0ustar 7 debian/watch0000644000000000000000000000022111750110404010203 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://www.greenend.org.uk/rjk/sftpserver/sftpserver-(\d.*)\.tar\.gz debian/copyright_hints0000644000000000000000000000623711750110404012327 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch rotests/rotest3456 rotests/rotest56 rotests/rotest6 testing.txt tests/badpacket3456 tests/badpacket456 tests/badpath45 tests/badpath6 tests/cd3456 tests/chmod3 tests/chmod45 tests/chmod6 tests/df3456 tests/filetype3456 tests/isdir345 tests/isdir6 tests/link345 tests/link6 tests/local3456 tests/ls3 tests/ls4 tests/ls5 tests/ls6 tests/mkdir3456 tests/nosuchpath3 tests/nosuchpath456 tests/open3456 tests/open56 tests/posix-rename3456 tests/readlink3 tests/readlink45 tests/readlink6 tests/realpath3456 tests/realpath6 tests/reinit3456 tests/remove3456 tests/rename3 tests/rename4 tests/rename56 tests/rmdir345 tests/rmdir6 tests/split3456 tests/symlink3 tests/symlink456 tests/text456 tests/textseek456 tests/textupload3 tests/textupload456 tests/truncate3456 tests/unsupported3456 tests/upload3456 tests/version2 tests/version2~ tests/version3 tests/version4 tests/version5 tests/version67 tests/vsel6bad tests/vsel6five tests/vsel6four tests/vsel6mistimed tests/vsel6six tests/vsel6three Copyright: *No copyright* License: UNKNOWN FIXME Files: Makefile.am README acinclude.m4 alloc.c alloc.h charset.c charset.h debug.c debug.h dirname.c futimes.c getcwd.c globals.c globals.h handle.c handle.h parse.c parse.h putword.h queue.c queue.h readlink.c readwrite.c realpath.c run-tests send.c send.h serialize.c serialize.h sftp.h sftpclient.c sftpclient.h sftpcommon.h sftpserver.c sftpserver.h stat.c stat.h status.c thread.h types.h users.c users.h utils.c utils.h v3.c v4.c v5.c v6.c xfns.c xfns.h Copyright: 2007, 2009, 2011, Richard Kettlewell 2007, 2009-2011, Richard Kettlewell 2007, 2010-2011, Richard Kettlewell 2007, 2011 Richard Kettlewell 2007, Richard Kettlewell License: GPL-2+ FIXME Files: getopt.c getopt1.c Copyright: 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 1987,88,89,90,91,92,93,94,96,97,98 License: LGPL-2+ FIXME Files: daemon.c Copyright: 1990, 1993 License: BSD (3 clause) FIXME Files: format-gconv-report Copyright: 2007, Richard Kettlewell < 32 or ord > 126: License: GPL-2+ FIXME Files: COPYING Copyright: 1989, 1991 Free Software Foundation, Inc. HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR HOLDERS AND/OR OTHER PARTIES disclaimer" for the program, if holder saying it may be distributed holder who places the Program under this License interest in the program law: the software, and year name of author License: GPL-2+ FIXME Files: debian/rules Copyright: 2012, Jonas Smedegaard License: GPL-2+ FIXME Files: getopt.h Copyright: 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc License: LGPL-2+ FIXME Files: INSTALL Copyright: 1994-1996, 1999-2002, 2004-2005 License: UNKNOWN FIXME Files: gesftpserver.8.in Copyright: 2007, 2011 Richard Kettlewell License: UNKNOWN FIXME debian/copyright0000644000000000000000000000624211750110404011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Green End SFTP Server Upstream-Contact: https://github.com/ewxrjk/sftpserver/issues Source: http://www.greenend.org.uk/rjk/sftpserver/ https://github.com/ewxrjk/sftpserver Files: * Copyright: 2007,2009-2011, Richard Kettlewell License: GPL-2+ Files: getopt* Copyright: 1987-2000, Free Software Foundation, Inc. License: LGPL-2+~C Files: daemon.c Copyright: 1990, 1993 License: BSD-3-Clause~Regents~4 Files: debian/* Copyright: 2012, Jonas Smedegaard License: GPL-2+ License: GPL-2+ 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 2, or (at your option) any later version. Comment: On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . License: LGPL-2+~C The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . The GNU C 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 Library General Public License for more details. Comment: On Debian systems the 'GNU Library General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. License: BSD-3-Clause~Regents~4 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/gbp.conf0000644000000000000000000000014611750110404010577 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000623711750110404010247 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2012 Jonas Smedegaard # Description: Main Debian packaging script for Green End SFTP Server # # 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 2, 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 . DEB_AUTO_UPDATE_AUTOCONF = 2.67 DEB_AUTO_UPDATE_AUTOHEADER = 2.67 DEB_AUTO_UPDATE_ACLOCAL = 1.11 DEB_AUTO_UPDATE_AUTOMAKE = 1.11 -include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk # suppress optional build-dependencies CDBS_BUILD_DEPENDS_rules_upstream-tarball = CDBS_BUILD_DEPENDS_rules_utils_copyright-check = DEB_UPSTREAM_PACKAGE = sftpserver DEB_UPSTREAM_URL = http://www.greenend.org.uk/rjk/sftpserver DEB_UPSTREAM_TARBALL_MD5 = 367e2e465e13a748ee8dfee974ca68fc # Needed by upstream build process CDBS_BUILD_DEPENDS += , libreadline-dev # Needed by upstream regresssion testing CDBS_BUILD_DEPENDS += , python, python-paramiko # Preserve upstream shipped cruft DEB_CLEAN_EXCLUDE = tests/version2~ # ignore files unused during build DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^Makefile.in|aclocal.m4|configure|config.h.in|config\.aux/.*|debian/(changelog|copyright(|_hints|_newhints))$ # We use autotools too modern for default CDBS DEB_CONFIGURE_LIBEXECDIR = /usr/lib DEB_MAKE_CHECK_TARGET = check # Some regression tests fail if ls output is localized $(cdbs_make_check_stamps) : export LC_MESSAGES=C # put aside autogenerated files during build # TODO: use DEB_UPSTREAM_CRUFT_MOVE when cdbs 0.4.106 is in stable upstreamtmpstuff = Makefile.in aclocal.m4 configure config.h.in upstreamtmpstuff += $(patsubst %,config.aux/%,config.guess config.sub depcomp install-sh missing) pre-build:: debian/upstream-stuff debian/upstream-stuff: debian/stamp-copyright-check mkdir -p debian/upstream-stuff @for orig in $(upstreamtmpstuff); do \ backup="debian/upstream-stuff/$$orig"; \ [ ! -e "$$orig" ] || [ -e "$$backup" ] || { \ mkdir -p "$$(dirname "$$backup")"; \ echo mv "$$orig" "$$backup"; \ mv "$$orig" "$$backup"; \ }; \ done clean:: @for orig in $(upstreamtmpstuff); do \ backup="debian/upstream-stuff/$$orig"; \ if [ -e "$$backup" ]; then \ if [ -e "$$orig" ]; then \ echo "rm -rf" "$$orig"; \ rm -rf "$$orig"; \ fi; \ echo mv "$$backup" "$$orig"; \ mv "$$backup" "$$orig"; \ fi; \ done rm -rf debian/upstream-stuff # (re)generate most possible autotools files DEB_ACLOCAL_ARGS = -Im4 --install --force DEB_AUTOMAKE_ARGS = --add-missing --copy --foreign --force DEB_MAKE_CLEAN_TARGET = distclean makebuilddir:: mkdir -p m4 clean:: rm -rf m4 debian/control.in0000644000000000000000000000335711751457224011216 0ustar Source: gesftpserver Section: utils Priority: optional Maintainer: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/gesftpserver.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gesftpserver.git Homepage: http://www.greenend.org.uk/rjk/sftpserver/ Package: gesftpserver Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Enhances: openssh-server Description: sftp server submodule for OpenSSH Green End SFTP Server is an SFTP server supporting up to protocol version 6. It is possible to use it as a drop-in replacement for the OpenSSH server (which supports only protocol version 3). . * Protocol versions 3 and higher: * Upload and download files * List files * Create directories and symbolic links * Rename and delete files * Protocol versions 4 and higher: * Filename encoding translation * Text mode transfers * String owner/group names (instead of numeric) * Sub-second timestamps (where supported by server OS) * Protocol versions 5 and higher: * Extended rename semantics (e.g. atomic overwrite) * Protocol versions 6 and higher: * Create hard links * Several SFTP extensions . Features of SFTP protocol versions are listed more detailed at . . Features beyond the v3 set depend on suitable client support. A list of clients and the versions they support is at . . NB! This server is currently experimental and still under development. Don't trust your critical data to it. The code has an extensive and growing test suite (invoke 'make check' to run it) but bugs may yet remain.