commit mcpp for openSUSE:Factory
Hello community, here is the log from the commit of package mcpp for openSUSE:Factory checked in at 2020-03-19 19:50:19 Comparing /work/SRC/openSUSE:Factory/mcpp (Old) and /work/SRC/openSUSE:Factory/.mcpp.new.3160 (New) Package is "mcpp" Thu Mar 19 19:50:19 2020 rev:17 rq:786229 version:2.7.2 Changes: --- /work/SRC/openSUSE:Factory/mcpp/mcpp.changes2015-05-06 11:19:25.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcpp.new.3160/mcpp.changes 2020-03-19 19:54:00.552277066 +0100 @@ -1,0 +2,5 @@ +Wed Mar 18 17:29:06 UTC 2020 - Dirk Mueller + +- add CVE-2019-14274.patch (bsc#1143032, CVE-2019-14274) + +--- New: CVE-2019-14274.patch Other differences: -- ++ mcpp.spec ++ --- /var/tmp/diff_new_pack.zY6xE4/_old 2020-03-19 19:54:01.048277084 +0100 +++ /var/tmp/diff_new_pack.zY6xE4/_new 2020-03-19 19:54:01.048277084 +0100 @@ -1,7 +1,7 @@ # # spec file for package mcpp # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,9 +22,10 @@ Summary:Matsui's C Preprocessor License:BSD-3-Clause Group: Development/Languages/C and C++ -Url:http://mcpp.sourceforge.net/ +URL:http://mcpp.sourceforge.net/ Source0: http://sourceforge.net/projects/mcpp/files/mcpp/V.%{version}/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}.diff +Patch1: CVE-2019-14274.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -58,6 +59,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build export CFLAGS="%{optflags} -D_BSD_SOURCE" ++ CVE-2019-14274.patch ++ Subject: [PATCH] Merge bug fixes from https://github.com/h8liu/mcpp.git --- a/src/support.c +++ b/src/support.c @@ -188,7 +188,7 @@ static char * append_to_buffer( size_t length ) { -if (mem_buf_p->bytes_avail < length) { /* Need to allocate more memory */ +if (mem_buf_p->bytes_avail < length + 1) { /* Need to allocate more memory */ size_t size = MAX( BUF_INCR_SIZE, length); if (mem_buf_p->buffer == NULL) {/* 1st append */ @@ -1722,6 +1722,8 @@ static char * parse_line( void) sp -= 2; while (*sp != '\n') /* Until end of line*/ mcpp_fputc( *sp++, OUT); +mcpp_fputc('\n', OUT); +wrong_line = TRUE; } goto end_line; default:/* Not a comment*/
commit mcpp for openSUSE:Factory
Hello community, here is the log from the commit of package mcpp for openSUSE:Factory checked in at 2015-05-06 11:19:24 Comparing /work/SRC/openSUSE:Factory/mcpp (Old) and /work/SRC/openSUSE:Factory/.mcpp.new (New) Package is mcpp Changes: --- /work/SRC/openSUSE:Factory/mcpp/mcpp.changes2012-11-02 17:30:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.mcpp.new/mcpp.changes 2015-05-06 11:19:25.0 +0200 @@ -1,0 +2,6 @@ +Tue May 5 13:26:18 UTC 2015 - mplus...@suse.com + +- Use url for source +- Cleanup spec file with spec-cleaner + +--- Old: mcpp-2.7.2.tar.bz2 New: mcpp-2.7.2.tar.gz Other differences: -- ++ mcpp.spec ++ --- /var/tmp/diff_new_pack.8tos2R/_old 2015-05-06 11:19:26.0 +0200 +++ /var/tmp/diff_new_pack.8tos2R/_new 2015-05-06 11:19:26.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package mcpp (Version 2.7.2) +# spec file for package mcpp # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,17 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: mcpp -Url:http://mcpp.sourceforge.net/ +Version:2.7.2 +Release:0 +Summary:Matsui's C Preprocessor License:BSD-3-Clause Group: Development/Languages/C and C++ -Summary:Matsui's C Preprocessor -Version:2.7.2 -Release:1 -Source0:%{name}-%{version}.tar.bz2 +Url:http://mcpp.sourceforge.net/ +Source0: http://sourceforge.net/projects/mcpp/files/mcpp/V.%{version}/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -33,15 +31,9 @@ mcpp is a small and portable C/C++ preprocessor implementing all of C90, C99 and C++98. - - -Authors: - -Kiyoshi Matsui kmat...@t3.rim.or.jp - %define _libname libmcpp0 + %package -n %{_libname} -# Summary:The shared library of Matsui's C Preprocessor Group: Development/Libraries/C and C++ @@ -52,11 +44,11 @@ This package holds the shared libraries of libev. %package devel -# Summary:Development files for mcpp Group: Development/Libraries/C and C++ Requires: %{_libname} = %{version} Requires: %{name} = %{version} + %description devel mcpp is a small and portable C/C++ preprocessor implementing all of C90, C99 and C++98. @@ -68,25 +60,23 @@ %patch0 -p1 %build -export CFLAGS=$RPM_OPT_FLAGS -D_BSD_SOURCE +export CFLAGS=%{optflags} -D_BSD_SOURCE %configure --enable-mcpplib -make %{?jobs:-j %jobs} +make %{?_smp_mflags} %install -%makeinstall -rm -rf $RPM_BUILD_ROOT/usr/share/doc/mcpp +make DESTDIR=%{buildroot} install %{?_smp_mflags} +rm -rf %{buildroot}%{_datadir}/doc/mcpp rm -rf %{buildroot}%{_libdir}/libmcpp.*a -%clean -rm -rf $RPM_BUILD_ROOT - %post -n %{_libname} -p /sbin/ldconfig + %postun -n %{_libname} -p /sbin/ldconfig %files %defattr(-, root, root) %doc doc/mcpp-manual.html LICENSE NEWS README -%{_prefix}/bin/* +%{_bindir}/* %{_mandir}/man1/mcpp.1.gz %files -n %{_libname}
commit mcpp for openSUSE:Factory
Hello community, here is the log from the commit of package mcpp for openSUSE:Factory checked in at 2012-11-02 17:30:40 Comparing /work/SRC/openSUSE:Factory/mcpp (Old) and /work/SRC/openSUSE:Factory/.mcpp.new (New) Package is mcpp, Maintainer is dmuel...@suse.com Changes: --- /work/SRC/openSUSE:Factory/mcpp/mcpp.changes2011-09-23 02:12:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.mcpp.new/mcpp.changes 2012-11-02 17:30:41.0 +0100 @@ -1,0 +2,5 @@ +Thu Oct 18 16:49:49 UTC 2012 - mrueck...@suse.de + +- enable building of the shared library + +--- Other differences: -- ++ mcpp.spec ++ --- /var/tmp/diff_new_pack.ByEo47/_old 2012-11-02 17:30:42.0 +0100 +++ /var/tmp/diff_new_pack.ByEo47/_new 2012-11-02 17:30:42.0 +0100 @@ -39,26 +39,63 @@ Kiyoshi Matsui kmat...@t3.rim.or.jp +%define _libname libmcpp0 +%package -n %{_libname} +# +Summary:The shared library of Matsui's C Preprocessor +Group: Development/Libraries/C and C++ + +%description -n %{_libname} +mcpp is a small and portable C/C++ preprocessor implementing all of +C90, C99 and C++98. + +This package holds the shared libraries of libev. + +%package devel +# +Summary:Development files for mcpp +Group: Development/Libraries/C and C++ +Requires: %{_libname} = %{version} +Requires: %{name} = %{version} +%description devel +mcpp is a small and portable C/C++ preprocessor implementing all of +C90, C99 and C++98. + +This package holds the development files for libev. + %prep %setup -q %patch0 -p1 %build export CFLAGS=$RPM_OPT_FLAGS -D_BSD_SOURCE -%configure +%configure --enable-mcpplib make %{?jobs:-j %jobs} %install %makeinstall rm -rf $RPM_BUILD_ROOT/usr/share/doc/mcpp +rm -rf %{buildroot}%{_libdir}/libmcpp.*a %clean rm -rf $RPM_BUILD_ROOT +%post -n %{_libname} -p /sbin/ldconfig +%postun -n %{_libname} -p /sbin/ldconfig + %files %defattr(-, root, root) %doc doc/mcpp-manual.html LICENSE NEWS README %{_prefix}/bin/* %{_mandir}/man1/mcpp.1.gz +%files -n %{_libname} +%defattr(-,root,root,-) +%{_libdir}/libmcpp.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/mcpp_*.h +%{_libdir}/libmcpp.so + %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mcpp for openSUSE:Factory
Hello community, here is the log from the commit of package mcpp for openSUSE:Factory checked in at 2011-12-06 18:28:34 Comparing /work/SRC/openSUSE:Factory/mcpp (Old) and /work/SRC/openSUSE:Factory/.mcpp.new (New) Package is mcpp, Maintainer is dmuel...@suse.com Changes: Other differences: -- ++ mcpp.spec ++ --- /var/tmp/diff_new_pack.InaJNq/_old 2011-12-06 18:50:52.0 +0100 +++ /var/tmp/diff_new_pack.InaJNq/_new 2011-12-06 18:50:52.0 +0100 @@ -20,7 +20,7 @@ Name: mcpp Url:http://mcpp.sourceforge.net/ -License:BSD 3-Clause +License:BSD-3-Clause Group: Development/Languages/C and C++ Summary:Matsui's C Preprocessor Version:2.7.2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org