7
0
forked from pool/fdupes

[bundle_next] update fdupes according to slfo-main #1

Closed
PSuarezHernandez wants to merge 32 commits from bundle_next-update-fdupes into bundle_next

We were using a higher version in our Salt Bundle (at least for EL9) than the current one we have here in gitea.

See https://build.opensuse.org/package/rdiff/systemsmanagement:saltstack:bundle:testing:AlmaLinux9/fdupes?linkrev=base&rev=2

This PR should bring the fdupes to version 2.3.1, which hopefully works fine for all OSes

We were using a higher version in our Salt Bundle (at least for EL9) than the current one we have here in gitea. See https://build.opensuse.org/package/rdiff/systemsmanagement:saltstack:bundle:testing:AlmaLinux9/fdupes?linkrev=base&rev=2 This PR should bring the `fdupes` to version 2.3.1, which hopefully works fine for all OSes
PSuarezHernandez added 32 commits 2026-03-04 10:57:09 +01:00
- cross-build workaround: fake gcc script to work around build
  system not honoring CC (forwarded request 86736 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/87002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=14
patch license to follow spdx.org standard (forwarded request 104330 from coolo)

OBS-URL: https://build.opensuse.org/request/show/104682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=16
fix for red hat based distros (forwarded request 111208 from behrisch)

OBS-URL: https://build.opensuse.org/request/show/111256
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=17
- update to 1.5.0-PR2
  * new "--summarize" option
  * new  "--recurse:" selective recursion option
  * new "--noprompt" option for totally automated deletion of
  duplicate files.
  * sorts duplicates (old to new) for consistent order when
  listing or deleteing duplicate files.
  * tests for early matching of files, which should help speed up
  the matching process when large files are involved.
  * warns whenever a file cannot be deleted.
  * bugfixes (proper file closing, zero-length files, ...)
- drop the fdupes-sort-output.diff (upstream uses mtime based)
- rename and rebase fdupes-speedup.patch to 0008-speedup-the-compare.patch
- rename and rebase fdupes-endianness.patch to
  0009-glibc-endianness-check-in-md5.patch
- add -p/--permissions switch so files with different permissions or uid/gid
  are not considered as duplicates (bnc#784670)
  * this mode is a default one for fdupes macro
  0010-add-permissions-mode.patch
- imported several fixes from Debian
  * 0001-restore-pristine-code.patch - some common code fixes, partly obsoletes
    speedup patch
  * manual page fixes
    0002-Added-to-escape-minus-signs-in-manpage-lintian-warni.patch
    0003-Fix-a-typo-in-a-manpage-bts353789.patch
    0005-add-summarize-to-manpage-bts481809.patch
    0006-add-nohidden-support-bts511702.patch
    0007-Disambiguate-the-options-recurse-and-recurse-bts5371.patch
  * 0004-Large-file-support-for-2GB-files-bts447601.patch - large file support

OBS-URL: https://build.opensuse.org/request/show/139254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=19
- sort the output of fdupes by filename to make it deterministic
  for parallel builds
  * 0011-add-an-option-to-sort-duplicate-files-by-name.patch

OBS-URL: https://build.opensuse.org/request/show/264104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=23
1

OBS-URL: https://build.opensuse.org/request/show/266339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=24
- By default relink hardlinks too, should fix bnc#940296

- Update to upstream git repo on github
- Refresh patches:
  * fdupes-makefile.patch
  * 0008-speedup-the-file-compare.patch
  * 0010-add-permissions-mode.patch
  * 0011-add-an-option-to-sort-duplicate-files-by-name.patch
  * 50_bts284274_hardlinkreplace.dpatch
- Upstreamed patch:
  * 0004-Large-file-support-for-2GB-files-bts447601.patch
- Remove whitespace from fdupes.macros file
- Cleanup with spec-cleaner
  - Obey rpm-opt-flags
  - run test phase

OBS-URL: https://build.opensuse.org/request/show/320399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=25
1

OBS-URL: https://build.opensuse.org/request/show/438720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=26
1

OBS-URL: https://build.opensuse.org/request/show/446771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=27
Move RPM macros to %_rpmmacrodir.

OBS-URL: https://build.opensuse.org/request/show/701534
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=18
Move RPM macros to %_rpmmacrodir. (forwarded request 701534 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/701539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=28
- Make package building even on platforms, where _rpmmacrodir
  is not defined.

OBS-URL: https://build.opensuse.org/request/show/794679
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=19
OBS-URL: https://build.opensuse.org/request/show/797870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=29
- Update to v2.0.0
  * Add ncurses mode for interactive file deletion (plain mode still available via --plain or ./configure).
  * Add --minsize option.
  * Add --maxsize option.
  * Add --time option.
  * Add --order=ctime option.
  * Add --log option.
  * Use configure script for installation (Autotools/Automake).
- Remove fdupes-makefile.patch

OBS-URL: https://build.opensuse.org/request/show/811804
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=20
- Use noun phrase in summary. Drop old specfile constructs.

OBS-URL: https://build.opensuse.org/request/show/811952
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=21
- update to 2.1.2:
  * Do not enter ncurses mode when --immediate option given.
  * Fix logging/memory corruption bug when using --log with --immediate.
  * Break mtime ties using ctime when sorting by time.
  * Reduce number of calls to stat(), for speed.
  * Clear last command status when new command is entered.
  * Rename cs command ("clear all selections") from cs to csel.
  * Rename igs command ("invert selections") from igs to isel.
  * Add "prune" command as synonym for DELETE key.
  * Clear selections after deleting files via prune/DELETE.
  * Fix dependency issues when fdupes is configured to not use ncurses.
- build without ncurses for now until buildcycles can be solved

OBS-URL: https://build.opensuse.org/request/show/827069
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=22
OBS-URL: https://build.opensuse.org/request/show/827523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=30
- Simplify macros.fdupes with a call to a C++ program that does
  the same within a fraction of a second what the shell loop did
  in many seconds (bsc#1195709)

OBS-URL: https://build.opensuse.org/request/show/961567
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=23
- Handle symlinks (-s argument) correctly

OBS-URL: https://build.opensuse.org/request/show/961692
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=24
This time I branched all staging failures to make sure it's the last one

- A more correct approach to creating symlinks (old bug actually):
  Do not link the files as given by fdupes, but turn them into
  relative links (it works by chance if given a buildroot, but
  fails if running on a subdirectory)
- Support multiple directories given (as glob to the macro)

OBS-URL: https://build.opensuse.org/request/show/961811
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=25
OBS-URL: https://build.opensuse.org/request/show/961812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=31
- Fixes for the new wrapper:
  * Order duplicates by name, to get a reproducible file set
    (boo#1197484).
  * Remove redundant order parameter from fdupes invocation.
  * Modernize code, significantly reduce allocations.
  * Exit immediately when mandatory parameters are missing.
  * Remove obsolete buildroot parameter
  * Add some tests for the wrapper

OBS-URL: https://build.opensuse.org/request/show/966477
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=26
OBS-URL: https://build.opensuse.org/request/show/970071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=32
- update to 2.2.1:
  * Fix bug in code meant to skip over the current log file when --log option is given.
  * Updates to copyright notices in source code.
  * Add --deferconfirmation option.
  * Check that files marked as duplicates haven't changed during program execution before deleting them.
  * Update documentation to indicate units for SIZE in command-line options.
  * Move some configuration settings to configure.ac file.

OBS-URL: https://build.opensuse.org/request/show/1007561
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=27
OBS-URL: https://build.opensuse.org/request/show/1008378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=33
Update to version 2.3.0

OBS-URL: https://build.opensuse.org/request/show/1158935
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=28
- Do not use sqlite, as this pulls sqlite into Ring0 at no real
  benefit performance wise: the cache is not reused between runs.
  + Drop sqlite-devel BuildRequires
  + Pass --without-sqlite to configure

OBS-URL: https://build.opensuse.org/request/show/1159769
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=29
OBS-URL: https://build.opensuse.org/request/show/1159776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=34
* Fix buffer overflow bug in getrealpath() function.

OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=30
OBS-URL: https://build.opensuse.org/request/show/1188294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=35
Author
Owner

wrong rebase, closing PR

wrong rebase, closing PR
PSuarezHernandez closed this pull request 2026-03-04 11:07:01 +01:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saltbundle/fdupes#1