Name: scrub Version: 2.6.1 Release: 6%{?dist} Summary: Disk scrubbing program License: GPL-2.0-or-later URL: https://github.com/chaos/scrub/ Source0: https://github.com/chaos/scrub/releases/download/%{version}/scrub-%{version}.tar.gz # https://github.com/chaos/scrub/commit/b90fcb2330d00dbd1e9aeaa2e1a9807f8b80b922.patch Patch0: scrub-2.6.1-symlinks-to-block-device.patch # https://github.com/chaos/scrub/commit/27f6452a658f057e3ba6bf9dfda070b6dffc6798.patch Patch1: scrub-2.6.1-use-libgcrypt.patch Patch2: scrub-2.6.1-extentonly.patch Patch3: scrub-2.5.2-test-use-power-2-filesizes.patch # https://github.com/chaos/scrub/commit/864a454f16ac3e47103064b0e4fe3a9111593e49 Patch4: scrub-2.6.1-analyzer-fixes.patch BuildRequires: make BuildRequires: gcc BuildRequires: libgcrypt-devel BuildRequires: autoconf, automake, libtool %description Scrub writes patterns on files or disk devices to make retrieving the data more difficult. It operates in one of three modes: 1) the special file corresponding to an entire disk is scrubbed and all data on it is destroyed; 2) a regular file is scrubbed and only the data in the file (and optionally its name in the directory entry) is destroyed; or 3) a regular file is created, expanded until the file system is full, then scrubbed as in 2). %prep %setup -q %patch0 -p1 -b .symlinks-to-block-devices %patch1 -p1 -b .libgcrypt %patch2 -p1 -b .extent-only %patch3 -p1 -b .test-use-power-2-filesizes %patch4 -p1 -b .analyzer-fixes autoreconf -ifv --include=config %build %configure %{make_build} %install %{make_install} %files %license COPYING %doc DISCLAIMER %doc README ChangeLog %{_bindir}/scrub %{_mandir}/man1/scrub.1* %changelog * Sat Jan 21 2023 Fedora Release Engineering - 2.6.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 2.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Mar 18 2021 Tom Callaway - 2.6.1-2 - apply analyzer fixes from upstream * Wed Feb 24 2021 Tom Callaway - 2.6.1-1 - update to 2.6.1 - update URLs - merge patches from Red Hat and upstream * Wed Jan 27 2021 Fedora Release Engineering - 2.5.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.5.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 2.5.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.5.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.5.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.5.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 2.5.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 2.5.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.5.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.5.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.5.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 2.5.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 18 2014 Fedora Release Engineering - 2.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 2.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 2.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 2.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 25 2012 Tom Callaway - 2.5.2-1 - update to 2.5.2 * Sat Jan 14 2012 Fedora Release Engineering - 2.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Aug 30 2011 Tom Callaway - 2.4.1-1 - update to 2.4.1 * Wed Feb 09 2011 Fedora Release Engineering - 2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Nov 4 2010 Tom "spot" Callaway - 2.4-1 - update to 2.4 * Tue Jun 29 2010 Tom "spot" Callaway - 2.2-1 - update to 2.2, new url, source location * Sun Jul 26 2009 Fedora Release Engineering - 2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Nov 14 2008 Tom "spot" Callaway - 2.1-1 - update to 2.1 * Tue Feb 19 2008 Fedora Release Engineering - 1.9-3 - Autorebuild for GCC 4.3 * Mon Aug 27 2007 Tom "spot" Callaway 1.9-2 - license tag fix - ppc32 rebuild * Mon Jul 9 2007 Tom "spot" Callaway 1.9-1 - bump to 1.9 * Mon Sep 4 2006 Tom "spot" Callaway 1.8-1 - bump to 1.8 * Mon Feb 20 2006 Tom "spot" Callaway 1.7-1 - bump to 1.7, update URL, Source0 - use Ben Woodard's description * Sat May 21 2005 Tom "spot" Callaway 1.6-2 - cleanups * Thu May 19 2005 Tom "spot" Callaway 1.6-1 - initial package for Fedora Extras