From de3dd63c5f29299c64e1884d089dbfc808a9dbd0 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 16:47:15 +0000 Subject: import libdvdread-5.0.3-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63f51bb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libdvdread-5.0.3.tar.bz2 diff --git a/.libdvdread.metadata b/.libdvdread.metadata new file mode 100644 index 0000000..894bb9e --- /dev/null +++ b/.libdvdread.metadata @@ -0,0 +1 @@ +3cda64c06ca9b617d976c490651db4391a162e1f SOURCES/libdvdread-5.0.3.tar.bz2 diff --git a/SOURCES/libdvdread-5.0.3-use_after_free.patch b/SOURCES/libdvdread-5.0.3-use_after_free.patch new file mode 100644 index 0000000..3caf6e1 --- /dev/null +++ b/SOURCES/libdvdread-5.0.3-use_after_free.patch @@ -0,0 +1,13 @@ +diff -up wrk/src/ifo_read.c.wrk wrk/src/ifo_read.c +--- wrk/src/ifo_read.c.wrk 2016-05-18 13:53:53.979072295 +0200 ++++ wrk/src/ifo_read.c 2016-05-18 13:54:24.760095439 +0200 +@@ -1118,8 +1118,8 @@ void ifoFree_TT_SRPT(ifo_handle_t *ifofi + + if(ifofile->tt_srpt) { + free(ifofile->tt_srpt->title); +- free(ifofile->tt_srpt); + ifofile->tt_srpt->title = NULL; ++ free(ifofile->tt_srpt); + ifofile->tt_srpt = NULL; + } + } diff --git a/SPECS/libdvdread.spec b/SPECS/libdvdread.spec new file mode 100644 index 0000000..77f10ba --- /dev/null +++ b/SPECS/libdvdread.spec @@ -0,0 +1,228 @@ +Name: libdvdread +Version: 5.0.3 +Release: 3%{?dist} +Summary: A library for reading DVD video discs based on Ogle code + +Group: System Environment/Libraries +License: GPLv2+ +URL: http://dvdnav.mplayerhq.hu/ +Source0: https://download.videolan.org/pub/videolan/libdvdread/%{version}/libdvdread-%{version}.tar.bz2 +Patch0: libdvdread-5.0.3-use_after_free.patch + +Provides: bundled(md5-gcc) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# dvdread-config: use pkg-config instead of hard-coded +# multilib-conflicting values + +%description +libdvdread provides a simple foundation for reading DVD video disks. +It provides the functionality that is required to access many DVDs. + +%package devel +Summary: Development files for libdvdread +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +libdvdread provides a simple foundation for reading DVD video disks. +It provides the functionality that is required to access many DVDs. + +This package contains development files for libdvdread. + +%prep +%setup -q +%patch0 -p1 -b .use_after_free + +%build +%configure --disable-static + +make V=1 %{?_smp_mflags} + +%install +%{__rm} -rf %{buildroot} +%{__make} install DESTDIR=%{buildroot} +rm %{buildroot}%{_libdir}/libdvdread.la + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%define _pkgdocdir /usr/share/doc/libdvdread + +%files +%defattr(-,root,root,-) +%doc %{_pkgdocdir}/AUTHORS +%doc %{_pkgdocdir}/COPYING +%doc %{_pkgdocdir}/NEWS +%doc %{_pkgdocdir}/README +%{_libdir}/libdvdread.so.* + +%files devel +%defattr(-,root,root,-) +%doc %{_pkgdocdir}/ChangeLog +%doc %{_pkgdocdir}/TODO +%{_includedir}/dvdread +%{_libdir}/libdvdread.so +%{_libdir}/pkgconfig/dvdread.pc + +%changelog +* Wed May 18 2016 Frantisek Kluknavsky - 5.0.3-3 +- libdvdread-5.0.3-use_after_free.patch added +- resolves: #1326238 + +* Thu May 12 2016 Frantisek Kluknavsky - 5.0.3-2 +- rebase +- resolves: #1326238 + +* Fri Jan 24 2014 Daniel Mach - 4.2.0-6 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 4.2.0-5 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 4.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 4.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 4.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Oct 09 2011 Dominik Mierzejewski 4.2.0-1 +- updated to 4.2.0 release + +* Mon Apr 11 2011 Dominik Mierzejewski 4.1.4-0.4.svn1226 +- updated to SVN r1226 +- dropped obsolete endianness check patch + +* Mon Feb 07 2011 Fedora Release Engineering - 4.1.4-0.3.svn1188 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Dec 12 2009 Dominik Mierzejewski 4.1.4-0.2.svn1188 +- updated to SVN r1188 (rhbz#540155) + +* Sun Sep 27 2009 Dominik Mierzejewski 4.1.4-0.1.svn1183 +- updated to SVN r1183 +- simplified multilib patch +- fixed endianness issues (rhbz#442508) +- added some docs + +* Fri Jul 24 2009 Fedora Release Engineering - 4.1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jun 27 2009 Rex Dieter - 4.1.3-3 +- fix multilib conflict (#477687) + +* Wed Feb 25 2009 Fedora Release Engineering - 4.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Sep 09 2008 Dominik Mierzejewski 4.1.3-1 +- update to 4.1.3 final + +* Sun Aug 31 2008 Dominik Mierzejewski 4.1.3-0.3.rc1 +- update to 4.1.3rc1 +- fix include path + +* Thu Jul 17 2008 Dominik Mierzejewski 4.1.3-0.2 +- resurrect package from new upstream + +* Sun Jan 27 2008 Dominik Mierzejewski 0.9.7-4 +- fix missing include (bug 428910) + +* Wed Aug 29 2007 Dominik Mierzejewski 0.9.7-3 +- rebuild for BuildID +- update license tag + +* Wed Nov 26 2006 Dominik Mierzejewski 0.9.7-2 +- Rebuild. + +* Fri Oct 6 2006 Dams - 0.9.7-1 +- Updated to 0.9.7 + +* Wed Sep 20 2006 Ville Skyttä - 0.9.6-2 +- Rebuild. + +* Sun Jul 23 2006 Ville Skyttä - 0.9.6-1 +- 0.9.6. +- Specfile cleanup. + +* Thu Mar 16 2006 Ville Skyttä - 0.9.4-4 +- Fix linking with libdl on x86_64. +- Don't ship static libs. +- Build with dependency tracking disabled. +- Convert specfile and docs to UTF-8. +- Improve package descriptions. + +* Thu Mar 16 2006 Dams - 0.9.4-3 +- We BuildConflicting libdvdcss-devel at build time + +* Mon Mar 13 2006 Thorsten Leemhuis 0.9.4-2 +- Drop Epoch completely + +* Thu Mar 09 2006 Andreas Bierfert +- switch to new release field +- drop Epoch + +* Tue Feb 28 2006 Andreas Bierfert +- add dist + +* Thu Apr 3 2003 Marius Johndal 0:0.9.4-0.fdr.1 +- Initial Fedora RPM release. + +* Mon Mar 31 2003 Matthias Saou +- Rebuilt for Red Hat Linux 9. +- Exclude .la file. + +* Sun Feb 16 2003 Matthias Saou +- Update to 0.9.4. + +* Thu Sep 26 2002 Matthias Saou +- Updated to the latest cvs release. +- Rebuilt for Red Hat Linux 8.0. +- Updated URLs. + +* Mon May 27 2002 Matthias Saou +- Update to 0.9.3. + +* Wed May 15 2002 Matthias Saou +- Fixed the libdvdcss.so.0/1/2 problem again. + +* Thu May 2 2002 Matthias Saou +- Back to using libdvdcss 1.1.1, now it's all merged and fine. +- Rebuilt against Red Hat Linux 7.3. +- Added the %{?_smp_mflags} expansion. + +* Sat Jan 12 2002 Matthias Saou +- Reverted back to using libdvdcss 0.0.3.ogle3 since it works MUCH better + than 1.0.x. Doh! + +* Tue Nov 13 2001 Matthias Saou +- Rebuilt against libdvdcss 1.0.0 (added a patch). + +* Mon Oct 29 2001 Matthias Saou +- Spec file cleanup and fixes. + +* Thu Oct 11 2001 Martin Norbäck +- Updated to version 0.9.2 + +* Tue Sep 25 2001 Martin Norbäck +- Added small patch to fix the ldopen of libdvdcss + +* Tue Sep 18 2001 Martin Norbäck +- Updated to version 0.9.1 + +* Fri Sep 14 2001 Martin Norbäck +- Split into normal and devel package + +* Thu Sep 6 2001 Martin Norbäck +- Updated to version 0.9.0 + +* Tue Jul 03 2001 Martin Norbäck +- initial version + +