debian/0000755000000000000000000000000012153101604007157 5ustar debian/patches/0000755000000000000000000000000012153101604010606 5ustar debian/patches/series0000644000000000000000000000006512153101604012024 0ustar fix-unique-uniquebase.diff fix-dash-a-vs-dash-s.diff debian/patches/fix-dash-a-vs-dash-s.diff0000644000000000000000000000135512153101604015170 0ustar Description: Fixes -a vs -s mixup Due to a typo, the short option -a is not queried while the short option -s works as if would have been -a. The according long options worked as advertised. Author: Axel Beckert Index: tardiff/tardiff =================================================================== --- tardiff.orig/tardiff 2013-06-03 13:45:30.000000000 +0200 +++ tardiff/tardiff 2013-06-03 13:46:08.000000000 +0200 @@ -41,7 +41,7 @@ $opt_modified = 1; }elsif(($arg eq "--list") or ($arg eq "-l")){ $opt_list = 1; - }elsif(($arg eq "--autoskip") or ($arg eq "-s")){ + }elsif(($arg eq "--autoskip") or ($arg eq "-a")){ $opt_autoskip = 1; }elsif(($arg eq "--stats") or ($arg eq "-s")){ $opt_stats = 1; debian/patches/fix-unique-uniquebase.diff0000644000000000000000000000314112153066566015711 0ustar Patch to allow to compare to tar balls with the same base directory. Also fixes an issue with listing a directory as present in the wrong tar ball. Author: Axel Beckert Index: tardiff-0.1/tardiff =================================================================== --- tardiff-0.1.orig/tardiff 2005-05-17 14:52:27.000000000 +0200 +++ tardiff-0.1/tardiff 2011-12-01 21:56:59.000000000 +0100 @@ -80,6 +80,7 @@ sub analyzetar{ my $filelist = shift(@_); my $filehash = shift(@_); + my $tarball = shift(@_); my %files = %{$filehash}; @@ -92,12 +93,12 @@ if(!$uniquebase){ $uniquebase = $base; }else{ - ($base eq $uniquebase) or die "$tarball1 contains different base dirs: $base and $uniquebase"; + ($base eq $uniquebase) or die "$tarball contains different base dirs: $base and $uniquebase"; } if($files{$remainder}){ $files{$remainder} = "__both"; }else{ - $files{$remainder} = "$uniquebase"; + $files{$remainder} = "$tarball"; } } @@ -174,8 +175,8 @@ my %files; - my ($base1, %files) = analyzetar($filelist1, \%files); - my ($base2, %files) = analyzetar($filelist2, \%files); + my ($base1, %files) = analyzetar($filelist1, \%files, $tarball1); + my ($base2, %files) = analyzetar($filelist2, \%files, $tarball2); foreach my $file(sort(keys(%files))){ next if $file eq ""; @@ -196,9 +197,9 @@ if($opt_list and not $modified){ print " $file\n"; } - }elsif($base eq $base1){ + }elsif($base eq $tarball1){ print "- $file\n"; - }elsif($base eq $base2){ + }elsif($base eq $tarball2){ print "+ $file\n"; }else{ print "? $file\n"; debian/compat0000644000000000000000000000000212153067031010362 0ustar 9 debian/watch0000644000000000000000000000017512153066566010234 0ustar # Compulsory line, this is a version 3 file version=3 # No watchable URL linked on http://tardiff.coolprojects.org/ so far. debian/changelog0000644000000000000000000000174212153101604011035 0ustar tardiff (0.1-2) unstable; urgency=low * Patch -a vs -s mixup. (Due to a typo, the short option -a is not queried while the short option -s works as if would have been -a. The according long options worked as advertised.) * Bump debhelper compatibility to 9 + Update versioned debhelper build-dependency + Remove manual clean up of *-stamp files * Revamp debian/rules: + Move dh_installman parameter to debian/manpages + Switch to a dh7 style debian/rules file * Remove recommends on essential package * Bump Standards-Version to 3.9.4 (no changes) * Fix lintian warning vcs-field-not-canonical * Remove stray debian/debian/patches/series * Apply wrap-and-sort -- Axel Beckert Mon, 03 Jun 2013 12:57:19 +0200 tardiff (0.1-1) unstable; urgency=low * Initial release (Closes: #650668) * Add patch to fix comparison of tar balls with the same base directory. -- Axel Beckert Mon, 07 May 2012 01:02:25 +0200 debian/copyright0000644000000000000000000000225112153072027011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: tardiff Source: http://tardiff.coolprojects.org/tardiff Files: * Copyright: 2005 Josef Spillner License: GPL-2.0+ Comment: GPL version clarified by upstream author in a non-English e-mail to the package maintainer. Files: debian/* Copyright: 2011 Axel Beckert License: GPL-2.0+ License: GPL-2.0+ 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 of the License, or (at your option) any later version. . This package 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 . . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/tardiff.10000644000000000000000000000312312153066566010700 0ustar .TH TARDIFF "1" "December 2011" "TarDiff 0.1" "User Commands" .SH NAME TarDiff \- Compare two tarballs and report differences .SH DESCRIPTION TarDiff compares the contents of two tarballs and reports on any differences found between them. Its use is mainly for release managers who can use it as a QA tool to make sure no files have accidently been left over or were added by mistake. TarDiff supports compressed tarballs, diff statistics and suppression of GNU autotool changes. .SH SYNOPSIS tardiff \fI[options]\fR \fBfile1.tar\fR \fBfile2.tar\fR\fI[.gz/.bz2]\fR .SH OPTIONS .PD 0 \fB\-m\fP, \fB\-\-modified\fP Report on all changed files, including those present in both tarballs .TP \fB\-l\fP, \fB\-\-list\fP List all files, even those not changed at all .TP \fB\-a\fP, \fB\-\-autoskip\fP Skip files which belong to the GNU autotools (for \fB\-\-modified\fP) .TP \fB\-s\fP, \fB\-\-stats\fP Run statistics (diffstat) on all modified files (for \fB\-\-modified\fP) .PP \fB\-v\fP, \fB\-\-version\fP Display tardiff version .TP \fB\-h\fP, \fB\-\-help\fP Display this help screen .PD .SH "SEE ALSO" \fItar\fR(1), \fItardy\fR(1) .SH "AUTHOR" TarDiff was written by Josef Spillner <\fIjosef@coolprojects.org\fR>. This man page was written by Axel Beckert <\fIabe@debian.org\fR> based on help2man(1) output for the Debian Project, but may be used by others. .SH "COPYRIGHT" Copyright (C) 2005 Josef Spillner <\fIjosef@coolprojects.org\fR> .PP 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. debian/control0000644000000000000000000000143212153072602010567 0ustar Source: tardiff Section: utils Priority: optional Maintainer: Axel Beckert Build-Depends: debhelper (>= 9~) Standards-Version: 3.9.4 Homepage: http://tardiff.coolprojects.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/tardiff.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/tardiff.git Package: tardiff Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Description: Tarball comparison tool TarDiff compares the contents of two tarballs and reports on any differences found between them. Its use is mainly for release managers who can use it as a QA tool to make sure no files have accidently been left over or were added by mistake. TarDiff supports compressed tarballs, diff statistics and suppression of GNU autotool changes. debian/source/0000755000000000000000000000000012153066566010500 5ustar debian/source/format0000644000000000000000000000001412153066566011706 0ustar 3.0 (quilt) debian/manpages0000644000000000000000000000002112153067355010704 0ustar debian/tardiff.1 debian/rules0000755000000000000000000000036412153067616010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_install: install -d $(CURDIR)/debian/tardiff/usr/bin/ install -m 755 tardiff $(CURDIR)/debian/tardiff/usr/bin/