Compare commits

...

61 commits

Author SHA1 Message Date
Fedora Release Engineering
82c9530157 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 19:04:07 +00:00
Michal Ambroz
e15b0c4a6f switch to autochangelog / autorelease 2025-04-06 13:55:45 +02:00
Fedora Release Engineering
6c61a23ad6 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 15:19:36 +00:00
Miroslav Suchý
548c2344de convert GPLv3+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-25 11:33:20 +02:00
Fedora Release Engineering
cfc1c55bc0 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 20:35:52 +00:00
Fedora Release Engineering
fdfe51ae12 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 09:01:05 +00:00
Fedora Release Engineering
ba7255d31c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 16:47:11 +00:00
Fedora Release Engineering
48e6507b82 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 17:03:05 +00:00
Michal Ambroz
d1344425b7 bump to 7.3.1 2023-04-26 02:03:32 +02:00
Florian Weimer
bf78b1c3f0 Port configure script to C99
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2023-04-13 11:49:35 +02:00
Michal Ambroz
00167a5b16 bump to 7.3.0 2023-03-07 02:32:23 +01:00
Fedora Release Engineering
f246f8e684 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 01:02:48 +00:00
Fedora Release Engineering
076599068e Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 00:06:27 +00:00
Fedora Release Engineering
d36a590f9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 00:20:01 +00:00
Fedora Release Engineering
22f8fed994 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 20:27:19 +00:00
Michal Ambroz
10d29cbf1c adding the Makefile as proposed by releng 2021-03-23 22:07:01 +01:00
Michal Ambroz
4015f037eb add dependency to perl(I18N::Langinfo) to fix the FTBFS 2021-02-18 23:41:19 +00:00
Tomas Hrcka
3627dba152 Revert "Orphaned for 6+ weeks"
This reverts commit 38fe17f7e7.

Unretirement request: https://pagure.io/releng/issue/10022

Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-02-17 16:17:24 +01:00
Miro Hrončok
38fe17f7e7 Orphaned for 6+ weeks 2021-01-04 10:23:47 +01:00
Tom Stellard
47a6859fbf Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 04:18:04 +00:00
Fedora Release Engineering
d66927c7f6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:33:47 +00:00
Fedora Release Engineering
7fed526602 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 15:04:57 +00:00
Fedora Release Engineering
23c0bbc681 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 15:26:33 +00:00
rpmbuild
f47b884455 unretire the package in rawhide 2019-10-31 05:21:14 +00:00
Tomas Hrcka
33db1cf833 Revert "dc3dd fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1674793"
This reverts commit 584d3e4a8d.

