diff -Nru libfile-rsync-perl-0.42/Changelog libfile-rsync-perl-0.43/Changelog --- libfile-rsync-perl-0.42/Changelog 2005-06-25 02:24:59.000000000 +0000 +++ libfile-rsync-perl-0.43/Changelog 2009-08-18 16:20:25.000000000 +0000 @@ -1,10 +1,25 @@ +Tue Aug 18 10:56:10 CDT 2009 ( leakin at dfw dot nostrum dot com ) + + * version 0.43: Gavin Carr ( gavin at openfusion dot com dot au ) + sent a patch to make include-from and exclude-from allow multiple + arguments. This oversight was a misunderstanding on my part as to + how these actually work. Many thanks to Gavin for correcting my + preception in the form of a very helpful patch. + + also added support for new options in 2.6.7 + + removed 1 second sleep based on Petya Kohts testing ( kohts at + yandex-team dot ru ) as this is un-needed paranoia + + added test to check for rsync binary in configured location + Fri Jun 24 21:11:04 CDT 2005 ( leakin at dfw dot nostrum dot com ) * version 0.42: added Scalar::Util as a required module since it was - not part of core before perl 5.8 (sorry). Also changed build-name for - the config file so it will not clobber perl's Config.pm for odd - @INC orders. Thanks again to Simon Myers (Smylers at stripey dot com ) - for pointing out the potential problem. + not part of core before perl 5.8 (sorry). Also changed build-name for + the config file so it will not clobber perl's Config.pm for odd + @INC orders. Thanks again to Simon Myers (Smylers at stripey dot com ) + for pointing out the potential problem. Tue May 24 11:28:43 CDT 2005 ( leakin at dfw dot nostrum dot com ) diff -Nru libfile-rsync-perl-0.42/META.yml libfile-rsync-perl-0.43/META.yml --- libfile-rsync-perl-0.42/META.yml 2005-06-25 02:27:59.000000000 +0000 +++ libfile-rsync-perl-0.43/META.yml 2009-08-18 16:20:45.000000000 +0000 @@ -1,11 +1,20 @@ -# http://module-build.sourceforge.net/META-spec.html -#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# -name: File-Rsync -version: 0.42 -version_from: Rsync.pm -installdirs: site +--- #YAML:1.0 +name: File-Rsync +version: 0.43 +abstract: Wrapper module for rsync(1) http://rsync.samba.org/ +author: + - Lee Eakin +license: unknown +distribution_type: module +configure_requires: + ExtUtils::MakeMaker: 0 requires: - Scalar::Util: 0 - -distribution_type: module -generated_by: ExtUtils::MakeMaker version 6.17 + Scalar::Util: 0 +no_index: + directory: + - t + - inc +generated_by: ExtUtils::MakeMaker version 6.48 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 diff -Nru libfile-rsync-perl-0.42/Makefile libfile-rsync-perl-0.43/Makefile --- libfile-rsync-perl-0.42/Makefile 2012-12-26 05:48:17.000000000 +0000 +++ libfile-rsync-perl-0.43/Makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,788 +0,0 @@ -# This Makefile is for the File::Rsync extension to perl. -# -# It was generated automatically by MakeMaker version -# 6.30_01 (Revision: Revision: 4535 ) from the contents of -# Makefile.PL. Don't edit this file, edit Makefile.PL instead. -# -# ANY CHANGES MADE HERE WILL BE LOST! -# -# MakeMaker ARGV: (q[INSTALLDIRS=vendor]) -# -# MakeMaker Parameters: - -# ABSTRACT => q[Wrapper module for rsync(1) http://rsync.samba.org/] -# AUTHOR => q[Lee Eakin ] -# DISTNAME => q[File-Rsync] -# NAME => q[File::Rsync] -# PL_FILES => { makepm.PL=>q[config.pm] } -# PM => { config.pm=>q[$(INST_ARCHLIB)/File/Rsync/Config.pm], Rsync.pm=>q[$(INST_LIB)/File/Rsync.pm] } -# PREREQ_PM => { Scalar::Util=>q[0] } -# VERSION_FROM => q[Rsync.pm] -# dist => { COMPRESS=>q[gzip], SUFFIX=>q[gz] } -# realclean => { FILES=>q[config.pm] } - -# --- MakeMaker post_initialize section: - - -# --- MakeMaker const_config section: - -# These definitions are from config.sh (via /usr/lib/perl/5.8/Config.pm) - -# They may have been overridden via Makefile.PL or on the command line -AR = ar -CC = cc -CCCDLFLAGS = -fPIC -CCDLFLAGS = -Wl,-E -DLEXT = so -DLSRC = dl_dlopen.xs -LD = cc -LDDLFLAGS = -shared -L/usr/local/lib -LDFLAGS = -L/usr/local/lib -LIBC = /lib/libc-2.6.1.so -LIB_EXT = .a -OBJ_EXT = .o -OSNAME = linux -OSVERS = 2.6.17-2-vserver-amd64 -RANLIB = : -SITELIBEXP = /usr/local/share/perl/5.8.8 -SITEARCHEXP = /usr/local/lib/perl/5.8.8 -SO = so -EXE_EXT = -FULL_AR = /usr/bin/ar -VENDORARCHEXP = /usr/lib/perl5 -VENDORLIBEXP = /usr/share/perl5 - - -# --- MakeMaker constants section: -AR_STATIC_ARGS = cr -DIRFILESEP = / -DFSEP = $(DIRFILESEP) -NAME = File::Rsync -NAME_SYM = File_Rsync -VERSION = 0.42 -VERSION_MACRO = VERSION -VERSION_SYM = 0_42 -DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\" -XS_VERSION = 0.42 -XS_VERSION_MACRO = XS_VERSION -XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\" -INST_ARCHLIB = blib/arch -INST_SCRIPT = blib/script -INST_BIN = blib/bin -INST_LIB = blib/lib -INST_MAN1DIR = blib/man1 -INST_MAN3DIR = blib/man3 -MAN1EXT = 1p -MAN3EXT = 3pm -INSTALLDIRS = vendor -DESTDIR = -PREFIX = /usr -PERLPREFIX = $(PREFIX) -SITEPREFIX = $(PREFIX)/local -VENDORPREFIX = $(PREFIX) -INSTALLPRIVLIB = $(PERLPREFIX)/share/perl/5.8 -DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB) -INSTALLSITELIB = $(SITEPREFIX)/share/perl/5.8.8 -DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB) -INSTALLVENDORLIB = $(VENDORPREFIX)/share/perl5 -DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB) -INSTALLARCHLIB = $(PERLPREFIX)/lib/perl/5.8 -DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB) -INSTALLSITEARCH = $(SITEPREFIX)/lib/perl/5.8.8 -DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH) -INSTALLVENDORARCH = $(VENDORPREFIX)/lib/perl5 -DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH) -INSTALLBIN = $(PERLPREFIX)/bin -DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN) -INSTALLSITEBIN = $(SITEPREFIX)/bin -DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN) -INSTALLVENDORBIN = $(VENDORPREFIX)/bin -DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN) -INSTALLSCRIPT = $(PERLPREFIX)/bin -DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT) -INSTALLSITESCRIPT = $(SITEPREFIX)/bin -DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT) -INSTALLVENDORSCRIPT = $(VENDORPREFIX)/bin -DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT) -INSTALLMAN1DIR = $(PERLPREFIX)/share/man/man1 -DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR) -INSTALLSITEMAN1DIR = $(SITEPREFIX)/man/man1 -DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR) -INSTALLVENDORMAN1DIR = $(VENDORPREFIX)/share/man/man1 -DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR) -INSTALLMAN3DIR = $(PERLPREFIX)/share/man/man3 -DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR) -INSTALLSITEMAN3DIR = $(SITEPREFIX)/man/man3 -DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR) -INSTALLVENDORMAN3DIR = $(VENDORPREFIX)/share/man/man3 -DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR) -PERL_LIB = /usr/share/perl/5.8 -PERL_ARCHLIB = /usr/lib/perl/5.8 -LIBPERL_A = libperl.a -FIRST_MAKEFILE = Makefile -MAKEFILE_OLD = Makefile.old -MAKE_APERL_FILE = Makefile.aperl -PERLMAINCC = $(CC) -PERL_INC = /usr/lib/perl/5.8/CORE -PERL = /usr/bin/perl -FULLPERL = /usr/bin/perl -ABSPERL = $(PERL) -PERLRUN = $(PERL) -FULLPERLRUN = $(FULLPERL) -ABSPERLRUN = $(ABSPERL) -PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" -FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" -ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" -PERL_CORE = 0 -PERM_RW = 644 -PERM_RWX = 755 - -MAKEMAKER = /usr/share/perl/5.8/ExtUtils/MakeMaker.pm -MM_VERSION = 6.30_01 -MM_REVISION = Revision: 4535 - -# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle). -# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle) -# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar) -# DLBASE = Basename part of dynamic library. May be just equal BASEEXT. -FULLEXT = File/Rsync -BASEEXT = Rsync -PARENT_NAME = File -DLBASE = $(BASEEXT) -VERSION_FROM = Rsync.pm -OBJECT = -LDFROM = $(OBJECT) -LINKTYPE = dynamic -BOOTDEP = - -# Handy lists of source code files: -XS_FILES = -C_FILES = -O_FILES = -H_FILES = -MAN1PODS = -MAN3PODS = Rsync.pm - -# Where is the Config information that we are using/depend on -CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h - -# Where to build things -INST_LIBDIR = $(INST_LIB)/File -INST_ARCHLIBDIR = $(INST_ARCHLIB)/File - -INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT) -INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT) - -INST_STATIC = -INST_DYNAMIC = -INST_BOOT = - -# Extra linker info -EXPORT_LIST = -PERL_ARCHIVE = -PERL_ARCHIVE_AFTER = - - -TO_INST_PM = Rsync.pm \ - config.pm - -PM_TO_BLIB = config.pm \ - $(INST_ARCHLIB)/File/Rsync/Config.pm \ - Rsync.pm \ - $(INST_LIB)/File/Rsync.pm - - -# --- MakeMaker platform_constants section: -MM_Unix_VERSION = 1.50_01 -PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc - - -# --- MakeMaker tool_autosplit section: -# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto -AUTOSPLITFILE = $(ABSPERLRUN) -e 'use AutoSplit; autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)' - - - -# --- MakeMaker tool_xsubpp section: - - -# --- MakeMaker tools_other section: -SHELL = /bin/sh -CHMOD = chmod -CP = cp -MV = mv -NOOP = $(SHELL) -c true -NOECHO = @ -RM_F = rm -f -RM_RF = rm -rf -TEST_F = test -f -TOUCH = touch -UMASK_NULL = umask 0 -DEV_NULL = > /dev/null 2>&1 -MKPATH = $(ABSPERLRUN) "-MExtUtils::Command" -e mkpath -EQUALIZE_TIMESTAMP = $(ABSPERLRUN) "-MExtUtils::Command" -e eqtime -ECHO = echo -ECHO_N = echo -n -UNINST = 0 -VERBINST = 0 -MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install({@ARGV}, '\''$(VERBINST)'\'', 0, '\''$(UNINST)'\'');' -DOC_INSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e perllocal_install -UNINSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e uninstall -WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist -MACROSTART = -MACROEND = -USEMAKEFILE = -f -FIXIN = $(PERLRUN) "-MExtUtils::MY" -e "MY->fixin(shift)" - - -# --- MakeMaker makemakerdflt section: -makemakerdflt: all - $(NOECHO) $(NOOP) - - -# --- MakeMaker dist section: -TAR = tar -TARFLAGS = cvf -ZIP = zip -ZIPFLAGS = -r -COMPRESS = gzip -SUFFIX = gz -SHAR = shar -PREOP = $(NOECHO) $(NOOP) -POSTOP = $(NOECHO) $(NOOP) -TO_UNIX = $(NOECHO) $(NOOP) -CI = ci -u -RCS_LABEL = rcs -Nv$(VERSION_SYM): -q -DIST_CP = best -DIST_DEFAULT = tardist -DISTNAME = File-Rsync -DISTVNAME = File-Rsync-0.42 - - -# --- MakeMaker macro section: - - -# --- MakeMaker depend section: - - -# --- MakeMaker cflags section: - - -# --- MakeMaker const_loadlibs section: - - -# --- MakeMaker const_cccmd section: - - -# --- MakeMaker post_constants section: - - -# --- MakeMaker pasthru section: - -PASTHRU = LIBPERL_A="$(LIBPERL_A)"\ - LINKTYPE="$(LINKTYPE)"\ - PREFIX="$(PREFIX)" - - -# --- MakeMaker special_targets section: -.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT) - -.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir - - - -# --- MakeMaker c_o section: - - -# --- MakeMaker xs_c section: - - -# --- MakeMaker xs_o section: - - -# --- MakeMaker top_targets section: -all :: pure_all manifypods - $(NOECHO) $(NOOP) - - -pure_all :: config pm_to_blib subdirs linkext - $(NOECHO) $(NOOP) - -subdirs :: $(MYEXTLIB) - $(NOECHO) $(NOOP) - -config :: $(FIRST_MAKEFILE) blibdirs - $(NOECHO) $(NOOP) - -help : - perldoc ExtUtils::MakeMaker - - -# --- MakeMaker blibdirs section: -blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists - $(NOECHO) $(NOOP) - -# Backwards compat with 6.18 through 6.25 -blibdirs.ts : blibdirs - $(NOECHO) $(NOOP) - -$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL - $(NOECHO) $(MKPATH) $(INST_LIBDIR) - $(NOECHO) $(CHMOD) 755 $(INST_LIBDIR) - $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists - -$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL - $(NOECHO) $(MKPATH) $(INST_ARCHLIB) - $(NOECHO) $(CHMOD) 755 $(INST_ARCHLIB) - $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists - -$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL - $(NOECHO) $(MKPATH) $(INST_AUTODIR) - $(NOECHO) $(CHMOD) 755 $(INST_AUTODIR) - $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists - -$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL - $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR) - $(NOECHO) $(CHMOD) 755 $(INST_ARCHAUTODIR) - $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists - -$(INST_BIN)$(DFSEP).exists :: Makefile.PL - $(NOECHO) $(MKPATH) $(INST_BIN) - $(NOECHO) $(CHMOD) 755 $(INST_BIN) - $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists - -$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL - $(NOECHO) $(MKPATH) $(INST_SCRIPT) - $(NOECHO) $(CHMOD) 755 $(INST_SCRIPT) - $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists - -$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL - $(NOECHO) $(MKPATH) $(INST_MAN1DIR) - $(NOECHO) $(CHMOD) 755 $(INST_MAN1DIR) - $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists - -$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL - $(NOECHO) $(MKPATH) $(INST_MAN3DIR) - $(NOECHO) $(CHMOD) 755 $(INST_MAN3DIR) - $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists - - - -# --- MakeMaker linkext section: - -linkext :: $(LINKTYPE) - $(NOECHO) $(NOOP) - - -# --- MakeMaker dlsyms section: - - -# --- MakeMaker dynamic section: - -dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT) - $(NOECHO) $(NOOP) - - -# --- MakeMaker dynamic_bs section: - -BOOTSTRAP = - - -# --- MakeMaker dynamic_lib section: - - -# --- MakeMaker static section: - -## $(INST_PM) has been moved to the all: target. -## It remains here for awhile to allow for old usage: "make static" -static :: $(FIRST_MAKEFILE) $(INST_STATIC) - $(NOECHO) $(NOOP) - - -# --- MakeMaker static_lib section: - - -# --- MakeMaker manifypods section: - -POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--" -POD2MAN = $(POD2MAN_EXE) - - -manifypods : pure_all \ - Rsync.pm \ - Rsync.pm - $(NOECHO) $(POD2MAN) --section=$(MAN3EXT) --perm_rw=$(PERM_RW) \ - Rsync.pm $(INST_MAN3DIR)/File::Rsync.$(MAN3EXT) - - - - -# --- MakeMaker processPL section: - -all :: config.pm - $(NOECHO) $(NOOP) - -config.pm :: makepm.PL - $(PERLRUNINST) makepm.PL config.pm - - -# --- MakeMaker installbin section: - - -# --- MakeMaker subdirs section: - -# none - -# --- MakeMaker clean_subdirs section: -clean_subdirs : - $(NOECHO) $(NOOP) - - -# --- MakeMaker clean section: - -# Delete temporary files but do not touch installed files. We don't delete -# the Makefile here so a later make realclean still has a makefile to use. - -clean :: clean_subdirs - - $(RM_F) \ - *$(LIB_EXT) core \ - core.[0-9] $(INST_ARCHAUTODIR)/extralibs.all \ - core.[0-9][0-9] $(BASEEXT).bso \ - pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \ - $(BASEEXT).x $(BOOTSTRAP) \ - perl$(EXE_EXT) tmon.out \ - *$(OBJ_EXT) pm_to_blib \ - $(INST_ARCHAUTODIR)/extralibs.ld blibdirs.ts \ - core.[0-9][0-9][0-9][0-9][0-9] *perl.core \ - core.*perl.*.? $(MAKE_APERL_FILE) \ - perl $(BASEEXT).def \ - core.[0-9][0-9][0-9] mon.out \ - lib$(BASEEXT).def perlmain.c \ - perl.exe so_locations \ - $(BASEEXT).exp - - $(RM_RF) \ - blib - - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL) - - -# --- MakeMaker realclean_subdirs section: -realclean_subdirs : - $(NOECHO) $(NOOP) - - -# --- MakeMaker realclean section: -# Delete temporary files (via clean) and also delete dist files -realclean purge :: clean realclean_subdirs - - $(RM_F) \ - $(MAKEFILE_OLD) $(FIRST_MAKEFILE) - - $(RM_RF) \ - config.pm $(DISTVNAME) - - -# --- MakeMaker metafile section: -metafile : create_distdir - $(NOECHO) $(ECHO) Generating META.yml - $(NOECHO) $(ECHO) '# http://module-build.sourceforge.net/META-spec.html' > META_new.yml - $(NOECHO) $(ECHO) '#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#' >> META_new.yml - $(NOECHO) $(ECHO) 'name: File-Rsync' >> META_new.yml - $(NOECHO) $(ECHO) 'version: 0.42' >> META_new.yml - $(NOECHO) $(ECHO) 'version_from: Rsync.pm' >> META_new.yml - $(NOECHO) $(ECHO) 'installdirs: vendor' >> META_new.yml - $(NOECHO) $(ECHO) 'requires:' >> META_new.yml - $(NOECHO) $(ECHO) ' Scalar::Util: 0' >> META_new.yml - $(NOECHO) $(ECHO) '' >> META_new.yml - $(NOECHO) $(ECHO) 'distribution_type: module' >> META_new.yml - $(NOECHO) $(ECHO) 'generated_by: ExtUtils::MakeMaker version 6.30_01' >> META_new.yml - -$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml - - -# --- MakeMaker signature section: -signature : - cpansign -s - - -# --- MakeMaker dist_basics section: -distclean :: realclean distcheck - $(NOECHO) $(NOOP) - -distcheck : - $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck - -skipcheck : - $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck - -manifest : - $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest - -veryclean : realclean - $(RM_F) *~ *.orig */*~ */*.orig - - - -# --- MakeMaker dist_core section: - -dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE) - $(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \ - -e ' if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' - -tardist : $(DISTVNAME).tar$(SUFFIX) - $(NOECHO) $(NOOP) - -uutardist : $(DISTVNAME).tar$(SUFFIX) - uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu - -$(DISTVNAME).tar$(SUFFIX) : distdir - $(PREOP) - $(TO_UNIX) - $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME) - $(RM_RF) $(DISTVNAME) - $(COMPRESS) $(DISTVNAME).tar - $(POSTOP) - -zipdist : $(DISTVNAME).zip - $(NOECHO) $(NOOP) - -$(DISTVNAME).zip : distdir - $(PREOP) - $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME) - $(RM_RF) $(DISTVNAME) - $(POSTOP) - -shdist : distdir - $(PREOP) - $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar - $(RM_RF) $(DISTVNAME) - $(POSTOP) - - -# --- MakeMaker distdir section: -create_distdir : - $(RM_RF) $(DISTVNAME) - $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \ - -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');" - -distdir : create_distdir distmeta - $(NOECHO) $(NOOP) - - - -# --- MakeMaker dist_test section: -disttest : distdir - cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "INSTALLDIRS=vendor" - cd $(DISTVNAME) && $(MAKE) $(PASTHRU) - cd $(DISTVNAME) && $(MAKE) test $(PASTHRU) - - - -# --- MakeMaker dist_ci section: - -ci : - $(PERLRUN) "-MExtUtils::Manifest=maniread" \ - -e "@all = keys %{ maniread() };" \ - -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \ - -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});" - - -# --- MakeMaker distmeta section: -distmeta : create_distdir metafile - $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \ - -e ' or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"' - - - -# --- MakeMaker distsignature section: -distsignature : create_distdir - $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) } ' \ - -e ' or print "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}\n"' - $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE - cd $(DISTVNAME) && cpansign -s - - - -# --- MakeMaker install section: - -install :: all pure_install doc_install - $(NOECHO) $(NOOP) - -install_perl :: all pure_perl_install doc_perl_install - $(NOECHO) $(NOOP) - -install_site :: all pure_site_install doc_site_install - $(NOECHO) $(NOOP) - -install_vendor :: all pure_vendor_install doc_vendor_install - $(NOECHO) $(NOOP) - -pure_install :: pure_$(INSTALLDIRS)_install - $(NOECHO) $(NOOP) - -doc_install :: doc_$(INSTALLDIRS)_install - $(NOECHO) $(NOOP) - -pure__install : pure_site_install - $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site - -doc__install : doc_site_install - $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site - -pure_perl_install :: - $(NOECHO) umask 022; $(MOD_INSTALL) \ - $(INST_LIB) $(DESTINSTALLPRIVLIB) \ - $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ - $(INST_BIN) $(DESTINSTALLBIN) \ - $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \ - $(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \ - $(INST_MAN3DIR) $(DESTINSTALLMAN3DIR) - $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ - $(SITEARCHEXP)/auto/$(FULLEXT) - - -pure_site_install :: - $(NOECHO) umask 02; $(MOD_INSTALL) \ - read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \ - write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \ - $(INST_LIB) $(DESTINSTALLSITELIB) \ - $(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \ - $(INST_BIN) $(DESTINSTALLSITEBIN) \ - $(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \ - $(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \ - $(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR) - $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ - $(PERL_ARCHLIB)/auto/$(FULLEXT) - -pure_vendor_install :: - $(NOECHO) umask 022; $(MOD_INSTALL) \ - $(INST_LIB) $(DESTINSTALLVENDORLIB) \ - $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ - $(INST_BIN) $(DESTINSTALLVENDORBIN) \ - $(INST_SCRIPT) $(DESTINSTALLVENDORSCRIPT) \ - $(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \ - $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) - -doc_perl_install :: - -doc_site_install :: - $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod - -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLSITEARCH) - -$(NOECHO) umask 02; $(DOC_INSTALL) \ - "Module" "$(NAME)" \ - "installed into" "$(INSTALLSITELIB)" \ - LINKTYPE "$(LINKTYPE)" \ - VERSION "$(VERSION)" \ - EXE_FILES "$(EXE_FILES)" \ - >> $(DESTINSTALLSITEARCH)/perllocal.pod - -doc_vendor_install :: - - -uninstall :: uninstall_from_$(INSTALLDIRS)dirs - $(NOECHO) $(NOOP) - -uninstall_from_perldirs :: - -uninstall_from_sitedirs :: - $(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist - -uninstall_from_vendordirs :: - - - -# --- MakeMaker force section: -# Phony target to force checking subdirectories. -FORCE: - $(NOECHO) $(NOOP) - - -# --- MakeMaker perldepend section: - - -# --- MakeMaker makefile section: -# We take a very conservative approach here, but it's worth it. -# We move Makefile to Makefile.old here to avoid gnu make looping. -$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP) - $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?" - $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..." - -$(NOECHO) $(RM_F) $(MAKEFILE_OLD) - -$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) - - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL) - $(PERLRUN) Makefile.PL "INSTALLDIRS=vendor" - $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <==" - $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command. <==" - false - - - -# --- MakeMaker staticmake section: - -# --- MakeMaker makeaperl section --- -MAP_TARGET = perl -FULLPERL = /usr/bin/perl - -$(MAP_TARGET) :: static $(MAKE_APERL_FILE) - $(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@ - -$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib - $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET) - $(NOECHO) $(PERLRUNINST) \ - Makefile.PL DIR= \ - MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ - MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \ - INSTALLDIRS=vendor - - -# --- MakeMaker test section: - -TEST_VERBOSE=0 -TEST_TYPE=test_$(LINKTYPE) -TEST_FILE = test.pl -TEST_FILES = -TESTDB_SW = -d - -testdb :: testdb_$(LINKTYPE) - -test :: $(TEST_TYPE) - -test_dynamic :: pure_all - PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) - -testdb_dynamic :: pure_all - PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) - -test_ : test_dynamic - -test_static :: test_dynamic -testdb_static :: testdb_dynamic - - -# --- MakeMaker ppd section: -# Creates a PPD (Perl Package Description) for a binary distribution. -ppd: - $(NOECHO) $(ECHO) '' > $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' $(DISTNAME)' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' Wrapper module for rsync(1) http://rsync.samba.org/' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' Lee Eakin <leakin@dfw.nostrum.com>' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) '' >> $(DISTNAME).ppd - - -# --- MakeMaker pm_to_blib section: - -pm_to_blib : $(TO_INST_PM) - $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', '\''$(PM_FILTER)'\'')' \ - config.pm $(INST_ARCHLIB)/File/Rsync/Config.pm \ - Rsync.pm $(INST_LIB)/File/Rsync.pm - $(NOECHO) $(TOUCH) pm_to_blib - - -# --- MakeMaker selfdocument section: - - -# --- MakeMaker postamble section: - - -# End. diff -Nru libfile-rsync-perl-0.42/Makefile.old libfile-rsync-perl-0.43/Makefile.old --- libfile-rsync-perl-0.42/Makefile.old 2012-12-26 05:48:17.000000000 +0000 +++ libfile-rsync-perl-0.43/Makefile.old 1970-01-01 00:00:00.000000000 +0000 @@ -1,727 +0,0 @@ -# This Makefile is for the File::Rsync extension to perl. -# -# It was generated automatically by MakeMaker version -# 6.17 (Revision: 1.133) from the contents of -# Makefile.PL. Don't edit this file, edit Makefile.PL instead. -# -# ANY CHANGES MADE HERE WILL BE LOST! -# -# MakeMaker ARGV: (q[INSTALLDIRS=vendor]) -# -# MakeMaker Parameters: - -# ABSTRACT => q[Wrapper module for rsync(1) http://rsync.samba.org/] -# AUTHOR => q[Lee Eakin ] -# DISTNAME => q[File-Rsync] -# NAME => q[File::Rsync] -# PL_FILES => { makepm.PL=>q[config.pm] } -# PM => { config.pm=>q[$(INST_ARCHLIB)/File/Rsync/Config.pm], Rsync.pm=>q[$(INST_LIB)/File/Rsync.pm] } -# PREREQ_PM => { Scalar::Util=>q[0] } -# VERSION_FROM => q[Rsync.pm] -# dist => { COMPRESS=>q[gzip], SUFFIX=>q[gz] } -# realclean => { FILES=>q[config.pm] } - -# --- MakeMaker post_initialize section: - - -# --- MakeMaker const_config section: - -# These definitions are from config.sh (via /usr/lib/perl/5.8/Config.pm) - -# They may have been overridden via Makefile.PL or on the command line -AR = ar -CC = cc -CCCDLFLAGS = -fPIC -CCDLFLAGS = -Wl,-E -DLEXT = so -DLSRC = dl_dlopen.xs -LD = cc -LDDLFLAGS = -shared -L/usr/local/lib -LDFLAGS = -L/usr/local/lib -LIBC = /lib/libc-2.3.2.so -LIB_EXT = .a -OBJ_EXT = .o -OSNAME = linux -OSVERS = 2.4.27-ti1211 -RANLIB = : -SITELIBEXP = /usr/local/share/perl/5.8.7 -SITEARCHEXP = /usr/local/lib/perl/5.8.7 -SO = so -EXE_EXT = -FULL_AR = /usr/bin/ar -VENDORARCHEXP = /usr/lib/perl5 -VENDORLIBEXP = /usr/share/perl5 - - -# --- MakeMaker constants section: -AR_STATIC_ARGS = cr -DIRFILESEP = / -NAME = File::Rsync -NAME_SYM = File_Rsync -VERSION = 0.42 -VERSION_MACRO = VERSION -VERSION_SYM = 0_42 -DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\" -XS_VERSION = 0.42 -XS_VERSION_MACRO = XS_VERSION -XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\" -INST_ARCHLIB = blib/arch -INST_SCRIPT = blib/script -INST_BIN = blib/bin -INST_LIB = blib/lib -INST_MAN1DIR = blib/man1 -INST_MAN3DIR = blib/man3 -MAN1EXT = 1p -MAN3EXT = 3pm -INSTALLDIRS = vendor -DESTDIR = -PREFIX = /usr -PERLPREFIX = $(PREFIX) -SITEPREFIX = $(PREFIX)/local -VENDORPREFIX = $(PREFIX) -INSTALLPRIVLIB = $(PERLPREFIX)/share/perl/5.8 -DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB) -INSTALLSITELIB = $(SITEPREFIX)/share/perl/5.8.7 -DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB) -INSTALLVENDORLIB = $(VENDORPREFIX)/share/perl5 -DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB) -INSTALLARCHLIB = $(PERLPREFIX)/lib/perl/5.8 -DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB) -INSTALLSITEARCH = $(SITEPREFIX)/lib/perl/5.8.7 -DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH) -INSTALLVENDORARCH = $(VENDORPREFIX)/lib/perl5 -DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH) -INSTALLBIN = $(PERLPREFIX)/bin -DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN) -INSTALLSITEBIN = $(SITEPREFIX)/bin -DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN) -INSTALLVENDORBIN = $(VENDORPREFIX)/bin -DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN) -INSTALLSCRIPT = $(PERLPREFIX)/bin -DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT) -INSTALLMAN1DIR = $(PERLPREFIX)/share/man/man1 -DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR) -INSTALLSITEMAN1DIR = $(SITEPREFIX)/man/man1 -DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR) -INSTALLVENDORMAN1DIR = $(VENDORPREFIX)/share/man/man1 -DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR) -INSTALLMAN3DIR = $(PERLPREFIX)/share/man/man3 -DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR) -INSTALLSITEMAN3DIR = $(SITEPREFIX)/man/man3 -DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR) -INSTALLVENDORMAN3DIR = $(VENDORPREFIX)/share/man/man3 -DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR) -PERL_LIB = /usr/share/perl/5.8 -PERL_ARCHLIB = /usr/lib/perl/5.8 -LIBPERL_A = libperl.a -FIRST_MAKEFILE = Makefile -MAKEFILE_OLD = $(FIRST_MAKEFILE).old -MAKE_APERL_FILE = $(FIRST_MAKEFILE).aperl -PERLMAINCC = $(CC) -PERL_INC = /usr/lib/perl/5.8/CORE -PERL = /usr/bin/perl -FULLPERL = /usr/bin/perl -ABSPERL = $(PERL) -PERLRUN = $(PERL) -FULLPERLRUN = $(FULLPERL) -ABSPERLRUN = $(ABSPERL) -PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" -FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" -ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" -PERL_CORE = 0 -PERM_RW = 644 -PERM_RWX = 755 - -MAKEMAKER = /usr/share/perl/5.8/ExtUtils/MakeMaker.pm -MM_VERSION = 6.17 -MM_REVISION = 1.133 - -# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle). -# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle) -# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar) -# DLBASE = Basename part of dynamic library. May be just equal BASEEXT. -FULLEXT = File/Rsync -BASEEXT = Rsync -PARENT_NAME = File -DLBASE = $(BASEEXT) -VERSION_FROM = Rsync.pm -OBJECT = -LDFROM = $(OBJECT) -LINKTYPE = dynamic - -# Handy lists of source code files: -XS_FILES = -C_FILES = -O_FILES = -H_FILES = -MAN1PODS = -MAN3PODS = Rsync.pm \ - config.pm - -# Where is the Config information that we are using/depend on -CONFIGDEP = $(PERL_ARCHLIB)$(DIRFILESEP)Config.pm $(PERL_INC)$(DIRFILESEP)config.h - -# Where to build things -INST_LIBDIR = $(INST_LIB)/File -INST_ARCHLIBDIR = $(INST_ARCHLIB)/File - -INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT) -INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT) - -INST_STATIC = -INST_DYNAMIC = -INST_BOOT = - -# Extra linker info -EXPORT_LIST = -PERL_ARCHIVE = -PERL_ARCHIVE_AFTER = - - -TO_INST_PM = Rsync.pm \ - config.pm - -PM_TO_BLIB = config.pm \ - $(INST_ARCHLIB)/File/Rsync/Config.pm \ - Rsync.pm \ - $(INST_LIB)/File/Rsync.pm - - -# --- MakeMaker platform_constants section: -MM_Unix_VERSION = 1.42 -PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc - - -# --- MakeMaker tool_autosplit section: -# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto -AUTOSPLITFILE = $(PERLRUN) -e 'use AutoSplit; autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)' - - - -# --- MakeMaker tool_xsubpp section: - - -# --- MakeMaker tools_other section: -SHELL = /bin/sh -CHMOD = chmod -CP = cp -MV = mv -NOOP = $(SHELL) -c true -NOECHO = @ -RM_F = rm -f -RM_RF = rm -rf -TEST_F = test -f -TOUCH = touch -UMASK_NULL = umask 0 -DEV_NULL = > /dev/null 2>&1 -MKPATH = $(PERLRUN) "-MExtUtils::Command" -e mkpath -EQUALIZE_TIMESTAMP = $(PERLRUN) "-MExtUtils::Command" -e eqtime -ECHO = echo -ECHO_N = echo -n -UNINST = 0 -VERBINST = 0 -MOD_INSTALL = $(PERLRUN) -MExtUtils::Install -e 'install({@ARGV}, '\''$(VERBINST)'\'', 0, '\''$(UNINST)'\'');' -DOC_INSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e perllocal_install -UNINSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e uninstall -WARN_IF_OLD_PACKLIST = $(PERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist - - -# --- MakeMaker makemakerdflt section: -makemakerdflt: all - $(NOECHO) $(NOOP) - - -# --- MakeMaker dist section: -TAR = tar -TARFLAGS = cvf -ZIP = zip -ZIPFLAGS = -r -COMPRESS = gzip -SUFFIX = gz -SHAR = shar -PREOP = $(NOECHO) $(NOOP) -POSTOP = $(NOECHO) $(NOOP) -TO_UNIX = $(NOECHO) $(NOOP) -CI = ci -u -RCS_LABEL = rcs -Nv$(VERSION_SYM): -q -DIST_CP = best -DIST_DEFAULT = tardist -DISTNAME = File-Rsync -DISTVNAME = File-Rsync-0.42 - - -# --- MakeMaker macro section: - - -# --- MakeMaker depend section: - - -# --- MakeMaker cflags section: - - -# --- MakeMaker const_loadlibs section: - - -# --- MakeMaker const_cccmd section: - - -# --- MakeMaker post_constants section: - - -# --- MakeMaker pasthru section: - -PASTHRU = LIB="$(LIB)"\ - LIBPERL_A="$(LIBPERL_A)"\ - LINKTYPE="$(LINKTYPE)"\ - PREFIX="$(PREFIX)"\ - OPTIMIZE="$(OPTIMIZE)"\ - PASTHRU_DEFINE="$(PASTHRU_DEFINE)"\ - PASTHRU_INC="$(PASTHRU_INC)" - - -# --- MakeMaker special_targets section: -.SUFFIXES: .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT) - -.PHONY: all config static dynamic test linkext manifest - - - -# --- MakeMaker c_o section: - - -# --- MakeMaker xs_c section: - - -# --- MakeMaker xs_o section: - - -# --- MakeMaker top_targets section: -all :: pure_all manifypods - $(NOECHO) $(NOOP) - - -pure_all :: config pm_to_blib subdirs linkext - $(NOECHO) $(NOOP) - -subdirs :: $(MYEXTLIB) - $(NOECHO) $(NOOP) - -config :: $(FIRST_MAKEFILE) $(INST_LIBDIR)$(DIRFILESEP).exists - $(NOECHO) $(NOOP) - -config :: $(INST_ARCHAUTODIR)$(DIRFILESEP).exists - $(NOECHO) $(NOOP) - -config :: $(INST_AUTODIR)$(DIRFILESEP).exists - $(NOECHO) $(NOOP) - -$(INST_AUTODIR)/.exists :: /usr/lib/perl/5.8/CORE/perl.h - $(NOECHO) $(MKPATH) $(INST_AUTODIR) - $(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.8/CORE/perl.h $(INST_AUTODIR)/.exists - - -$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_AUTODIR) - -$(INST_LIBDIR)/.exists :: /usr/lib/perl/5.8/CORE/perl.h - $(NOECHO) $(MKPATH) $(INST_LIBDIR) - $(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.8/CORE/perl.h $(INST_LIBDIR)/.exists - - -$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_LIBDIR) - -$(INST_ARCHAUTODIR)/.exists :: /usr/lib/perl/5.8/CORE/perl.h - $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR) - $(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.8/CORE/perl.h $(INST_ARCHAUTODIR)/.exists - - -$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_ARCHAUTODIR) - -config :: $(INST_MAN3DIR)$(DIRFILESEP).exists - $(NOECHO) $(NOOP) - - -$(INST_MAN3DIR)/.exists :: /usr/lib/perl/5.8/CORE/perl.h - $(NOECHO) $(MKPATH) $(INST_MAN3DIR) - $(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.8/CORE/perl.h $(INST_MAN3DIR)/.exists - - -$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_MAN3DIR) - -help: - perldoc ExtUtils::MakeMaker - - -# --- MakeMaker linkext section: - -linkext :: $(LINKTYPE) - $(NOECHO) $(NOOP) - - -# --- MakeMaker dlsyms section: - - -# --- MakeMaker dynamic section: - -dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT) - $(NOECHO) $(NOOP) - - -# --- MakeMaker dynamic_bs section: - -BOOTSTRAP = - - -# --- MakeMaker dynamic_lib section: - - -# --- MakeMaker static section: - -## $(INST_PM) has been moved to the all: target. -## It remains here for awhile to allow for old usage: "make static" -static :: $(FIRST_MAKEFILE) $(INST_STATIC) - $(NOECHO) $(NOOP) - - -# --- MakeMaker static_lib section: - - -# --- MakeMaker manifypods section: - -POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--" -POD2MAN = $(POD2MAN_EXE) - - -manifypods : pure_all \ - config.pm \ - Rsync.pm \ - config.pm \ - Rsync.pm - $(NOECHO) $(POD2MAN) --section=$(MAN3EXT) --perm_rw=$(PERM_RW)\ - config.pm $(INST_MAN3DIR)/File::config.$(MAN3EXT) \ - Rsync.pm $(INST_MAN3DIR)/File::Rsync.$(MAN3EXT) - - - - -# --- MakeMaker processPL section: - -all :: config.pm - $(NOECHO) $(NOOP) - -config.pm :: makepm.PL - $(PERLRUNINST) makepm.PL config.pm - - -# --- MakeMaker installbin section: - - -# --- MakeMaker subdirs section: - -# none - -# --- MakeMaker clean_subdirs section: -clean_subdirs : - $(NOECHO) $(NOOP) - - -# --- MakeMaker clean section: - -# Delete temporary files but do not touch installed files. We don't delete -# the Makefile here so a later make realclean still has a makefile to use. - -clean :: clean_subdirs - -$(RM_RF) ./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all $(INST_ARCHAUTODIR)/extralibs.ld perlmain.c tmon.out mon.out so_locations pm_to_blib *$(OBJ_EXT) *$(LIB_EXT) perl.exe perl perl$(EXE_EXT) $(BOOTSTRAP) $(BASEEXT).bso $(BASEEXT).def lib$(BASEEXT).def $(BASEEXT).exp $(BASEEXT).x core core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9] core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9] - -$(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL) - - -# --- MakeMaker realclean_subdirs section: -realclean_subdirs : - $(NOECHO) $(NOOP) - - -# --- MakeMaker realclean section: - -# Delete temporary files (via clean) and also delete installed files -realclean purge :: clean realclean_subdirs - $(RM_RF) $(INST_AUTODIR) $(INST_ARCHAUTODIR) - $(RM_RF) $(DISTVNAME) - $(RM_F) config.pm $(INST_ARCHLIB)/File/Rsync/Config.pm $(INST_LIB)/File/Rsync.pm $(MAKEFILE_OLD) $(FIRST_MAKEFILE) - - -# --- MakeMaker metafile section: -metafile : - $(NOECHO) $(ECHO) '# http://module-build.sourceforge.net/META-spec.html' > META.yml - $(NOECHO) $(ECHO) '#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#' >> META.yml - $(NOECHO) $(ECHO) 'name: File-Rsync' >> META.yml - $(NOECHO) $(ECHO) 'version: 0.42' >> META.yml - $(NOECHO) $(ECHO) 'version_from: Rsync.pm' >> META.yml - $(NOECHO) $(ECHO) 'installdirs: vendor' >> META.yml - $(NOECHO) $(ECHO) 'requires:' >> META.yml - $(NOECHO) $(ECHO) ' Scalar::Util: 0' >> META.yml - $(NOECHO) $(ECHO) '' >> META.yml - $(NOECHO) $(ECHO) 'distribution_type: module' >> META.yml - $(NOECHO) $(ECHO) 'generated_by: ExtUtils::MakeMaker version 6.17' >> META.yml - - -# --- MakeMaker metafile_addtomanifest section: -metafile_addtomanifest: - $(NOECHO) $(PERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \ - -e ' or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"' - - -# --- MakeMaker dist_basics section: -distclean :: realclean distcheck - $(NOECHO) $(NOOP) - -distcheck : - $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck - -skipcheck : - $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck - -manifest : - $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest - -veryclean : realclean - $(RM_F) *~ *.orig */*~ */*.orig - - - -# --- MakeMaker dist_core section: - -dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE) - $(NOECHO) $(PERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \ - -e ' if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' - -tardist : $(DISTVNAME).tar$(SUFFIX) - $(NOECHO) $(NOOP) - -uutardist : $(DISTVNAME).tar$(SUFFIX) - uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu - -$(DISTVNAME).tar$(SUFFIX) : distdir - $(PREOP) - $(TO_UNIX) - $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME) - $(RM_RF) $(DISTVNAME) - $(COMPRESS) $(DISTVNAME).tar - $(POSTOP) - -zipdist : $(DISTVNAME).zip - $(NOECHO) $(NOOP) - -$(DISTVNAME).zip : distdir - $(PREOP) - $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME) - $(RM_RF) $(DISTVNAME) - $(POSTOP) - -shdist : distdir - $(PREOP) - $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar - $(RM_RF) $(DISTVNAME) - $(POSTOP) - - -# --- MakeMaker distdir section: -distdir : metafile metafile_addtomanifest - $(RM_RF) $(DISTVNAME) - $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \ - -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');" - - - -# --- MakeMaker dist_test section: - -disttest : distdir - cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL - cd $(DISTVNAME) && $(MAKE) $(PASTHRU) - cd $(DISTVNAME) && $(MAKE) test $(PASTHRU) - - -# --- MakeMaker dist_ci section: - -ci : - $(PERLRUN) "-MExtUtils::Manifest=maniread" \ - -e "@all = keys %{ maniread() };" \ - -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \ - -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});" - - -# --- MakeMaker install section: - -install :: all pure_install doc_install - -install_perl :: all pure_perl_install doc_perl_install - -install_site :: all pure_site_install doc_site_install - -install_vendor :: all pure_vendor_install doc_vendor_install - -pure_install :: pure_$(INSTALLDIRS)_install - -doc_install :: doc_$(INSTALLDIRS)_install - -pure__install : pure_site_install - $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site - -doc__install : doc_site_install - $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site - -pure_perl_install :: - $(NOECHO) umask 022; $(MOD_INSTALL) \ - $(INST_LIB) $(DESTINSTALLPRIVLIB) \ - $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ - $(INST_BIN) $(DESTINSTALLBIN) \ - $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \ - $(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \ - $(INST_MAN3DIR) $(DESTINSTALLMAN3DIR) - $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ - $(SITEARCHEXP)/auto/$(FULLEXT) - - -pure_site_install :: - $(NOECHO) umask 02; $(MOD_INSTALL) \ - read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \ - write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \ - $(INST_LIB) $(DESTINSTALLSITELIB) \ - $(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \ - $(INST_BIN) $(DESTINSTALLSITEBIN) \ - $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \ - $(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \ - $(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR) - $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ - $(PERL_ARCHLIB)/auto/$(FULLEXT) - -pure_vendor_install :: - $(NOECHO) umask 022; $(MOD_INSTALL) \ - $(INST_LIB) $(DESTINSTALLVENDORLIB) \ - $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ - $(INST_BIN) $(DESTINSTALLVENDORBIN) \ - $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \ - $(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \ - $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) - -doc_perl_install :: - -doc_site_install :: - $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod - -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLSITEARCH) - -$(NOECHO) umask 02; $(DOC_INSTALL) \ - "Module" "$(NAME)" \ - "installed into" "$(INSTALLSITELIB)" \ - LINKTYPE "$(LINKTYPE)" \ - VERSION "$(VERSION)" \ - EXE_FILES "$(EXE_FILES)" \ - >> $(DESTINSTALLSITEARCH)/perllocal.pod - -doc_vendor_install :: - - -uninstall :: uninstall_from_$(INSTALLDIRS)dirs - -uninstall_from_perldirs :: - $(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist - -uninstall_from_sitedirs :: - $(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist - -uninstall_from_vendordirs :: - $(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist - - -# --- MakeMaker force section: -# Phony target to force checking subdirectories. -FORCE: - $(NOECHO) $(NOOP) - - -# --- MakeMaker perldepend section: - - -# --- MakeMaker makefile section: - -# We take a very conservative approach here, but it's worth it. -# We move Makefile to Makefile.old here to avoid gnu make looping. -$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP) - $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?" - $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..." - $(NOECHO) $(RM_F) $(MAKEFILE_OLD) - $(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) - -$(MAKE) -f $(MAKEFILE_OLD) clean $(DEV_NULL) || $(NOOP) - $(PERLRUN) Makefile.PL "INSTALLDIRS=vendor" - $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <==" - $(NOECHO) $(ECHO) "==> Please rerun the make command. <==" - false - - - -# --- MakeMaker staticmake section: - -# --- MakeMaker makeaperl section --- -MAP_TARGET = perl -FULLPERL = /usr/bin/perl - -$(MAP_TARGET) :: static $(MAKE_APERL_FILE) - $(MAKE) -f $(MAKE_APERL_FILE) $@ - -$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) - $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET) - $(NOECHO) $(PERLRUNINST) \ - Makefile.PL DIR= \ - MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ - MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \ - INSTALLDIRS=vendor - - -# --- MakeMaker test section: - -TEST_VERBOSE=0 -TEST_TYPE=test_$(LINKTYPE) -TEST_FILE = test.pl -TEST_FILES = -TESTDB_SW = -d - -testdb :: testdb_$(LINKTYPE) - -test :: $(TEST_TYPE) - -test_dynamic :: pure_all - PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) - -testdb_dynamic :: pure_all - PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) - -test_ : test_dynamic - -test_static :: test_dynamic -testdb_static :: testdb_dynamic - - -# --- MakeMaker ppd section: -# Creates a PPD (Perl Package Description) for a binary distribution. -ppd: - $(NOECHO) $(ECHO) '' > $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' $(DISTNAME)' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' Wrapper module for rsync(1) http://rsync.samba.org/' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' Lee Eakin <leakin@dfw.nostrum.com>' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd - $(NOECHO) $(ECHO) '' >> $(DISTNAME).ppd - - -# --- MakeMaker pm_to_blib section: - -pm_to_blib: $(TO_INST_PM) - $(NOECHO) $(PERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', '\''$(PM_FILTER)'\'')'\ - config.pm $(INST_ARCHLIB)/File/Rsync/Config.pm \ - Rsync.pm $(INST_LIB)/File/Rsync.pm - $(NOECHO) $(TOUCH) $@ - -# --- MakeMaker selfdocument section: - - -# --- MakeMaker postamble section: - - -# End. diff -Nru libfile-rsync-perl-0.42/README libfile-rsync-perl-0.43/README --- libfile-rsync-perl-0.42/README 2005-05-22 22:00:12.000000000 +0000 +++ libfile-rsync-perl-0.43/README 2009-08-18 16:17:31.000000000 +0000 @@ -6,11 +6,13 @@ it under the same terms as Perl itself. ******************************************************************************* -Updated to support new options of rsync 2.6.5-pre1 +Updated to support new options of rsync 2.6.7 -If you are using an older version than rsync 2.6.2, please check out the -latest version. There have been several fixes and significant speed -improvements. +This is a long overdue update that has been sitting in my queue. + +Another update is due as well that would change to orderd args based on +discussions with Gavin Carr. I hope to have it ready soon along with +any new option support since 2.6.7. Although I am the original author and maintainer, many of the bug fixes and improvements have come as either suggestions or patches from the perl diff -Nru libfile-rsync-perl-0.42/Rsync.pm libfile-rsync-perl-0.43/Rsync.pm --- libfile-rsync-perl-0.42/Rsync.pm 2005-06-25 02:09:32.000000000 +0000 +++ libfile-rsync-perl-0.43/Rsync.pm 2009-08-18 16:00:31.000000000 +0000 @@ -25,7 +25,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.42'; +$VERSION = '0.43'; =head1 NAME @@ -75,7 +75,7 @@ installed, and B which causes the module methods to print some debugging information to STDERR. There are also 2 options to wrap the source and/or destination paths in double-quotes. They are B -and B, and may be useful in protecting the paths from shell +and B, and may be useful in protecting the paths from shell expansion (particularly useful for paths containing spaces). The B and B options take a function reference. The function is called once for each line of output from the I program with the @@ -154,49 +154,64 @@ # these are the boolean flags to rsync, all default off, including them # in the args list turns them on 'flag' => {qw( - archive 0 force 0 no-whole-file 0 - backup 0 from0 0 numeric-ids 0 - blocking-io 0 fuzzy 0 omit-dir-times 0 - checksum 0 group 0 one-file-system 0 - compress 0 hard-links 0 whole-file 0 - copy-links 0 help 0 owner 0 - copy-unsafe-links 0 ignore-errors 0 partial 0 - cvs-exclude 0 ignore-existing 0 perms 0 - daemon 0 ignore-times 0 progress 0 - del 0 inplace 0 recursive 0 - delay-updates 0 ipv4 0 relative 0 - delete 0 ipv6 0 remove-sent-files 0 - delete-after 0 itemize-changes 0 safe-links 0 - delete-before 0 keep-dirlinks 0 size-only 0 - delete-during 0 links 0 sparse 0 - delete-excluded 0 list-only 0 stats 0 - devices 0 no-blocking-io 0 times 0 - dirs 0 no-detach 0 update 0 - dry-run 0 no-implied-dirs 0 version 0 - existing 0 no-relative 0 acls 0 + 8-bit-output 0 fuzzy 0 no-specials 0 + acls 0 group 0 no-super 0 + append 0 hard-links 0 no-times 0 + archive 0 help 0 no-whole-file 0 + backup 0 ignore-errors 0 numeric-ids 0 + blocking-io 0 ignore-existing 0 omit-dir-times 0 + checksum 0 ignore-non-existing 0 one-file-system 0 + compress 0 ignore-times 0 whole-file 0 + copy-dirlinks 0 inplace 0 owner 0 + copy-links 0 ipv4 0 partial 0 + copy-unsafe-links 0 ipv6 0 perms 0 + cvs-exclude 0 keep-dirlinks 0 progress 0 + daemon 0 links 0 prune-empty-dirs 0 + del 0 list-only 0 recursive 0 + delay-updates 0 no-blocking-io 0 relative 0 + delete 0 no-detach 0 remove-sent-files 0 + delete-after 0 no-devices 0 safe-links 0 + delete-before 0 no-dirs 0 size-only 0 + delete-during 0 no-groups 0 sparse 0 + delete-excluded 0 no-implied-dirs 0 specials 0 + devices 0 no-links 0 stats 0 + dirs 0 no-owner 0 super 0 + dry-run 0 no-partial 0 times 0 + executability 0 no-perms 0 update 0 + existing 0 no-progress 0 version 0 + force 0 no-recursive 0 xattrs 0 + from0 0 no-relative 0 )}, # these have simple scalar args we cannot easily check 'scalar' => {qw( - address 0 include-from 0 protocol 0 - backup-dir 0 link-dest 0 read-batch 0 - block-size 0 log-format 0 rsh 0 - bwlimit 0 max-delete 0 rsync-path 0 - checksum-seed 0 max-size 0 suffix 0 - compare-dest 0 modify-window 0 temp-dir 0 - config 0 only-write-batch 0 timeout 0 - csum-length 0 partial-dir 0 write-batch 0 - exclude-from 0 password-file 0 - files-from 0 port 0 + address 0 log-format 0 protocol 0 + backup-dir 0 max-delete 0 read-batch 0 + block-size 0 max-size 0 rsh 0 + bwlimit 0 min-size 0 rsync-path 0 + checksum-seed 0 modify-window 0 sockopts 0 + compress-level 0 only-write-batch 0 suffix 0 + config 0 partial-dir 0 temp-dir 0 + csum-length 0 password-file 0 timeout 0 + files-from 0 port 0 write-batch 0 )}, # these are not flags but counters, each time they appear it raises the # count, so we keep track and pass them the same number of times - 'counter' => {qw(quiet 0 verbose 0)}, + 'counter' => {qw( + human-readable 0 one-file-system 0 verbose 0 + itemize-changes 0 quiet 0 + )}, # these can be specified multiple times and are additive, the doc also # specifies that it is an ordered list so we must preserve that order - 'exclude' => [], - 'include' => [], - 'filter' => [], - 'literal' => [], + 'chmod' => [], + 'compare-dest' => [], + 'copy-dest' => [], + 'exclude' => [], + 'exclude-from' => [], + 'filter' => [], + 'include' => [], + 'include-from' => [], + 'link-dest' => [], + 'literal' => [], # hostname of source, used if 'source' is an array reference 'srchost' => '', # source host and/or path names @@ -305,9 +320,15 @@ $OPT{$savopt} = $opt->{$hashopt}; } else { my $tag = ''; - if ( $hashopt eq 'exclude' - or $hashopt eq 'include' + if ( $hashopt eq 'chmod' + or $hashopt eq 'compare-dest' + or $hashopt eq 'copy-dest' + or $hashopt eq 'exclude' + or $hashopt eq 'exclude-from' or $hashopt eq 'filter' + or $hashopt eq 'include' + or $hashopt eq 'include-from' + or $hashopt eq 'link-dest' or $hashopt eq 'literal') { $tag = $hashopt; } elsif ($hashopt eq 'source' @@ -371,12 +392,15 @@ $self->{'scalar'}{$opt} = $opts->{$opt}; } elsif (exists $self->{'counter'}{$opt}) { $self->{'counter'}{$opt} = $opts->{$opt}; - } elsif ($opt eq 'exclude' or $opt eq 'include' or $opt eq 'filter' - or $opt eq 'source' or $opt eq 'dest' or $opt eq 'debug' - or $opt eq 'outfun' or $opt eq 'errfun' or $opt eq 'infun' - or $opt eq 'path-to-rsync' or $opt eq 'srchost' - or $opt eq 'quote-dst' or $opt eq 'quote-src' - or $opt eq 'literal') { + } elsif ($opt eq 'chmod' or $opt eq 'compare-dest' + or $opt eq 'copy-dest' or $opt eq 'link-dest' + or $opt eq 'exclude' or $opt eq 'exclude-from' + or $opt eq 'include' or $opt eq 'include-from' + or $opt eq 'filter' or $opt eq 'source' or $opt eq 'dest' + or $opt eq 'debug' or $opt eq 'outfun' or $opt eq 'errfun' + or $opt eq 'infun' or $opt eq 'path-to-rsync' + or $opt eq 'srchost' or $opt eq 'quote-dst' + or $opt eq 'quote-src' or $opt eq 'literal') { $self->{$opt} = $opts->{$opt}; } else { carp "$pkgname: unknown option: $opt"; @@ -429,8 +453,10 @@ $runopts{$type}{$opt} = $self->{$type}{$opt}; } } - foreach my $opt (qw(path-to-rsync exclude include filter source srchost - debug dest outfun errfun infun quote-dst quote-src literal)) { + foreach my $opt (qw(path-to-rsync chmod compare-dest copy-dest + exclude exclude-from filter include include-from + link-dest source srchost debug dest outfun + errfun infun quote-dst quote-src literal)) { $runopts{$opt} = $self->{$opt}; } # now allow any args passed directly to exec to override @@ -441,12 +467,15 @@ $runopts{'scalar'}{$opt} = $execopts->{$opt}; } elsif (exists $runopts{'counter'}{$opt}) { $runopts{'counter'}{$opt} = $execopts->{$opt}; - } elsif ($opt eq 'exclude' or $opt eq 'include' or $opt eq 'filter' - or $opt eq 'source' or $opt eq 'dest' or $opt eq 'debug' - or $opt eq 'outfun' or $opt eq 'errfun' or $opt eq 'infun' - or $opt eq 'path-to-rsync' or $opt eq 'srchost' - or $opt eq 'quote-dst' or $opt eq 'quote-src' - or $opt eq 'literal') { + } elsif ($opt eq 'chmod' or $opt eq 'compare-dest' + or $opt eq 'copy-dest' or $opt eq 'link-dest' + or $opt eq 'exclude' or $opt eq 'exclude-from' + or $opt eq 'include' or $opt eq 'include-from' + or $opt eq 'filter' or $opt eq 'source' or $opt eq 'dest' + or $opt eq 'debug' or $opt eq 'outfun' or $opt eq 'errfun' + or $opt eq 'infun' or $opt eq 'path-to-rsync' + or $opt eq 'srchost' or $opt eq 'quote-dst' + or $opt eq 'quote-src' or $opt eq 'literal') { $runopts{$opt} = $execopts->{$opt}; } else { carp "$pkgname: unknown option: $opt"; @@ -477,15 +506,33 @@ carp "$pkgname: 'exclude' and/or 'include' and/or 'filter' options specified, only one allowed"; return; } + foreach my $opt (@{$merged->{'chmod'}}) { + push @cmd,"--chmod=$opt"; + } + foreach my $opt (@{$merged->{'compare-dest'}}) { + push @cmd,"--compare-dest=$opt"; + } + foreach my $opt (@{$merged->{'copy-dest'}}) { + push @cmd,"--copy-dest=$opt"; + } foreach my $opt (@{$merged->{'exclude'}}) { push @cmd,"--exclude=$opt"; } - foreach my $opt (@{$merged->{'include'}}) { - push @cmd,"--include=$opt"; + foreach my $opt (@{$merged->{'exclude-from'}}) { + push @cmd,"--exclude-from=$opt"; } foreach my $opt (@{$merged->{'filter'}}) { push @cmd,"--filter=$opt"; } + foreach my $opt (@{$merged->{'include'}}) { + push @cmd,"--include=$opt"; + } + foreach my $opt (@{$merged->{'include-from'}}) { + push @cmd,"--include-from=$opt"; + } + foreach my $opt (@{$merged->{'link-dest'}}) { + push @cmd,"--link-dest=$opt"; + } if ($merged->{'source'}) { if ($merged->{'srchost'}) { push @cmd, "$merged->{'srchost'}:" . join ' ', @@ -577,7 +624,6 @@ select((select($in),&{$infun})[0]); } $in->close; - sleep 1; # give open3 a chance to get the filehandles opened } my $odata = my $edata = ''; @@ -825,6 +871,10 @@ Simon Myers +Gavin Carr + +Petya Kohts + =head1 Inspiration and Assistance Gerard Hickey C diff -Nru libfile-rsync-perl-0.42/config.pm libfile-rsync-perl-0.43/config.pm --- libfile-rsync-perl-0.42/config.pm 2012-12-26 05:48:17.000000000 +0000 +++ libfile-rsync-perl-0.43/config.pm 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -# -*- perl -*- -# vim:ft=perl foldlevel=1 -package File::Rsync::Config; - -require Exporter; -use vars qw(@ISA @EXPORT %RsyncConfig); -use strict; - -@EXPORT=qw(%RsyncConfig); -@ISA=qw(Exporter); - -%RsyncConfig=( - rsync_path => '/usr/bin/rsync', -); -1; diff -Nru libfile-rsync-perl-0.42/debian/changelog libfile-rsync-perl-0.43/debian/changelog --- libfile-rsync-perl-0.42/debian/changelog 2012-12-26 05:48:17.000000000 +0000 +++ libfile-rsync-perl-0.43/debian/changelog 2012-12-25 22:44:53.000000000 +0000 @@ -1,3 +1,23 @@ +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) @@ -46,6 +66,3 @@ -- Ivan Kohler Wed, 22 May 2002 07:54:35 -0700 -Local variables: -mode: debian-changelog -End: diff -Nru libfile-rsync-perl-0.42/debian/compat libfile-rsync-perl-0.43/debian/compat --- libfile-rsync-perl-0.42/debian/compat 2012-12-26 05:48:17.000000000 +0000 +++ libfile-rsync-perl-0.43/debian/compat 2012-12-25 22:44:53.000000000 +0000 @@ -1 +1 @@ -4 +8 diff -Nru libfile-rsync-perl-0.42/debian/control libfile-rsync-perl-0.43/debian/control --- libfile-rsync-perl-0.42/debian/control 2012-12-26 05:48:17.000000000 +0000 +++ libfile-rsync-perl-0.43/debian/control 2012-12-25 22:44:53.000000000 +0000 @@ -1,12 +1,25 @@ Source: libfile-rsync-perl +Maintainer: Debian Perl Group +Uploaders: Ivan Kohler , + Xavier Guimard Section: perl Priority: optional -Build-Depends: debhelper (>= 4), perl (>= 5.6.0-17) -Maintainer: Ivan Kohler -Standards-Version: 3.5.1 +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: rsync (>= 2.6.3), ${perl:Depends} -Description: perl module interface to rsync(1) - Perl Convenience wrapper for the rsync(1) program. +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. diff -Nru libfile-rsync-perl-0.42/debian/copyright libfile-rsync-perl-0.43/debian/copyright --- libfile-rsync-perl-0.42/debian/copyright 2012-12-26 05:48:17.000000000 +0000 +++ libfile-rsync-perl-0.43/debian/copyright 2012-12-25 22:44:53.000000000 +0000 @@ -1,13 +1,29 @@ -This is the debian package for the File::Rsync module. -It was created by Ivan Kohler using dh-make-perl. +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 - Copyright (c) 1999 Lee Eakin. All rights reserved. - - This program is free software; you can redistribute it and/or modify - it under the same terms as Perl itself. +Files: * +Copyright: 1999-2005, Lee Eakin +License: Artistic or GPL-1+ -Perl is distributed under your choice of the GNU General Public License or -the Artistic License. On Debian GNU/Linux systems, the complete text of the -GNU General Public License can be found in `/usr/share/common-licenses/GPL' -and the Artistic Licence in `/usr/share/common-licenses/Artistic'. +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'. diff -Nru libfile-rsync-perl-0.42/debian/patches/install-libs-in-libdir.patch libfile-rsync-perl-0.43/debian/patches/install-libs-in-libdir.patch --- libfile-rsync-perl-0.42/debian/patches/install-libs-in-libdir.patch 1970-01-01 00:00:00.000000000 +0000 +++ libfile-rsync-perl-0.43/debian/patches/install-libs-in-libdir.patch 2012-12-25 22:44:53.000000000 +0000 @@ -0,0 +1,17 @@ +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' }, + ); diff -Nru libfile-rsync-perl-0.42/debian/patches/non-interactive-path-for-rsync.patch libfile-rsync-perl-0.43/debian/patches/non-interactive-path-for-rsync.patch --- libfile-rsync-perl-0.42/debian/patches/non-interactive-path-for-rsync.patch 1970-01-01 00:00:00.000000000 +0000 +++ libfile-rsync-perl-0.43/debian/patches/non-interactive-path-for-rsync.patch 2012-12-25 22:44:53.000000000 +0000 @@ -0,0 +1,72 @@ +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 () { diff -Nru libfile-rsync-perl-0.42/debian/patches/series libfile-rsync-perl-0.43/debian/patches/series --- libfile-rsync-perl-0.42/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libfile-rsync-perl-0.43/debian/patches/series 2012-12-25 22:44:53.000000000 +0000 @@ -0,0 +1,2 @@ +non-interactive-path-for-rsync.patch +install-libs-in-libdir.patch diff -Nru libfile-rsync-perl-0.42/debian/rules libfile-rsync-perl-0.43/debian/rules --- libfile-rsync-perl-0.42/debian/rules 2012-12-26 05:48:17.000000000 +0000 +++ libfile-rsync-perl-0.43/debian/rules 2012-12-25 22:44:53.000000000 +0000 @@ -1,87 +1,11 @@ #!/usr/bin/make -f -#-*- makefile -*- -# Made with the aid of dh_make, by Craig Small -# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. -# Some lines taken from debmake, by Christoph Lameter. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) -PACKAGE=$(shell dh_listpackages) +%: + dh $@ -ifndef PERL -PERL = /usr/bin/perl -endif - -ifndef DESTDIR -DESTDIR=.. -endif -TMP =`pwd`/debian/$(PACKAGE) - -build: build-stamp -build-stamp: - dh_testdir - - - # Add here commands to compile the package. - $(PERL) Makefile.PL INSTALLDIRS=vendor - $(MAKE) OPTIMIZE="-O2 -g -Wall" - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) realclean - - dh_clean - -install: - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/tmp. - #$(MAKE) install DESTDIR=`pwd`/debian/tmp - $(MAKE) install PREFIX=$(TMP)/usr - - -# Build architecture-dependent files here. -binary-arch: build install -# We have nothing to do by default. - -# Build architecture-independent files here. -binary-indep: build install -# dh_testversion - dh_testdir - dh_testroot - dh_installdocs README TODO - dh_installexamples - dh_installmenu -# dh_installemacsen -# dh_installinit - dh_installcron +override_dh_installman: dh_installman -# dh_undocumented - dh_installchangelogs Changelog - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_makeshlibs - dh_installdeb - dh_perl - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb --destdir=$(DESTDIR) - -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary + $(RM) -v $(TMP)/usr/share/man/man3/File::config.3pm diff -Nru libfile-rsync-perl-0.42/debian/source/format libfile-rsync-perl-0.43/debian/source/format --- libfile-rsync-perl-0.42/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ libfile-rsync-perl-0.43/debian/source/format 2012-12-26 05:48:18.016469085 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru libfile-rsync-perl-0.42/makepm.PL libfile-rsync-perl-0.43/makepm.PL --- libfile-rsync-perl-0.42/makepm.PL 2012-12-26 05:48:17.000000000 +0000 +++ libfile-rsync-perl-0.43/makepm.PL 2008-12-17 22:43:43.000000000 +0000 @@ -1,37 +1,32 @@ # 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'; -#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'; +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; open IN,'config.in' or die "Cannot read config.in: $!\n"; open OUT,'>config.pm' or die "Cannot write config.pm: $!\n"; while () { diff -Nru libfile-rsync-perl-0.42/test.pl libfile-rsync-perl-0.43/test.pl --- libfile-rsync-perl-0.42/test.pl 2005-06-25 01:28:54.000000000 +0000 +++ libfile-rsync-perl-0.43/test.pl 2009-08-18 15:26:32.000000000 +0000 @@ -8,9 +8,17 @@ use vars qw($loaded $fail); $loaded=1; $fail=0; -print STDERR "\nNOTE: expect 'badoption' message for test 6\n\n"; +warn "\nNOTE: expect 'badoption' message for test 7\n\n"; print "ok 1\n"; +unless (-x $File::Rsync::RsyncConfig{rsync_path}) { + $fail++; + print "not ok 2\n"; + warn "configured path to rsync binary ($File::Rsync::RsyncConfig{rsync_path}) does not exist or is not executable\n"; + exit 1; +} +print "ok 2\n"; + system qw(rm -rf destdir); # all in one { @@ -22,7 +30,7 @@ my $ret=$rs->exec; ($ret == 1 && $rs->status == 0 && ! $rs->err) || ($fail++,print "not "); } - print "ok 2\n"; + print "ok 3\n"; } system qw(rm -rf destdir); @@ -36,7 +44,7 @@ my $ret=$rs->exec(src => 'blib', dest => 'destdir'); ($ret == 1 && $rs->status == 0 && ! $rs->err) || ($fail++,print "not "); } - print "ok 3\n"; + print "ok 4\n"; } system qw(rm -rf destdir); @@ -53,7 +61,7 @@ && $rs->err->[0] =~ /\bNo such file or directory\b/i) || ($fail++,print "not "); } - print "ok 4\n"; + print "ok 5\n"; } system qw(rm -rf destdir); @@ -72,7 +80,7 @@ && ${$rs->err}[0] =~/\bNo such file or directory\b/i) || ($fail++,print "not "); } - print "ok 5\n"; + print "ok 6\n"; } system qw(rm -rf destdir); @@ -80,7 +88,7 @@ { my $rs=File::Rsync->new(archive => 1, badoption => 1); $rs && ($fail++,print "not "); - print "ok 6\n"; + print "ok 7\n"; } system qw(rm -rf destdir);