From c2bf3b760dad6cfe8b5225eb1ceef30f37481c66110eaedb5bb67620f18ec308 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 8 Dec 2024 20:51:53 +0000 Subject: [PATCH] - Update to version 1.77: + align license text with xterm, i.e., "MIT-X11" + add decompression for zstd files + improve configure script checks, reducing compiler warnings + update config.guess, config.sub OBS-URL: https://build.opensuse.org/package/show/devel:tools/diffstat?expand=0&rev=42 --- .gitattributes | 23 ++++ .gitignore | 1 + diffstat-1.66.tgz | 3 + diffstat-1.66.tgz.asc | 15 +++ diffstat-1.67.tgz | 3 + diffstat-1.67.tgz.asc | 15 +++ diffstat.changes | 290 ++++++++++++++++++++++++++++++++++++++++++ diffstat.diff | 38 ++++++ diffstat.keyring | 53 ++++++++ diffstat.spec | 54 ++++++++ 10 files changed, 495 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 diffstat-1.66.tgz create mode 100644 diffstat-1.66.tgz.asc create mode 100644 diffstat-1.67.tgz create mode 100644 diffstat-1.67.tgz.asc create mode 100644 diffstat.changes create mode 100644 diffstat.diff create mode 100644 diffstat.keyring create mode 100644 diffstat.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/diffstat-1.66.tgz b/diffstat-1.66.tgz new file mode 100644 index 0000000..c15ba57 --- /dev/null +++ b/diffstat-1.66.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f54531bbe32e8e0fa461f018b41e3af516b632080172f361f05e50367ecbb69e +size 302451 diff --git a/diffstat-1.66.tgz.asc b/diffstat-1.66.tgz.asc new file mode 100644 index 0000000..fc7da77 --- /dev/null +++ b/diffstat-1.66.tgz.asc @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNATURE----- +Comment: See https://invisible-island.net/public/public.html for info + +iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmW24vgACgkQzCr0RyFn +vgMseAwAtzF7ms/jC6Kaec+eX31eiz/vPspEUPsJsSKc+zg2/J/DA193n0ocC7qB +/inKayo2LMRoi4jezmkfKVCdx7eP0DI26m/JLWWoJDEpaOLNsrGolVEgHC/d+xF+ +Hb1wX0bciK/mW6l2o5OsTV2uLJv8mEa1Vl2U8wDDI+Mq013MPX6iGwesEXajjsOH +wItsa+NdWWR9IzYfkMjHxWGMkORanE5suRgH75VVUqX4rN0kB9nvi4j1Orj4Jh5s +arfdiMiv2H4T7kwiI6OJMgxg3QbCR597yCftgiFVh2VPFRcDR9uH0GtuhOp0hVNk +pa+E3ZCkOLqQN7GipUPJLLeYwxdBXt6fOH8+fIPZvPJL0RYFVw/XZQ55FB7lXdSs +hBCO+NYhhh8U4fjX3JVUszei1O/R1RGRrCCWk0oudyMwNEfBl5uwNU5QN8ImDzBX +CnYncbQJiijuJFmlqER+wifRkOjMB158xIqUEHXrQCQLSFB5fadu8CZfBdcgO0Qw +jVqsTNIw +=8mPm +-----END PGP SIGNATURE----- diff --git a/diffstat-1.67.tgz b/diffstat-1.67.tgz new file mode 100644 index 0000000..95742df --- /dev/null +++ b/diffstat-1.67.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:760ed0c99c6d643238d41b80e60278cf1683ffb94a283954ac7ef168c852766a +size 307662 diff --git a/diffstat-1.67.tgz.asc b/diffstat-1.67.tgz.asc new file mode 100644 index 0000000..7e8cb90 --- /dev/null +++ b/diffstat-1.67.tgz.asc @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNATURE----- +Comment: See https://invisible-island.net/public/public.html for info + +iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmcyLm0ACgkQzCr0RyFn +vgOh4gwA8KPM2cwK+6y+wFlcaZ93qfuYZXWoGyo9q3waoyeHNQWlDExf2HXzADZz +CzbMhP5MLMjxULi1CGX1Q3kxLNKPba58MBsZIfqO963I9RSHZd9a+XFuos55GUT1 +9Fmx71jj4dpx0HcfAacKH1tJmDLh0fZpzfI/OEpXZ8VDEBEC6MIQK2YtFPGBNf5t +yJ+Jel9WbSNI7XWATriLDxMI1X/DcykDoRd1BuRzbvrjbfsvLvynC76H/bUACf9T +sPS6t6ZO3Bs1xGDMDf6pKdmbrEuODXIOPH+VDzsphiYKuHi/eJsyTOctzXv93Hji +7l//DFs7R7vmSl0eOFD/6ziw70LHUL51XWpCPMB+wguUW/rN8Npuy0UzCup/MEjq +U0YApiXmvh+QGYy264Qk74BAjbTGg6uipJhEUPV26848oLHQNerUNku8Wf8waop5 +MOkg0xpNQTNrTu9MJqK+Yo3+rwkrUWpZIOzhZdxJk9WgIFj80qTCU1cky9pYtV2p +h+NY0PNc +=8yoJ +-----END PGP SIGNATURE----- diff --git a/diffstat.changes b/diffstat.changes new file mode 100644 index 0000000..98bfac8 --- /dev/null +++ b/diffstat.changes @@ -0,0 +1,290 @@ +------------------------------------------------------------------- +Wed Dec 4 13:18:54 UTC 2024 - Martin Pluskal + +- Update to version 1.77: + + align license text with xterm, i.e., "MIT-X11" + + add decompression for zstd files + + improve configure script checks, reducing compiler warnings + + update config.guess, config.sub + +------------------------------------------------------------------- +Sun Feb 11 17:27:48 UTC 2024 - Andrea Manzini + +- update to 1.66: + + improve handling of git diff's + + update install-sh + + improve configure script checks, reducing compiler warnings + +------------------------------------------------------------------- +Wed Dec 7 22:42:37 UTC 2022 - Dirk Müller + +- update to 1.65: + + correct case where there is no unified-context. + + trim trailing '/' from pathnames, e.g., to handle + "diff -ru FOO/ BAR/ | diffstat -K" + +------------------------------------------------------------------- +Sun Jan 24 18:43:30 UTC 2021 - Dirk Müller + +- update to 1.64: + + recognize binary files mentioned in "git diff --binary", and + "git log -p --binary" formatted files (report by Faheem Mitha). + +------------------------------------------------------------------- +Thu Dec 19 13:11:21 UTC 2019 - pgajdos@suse.com + +- version update to 1.63 + + eliminate fixed buffer when decoding range. + + use locale in computing filename column-width. + + improve parsing for git diffs. + + use terminal-width as default for -w to tty. + + minor fix in do_merging (Miloslaw Smyk). + + improve relative-pathname matching in count_lines() + + add a parsing-case for svn diff. + + quote filenames in -t/-T output. + + fix cppcheck warnings about sscanf. + + update configure macros + + update config.guess, config.sub + +------------------------------------------------------------------- +Mon Dec 31 09:20:21 UTC 2018 - Petr Gajdos + +- Update to 1.62 + + improve checks for unmodified files when -S and -D options are + given. + + improve test-packages, to check warning-options. + + minor fixes for manpage (Debian #895963) + + minor fixes for prefix-stripping with -S option. + +------------------------------------------------------------------- +Sun Feb 7 07:51:45 UTC 2016 - mpluskal@suse.com + +- Update to 1.61 + * add -T option to show amount of changes next to histogram. + * if -S option is given, check for unmodified files and add those + to the report. + * update configure macros + * update config.guess, config.sub + +------------------------------------------------------------------- +Wed Aug 5 14:34:45 UTC 2015 - mpluskal@suse.com + +- Update to 1.60 + * add configure option --with-man2html + * update configure macros + * update config.guess, config.sub + +------------------------------------------------------------------- +Sun Apr 19 12:24:08 UTC 2015 - mpluskal@suse.com + +- Update source url +- Add gpg signature + +------------------------------------------------------------------- +Mon Jun 9 07:54:14 UTC 2014 - pgajdos@suse.com + +- updated to 1.59: + + add -E option to filter escape-sequences, e.g., from colordiff + (Ubuntu #1304262). + + merge/adapt improvments to makefile and configure script from + openembedded.org (forwarded by Ross Burton). + + remove unused $(libdir) from makefile "installdirs" target + + amend definition in CF_POPEN_TEST to permit use of autoheader. + + workaround for gratuitous renaming of AC_ACVERSION in 2.69 + + added "docs" rule to makefile + + improvements to configure macros: + + added check for -Wlogical-op to gcc warnings + + suppress check for defining _XOPEN_SOURCE on Solaris + + trim an unwanted -no-gcc option for Intel compiler + + update config.guess, config.sub + +------------------------------------------------------------------- +Wed Oct 30 06:35:31 UTC 2013 - pgajdos@suse.com + +- updated to 1.58: + + add COPYING file (request by Dagobert Michelsen). + + improved portability for cross-compiling, by supplying missing + getopt function as well as improving checks for popen/pclose + prototypes. + +------------------------------------------------------------------- +Tue Apr 16 05:36:24 UTC 2013 - pascal.bleser@opensuse.org + +- updated to 1.57: + * improve treatment of binary files in ambiguous message introduced in + diffutils 2.8.4, and finally corrected in 3.0 + * use mkdtemp instead of the insecure mktemp + +------------------------------------------------------------------- +Wed Feb 13 07:36:01 UTC 2013 - pgajdos@suse.com + +- updated to 1.56: + + add -K option which attempts to improve the annotation of "only" + files by looking for a match in the resulting set of files and + inferring whether the file was added or removed (request by Marc + Haber). + + add check of command-line options for valid numbers. + + improve merging of patches for the same filename (report/testcase by + Paul E McKenney). + + document -d option in manpage. + + document -b, -C, -s option in usage (patch by Tim Waugh, Red Hat + #852770) + + modify configure script as done for byacc in 2012/10/03, making the + 2.52-patches the prerequisite and adding support for --datarootdir + option. + + update config.guess, config.sub + + add logic to handle SVN diffs when the pathnames contain spaces + (patch by Stuart Prescott, Debian #675475). + + fix typo in package/debian/control + +------------------------------------------------------------------- +Wed Jan 4 09:04:33 UTC 2012 - pgajdos@suse.com + +- updated to 1.55: + * fixed [bnc#739210] -- on commercial license found in diffstat + 1.54 (test files) + * add -R option, like patch's, to reverse the order of the + comparison. +- switch on make check + +------------------------------------------------------------------- +Tue Dec 20 20:15:42 UTC 2011 - coolo@suse.com + +- remove call to suse_update_config (very old work around) + +------------------------------------------------------------------- +Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile + (cf. packaging guidelines) +- Use %_smp_mflags for parallel build + +------------------------------------------------------------------- +Tue Oct 12 07:10:26 UTC 2010 - pgajdos@novell.com + +- updated to 1.54 + + correct counts used for new files when -S/-D options are used. + + minor typography improvement to manpage (patch by Solaris Designer) + + remove the temporary directory on error, introduced in 1.48+ (patch + by Solaris Designer). + +------------------------------------------------------------------- +Tue Aug 24 12:24:10 CEST 2010 - pgajdos@suse.cz + +- updated to 1.53 (see CHANGES) + +------------------------------------------------------------------- +Wed Dec 9 00:22:05 CET 2009 - jengelh@medozas.de + +- enable parallel building + +------------------------------------------------------------------- +Tue Nov 24 18:07:09 CET 2009 - pgajdos@suse.cz + +- updated to 1.51 (see CHANGES) + +------------------------------------------------------------------- +Thu Aug 13 16:42:39 CEST 2009 - pgajdos@suse.cz + +- updated to 1.48: + * add decompression tests for lzma and pack file types. + * check for zcat and uncompress in preference to "compress -dc". + * modify to check the first few bytes of standard input, and use a + corresponding decompression utility if the stream appears to be + compressed. This requires making a temporary copy of the data + * add -N option, to truncate filenames. + * use getc_unlocked() rather than fgetc_unlocked() + * modify to recognize Perforce-style diffs (patch by Ed Schouten). + +------------------------------------------------------------------- +Mon Mar 30 11:29:12 CEST 2009 - pgajdos@suse.cz + +- updated to 1.47 version: + * Modified to work with patch ".rej" files. + +------------------------------------------------------------------- +Thu Sep 11 13:44:33 CEST 2008 - pgajdos@suse.cz + +- update to 1.46 version: + * add "-S", "-D" and "-m" options to provide a way to show the amount + of difference relative to the total sizes of the files. + * add "-q" option (patch by Greg Norris). + +------------------------------------------------------------------- +Tue Dec 11 20:16:15 CET 2007 - pgajdos@suse.cz + +- update to 1.45 + * add "-b" option (Debian #379380, patch by + Greg Norris). + * add a check for default-diff output, e.g., "diff foo + bar|diffstat", which has no "diff" command in the + output for diffstat to guess that a diff is beginning. + * add a check after completing a chunk for unified diff + to ensure that the next line either begins another chunk + for the diff, or starts another diff, e.g., a context + diff (report by Adrian Bunk). + * add configure options for leak-checking valgrind, etc. + * use install-sh rather than install.sh + * updated config.guess and config.sub + * updated configure macros CF_GCC_ATTRIBUTES CF_GCC_WARNINGS + CF_MSG_LOG CF_PATH_SYNTAX CF_VERBOSE CF_XOPEN_SOURCE + + +------------------------------------------------------------------- +Thu Jul 27 15:33:59 CEST 2006 - mjancar@suse.cz + +- update to 1.43 + * fix to avoid modifying data which is being used by tsearch() for + ordering the binary tree (report by Adrian Bunk). + * do not ignore pathnames in /tmp/, since some tools create usable + pathnames for both old/new files there (Debian #376086). + * correct ifdef for fgetc_unlocked(). + * updated configure macros CF_GCC_VERSION, CF_PATH_SYNTAX and + CF_XOPEN_SOURCE + * add configure check for compress, gzip and bzip2 programs that may be + used to decompress files. + +------------------------------------------------------------------- +Wed Jan 25 21:35:30 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Jan 12 17:29:49 CET 2006 - mjancar@suse.cz + +- update to 1.41 + +------------------------------------------------------------------- +Mon Aug 1 17:28:22 CEST 2005 - mjancar@suse.cz + +- update to 1.39 + +------------------------------------------------------------------- +Thu Feb 24 16:35:51 CET 2005 - mjancar@suse.cz + +- update to 1.38 + +------------------------------------------------------------------- +Fri Feb 27 09:12:27 CET 2004 - mjancar@suse.cz + +- update to 1.34 + +------------------------------------------------------------------- +Thu Jul 24 16:25:14 CEST 2003 - mjancar@suse.cz + +- update to 1.33 + +------------------------------------------------------------------- +Fri Nov 23 15:29:09 CET 2001 - cihlar@suse.cz + +- update to version 1.29 + * add bzip2 (.bz2) suffix + * add check for diff from RCS archive where the + "diff" lines do not reference a filename +- added Url: + +------------------------------------------------------------------- +Thu Oct 19 10:32:40 CEST 2000 - cihlar@suse.cz + +- package created + diff --git a/diffstat.diff b/diffstat.diff new file mode 100644 index 0000000..bf8a724 --- /dev/null +++ b/diffstat.diff @@ -0,0 +1,38 @@ +Index: config_h.in +=================================================================== +--- config_h.in.orig ++++ config_h.in +@@ -5,4 +5,11 @@ + * config.h -- Kevin Buettner. + */ + +-@DEFS@ ++#define HAVE_GETOPT_H 0 ++#define HAVE_MALLOC_H 0 ++#define HAVE_POPEN 0 ++#define HAVE_STDLIB_H 0 ++#define HAVE_STRING_H 0 ++#define HAVE_UNISTD_H 0 ++#define STDC_HEADERS 0 ++#define HAVE_MKDTEMP 1 +Index: makefile.in +=================================================================== +--- makefile.in.orig ++++ makefile.in +@@ -16,6 +16,7 @@ datarootdir = @datarootdir@ + bindir = @bindir@ + mandir = @mandir@ + ++DEFS = @DEFS@ + CC = @CC@ + LINK = $(CC) + INSTALL = @INSTALL@ +@@ -28,7 +29,7 @@ CTAGS = @CTAGS@ + ETAGS = @ETAGS@ + + CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ +-CPPFLAGS = -I. -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@ ++CPPFLAGS = -I. -I$(srcdir) $(DEFS) @CPPFLAGS@ + + LIBS = @LIBS@ + LDFLAGS = @LDFLAGS@ diff --git a/diffstat.keyring b/diffstat.keyring new file mode 100644 index 0000000..f4a0833 --- /dev/null +++ b/diffstat.keyring @@ -0,0 +1,53 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGNBGEEhmgBDAD3TTylJvq42rjYW1ISL2bXcNDvvqOyzhacLayhgHwe90yHPRtH +6v4kyOnltv3txWmbHpqSPFKOj+hi6SYO5o0iIc81p0BCtqu6za8WoGqfvyZ/N5V/ +dNkKcU3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TFU+YvhpD9QSekUlujF2ke +HFMdajH2aHuIzyuu2k8bbN80fG7s/G8C+hNwIlcR05a7f0o9loKUwq7E67Fs4P6Z +SXmoYU5wGBzsMoM8hM7UsvIDX28KRcz9n753NsIX2HtO26sJu3Z9kBj1SFdUTV20 +sxbKmbF6I0etVpc7x4tc1bBPXEFKeBZph+Zu3mzxcvtlZYraOuqSZFr04Mx+4njI +KeHklwr/GW5oaZG1JIPH0HddzPROUpwYXElCJRiEq1ObNesAEQEAAYkBvAQYAQoA +JgIbDBYhBBmILZLdpMQAwiwNVswq9EchZ74DBQJjYFExBQkEl/XJAAoJEMwq9Ech +Z74DY3QL/iRO4ZmH1s8XFRz90KBxcv2DYWFzV9iT7es9NKK6DcUfg3ZnIokdeliB +iKPeL48oP2hqvCAMsFOJLQ2I4Dmbd1SQQyMWT4cftGl4k/23Bcu2lw9bPJNA7qrJ +t1PkBj3c69k5wk4x2F/A21CYJP5kMTJ2vGxCB5jcFxMHbl7aZ9TS/WvHqseeiBzS +/fdavsJSBbn2bHR78QcHaFU0HKnFjXDrdxypIuozPtgnoCcyrxrthbmwbaQYnl6Y +gRpsGnbZfcyrIHnavVnSNXvw6CkqL156gzFIWKNv73eb8f/DUpK8VARZ7f4gMdRf +HNbQtyFanEPcz+pNHKN+2pjcw2wl86rJ6ubf8XsQoO+J55Sg9qFN+CCM7otq7M3g +PgKOiX46kndo+A7q9Qb3mNBDmv8wJPQjHgF6B39i8ZmCqARKX4+wVC61ZVtg35e8 +jZVsAUR8BIf97hv5j2Ps9czQUOSs5QMHo4smZX9570sC8Y2J8SYE6kI5PYeEyYGq +uExMYu+pwg== +=GFX2 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/diffstat.spec b/diffstat.spec new file mode 100644 index 0000000..44bbe0d --- /dev/null +++ b/diffstat.spec @@ -0,0 +1,54 @@ +# +# spec file for package diffstat +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: diffstat +Version: 1.67 +Release: 0 +Summary: Utility That Provides Statistics Based on the Output of diff +License: MIT +URL: https://invisible-island.net/diffstat/ +Source0: https://invisible-island.net/archives/diffstat/diffstat-%{version}.tgz +Source1: https://invisible-island.net/archives/diffstat/diffstat-%{version}.tgz.asc +Source2: %{name}.keyring +Patch0: %{name}.diff +BuildRequires: zstd + +%description +diffstat reads the output of the diff command and displays a histogram +of the insertions, deletions, and modifications in each file. + +%prep +%autosetup -p0 + +%build +%configure +%make_build CFLAGS="%{optflags}" + +%install +%make_install + +%check +%make_build check + +%files +%doc README CHANGES +%license COPYING +%{_bindir}/diffstat +%{_mandir}/man1/diffstat.1%{?ext_man} + +%changelog