Unretirement request: https://pagure.io/releng/issue/8951
2019-10-30 11:51:21 +01:00
Fedora Release Engineering
584d3e4a8d dc3dd fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1674793 2019-08-08 13:38:23 +00:00
Fedora Release Engineering
399a892938 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 21:37:15 +00:00
Fedora Release Engineering
fd9bba1e47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 16:52:15 +00:00
Igor Gnatenko
1bf94dacf0 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:58 +01:00
Michal Ambroz
0e9ae4acb0 add git dependency 2018-08-28 16:13:21 +00:00
Michal Ambroz
9a8efbdf08 update the embedded gnulib library files 2018-08-28 16:07:18 +00:00
Fedora Release Engineering
f658abacff - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 22:38:08 +00:00
Jason Tibbitts
77dc68ad9b Remove needless use of %defattr 2018-07-10 00:36:44 -05:00
Igor Gnatenko
ce9b92edd2 add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:43 +02:00
Igor Gnatenko
a5b6a5fa11
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:57:24 +01:00
Igor Gnatenko
b7fc081caa Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:12:31 +01:00
Fedora Release Engineering
7426835144 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 06:26:22 +00:00
Fedora Release Engineering
9db007385f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 19:29:42 +00:00
Fedora Release Engineering
cf629eb93c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 06:00:48 +00:00
xambroz
3f2a140e15 bump to 7.2.646 2017-04-29 04:19:20 +02:00
Fedora Release Engineering
414eadd1c8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 08:13:03 +00:00
Michal Ambroz
709282954b add BR for Locale::gettext 2016-10-06 17:26:02 +02:00
Michal Ambroz
4f08062215 bump to 7.2.641 2016-10-06 16:14:29 +02:00
Dennis Gilmore
e04568aa70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 18:30:51 +00:00
Dennis Gilmore
ef07db7d35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 03:47:17 +00:00
Peter Robinson
bfde068e21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 02:23:12 +00:00
Dennis Gilmore
8aec19f092 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 01:56:34 -05:00
Michal Ambroz
facc0d3118 Fixing build issues related to automake updates. 2014-01-13 17:50:32 +01:00
Dennis Gilmore
32dd7194ef - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 01:48:43 -05:00
Adam Miller
7b13fd4119 added build deps 2013-05-02 17:39:24 -05:00
Adam Miller
0e3fcebc0e add automake since we run autoconf 2013-04-29 10:16:26 -05:00
Adam Miller
567b4e6f5f add gettext-devel since we run autoconf 2013-04-29 09:50:07 -05:00
Adam Miller
267c4181ca might need autoconf to run it during build 2013-04-27 04:02:21 -05:00
Adam Miller
12a8c47755 Fix BZ 925238 - rerun autoconf to add support for aarch64 2013-04-27 03:42:42 -05:00
Dennis Gilmore
12a990894e - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 13:30:44 -06:00
Dennis Gilmore
6f0e8ec4bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 15:24:15 -05:00
Adam Miller
527a416690 Update to latest upstream release 2012-01-14 13:18:21 -06:00
Dennis Gilmore
edf978f751 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 18:22:41 -06:00
Dennis Gilmore
a9a49b4186 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 07:12:15 -06:00
Fedora Release Engineering
499cd028d7 dist-git conversion 2010-07-28 12:43:57 +00:00
Bill Nottingham
9eec38923f Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:11:59 +00:00
9 changed files with 347 additions and 50 deletions

View file

@ -1 +0,0 @@
dc3dd-6.12.3.tar.gz

6
.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
/dc3dd-6.12.3.tar.gz
/dc3dd-7.1.614.tar.gz
/dc3dd-7.2.641.tar.xz
/dc3dd-7.2.646.7z
/dc3dd-7.3.0.zip
/dc3dd-7.3.1.zip

140
changelog Normal file
View file

@ -0,0 +1,140 @@
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 7.3.1-6
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Apr 26 2023 Michal Ambroz <rebus [AT] seznam.cz> - 7.3.1-1
- bump to new upstream release 7.3.1
* Thu Apr 13 2023 Florian Weimer <fweimer@redhat.com> - 7.3.0-2
- Port configure script to C99
* Mon Mar 06 2023 Michal Ambroz <rebus [AT] seznam.cz> - 7.3.0-1
- bump to new upstream release 7.3.0
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Feb 19 2021 Michal Ambroz <rebus [AT] seznam.cz> - 7.2.646-13
- add dependency to perl(I18N::Langinfo) to fix FTBFS
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-12
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Oct 28 2019 Michal Ambroz <rebus [AT] seznam.cz> - 7.2.646-9
- License change to GPLv3+ (the lib/getdate.c is no longer gplv2+)
* Sun Oct 20 2019 Michal Ambroz <rebus [AT] seznam.cz> - 7.2.646-8
- use Archlinux patch to fix FTBFS, do not update gnulib embedded library files
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Aug 28 2018 Michal Ambroz <rebus [AT] seznam.cz> - 7.2.646-6
- fix FTBFS, update gnulib embedded library files
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.646-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Apr 29 2017 Michal Ambroz <rebus [AT] seznam.cz> - 7.2.646-1
- bump to 7.2.646
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.641-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun Oct 02 2016 Michal Ambroz <rebus [AT] seznam.cz> - 7.2.641-1
- bump to 7.2.641
- add BR for Locale::gettext
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.614-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1.614-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1.614-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1.614-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Dec 22 2013 Michal Ambroz <rebus [AT] seznam.cz> - 7.1.614-6
- Fix the build issue with new automake
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1.614-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sat Apr 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 7.1.614-4
- Fix BZ 925238 - rerun autoconf to add support for aarch64
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1.614-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1.614-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Adam Miller <maxamillion@fedoraproject.org> - 7.1.614-1
- Update to upstream release
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Aug 10 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.3-3
- Fixed Source0 listing as reported https://www.redhat.com/archives/fedora-devel-list/2009-August/msg00591.html
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Mar 19 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.3-1
- New release of dc3dd
* Thu Mar 05 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.2-3
- Cleaned up the .spec by looping through files needing EOF encoding fix
* Mon Mar 02 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.2-2
- Removed .gmo binaries, fixed source0, added doc items, fixed EOF encoding
- fixed licencing listing
* Mon Feb 23 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.2-1
- First build of dc3dd for fedora

