Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fatsort for openSUSE:Factory checked in at 2021-12-21 18:40:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fatsort (Old) and /work/SRC/openSUSE:Factory/.fatsort.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fatsort" Tue Dec 21 18:40:42 2021 rev:9 rq:941800 version:1.6.4.625 Changes: -------- --- /work/SRC/openSUSE:Factory/fatsort/fatsort.changes 2020-08-13 10:19:41.170794708 +0200 +++ /work/SRC/openSUSE:Factory/.fatsort.new.2520/fatsort.changes 2021-12-21 18:41:13.445905749 +0100 @@ -1,0 +2,7 @@ +Mon Dec 20 21:52:10 UTC 2021 - Dirk M??ller <[email protected]> + +- update to 1.6.4.625: + * Fixed randomization for fatXX. + * added test cases for randomization option + +------------------------------------------------------------------- Old: ---- fatsort-1.6.3.622.tar.xz New: ---- fatsort-1.6.4.625.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fatsort.spec ++++++ --- /var/tmp/diff_new_pack.DJ8Tx9/_old 2021-12-21 18:41:13.921906176 +0100 +++ /var/tmp/diff_new_pack.DJ8Tx9/_new 2021-12-21 18:41:13.921906176 +0100 @@ -1,7 +1,7 @@ # # spec file for package fatsort # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: fatsort -Version: 1.6.3.622 +Version: 1.6.4.625 Release: 0 Summary: FAT Filesystem Sorting Utility License: GPL-2.0-or-later Group: System/Filesystems -URL: http://fatsort.sourceforge.net +URL: https://fatsort.sourceforge.io/ Source0: https://sourceforge.net/projects/fatsort/files/fatsort-%{version}.tar.xz BuildRequires: help2man @@ -38,10 +38,8 @@ %make_build CFLAGS="%{optflags}" %install -install -Dpm 0755 -p src/%{name} \ - %{buildroot}%{_sbindir}/%{name} -install -Dpm 0644 -p man/%{name}.1 \ - %{buildroot}%{_mandir}/man1/%{name}.1 +install -Dpm 0755 -p src/%{name} %{buildroot}%{_sbindir}/%{name} +install -Dpm 0644 -p man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %files %license LICENSE.txt ++++++ fatsort-1.6.3.622.tar.xz -> fatsort-1.6.4.625.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/CHANGES.md new/fatsort-1.6.4.625/CHANGES.md --- old/fatsort-1.6.3.622/CHANGES.md 2020-08-08 12:45:23.000000000 +0200 +++ new/fatsort-1.6.4.625/CHANGES.md 2021-09-20 11:20:17.000000000 +0200 @@ -1,5 +1,9 @@ # Changelog +## v1.6.4 (September 20th, 2021) +* fixed randomization for fatXX. Thanks go to Zolt??n D??me for reporting the bug! +* added test cases for randomization option + ## v1.6.3 (August 8th, 2020) * fatsort release file now includes precompiled makefile * fixed support for macOS (thanks to Max for the fix) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/man/fatsort.1 new/fatsort-1.6.4.625/man/fatsort.1 --- old/fatsort-1.6.3.622/man/fatsort.1 2020-08-08 12:47:13.000000000 +0200 +++ new/fatsort-1.6.4.625/man/fatsort.1 2021-09-20 11:22:20.000000000 +0200 @@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.14. -.TH FATSORT "1" "August 2020" "fatsort 1.6.3" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3. +.TH FATSORT "1" "September 2021" "fatsort 1.6.4" "User Commands" .SH NAME fatsort \- FAT sorting tool .SH SYNOPSIS @@ -111,7 +111,7 @@ .SH "REPORTING BUGS" Report bugs to <[email protected]>. .SH COPYRIGHT -Copyright \(co 2004\-2019 Boris Leidner. +Copyright \(co 2004\-2021 Boris Leidner. License GPLv2: GNU GPL version 2 (see LICENSE.txt) .br This is free software: you are free to change and redistribute it. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/src/entrylist.c new/fatsort-1.6.4.625/src/entrylist.c --- old/fatsort-1.6.3.622/src/entrylist.c 2019-11-23 02:27:17.000000000 +0100 +++ new/fatsort-1.6.4.625/src/entrylist.c 2021-09-20 11:20:17.000000000 +0200 @@ -385,7 +385,7 @@ tmp=randlist; last=skip; - while(tmp->next && ((uint8_t) tmp->next->sname[0] == DE_FREE)) { + while(tmp->next && ((uint8_t) tmp->next->sname[0] != DE_FREE)) { last++; tmp=tmp->next; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/src/fatsort.c new/fatsort-1.6.4.625/src/fatsort.c --- old/fatsort-1.6.3.622/src/fatsort.c 2020-04-12 11:01:37.000000000 +0200 +++ new/fatsort-1.6.4.625/src/fatsort.c 2021-09-20 11:20:17.000000000 +0200 @@ -45,9 +45,9 @@ // program information #define INFO_PROGRAM "fatsort" -#define INFO_VERSION "1.6.3" +#define INFO_VERSION "1.6.4" #define INFO_AUTHOR "Written by Boris Leidner.\n" -#define INFO_COPYRIGHT "Copyright (C) 2004-2019 Boris Leidner.\n" +#define INFO_COPYRIGHT "Copyright (C) 2004-2021 Boris Leidner.\n" #define INFO_LICENSE "License GPLv2: GNU GPL version 2 (see LICENSE.txt)\n" \ "This is free software: you are free to change and redistribute it.\n" \ "There is NO WARRANTY, to the extent permitted by law.\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/src/regexlist.c new/fatsort-1.6.4.625/src/regexlist.c --- old/fatsort-1.6.3.622/src/regexlist.c 2018-09-29 17:42:55.000000000 +0200 +++ new/fatsort-1.6.4.625/src/regexlist.c 2021-02-16 07:38:29.000000000 +0100 @@ -104,7 +104,7 @@ while (regExList != NULL) { // return on first match with success - if (!regexec(regExList->regex, str, 0, pmatch, 0)) { + if (!regexec(regExList->regex, str, 1, pmatch, 0)) { return RETURN_MATCH; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/tc_pos_sort_random_exfat/Makefile new/fatsort-1.6.4.625/tests/tc_pos_sort_random_exfat/Makefile --- old/fatsort-1.6.3.622/tests/tc_pos_sort_random_exfat/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/tc_pos_sort_random_exfat/Makefile 2021-09-20 11:20:17.000000000 +0200 @@ -0,0 +1,44 @@ +include ../testconfig.mk + +TESTLOG=test.log + +STDOUT=stdout.log +STDOUT_EXP=stdout_expected.txt +STDERR=stderr.log +STDERR_EXP=stderr_expected.txt +REF_FS_XZ=${IMAGEDIR}/exfat_good_dirs_and_files3.img.xz + +XZ=xz + +all: passed + if [ ${DEL_FS_ON_PASS} -eq 1 ]; then rm -f ${FS_IMG}; fi + +clean: + rm -f passed + rm -fr *.log *.tmp ${FS_IMG} ${TMPFILE} ${TMPDIR} + +$(FS_IMG): $(REF_FS_XZ) + # ++++++++++ Unpacking reference file systen ++++++++++ + mkdir -p $(TMPDIR) + ${XZ} -d -f --stdout ${REF_FS_XZ} >> ${FS_IMG} + +execute: $(FS_IMG) + # ++++++++++ Executing tests ++++++++++ + ${FATSORT} -R ${FS_IMG} + ${FATSORT} -l ${FS_IMG} > ${STDOUT} 2> ${STDERR} + @! diff ${STDOUT} ${STDOUT_EXP} + sort ${STDOUT} > $(TMPDIR)/${STDOUT}_sorted.log + sort ${STDOUT_EXP} > $(TMPDIR)/${STDOUT_EXP}_sorted.log + diff $(TMPDIR)/${STDOUT}_sorted.log $(TMPDIR)/${STDOUT_EXP}_sorted.log + diff ${STDERR} ${STDERR_EXP} + +# check result +fsck: execute + # ++++++++++ Checking file system ++++++++++ + fsck.vfat -n ${FS_IMG} + +# test passed +passed: execute + touch passed + +.PHONY: passed fsck execute clean diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/tc_pos_sort_random_exfat/stdout_expected.txt new/fatsort-1.6.4.625/tests/tc_pos_sort_random_exfat/stdout_expected.txt --- old/fatsort-1.6.3.622/tests/tc_pos_sort_random_exfat/stdout_expected.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/tc_pos_sort_random_exfat/stdout_expected.txt 2021-09-20 11:20:17.000000000 +0200 @@ -0,0 +1,62 @@ +File system: exFAT. + +/ +Directory1 +directory2 +dir3 +a +b +c +d +e +f +g +h +i +j +k +l +m +n +o +p +q +r +s +t +u +v +w +x +y +z +?? +?? +?? +file3.bin +file2.bin +file1.bin +Long file name with lots of words and characters just to test long file name entries in FAT file systems +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +01b +1a +001c + +/Directory1/ + +/directory2/ + +/dir3/ +subDir + +/dir3/subDir/ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/tc_pos_sort_random_fat16/Makefile new/fatsort-1.6.4.625/tests/tc_pos_sort_random_fat16/Makefile --- old/fatsort-1.6.3.622/tests/tc_pos_sort_random_fat16/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/tc_pos_sort_random_fat16/Makefile 2021-09-20 11:20:17.000000000 +0200 @@ -0,0 +1,44 @@ +include ../testconfig.mk + +TESTLOG=test.log + +STDOUT=stdout.log +STDOUT_EXP=stdout_expected.txt +STDERR=stderr.log +STDERR_EXP=stderr_expected.txt +REF_FS_XZ=${IMAGEDIR}/fat16_good_dirs_and_files3.img.xz + +XZ=xz + +all: passed + if [ ${DEL_FS_ON_PASS} -eq 1 ]; then rm -f ${FS_IMG}; fi + +clean: + rm -f passed + rm -fr *.log *.tmp ${FS_IMG} ${TMPFILE} ${TMPDIR} + +$(FS_IMG): $(REF_FS_XZ) + # ++++++++++ Unpacking reference file systen ++++++++++ + mkdir -p $(TMPDIR) + ${XZ} -d -f --stdout ${REF_FS_XZ} >> ${FS_IMG} + +execute: $(FS_IMG) + # ++++++++++ Executing tests ++++++++++ + ${FATSORT} -R ${FS_IMG} + ${FATSORT} -l ${FS_IMG} > ${STDOUT} 2> ${STDERR} + @! diff ${STDOUT} ${STDOUT_EXP} + sort ${STDOUT} > $(TMPDIR)/${STDOUT}_sorted.log + sort ${STDOUT_EXP} > $(TMPDIR)/${STDOUT_EXP}_sorted.log + diff $(TMPDIR)/${STDOUT}_sorted.log $(TMPDIR)/${STDOUT_EXP}_sorted.log + diff ${STDERR} ${STDERR_EXP} + +# check result +fsck: execute + # ++++++++++ Checking file system ++++++++++ + fsck.vfat -n ${FS_IMG} + +# test passed +passed: execute + touch passed + +.PHONY: passed fsck execute clean diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/tc_pos_sort_random_fat16/stdout_expected.txt new/fatsort-1.6.4.625/tests/tc_pos_sort_random_fat16/stdout_expected.txt --- old/fatsort-1.6.3.622/tests/tc_pos_sort_random_fat16/stdout_expected.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/tc_pos_sort_random_fat16/stdout_expected.txt 2021-09-20 11:20:17.000000000 +0200 @@ -0,0 +1,62 @@ +File system: FAT16. + +/ +Directory1 +directory2 +dir3 +a +b +c +d +e +f +g +h +i +j +k +l +m +n +o +p +q +r +s +t +u +v +w +x +y +z +?? +?? +?? +file3.bin +file2.bin +file1.bin +Long file name with lots of words and characters just to test long file name entries in FAT file systems +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +01b +1a +001c + +/Directory1/ + +/directory2/ + +/dir3/ +subDir + +/dir3/subDir/ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/tc_pos_sort_random_fat32/Makefile new/fatsort-1.6.4.625/tests/tc_pos_sort_random_fat32/Makefile --- old/fatsort-1.6.3.622/tests/tc_pos_sort_random_fat32/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/tc_pos_sort_random_fat32/Makefile 2021-09-20 11:20:17.000000000 +0200 @@ -0,0 +1,44 @@ +include ../testconfig.mk + +TESTLOG=test.log + +STDOUT=stdout.log +STDOUT_EXP=stdout_expected.txt +STDERR=stderr.log +STDERR_EXP=stderr_expected.txt +REF_FS_XZ=${IMAGEDIR}/fat32_good_dirs_and_files3.img.xz + +XZ=xz + +all: passed + if [ ${DEL_FS_ON_PASS} -eq 1 ]; then rm -f ${FS_IMG}; fi + +clean: + rm -f passed + rm -fr *.log *.tmp ${FS_IMG} ${TMPFILE} ${TMPDIR} + +$(FS_IMG): $(REF_FS_XZ) + # ++++++++++ Unpacking reference file systen ++++++++++ + mkdir -p $(TMPDIR) + ${XZ} -d -f --stdout ${REF_FS_XZ} >> ${FS_IMG} + +execute: $(FS_IMG) + # ++++++++++ Executing tests ++++++++++ + ${FATSORT} -R ${FS_IMG} + ${FATSORT} -l ${FS_IMG} > ${STDOUT} 2> ${STDERR} + @! diff ${STDOUT} ${STDOUT_EXP} + sort ${STDOUT} > $(TMPDIR)/${STDOUT}_sorted.log + sort ${STDOUT_EXP} > $(TMPDIR)/${STDOUT_EXP}_sorted.log + diff $(TMPDIR)/${STDOUT}_sorted.log $(TMPDIR)/${STDOUT_EXP}_sorted.log + diff ${STDERR} ${STDERR_EXP} + +# check result +fsck: execute + # ++++++++++ Checking file system ++++++++++ + fsck.vfat -n ${FS_IMG} + +# test passed +passed: execute + touch passed + +.PHONY: passed fsck execute clean diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/tc_pos_sort_random_fat32/stdout_expected.txt new/fatsort-1.6.4.625/tests/tc_pos_sort_random_fat32/stdout_expected.txt --- old/fatsort-1.6.3.622/tests/tc_pos_sort_random_fat32/stdout_expected.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/tc_pos_sort_random_fat32/stdout_expected.txt 2021-09-20 11:20:17.000000000 +0200 @@ -0,0 +1,62 @@ +File system: FAT32. + +/ +Directory1 +directory2 +dir3 +a +b +c +d +e +f +g +h +i +j +k +l +m +n +o +p +q +r +s +t +u +v +w +x +y +z +?? +?? +?? +file3.bin +file2.bin +file1.bin +Long file name with lots of words and characters just to test long file name entries in FAT file systems +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +01b +1a +001c + +/Directory1/ + +/directory2/ + +/dir3/ +subDir + +/dir3/subDir/ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/ts_all new/fatsort-1.6.4.625/tests/ts_all --- old/fatsort-1.6.3.622/tests/ts_all 2019-11-17 10:11:47.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/ts_all 2021-09-20 11:20:17.000000000 +0200 @@ -100,6 +100,9 @@ tc_pos_sort_prefixes_fat12 tc_pos_sort_prefixes_fat16 tc_pos_sort_prefixes_fat32 +tc_pos_sort_random_exfat +tc_pos_sort_random_fat16 +tc_pos_sort_random_fat32 tc_pos_sort_reverse_exfat tc_pos_sort_reverse_fat12 tc_pos_sort_reverse_fat16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/ts_amd64 new/fatsort-1.6.4.625/tests/ts_amd64 --- old/fatsort-1.6.3.622/tests/ts_amd64 2019-11-17 10:11:47.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/ts_amd64 2021-09-20 11:20:17.000000000 +0200 @@ -100,6 +100,9 @@ tc_pos_sort_prefixes_fat12 tc_pos_sort_prefixes_fat16 tc_pos_sort_prefixes_fat32 +tc_pos_sort_random_exfat +tc_pos_sort_random_fat16 +tc_pos_sort_random_fat32 tc_pos_sort_reverse_exfat tc_pos_sort_reverse_fat12 tc_pos_sort_reverse_fat16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/ts_arm new/fatsort-1.6.4.625/tests/ts_arm --- old/fatsort-1.6.3.622/tests/ts_arm 2019-11-23 17:53:22.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/ts_arm 2021-09-20 11:20:17.000000000 +0200 @@ -100,6 +100,9 @@ tc_pos_sort_prefixes_fat12 tc_pos_sort_prefixes_fat16 tc_pos_sort_prefixes_fat32 +tc_pos_sort_random_exfat +tc_pos_sort_random_fat16 +tc_pos_sort_random_fat32 tc_pos_sort_reverse_exfat tc_pos_sort_reverse_fat12 tc_pos_sort_reverse_fat16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/ts_ppc new/fatsort-1.6.4.625/tests/ts_ppc --- old/fatsort-1.6.3.622/tests/ts_ppc 2019-11-23 17:53:22.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/ts_ppc 2021-09-20 11:20:17.000000000 +0200 @@ -100,6 +100,9 @@ tc_pos_sort_prefixes_fat12 tc_pos_sort_prefixes_fat16 tc_pos_sort_prefixes_fat32 +tc_pos_sort_random_exfat +tc_pos_sort_random_fat16 +tc_pos_sort_random_fat32 tc_pos_sort_reverse_exfat tc_pos_sort_reverse_fat12 tc_pos_sort_reverse_fat16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/ts_ppc64le new/fatsort-1.6.4.625/tests/ts_ppc64le --- old/fatsort-1.6.3.622/tests/ts_ppc64le 2019-11-23 17:53:22.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/ts_ppc64le 2021-09-20 11:20:17.000000000 +0200 @@ -100,6 +100,9 @@ tc_pos_sort_prefixes_fat12 tc_pos_sort_prefixes_fat16 tc_pos_sort_prefixes_fat32 +tc_pos_sort_random_exfat +tc_pos_sort_random_fat16 +tc_pos_sort_random_fat32 tc_pos_sort_reverse_exfat tc_pos_sort_reverse_fat12 tc_pos_sort_reverse_fat16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fatsort-1.6.3.622/tests/ts_s390x new/fatsort-1.6.4.625/tests/ts_s390x --- old/fatsort-1.6.3.622/tests/ts_s390x 2019-11-23 17:53:22.000000000 +0100 +++ new/fatsort-1.6.4.625/tests/ts_s390x 2021-09-20 11:20:17.000000000 +0200 @@ -100,6 +100,9 @@ tc_pos_sort_prefixes_fat12 tc_pos_sort_prefixes_fat16 tc_pos_sort_prefixes_fat32 +tc_pos_sort_random_exfat +tc_pos_sort_random_fat16 +tc_pos_sort_random_fat32 tc_pos_sort_reverse_exfat tc_pos_sort_reverse_fat12 tc_pos_sort_reverse_fat16
