[libmodplug/el6] Revert "2014-08-06: Retired because of unfixed security issues: https://fedorahosted.org/rel-eng/tic

Karel Volný kvolny at fedoraproject.org
Wed Aug 27 14:36:01 UTC 2014


commit 1e72cdd2152b0d5bad7b58bbbdf47ccdcc4f9c07
Author: Karel Volný <kvolny at redhat.com>
Date:   Wed Aug 27 16:32:20 2014 +0200

    Revert "2014-08-06: Retired because of unfixed security issues: https://fedorahosted.org/rel-eng/ticket/5960"
    
    This reverts commit 3a1a17bf2bc9999645aae68b9515973672230bcd.

 .gitignore                           |    1 +
 dead.package                         |    1 -
 libmodplug-0.8.4-timiditypaths.patch |   33 ++++++++
 libmodplug.spec                      |  142 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 5 files changed, 177 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..76848e6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libmodplug-0.8.8.3.tar.gz
diff --git a/libmodplug-0.8.4-timiditypaths.patch b/libmodplug-0.8.4-timiditypaths.patch
new file mode 100644
index 0000000..9fbdbba
--- /dev/null
+++ b/libmodplug-0.8.4-timiditypaths.patch
@@ -0,0 +1,33 @@
+--- libmodplug-0.8.4/README~	2006-11-02 05:26:30.000000000 +0200
++++ libmodplug-0.8.4/README	2007-04-04 20:39:53.000000000 +0300
+@@ -57,7 +57,7 @@
+ 
+      MMPAT_PATH_TO_CFG	set to the directory where the file "timidity.cfg" and
+       the subdirectory "instruments" can be found,
+-       default: "/usr/local/share/timidity".
++       default: "/usr/share/timidity".
+       MMMID_SPEED for experimenting with the mod speed (1 thru 9)
+       MMMID_VERBOSE for feedback on the conversion process
+       MMMID_DEBUG for sake of completeness, only useful for maintainers
+@@ -68,7 +68,7 @@
+ 
+       MMPAT_PATH_TO_CFG	set to the directory where the file "timidity.cfg" and
+        the subdirectory "instruments" can be found,
+-       default: "/usr/local/share/timidity".
++       default: "/usr/share/timidity".
+ 
+       MMABC_NO_RANDOM_PICK when not set and the abc file contains multiple songs
+        (X:n) the first song to be played will be picked at random another click 
+--- libmodplug-0.8.4/src/load_pat.cpp~	2006-09-12 02:57:25.000000000 +0300
++++ libmodplug-0.8.4/src/load_pat.cpp	2007-04-04 20:40:13.000000000 +0300
+@@ -53,8 +53,8 @@
+ #define PATHFORPAT	"C:\\TIMIDITY\\INSTRUMENTS"
+ #else
+ #define DIRDELIM		'/'
+-#define TIMIDITYCFG	"/usr/local/share/timidity/timidity.cfg"
+-#define PATHFORPAT	"/usr/local/share/timidity/instruments"
++#define TIMIDITYCFG	"/etc/timidity.cfg"
++#define PATHFORPAT	"/usr/share/timidity/instruments"
+ #endif
+ 
+ #define PAT_ENV_PATH2CFG			"MMPAT_PATH_TO_CFG"
diff --git a/libmodplug.spec b/libmodplug.spec
new file mode 100644
index 0000000..e328be8
--- /dev/null
+++ b/libmodplug.spec
@@ -0,0 +1,142 @@
+Name:           libmodplug
+Version:        0.8.8.3
+Release:        2%{?dist}
+Epoch:          1
+Summary:        Modplug mod music file format library
+
+Group:          System Environment/Libraries
+License:        Public Domain
+URL:            http://modplug-xmms.sourceforge.net/
+Source0:        http://downloads.sourceforge.net/modplug-xmms/%{name}-%{version}.tar.gz
+# Fedora specific, no need to send upstream
+Patch0:         %{name}-0.8.4-timiditypaths.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%if ! 0%{?el6}
+# No package providing suitable timidity.cfg+patches in EL-6 as of 2011-05-09
+Requires:       /etc/timidity.cfg
+%endif
+
+%description
+%{summary}.
+
+%package        devel
+Summary:        Development files for the Modplug mod music file format library
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{epoch}:%{version}-%{release}
+
+%description    devel
+%{summary}.
+
+
+%prep
+%setup -q
+%patch0 -p1
+chmod -c -x src/tables.h
+sed -i -e 's/\r//g' ChangeLog
+
+
+%build
+%configure
+make %{?_smp_mflags} V=1
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+
+%check
+make check
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING README TODO
+%{_libdir}/libmodplug.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/libmodplug/
+%{_libdir}/libmodplug.so
+%{_libdir}/pkgconfig/libmodplug.pc
+
+
+%changelog
+* Mon May  9 2011 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.8.3-2
+- Don't require /etc/timidity.cfg on EL-6, there is no suitable provider
+  package available in it at the moment.
+
+* Sun May  8 2011 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.8.3-1
+- Update to 0.8.8.3 (security, CVE-2011-1761).
+- Require /etc/timidity.cfg for ABC and MIDI.
+
+* Sat Apr  2 2011 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.8.2-1
+- Update to 0.8.8.2 (security, CVE-2011-1574).
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.8.8.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Jun 21 2010 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.8.1-2
+- Make -devel main package dependency ISA qualified.
+
+* Wed Apr  7 2010 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.8.1-1
+- Update to 0.8.8.1 (#580021).
+- Drop explicit pkgconfig dependency from -devel (autodetected in F-12+).
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.8.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon Apr 27 2009 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.7-1
+- Update to 0.8.7 (security, #496834).
+
+* Tue Apr 14 2009 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.5-1
+- Update to 0.8.5, should fix #483146.
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.8.4-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Feb  9 2008 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.4-3
+- Rebuild.
+
+* Tue Aug 21 2007 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.4-2
+- Rebuild.
+
+* Wed Apr  4 2007 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8.4-1
+- 0.8.4.
+
+* Tue Oct  3 2006 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8-3
+- Apply patch for CVE-2006-4192 (from Debian).
+
+* Mon Aug 28 2006 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8-2
+- Rebuild.
+
+* Fri Mar 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 1:0.8-1
+- 0.8, 64bit patch included upstream.
+
+* Mon Feb 13 2006 Ville Skyttä <ville.skytta at iki.fi> - 1:0.7-5
+- Rebuild, cosmetics.
+
+* Tue Aug 23 2005 Ville Skyttä <ville.skytta at iki.fi> - 1:0.7-4
+- Don't ship static libs.
+
+* Tue Aug 23 2005 Ville Skyttä <ville.skytta at iki.fi> - 1:0.7-3
+- Fix x86_64, thanks to Adam Goode (#166127).
+
+* Thu Mar 17 2005 Ville Skyttä <ville.skytta at iki.fi> - 1:0.7-2
+- Build with dependency tracking disabled.
+- Run tests in the %%check section.
+
+* Fri Oct 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 1:0.7-0.fdr.1
+- First build, separated from xmms-modplug.
+- Bump Epoch.
diff --git a/sources b/sources
new file mode 100644
index 0000000..43d955d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8a9c713f0f56894163ddc61f9a0d1f71  libmodplug-0.8.8.3.tar.gz


More information about the scm-commits mailing list