18
dc3dd-01_automake.patch Normal file
View file

@ -0,0 +1,18 @@
diff -ru dc3dd-7.1.614/m4/jm-macros.m4 dc3dd-7.1.614.new/m4/jm-macros.m4
--- dc3dd-7.1.614/m4/jm-macros.m4 2008-06-05 19:47:58.000000000 +0200
+++ dc3dd-7.1.614.new/m4/jm-macros.m4 2013-12-22 01:15:24.044931510 +0100
@@ -128,10 +128,10 @@
dnl whether functions and headers are available, whether they work, etc.
AC_REQUIRE([AC_SYS_LARGEFILE])
- dnl This test must precede tests of compiler characteristics like
- dnl that for the inline keyword, since it may change the degree to
- dnl which the compiler supports such features.
- AC_REQUIRE([AM_C_PROTOTYPES])
+# dnl This test must precede tests of compiler characteristics like
+# dnl that for the inline keyword, since it may change the degree to
+# dnl which the compiler supports such features.
+# AC_REQUIRE([AM_C_PROTOTYPES])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_REQUIRE([AC_C_BIGENDIAN])

View file

@ -0,0 +1,100 @@
Description: fix a FTBFS with glibc 2.28
Author: mschlenker
Origin: https://aur.archlinux.org/packages/dc3dd/
Bug-Debian: https://bugs.debian.org/915431
Forwarded: https://sourceforge.net/p/dc3dd/bugs/19/
Reviewed-By: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2018-10-17
--- dc3dd-7.2.646.orig/lib/fpurge.c
+++ dc3dd-7.2.646/lib/fpurge.c
@@ -61,7 +61,7 @@ fpurge (FILE *fp)
/* Most systems provide FILE as a struct and the necessary bitmask in
<stdio.h>, because they need it for implementing getc() and putc() as
fast macros. */
-# if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
fp->_IO_read_end = fp->_IO_read_ptr;
fp->_IO_write_ptr = fp->_IO_write_base;
/* Avoid memory leak when there is an active ungetc buffer. */
--- dc3dd-7.2.646.orig/lib/freadahead.c
+++ dc3dd-7.2.646/lib/freadahead.c
@@ -24,7 +24,7 @@
size_t
freadahead (FILE *fp)
{
-#if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
if (fp->_IO_write_ptr > fp->_IO_write_base)
return 0;
return (fp->_IO_read_end - fp->_IO_read_ptr)
--- dc3dd-7.2.646.orig/lib/freading.c
+++ dc3dd-7.2.646/lib/freading.c
@@ -31,7 +31,7 @@ freading (FILE *fp)
/* Most systems provide FILE as a struct and the necessary bitmask in
<stdio.h>, because they need it for implementing getc() and putc() as
fast macros. */
-#if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
return ((fp->_flags & _IO_NO_WRITES) != 0
|| ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0
&& fp->_IO_read_base != NULL));
--- dc3dd-7.2.646.orig/lib/freadptr.c
+++ dc3dd-7.2.646/lib/freadptr.c
@@ -29,7 +29,7 @@ freadptr (FILE *fp, size_t *sizep)
size_t size;
/* Keep this code in sync with freadahead! */
-#if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
if (fp->_IO_write_ptr > fp->_IO_write_base)
return NULL;
size = fp->_IO_read_end - fp->_IO_read_ptr;
--- dc3dd-7.2.646.orig/lib/freadseek.c
+++ dc3dd-7.2.646/lib/freadseek.c
@@ -34,7 +34,7 @@ static inline void
freadptrinc (FILE *fp, size_t increment)
{
/* Keep this code in sync with freadptr! */
-#if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
fp->_IO_read_ptr += increment;
#elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
fp_->_p += increment;
--- dc3dd-7.2.646.orig/lib/fseeko.c
+++ dc3dd-7.2.646/lib/fseeko.c
@@ -44,7 +44,7 @@ rpl_fseeko (FILE *fp, off_t offset, int
#endif
/* These tests are based on fpurge.c. */
-#if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
if (fp->_IO_read_end == fp->_IO_read_ptr
&& fp->_IO_write_ptr == fp->_IO_write_base
&& fp->_IO_save_base == NULL)
--- dc3dd-7.2.646.orig/lib/fseterr.c
+++ dc3dd-7.2.646/lib/fseterr.c
@@ -29,7 +29,7 @@ fseterr (FILE *fp)
/* Most systems provide FILE as a struct and the necessary bitmask in
<stdio.h>, because they need it for implementing getc() and putc() as
fast macros. */
-#if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
fp->_flags |= _IO_ERR_SEEN;
#elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
fp_->_flags |= __SERR;
--- dc3dd-7.2.646.orig/lib/stdio-impl.h
+++ dc3dd-7.2.646/lib/stdio-impl.h
@@ -18,6 +18,13 @@
the same implementation of stdio extension API, except that some fields
have different naming conventions, or their access requires some casts. */
+/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this
+ problem by defining it ourselves. FIXME: Do not rely on glibc
+ internals. */
+
+#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN
+# define _IO_IN_BACKUP 0x100
+#endif
/* BSD stdio derived implementations. */

37
dc3dd-configure-c99.patch Normal file
View file

@ -0,0 +1,37 @@
Include <wchar.h> for towlower, towupper, to avoid implicit function
declarations and build failures with future compilers.
Submitted upstream: <https://sourceforge.net/p/dc3dd/bugs/22/>
diff --git a/configure b/configure
index 1901a37..5a4b0c3
--- a/configure
+++ b/configure
@@ -54147,6 +54147,7 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <stdlib.h>
#include <string.h>
+#include <wctype.h>
struct tm t;
char buf[16];
int main () {
@@ -54913,6 +54914,7 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <stdlib.h>
#include <string.h>
+#include <wctype.h>
struct tm t;
char buf[16];
int main () {
diff --git a/m4/locale-tr.m4 b/m4/locale-tr.m4
index d6a2088..d92c674 100644
--- a/m4/locale-tr.m4
+++ b/m4/locale-tr.m4
@@ -20,6 +20,7 @@ changequote(,)dnl
#endif
#include <stdlib.h>
#include <string.h>
+#include <wctype.h>
struct tm t;
char buf[16];
int main () {

View file

@ -1,50 +1,69 @@
Name: dc3dd Name: dc3dd
Version: 6.12.3 Version: 7.3.1
Release: 3%{?dist} Release: %autorelease
Summary: Patched version of GNU dd for use in computer forensics Summary: Patched version of GNU dd for use in computer forensics
Group: Applications/Editors # Automatically converted from old format: GPLv3+ - review is highly recommended.
License: GPLv2+ and GPLv3+ License: GPL-3.0-or-later
URL: http://dc3dd.sourceforge.net/ URL: http://sourceforge.net/projects/dc3dd/
Source0: http://downloads.sourceforge.net/dc3dd/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/dc3dd/%{name}-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
#Fixing build error: automatic de-ANSI-fication support has been removed
#Removing the check for AM_C_PROTOTYPES
Patch1: dc3dd-01_automake.patch
Patch2: dc3dd-configure-c99.patch
# Original Archlinux patch to fix build with recent libtools version
# Author: mschlenker
# included upstream in version 7.3.0
# Patch2: dc3dd-02_fix-FTBFS-with-glibc-2.28.patch
BuildRequires: gcc
BuildRequires: git
BuildRequires: gettext BuildRequires: gettext
BuildRequires: gettext-devel
BuildRequires: gnulib-devel
BuildRequires: perl(Locale::gettext)
BuildRequires: perl(I18N::Langinfo)
BuildRequires: p7zip
BuildRequires: m4, readline-devel, autoconf, automake
BuildRequires: make
%description %description
dc3dd is a patched version of GNU dd to include a number of features useful dc3dd is a patched version of GNU dd to include a number of features useful
for computer forensics. Many of these features were inspired by dcfldd, but for computer forensics. Many of these features were inspired by dcfldd, but
were rewritten for dc3dd. were rewritten for dc3dd.
* Pattern writes. The program can write a single hexadecimal value or a * Pattern writes. The program can write a single hexadecimal value or a
text string to the output device for wiping purposes. text string to the output device for wiping purposes.
* Piecewise and overall hashing with multiple algorithms and variable * Piecewise and overall hashing with multiple algorithms and variable
size windows. Supports MD5, SHA-1, SHA-256, and SHA-512. Hashes can be size windows. Supports MD5, SHA-1, SHA-256, and SHA-512. Hashes can be
computed before or after conversions are made. computed before or after conversions are made.
* Progress meter with automatic input/output file size probing * Progress meter with automatic input/output file size probing
* Combined log for hashes and errors * Combined log for hashes and errors
* Error grouping. Produces one error message for identical sequential * Error grouping. Produces one error message for identical sequential
errors errors
* Verify mode. Able to repeat any transformations done to the input * Verify mode. Able to repeat any transformations done to the input
file and compare it to an output. file and compare it to an output.
* Ability to split the output into chunks with numerical or alphabetic * Ability to split the output into chunks with numerical or alphabetic
extensions extensions
%prep %prep
%setup -q %autosetup -S git
for file in README Sample_Commands.txt Options_Reference.txt; #Missing x flag in version 7.2.646 makes the build fail
do chmod +x build-aux/git-version-gen configure
sed 's|\r||' $file > $file.tmp
touch -r $file $file.tmp # ChangeLog having wrong ends of lines
mv -f $file.tmp $file sed -i -e 's|\r||g' ChangeLog
done
rm po/*.gmo
%build %build
%configure autoreconf -vif #BZ925238 - support aarch64
# TODO check the --enable-hdparm option
%configure
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -53,32 +72,12 @@ make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name} %find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root,-) %license COPYING
%doc ABOUT-NLS AUTHORS COPYING ChangeLog README README.coreutils THANKS THANKS-to-translators TODO Sample_Commands.txt NEWS Options_Reference.txt %doc ABOUT-NLS AUTHORS ChangeLog README README.coreutils THANKS THANKS-to-translators TODO Sample_Commands.txt NEWS Options_Reference.txt
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man1/%{name}.* %{_mandir}/man1/%{name}.*
%changelog %changelog
* Mon Aug 10 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.3-3 %autochangelog
- Fixed Source0 listing as reported https://www.redhat.com/archives/fedora-devel-list/2009-August/msg00591.html
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.12.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Mar 19 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.3-1
- New release of dc3dd
* Thu Mar 05 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.2-3
- Cleaned up the .spec by looping through files needing EOF encoding fix
* Mon Mar 02 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.2-2
- Removed .gmo binaries, fixed source0, added doc items, fixed EOF encoding
- fixed licencing listing
* Mon Feb 23 2009 Adam Miller <maxamillion [AT] gmail.com> - 6.12.2-1
- First build of dc3dd for fedora

View file

@ -1,2 +0,0 @@
dc3dd-6_12_2-3:HEAD:dc3dd-6.12.2-3.src.rpm:1236285513
dc3dd-6_12_3-1:HEAD:dc3dd-6.12.3-1.src.rpm:1237497766

View file

@ -1 +1 @@
b01dd06bbfea7cb49cf4a677715a1524 dc3dd-6.12.3.tar.gz SHA512 (dc3dd-7.3.1.zip) = 493d9165ffc61fe9401701578ba9645a106e4fb81968cd341d17d41f4e86358bb5c8f8add28966a0650164bf898eb61587d24d4046ac4b542a1e498aff9512f7