From 1c9a2b6cf059fca455a527c1bd76a2321f93b310 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 17 Aug 2022 20:33:10 +0100 Subject: gentoo auto-resync : 17:08:2022 - 20:33:10 --- media-libs/dumb/Manifest | 4 -- media-libs/dumb/dumb-0.9.3-r3.ebuild | 69 --------------------- .../dumb/files/dumb-0.9.3-PIC-as-needed.patch | 72 ---------------------- .../dumb/files/dumb-0.9.3_CVE-2006-3668.patch | 16 ----- 4 files changed, 161 deletions(-) delete mode 100644 media-libs/dumb/dumb-0.9.3-r3.ebuild delete mode 100644 media-libs/dumb/files/dumb-0.9.3-PIC-as-needed.patch delete mode 100644 media-libs/dumb/files/dumb-0.9.3_CVE-2006-3668.patch (limited to 'media-libs/dumb') diff --git a/media-libs/dumb/Manifest b/media-libs/dumb/Manifest index 353faba0982e..8d111fba93bf 100644 --- a/media-libs/dumb/Manifest +++ b/media-libs/dumb/Manifest @@ -1,8 +1,4 @@ -AUX dumb-0.9.3-PIC-as-needed.patch 2730 BLAKE2B c5d26002613ef712952c0aa3eeb376e9eb96c2943e7a5c09f9afeade7f65390a737faf4f3af49e11080a4bf64ecd643f0084e86b8ac9233f16796a408a448efd SHA512 b97bfdedfe4f64cc37ca52e50d0ac919747dd523f686350d8681a7629508f83ae87220622f9d431132aeb149dc6011e1461ac560ccece20a4dfb6a7d2ec9d962 -AUX dumb-0.9.3_CVE-2006-3668.patch 637 BLAKE2B 876d7cf59b78c5f94320b08395ab64eaf71d5a97edc082f1ea73afec25e9a9bd8fba20b87df44ff936ea0ee31387dc818ab8e5ae040ff1517ed86cc6da8346e4 SHA512 ecce27757b27d997fffcc8b5736c1921a947664e2a73a4fc9ff269d8d24524fe3823a9076a3270b4296d6294102c0c7f5d2fc5c05152878dcaa11d6acede2125 AUX dumb-2.0.3-pkg-config.patch 667 BLAKE2B 1607438fc49682500cdbeb4af8aa2eca5b4a8131505c932b2413404d691ee4a580f564be5290b7063849746babcfba94f7a9dccac9bbeb67c97a8ee68353f440 SHA512 bed13c5369ac951837f41b7bb10b86fa73c871a7ed3b7b9876a304f2ffd31635d4e45093e09cd62ba0b856f58b27ae15a508ad36c773ee7b96c3cf7d90a47660 -DIST dumb-0.9.3.tar.gz 167379 BLAKE2B 1a9f62b784f8e8ba5b30b892bc9588bbebca7d5270b5d1161230c1c538d1aed8c6d2f2afa6a9087858ad45dccee9c640498548a845b2f046a0c390e7a84525cc SHA512 9ecdea460858b7e6ad7ca2534ecb3581397e6c1fa904459affe19ce49f528e580e143b42b13413b292ae7b57901a8008e6a9ee3821824f6ff7914b136f75c658 DIST dumb-2.0.3.tar.gz 186576 BLAKE2B 0bd2e512b88260e67b11856630aecfdda2f11a8c5f931c1da3451dbfc15cd5e7e38e718d12b99e0598d9522cf259317a98c5d3088dd979c487a8971fd562ee3f SHA512 18b10a507d69a754cdf97fbeae41c17f211a6ba1f166a822276bdb6769d3edc326919067a3f4d1247d6715d7a5a8276669d83b9427e7336c6d111593fb7e36cf -EBUILD dumb-0.9.3-r3.ebuild 1946 BLAKE2B 9cf6f12f20dfafa9bea7bdd7d1075ea9b78a38ff4c3835f0b11f929da962b80f633a8dff3c924eab60de00f59fcc3feb0b7f5e966a42f8faa4849e001e37ea96 SHA512 7b53f9a0b2e4169672542b2acdfe5b348907d89d1789d12daf12997d2052ccd27bbd292523d5fb52a04ea1e15a1adf31184303a489b49bceaf76f097b96a0998 EBUILD dumb-2.0.3.ebuild 1005 BLAKE2B 096d43cd95b49da42f9e607e4f7454017381716af6b47b5fc724c7b4fab193a4e110c5bfdc948523ec34b720a43e42a48f3764f0907fd6f61c9c3638eea0fa4b SHA512 93abb2de45dc3abab1b9f84613fceb336228a7222e88c19c4cb51ec2ca00d288e4ae3d5809342124b6e800a9a5478d1f53de81184257fcdbd086917a13fe1ff9 MISC metadata.xml 450 BLAKE2B 44bb41dcf47879fed070edf45db451983871e1a010ad225526cff14f0b4d16de7c340959e33bdfb4d60ca96e9e8c86ae5f18632ce62e9817408510f4f43944da SHA512 b5e53041edd1dfaee742fef323ea5a293220225f847f7c5772a9008edf485ef651b2b1d0adc955e8fe3662eeaec5d9f825121b22bacc6dfb53e002dc8c78eb48 diff --git a/media-libs/dumb/dumb-0.9.3-r3.ebuild b/media-libs/dumb/dumb-0.9.3-r3.ebuild deleted file mode 100644 index 83ad5b247d53..000000000000 --- a/media-libs/dumb/dumb-0.9.3-r3.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs multilib-build multilib-minimal - -DESCRIPTION="IT/XM/S3M/MOD player library with click removal and IT filters" -HOMEPAGE="http://dumb.sourceforge.net/" -SRC_URI="mirror://sourceforge/dumb/${P}.tar.gz" - -LICENSE="DUMB-0.9.3" -SLOT="0" -KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86" -IUSE="debug" - -RDEPEND="" -DEPEND="" - -PATCHES=( - "${FILESDIR}"/${P}-PIC-as-needed.patch - "${FILESDIR}"/${P}_CVE-2006-3668.patch -) - -src_prepare() { - default - - cat << EOF > make/config.txt -include make/unix.inc -ALL_TARGETS := core core-examples core-headers -PREFIX := /usr -EOF - - sed -i '/= -s/d' Makefile || die "sed failed" - cp -f Makefile Makefile.rdy - - multilib_copy_sources -} - -multilib_src_compile() { - emake CC="$(tc-getCC)" OFLAGS="${CFLAGS}" all -} - -multilib_src_install() { - dolib.so lib/unix/libdumb.so - use debug && dolib.so lib/unix/libdumbd.so - - doheader include/dumb.h - - dobin examples/{dumbout,dumb2wav} - dodoc readme.txt release.txt docs/* -} - -pkg_postinst() { - elog "DUMB's core has been installed. This will enable you to convert module" - elog "files to PCM data (ready for sending to /dev/dsp, writing to a .wav" - elog "file, piping through oggenc, etc.)." - elog - elog "If you are using Allegro, you will also want to 'emerge aldumb'. This" - elog "provides you with a convenient API for playing module files through" - elog "Allegro's sound system, and also enables DUMB to integrate with" - elog "Allegro's datafile system so you can add modules to datafiles." - elog - elog "As a developer, when you distribute your game and write your docs, be" - elog "aware that 'dumb' and 'aldumb' actually come from the same download." - elog "People who don't use Gentoo will only have to download and install one" - elog "package. See readme.txt in /usr/share/doc/${PF} for details on" - elog "how DUMB would be compiled manually." -} diff --git a/media-libs/dumb/files/dumb-0.9.3-PIC-as-needed.patch b/media-libs/dumb/files/dumb-0.9.3-PIC-as-needed.patch deleted file mode 100644 index 217caa406b3e..000000000000 --- a/media-libs/dumb/files/dumb-0.9.3-PIC-as-needed.patch +++ /dev/null @@ -1,72 +0,0 @@ -diff -Naur dumb.orig/Makefile dumb/Makefile ---- dumb.orig/Makefile 2003-04-03 16:34:18.000000000 -0800 -+++ dumb/Makefile 2004-07-06 14:43:38.158063165 -0700 -@@ -199,11 +199,11 @@ - ALLEGRO_EXAMPLES_EXE := $(addprefix examples/, $(notdir $(patsubst %.c, %$(EXE_SUFFIX), $(ALLEGRO_EXAMPLES)))) - - --CORE_LIB_FILE_RELEASE := $(LIBDIR)/libdumb.a --ALLEGRO_LIB_FILE_RELEASE := $(LIBDIR)/libaldmb.a -+CORE_LIB_FILE_RELEASE := $(LIBDIR)/libdumb.so -+ALLEGRO_LIB_FILE_RELEASE := $(LIBDIR)/libaldmb.so - --CORE_LIB_FILE_DEBUG := $(LIBDIR)/libdumbd.a --ALLEGRO_LIB_FILE_DEBUG := $(LIBDIR)/libaldmd.a -+CORE_LIB_FILE_DEBUG := $(LIBDIR)/libdumbd.so -+ALLEGRO_LIB_FILE_DEBUG := $(LIBDIR)/libaldmd.so - - - core: $(CORE_LIB_FILE_RELEASE) $(CORE_LIB_FILE_DEBUG) -@@ -272,22 +272,22 @@ - - OBJDIR := $(OBJDIR_BASE)/release - CFLAGS := $(CFLAGS_RELEASE) --CORE_LIB_FILE := $(LIBDIR)/libdumb.a --ALLEGRO_LIB_FILE := $(LIBDIR)/libaldmb.a -+CORE_LIB_FILE := $(LIBDIR)/libdumb.so -+ALLEGRO_LIB_FILE := $(LIBDIR)/libaldmb.so - include make/Makefile.inc - - OBJDIR := $(OBJDIR_BASE)/debug - CFLAGS := $(CFLAGS_DEBUG) --CORE_LIB_FILE := $(LIBDIR)/libdumbd.a --ALLEGRO_LIB_FILE := $(LIBDIR)/libaldmd.a -+CORE_LIB_FILE := $(LIBDIR)/libdumbd.so -+ALLEGRO_LIB_FILE := $(LIBDIR)/libaldmd.so - include make/Makefile.inc - - - $(CORE_EXAMPLES_EXE): examples/%$(EXE_SUFFIX): examples/%.o $(CORE_LIB_FILE_RELEASE) -- $(CC) $^ -o $@ $(LDFLAGS) $(LINK_MATH) -+ $(CC) $^ -o $@ $(LDFLAGS) $(LINK_MATH) - - $(ALLEGRO_EXAMPLES_EXE): examples/%$(EXE_SUFFIX): examples/%.o $(ALLEGRO_LIB_FILE_RELEASE) $(CORE_LIB_FILE_RELEASE) -- $(CC) $^ -o $@ $(LDFLAGS) $(LINK_ALLEGRO) -+ $(CC) $^ -o $@ $(LDFLAGS) $(LINK_ALLEGRO) - - $(CORE_EXAMPLES_OBJ): examples/%.o: examples/%.c include/dumb.h - $(CC) -c $< -o $@ $(CFLAGS_RELEASE) -diff -Naur dumb.orig/make/Makefile.inc dumb/make/Makefile.inc ---- dumb.orig/make/Makefile.inc 2003-04-03 16:34:18.000000000 -0800 -+++ dumb/make/Makefile.inc 2004-07-06 14:37:13.082037585 -0700 -@@ -10,8 +10,8 @@ - # accurately, create a local copy of the current CFLAGS variable. This is - # necessary because Make doesn't expand variables in commands until they are - # executed. --$(CORE_LIB_FILE): CFLAGS := $(CFLAGS) --$(ALLEGRO_LIB_FILE): CFLAGS := $(CFLAGS) -+$(CORE_LIB_FILE): CFLAGS := $(CFLAGS) -fPIC -DPIC -+$(ALLEGRO_LIB_FILE): CFLAGS := $(CFLAGS) -fPIC -DPIC - - - $(OBJDIR)/%.o: src/core/%.c include/dumb.h include/internal/dumb.h -@@ -28,7 +28,7 @@ - $(CC) -c -o $@ $< $(CFLAGS) $(WFLAGS_ALLEGRO) - - $(CORE_LIB_FILE): $(CORE_OBJECTS) -- $(AR) rs $@ $^ -+ $(CC) -shared -o $@ $(LDFLAGS) -Wl,-shared,-soname,$(shell basename $@) $^ -lm - - $(ALLEGRO_LIB_FILE): $(ALLEGRO_OBJECTS) -- $(AR) rs $@ $^ -+ $(CC) -shared -o $@ $(LDFLAGS) -Wl,-shared,-soname,$(shell basename $@) $^ -ldumb diff --git a/media-libs/dumb/files/dumb-0.9.3_CVE-2006-3668.patch b/media-libs/dumb/files/dumb-0.9.3_CVE-2006-3668.patch deleted file mode 100644 index 09d2fb68f4cb..000000000000 --- a/media-libs/dumb/files/dumb-0.9.3_CVE-2006-3668.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: libdumb-0.9.3/src/it/itread.c -=================================================================== ---- libdumb-0.9.3.orig/src/it/itread.c 2006-07-21 11:05:48.000000000 +0200 -+++ libdumb-0.9.3/src/it/itread.c 2006-07-21 11:07:22.000000000 +0200 -@@ -292,6 +292,11 @@ - - envelope->flags = dumbfile_getc(f); - envelope->n_nodes = dumbfile_getc(f); -+ if(envelope->n_nodes > 25) { -+ TRACE("IT error: wrong number of envelope nodes (%d)\n", envelope->n_nodes); -+ envelope->n_nodes = 0; -+ return -1; -+ } - envelope->loop_start = dumbfile_getc(f); - envelope->loop_end = dumbfile_getc(f); - envelope->sus_loop_start = dumbfile_getc(f); -- cgit v1.2.3