debian/0000755000000000000000000000000012066426145007174 5ustar debian/rules0000755000000000000000000000030512066426145010252 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installman: dh_installman $(RM) -v $(TMP)/usr/share/man/man3/File::config.3pm debian/control0000644000000000000000000000177212066426145010606 0ustar Source: libfile-rsync-perl Maintainer: Debian Perl Group Uploaders: Ivan Kohler , Xavier Guimard Section: perl Priority: optional Build-Depends: debhelper (>= 8), Build-Depends-Indep: rsync, perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libfile-rsync-perl.git Vcs-Git: git://git.debian.org/pkg-perl/packages/libfile-rsync-perl.git Homepage: http://search.cpan.org/dist/File-Rsync/ Package: libfile-rsync-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, rsync Description: Perl module interface to rsync File::Rsync provides a convenience wrapper for the rsync program. Options may be passed in the form of a hash and are the same as the long options in rsync with the leading double-dash removed. Any options passed at creation are stored in the object as defaults for all future exec calls on that object. debian/source/0000755000000000000000000000000012066426145010474 5ustar debian/source/format0000644000000000000000000000001412066426145011702 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000417312066426145011053 0ustar libfile-rsync-perl (0.43-1) unstable; urgency=low * Take over for the Debian Perl Group on maintainer's request (http://bugs.debian.org/677732#10) * Imported Upstream version 0.43 (Closes: #694718) * Update source format to 3.0 (quilt) * Bump Standards-Version to 3.9.4 * Bump debhelper compatibility to 8 * Update debian/copyright (years and format) * Replace old Debian diff by patch (non intercative path for rsync) * Delete unneeded files introduced by old debian.diff (Makefile, Makefile.old and config.pm) * Update debian/rules to use "dh $@" * Add patch to install libs in libdir instead of archdir * Add override_dh_installman to remove empty man page * Update description * Add rsync in dependencies -- Xavier Guimard Tue, 25 Dec 2012 18:35:23 +0100 libfile-rsync-perl (0.42-2) unstable; urgency=low * Update watch file (closes: Bug#449885) -- Ivan Kohler Wed, 07 Nov 2007 13:22:25 -0800 libfile-rsync-perl (0.42-1) unstable; urgency=low * New upstream release (Closes: Bug#329539) -- Ivan Kohler Thu, 22 Sep 2005 05:41:28 -0700 libfile-rsync-perl (0.36-1) unstable; urgency=low * New upstream release -- Ivan Kohler Fri, 21 Jan 2005 18:20:27 -0800 libfile-rsync-perl (0.34-1) unstable; urgency=low * New upstream release * Add watch file for uscan * Hack makepm.PL for non-interactive build -- Ivan Kohler Sun, 17 Oct 2004 19:11:23 -0700 libfile-rsync-perl (0.33-1) unstable; urgency=low * New upstream release * Change Section: from interpreters to perl * debhelper compat v4 -- Ivan Kohler Sat, 7 Aug 2004 20:43:44 -0700 libfile-rsync-perl (0.22-1) unstable; urgency=low * New upstream release * debian/copyright pedantry (closes: Bug#153336, Bug#153377) * binary-arch vs. binary-indep (closes: Bug#153352) -- Ivan Kohler Sat, 7 Sep 2002 05:34:02 -0700 libfile-rsync-perl (0.20-1) unstable; urgency=low * Initial Release (closes: Bug#147785). -- Ivan Kohler Wed, 22 May 2002 07:54:35 -0700 debian/compat0000644000000000000000000000000212066426145010372 0ustar 8 debian/patches/0000755000000000000000000000000012066426145010623 5ustar debian/patches/non-interactive-path-for-rsync.patch0000644000000000000000000000437612066426145017635 0ustar Description: Non interactive path for rsync Author: Ivan Kohler Forwarded: not-needed Reviewed-By: Xavier Guimard Last-Update: 2012-12-25 --- a/makepm.PL +++ b/makepm.PL @@ -1,32 +1,37 @@ # makepm.PL -- Builds Rsync.pm from Rsync.in. -*- perl -*- -sub find_rsync { - my @dirs = map { s/^$/./; $_ } split (':', $ENV{PATH}); - push (@dirs, qw(/usr/local/bin /usr/bin /opt/bin)); - for my $dir (@dirs) { - next unless -d $dir; - next unless -x "$dir/rsync"; - return "$dir/rsync"; - } -} -$|=1; -$RSYNC=&find_rsync; -print <<'EOT'; -File::Rsync needs to know the path to the rsync binary. This path is encoded -in the installed module as the default path to rsync (it can be overridden -at runtime). Please enter the full path to the rsync program or just hit -Enter if the guess is correct. (If you always want the module to depend on -the $PATH environment variable at runtime, just set the path to 'rsync' -(this is not recommended)). +#sub find_rsync { +# my @dirs = map { s/^$/./; $_ } split (':', $ENV{PATH}); +# push (@dirs, qw(/usr/local/bin /usr/bin /opt/bin)); +# for my $dir (@dirs) { +# next unless -d $dir; +# next unless -x "$dir/rsync"; +# return "$dir/rsync"; +# } +#} +#$|=1; +#$RSYNC=&find_rsync; +#print <<'EOT'; +# +#File::Rsync needs to know the path to the rsync binary. This path is encoded +#in the installed module as the default path to rsync (it can be overridden +#at runtime). Please enter the full path to the rsync program or just hit +#Enter if the guess is correct. (If you always want the module to depend on +#the $PATH environment variable at runtime, just set the path to 'rsync' +#(this is not recommended)). +# +#EOT +#$RSYNC||='/usr/local/bin/rsync'; +#print "Path to rsync [$RSYNC]: "; +#my $ans=; +#chomp $ans; +#$RSYNC=$ans || $RSYNC; +#$RSYNC=~s/\\/\\\\/g; +#$RSYNC=~s/\'/\\\'/g; + +#hardcode for non-interactive build +$RSYNC = '/usr/bin/rsync'; -EOT -$RSYNC||='/usr/local/bin/rsync'; -print "Path to rsync [$RSYNC]: "; -my $ans=; -chomp $ans; -$RSYNC=$ans || $RSYNC; -$RSYNC=~s/\\/\\\\/g; -$RSYNC=~s/\'/\\\'/g; open IN,'config.in' or die "Cannot read config.in: $!\n"; open OUT,'>config.pm' or die "Cannot write config.pm: $!\n"; while () { debian/patches/series0000644000000000000000000000010212066426145012031 0ustar non-interactive-path-for-rsync.patch install-libs-in-libdir.patch debian/patches/install-libs-in-libdir.patch0000644000000000000000000000132112066426145016105 0ustar Description: Install libs in LIBDIR instead of ARCHDIR Author: Xavier Guimard Bug: https://rt.cpan.org/Ticket/Display.html?id=82221 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=82221 Last-Update: 2012-12-25 --- a/Makefile.PL +++ b/Makefile.PL @@ -19,7 +19,7 @@ PREREQ_PM => { 'Scalar::Util' => 0 }, PL_FILES => { 'makepm.PL' => 'config.pm' }, PM => { 'Rsync.pm' => '$(INST_LIB)/File/Rsync.pm', - 'config.pm' => '$(INST_ARCHLIB)/File/Rsync/Config.pm' }, + 'config.pm' => '$(INST_LIB)/File/Rsync/Config.pm' }, dist => { COMPRESS => 'gzip', SUFFIX => 'gz' }, realclean => { FILES => 'config.pm' }, ); debian/copyright0000644000000000000000000000211412066426145011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: File-Rsync Source: http://search.cpan.org/dist/File-Rsync/ Upstream-Contact: Lee Eakin Files: * Copyright: 1999-2005, Lee Eakin License: Artistic or GPL-1+ Files: debian/* Copyright: 2002-2007, Ivan Kohler 2012, Xavier Guimard License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ 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 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000023712066426145010227 0ustar # format version number, currently 2; this line is compulsory! version=3 http://search.cpan.org/dist/File-Rsync/ .*/File-Rsync-([\.\d]+)\.(?:tar\.gz|tar|tgz)$