Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
894443bf11
!21 Update package to version 1.6.40
From: @jxy_git 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-07-13 08:15:01 +00:00
jxy_git
98a9ad08e7 Update package to version 1.6.40 2023-07-13 14:39:59 +08:00
openeuler-ci-bot
8693fbca6e
!16 remove example.c from help
From: @zhouwenpei 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
2022-12-15 07:15:27 +00:00
zhouwenpei
fdc68dd160 remove example.c from help 2022-12-15 06:48:48 +00:00
openeuler-ci-bot
969f063aa0
!14 update to 1.6.38
From: @zhouwenpei 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
2022-11-08 09:44:41 +00:00
zhouwenpei
2ef6842659 update to 1.6.38 2022-11-03 06:36:53 +00:00
openeuler-ci-bot
7ddd2b3ca5
!10 enable test and fix failed tests
From: @liuyumeng1 
Reviewed-by: @zzm_567, @t_feng, @yanan-rock 
Signed-off-by: @yanan-rock, @t_feng
2022-04-07 03:08:07 +00:00
liuyumeng
c312a7db30 enable test and fix failed tests 2022-04-06 15:43:35 +08:00
openeuler-ci-bot
f4626884b0 !7 split tools and static packages
Merge pull request !7 from shirely/master
2021-12-27 03:05:37 +00:00
shirely16
915af8f305 split tools and static packages 2021-12-25 16:46:50 +08:00
5 changed files with 40 additions and 36 deletions

View File

@ -1,23 +0,0 @@
From a0ca4293454ef65e67efca5dc440c601d2835e90 Mon Sep 17 00:00:00 2001
From: tangyaofang <tangyaofang6666@163.com>
Date: Mon, 10 Jun 2019 11:30:15 +0800
Subject: [PATCH] Repair of CVE-2019-6129
---
contrib/tools/pngcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/tools/pngcp.c b/contrib/tools/pngcp.c
index 16d4e7f4d..a02d5b7ff 100644
--- a/contrib/tools/pngcp.c
+++ b/contrib/tools/pngcp.c
@@ -506,7 +506,7 @@ static void
display_clean_read(struct display *dp)
{
if (dp->read_pp != NULL)
- png_destroy_read_struct(&dp->read_pp, NULL, NULL);
+ png_destroy_read_struct(&dp->read_pp, (dp->ip!=NULL ? &dp->ip : NULL), NULL);
if (dp->fp != NULL)
{

Binary file not shown.

BIN
libpng-1.6.40.tar.gz Normal file

Binary file not shown.

View File

@ -10,7 +10,7 @@ index 4fb0778..930bf50 100644
AC_DEFINE([PNG_ARM_NEON_OPT], [0],
[Disable ARM Neon optimizations])
# Prevent inclusion of the assembler files below:
enable_arm_neon=no;;
enable_arm_neon=no ;;
check)
+ AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support])
AC_DEFINE([PNG_ARM_NEON_CHECK_SUPPORTED], [],

View File

@ -1,6 +1,6 @@
Name: libpng
Epoch: 2
Version: 1.6.37
Version: 1.6.40
Release: 1
Summary: A library of functions for manipulating PNG image format files
License: zlib
@ -10,11 +10,8 @@ Source1: pngusr.dfa
Patch0: libpng-multilib.patch
Patch1: libpng-fix-arm-neon.patch
Patch2: CVE-2019-6129.patch
BuildRequires: zlib-devel autoconf automake libtool
Provides: libpng-tools
Obsoletes: libpng-tools
%description
The libpng package contains libraries used by other programs for reading and writing PNG format files.
@ -25,13 +22,26 @@ with many improvements and extensions and lack of patent problems.
Summary: Development files for libpng
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} zlib-devel%{?_isa} pkgconfig%{?_isa}
Provides: libpng-static
Obsoletes: libpng-static
%description devel
The libpng-devel package contains libraries and header files for developing
applications that using the PNG library.
%package static
Summary: Static PNG image format file library
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
%description static
The libpng-static package contains the statically linkable version of libpng.
Linking to static libraries is discouraged for most applications, but it is
necessary for some boot packages.
%package tools
Summary: Tools for PNG image format file library
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
%description tools
The libpng-tools package contains tools used by the authors of libpng.
%package help
Summary: Help documents for libpng
@ -52,9 +62,7 @@ autoreconf -vif
rm -f %{buildroot}%{_libdir}/*.la
%check
%if %{?_with_check:1}%{!?_with_check:0}
make check
%endif
%ldconfig_post
%ldconfig_postun
@ -65,17 +73,36 @@ make check
%{_libdir}/libpng16.so.*
%files devel
%{_bindir}/*
%{_includedir}/*
%{_libdir}/libpng*.so
%{_libdir}/libpng*.a
%{_libdir}/pkgconfig/libpng*.pc
%files static
%{_libdir}/libpng*.a
%files tools
%{_bindir}/*
%files help
%doc libpng-manual.txt example.c TODO CHANGES
%doc libpng-manual.txt TODO CHANGES
%{_mandir}/man*/*
%changelog
* Thu Jul 13 2023 jiangxinyu <jiangxinyu@kylinoss.cn> - 1.6.40-1
- Update package to version 1.6.40
* Thu Dec 15 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.6.38-2
- remove example.c from help
* Thu Nov 03 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.6.38-1
- update 1.6.38
* Tue Mar 29 2022 liuyumeng <liuyumeng5@h-partners.com> - 1.6.37-3
- enable test and fix failed tests
* Sat Dec 25 2021 hanhui <hanhui15@huawei.com> - 1.6.37-2
- DESC:split tools and static packages
* Mon May 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.6.37-1
- Type:requirement
- ID:NA