diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 6239f33..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -altermime-0.3.7.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c9a3f97 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +altermime-0.3.10.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index a47d325..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: altermime -# $Id$ -NAME := altermime -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/altermime-0.3.10-cflags.patch b/altermime-0.3.10-cflags.patch new file mode 100644 index 0000000..c18518f --- /dev/null +++ b/altermime-0.3.10-cflags.patch @@ -0,0 +1,11 @@ +--- Makefile.orig 2008-11-16 08:45:45.000000000 +0000 ++++ Makefile 2011-02-11 16:33:17.777602478 +0000 +@@ -9,7 +9,7 @@ + # opposite of a disclaimer. + #ALTERMIME_OPTIONS=-DALTERMIME_PRETEXT + ALTERMIME_OPTIONS= +-CFLAGS=-Wall -Werror -g -I. -O2 $(ALTERMIME_OPTIONS) ++#CFLAGS=-Wall -Werror -g -I. -O2 $(ALTERMIME_OPTIONS) + OBJS= strstack.o mime_alter.o ffget.o pldstr.o filename-filters.o logger.o MIME_headers.o libmime-decoders.o boundary-stack.o qpe.o + + diff --git a/altermime-0.3.10-fprintf-compiler-error.patch b/altermime-0.3.10-fprintf-compiler-error.patch new file mode 100644 index 0000000..ba19ebf --- /dev/null +++ b/altermime-0.3.10-fprintf-compiler-error.patch @@ -0,0 +1,45 @@ +--- qpe.c.orig 2008-11-16 08:45:45.000000000 +0000 ++++ qpe.c 2008-11-23 12:06:08.000000000 +0000 +@@ -97,7 +97,7 @@ + op+= strlen(paragraph);// +3; /** jump the output + =\r\n **/ + out_remaining-= (strlen(paragraph)); // Was +3, updated to fix Outlook problems + +- QPD fprintf(stdout, "Soft break (%d + %d > 76 char) for '%s'\n", current_line_length, charout_size, paragraph); ++ QPD fprintf(stdout, "Soft break (%Zd + %d > 76 char) for '%s'\n", current_line_length, charout_size, paragraph); + + /** reinitialize the paragraph **/ + paragraph[0] = '\0'; +@@ -108,7 +108,7 @@ + } + + snprintf(pp, pp_remaining, "%s", charout); +- QPD fprintf(stdout,"charout='%s', size=%d, pp_remain=%d result='%s'\n", charout, charout_size, pp_remaining, paragraph); ++ QPD fprintf(stdout,"charout='%s', size=%d, pp_remain=%Zd result='%s'\n", charout, charout_size, pp_remaining, paragraph); + pp += charout_size; + pp_remaining -= charout_size; + p++; +@@ -149,13 +149,13 @@ + out_size = in_size *3; + in_buffer = malloc( sizeof(char) *in_size +1); + if (in_buffer == NULL) { +- QPD fprintf(stdout,"Error allocating %d bytes for input buffer\n", in_size); ++ QPD fprintf(stdout,"Error allocating %Zd bytes for input buffer\n", in_size); + return -1; + } + + out_buffer = malloc( sizeof(char) *out_size *3 +1); + if (in_buffer == NULL) { +- QPD fprintf(stdout,"Error allocating %d bytes for output buffer\n", out_size); ++ QPD fprintf(stdout,"Error allocating %Zd bytes for output buffer\n", out_size); + return -1; + } + +@@ -169,7 +169,7 @@ + ** we segfault ;) **/ + *(in_buffer +in_size) = '\0'; + +- QPD fprintf(stdout,"file %s is loaded, size = %d\n", fname, in_size); ++ QPD fprintf(stdout,"file %s is loaded, size = %Zd\n", fname, in_size); + + qp_encode( out_buffer, out_size, in_buffer, in_size ); + diff --git a/altermime.spec b/altermime.spec index fc0a142..0b3733e 100644 --- a/altermime.spec +++ b/altermime.spec @@ -1,13 +1,17 @@ Name: altermime -Version: 0.3.7 -Release: 2%{?dist} +Version: 0.3.10 +Release: 37%{?dist} Summary: Alter MIME-encoded mailpacks -Group: Applications/Internet -License: BSD +# Automatically converted from old format: BSD - review is highly recommended. +License: LicenseRef-Callaway-BSD URL: http://www.pldaniels.com/altermime/ Source0: http://www.pldaniels.com/altermime/altermime-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: altermime-0.3.10-fprintf-compiler-error.patch +Patch1: altermime-0.3.10-cflags.patch + +BuildRequires: gcc +BuildRequires: make %description alterMIME is a small program which is used to alter MIME-encoded mailpacks. @@ -22,9 +26,12 @@ alterMIME can: %prep %setup -q +%patch -P0 -p0 +%patch -P1 -p0 %build +CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; make %{?_smp_mflags} @@ -34,18 +41,133 @@ rm -rf %{buildroot} %{__mkdir_p} %{buildroot}%{_bindir} %{__install} -m 755 altermime %{buildroot}%{_bindir}/ -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %{_bindir}/* %doc CHANGELOG LICENCE README %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 0.3.10-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Wed Jul 23 2025 Fedora Release Engineering - 0.3.10-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Thu Jan 16 2025 Fedora Release Engineering - 0.3.10-35 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Aug 28 2024 Miroslav Suchý - 0.3.10-34 +- convert license to SPDX + +* Wed Jul 17 2024 Fedora Release Engineering - 0.3.10-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.3.10-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 0.3.10-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 0.3.10-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jan 18 2023 Fedora Release Engineering - 0.3.10-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 20 2022 Fedora Release Engineering - 0.3.10-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 0.3.10-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 0.3.10-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.3.10-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jul 31 2020 Fedora Release Engineering - 0.3.10-24 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.3.10-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 0.3.10-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 0.3.10-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 0.3.10-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 0.3.10-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 22 2018 Tim Jackson - 0.3.10-18 +- Add missing BuildRequires on gcc + +* Wed Feb 07 2018 Fedora Release Engineering - 0.3.10-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 0.3.10-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.3.10-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.3.10-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 0.3.10-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jun 16 2015 Fedora Release Engineering - 0.3.10-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Aug 15 2014 Fedora Release Engineering - 0.3.10-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.3.10-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.3.10-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 0.3.10-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 0.3.10-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering - 0.3.10-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Feb 11 2011 Tim Jackson 0.3.10-5 +- Ensure distribution-supplied CFLAGS are used during compile +- Fix build on F15 + +* Mon Feb 07 2011 Fedora Release Engineering - 0.3.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.3.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Feb 23 2009 Fedora Release Engineering - 0.3.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Nov 22 2008 Tim Jackson 0.3.10-1 +- Update to version 0.3.10 + +* Sat Jul 19 2008 Tim Jackson 0.3.8-1 +- Update to version 0.3.8 + +* Wed Feb 20 2008 Fedora Release Engineering - 0.3.7-3 +- Autorebuild for GCC 4.3 + * Sat Sep 09 2006 Tim Jackson 0.3.7-2 - Rebuild for FE6 diff --git a/sources b/sources index 28fbbb6..a18d1ba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -534a68f9fed6867511c50e1e7bdf7722 altermime-0.3.7.tar.gz +aaf0ad8029958a2dc6da3abb4dc178c2 altermime-0.3.10.tar.gz