--- libnet-sftp-foreign-perl-1.36+dfsg.orig/debian/control +++ libnet-sftp-foreign-perl-1.36+dfsg/debian/control @@ -0,0 +1,25 @@ +Source: libnet-sftp-foreign-perl +Section: perl +Priority: optional +Build-Depends: cdbs, debhelper (>= 6) +Build-Depends-Indep: perl +Maintainer: Debian Perl Group +Uploaders: Alejandro Garrido Mota , + gregor herrmann +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-sftp-foreign-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-sftp-foreign-perl/ +Homepage: http://search.cpan.org/dist/Net-SFTP-Foreign/ + +Package: libnet-sftp-foreign-perl +Architecture: all +Depends: ${perl:Depends}, openssh-client | ssh-client +Description: Net::SFTP::Foreign -- Secure File Transfer Protocol client + Net::SFTP::Foreign is a Perl client for the SFTP. It provides a subset + of the commands listed in the SSH File Transfer Protocol IETF draft, + which can be found at + http://www.openssh.org/txt/draft-ietf-secsh-filexfer-02.txt + . + Net::SFTP::Foreign uses any compatible ssh command installed on + your system (for instance, OpenSSH ssh) to establish the secure + connection to the remote server. --- libnet-sftp-foreign-perl-1.36+dfsg.orig/debian/copyright +++ libnet-sftp-foreign-perl-1.36+dfsg/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Alejandro Garrido Mota +on Tue, 08 Jan 2008 13:26:54 -0430 + +It was downloaded from http://search.cpan.org/dist/Net-SFTP-Foreign/ + +The upstream author is: Salvador Fandino . + +Copyright (c) 2005-2008 Salvador Fandintildeo (sfandino@yahoo.com). +Copyright (c) 2001 Benjamin Trott, Copyright (c) 2003 David Rolsky. + +The _glob_to_regex method based on code (c) 2002 Richard Clamp. + +The non-free RFCs have been removed from the upstream tarball for the +dfsg +version. + +License: + + This library is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + + 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. + + Perl is distributed under your choice of the GNU General Public License or + the Artistic License. + + The complete text of the GNU General Public License can be found in + /usr/share/common-licenses/GPL and the Artistic Licence can be found + in /usr/share/common-licenses/Artistic. + +The Debian packaging is (C) 2008, Alejandro Garrido Mota and +is licensed under the same terms as the software itself (see above). --- libnet-sftp-foreign-perl-1.36+dfsg.orig/debian/README.Debian-source +++ libnet-sftp-foreign-perl-1.36+dfsg/debian/README.Debian-source @@ -0,0 +1,2 @@ +The +dfsg version is created by removing the non-free RFCs from the upstream +tarball. For automating this procedure debian/repack-sh can be used. --- libnet-sftp-foreign-perl-1.36+dfsg.orig/debian/rules +++ libnet-sftp-foreign-perl-1.36+dfsg/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/perlmodule.mk + +install/libnet-sftp-foreign-perl:: + [ ! -d debian/libnet-sftp-foreign-perl/usr/lib/perl5 ] || rmdir --parents --ignore-fail-on-non-empty --verbose debian/libnet-sftp-foreign-perl/usr/lib/perl5 + +get-orig-source: + uscan --verbose --force-download --- libnet-sftp-foreign-perl-1.36+dfsg.orig/debian/changelog +++ libnet-sftp-foreign-perl-1.36+dfsg/debian/changelog @@ -0,0 +1,46 @@ +libnet-sftp-foreign-perl (1.36+dfsg-1) unstable; urgency=low + + * New upstream release. + * debian/copyright: move author information to the top. + * debian/control: + - separate the two paragraphs for easier reading + - change my email address + + -- gregor herrmann Sat, 19 Apr 2008 21:48:24 +0200 + +libnet-sftp-foreign-perl (1.35+dfsg-1) unstable; urgency=low + + * New upstream release. + + -- gregor herrmann Sun, 10 Feb 2008 03:13:41 +0100 + +libnet-sftp-foreign-perl (1.34+dfsg-2) unstable; urgency=low + + * Add a dependency on openssh-client | ssh-client, thanks to Salvador + Fandino (closes: #464216). + * Remove reference to RFCs from long description. + + -- gregor herrmann Wed, 06 Feb 2008 21:50:13 +0100 + +libnet-sftp-foreign-perl (1.34+dfsg-1) unstable; urgency=low + + * debian/control: Changed: Maintainer set to Debian Perl Group (was: Debian Perl Project + ). + * Repackage upstream tarball to exclude non-free RFC documents + (closes: #463934). Add debian/repack.sh for automatic repacking, add + debian/README.Debian-source noting what we are doing, add + get-orig-source target to debian/rules, adapt watch file, mention + removal in debian/copyright. + * debian/watch: extend regexp for matching upstream releases. + * debian/rules: removing /usr/lib/perl5 works better if we spell the + package name correctly. + * Add /me to Uploaders. + + -- gregor herrmann Mon, 04 Feb 2008 18:44:06 +0100 + +libnet-sftp-foreign-perl (1.34-1) unstable; urgency=low + + * Initial Release (packaged by Alejandro Garrido Mota) (Closes: #459864). + + -- Roberto C. Sanchez Thu, 10 Jan 2008 00:11:29 -0500 --- libnet-sftp-foreign-perl-1.36+dfsg.orig/debian/compat +++ libnet-sftp-foreign-perl-1.36+dfsg/debian/compat @@ -0,0 +1 @@ +6 --- libnet-sftp-foreign-perl-1.36+dfsg.orig/debian/watch +++ libnet-sftp-foreign-perl-1.36+dfsg/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/$/+dfsg/" \ +http://search.cpan.org/dist/Net-SFTP-Foreign/ .*/Net-SFTP-Foreign-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian debian/repack.sh --- libnet-sftp-foreign-perl-1.36+dfsg.orig/debian/repack.sh +++ libnet-sftp-foreign-perl-1.36+dfsg/debian/repack.sh @@ -0,0 +1,41 @@ +#!/bin/sh +# Repackage upstream source to exclude non-distributable files +# should be called as "repack sh --upstream-source +# (for example, via uscan) + +set -e +set -u + +FILE=$3 +PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` +VER=`dpkg-parsechangelog|grep ^Version:|sed 's/^Version: //; s/+dfsg-[^-]\+$//'` + +printf "\nRepackaging $FILE\n" + +DIR=`mktemp -d ./tmpRepackXXXXXX` +trap "rm -rf $DIR" QUIT INT EXIT + +tar xzf $FILE -C $DIR + +REPACK=`basename $FILE` + +UP_DIR=`ls -1 $DIR` + +( + set -e + set -u + + cd $DIR + + rm -vrf $UP_DIR/rfc + + sed -i '\,rfc/, D' $UP_DIR/MANIFEST + + REPACK_DIR="$PKG-$VER.orig" + mv $UP_DIR $REPACK_DIR + tar -c $REPACK_DIR | gzip -9 > $REPACK +) + +mv $DIR/$REPACK $FILE + +echo "*** $FILE repackaged"