diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-08-22 23:05:27 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-08-22 23:06:37 +0200 |
commit | e7a6ad87c72f74317c6412384cfccd9dc2c085e4 (patch) | |
tree | fcc4cbc9371771b933620f02ed7f4e34e515b829 /media-sound/wildmidi | |
parent | net-wireless/jackit: initial commit (diff) | |
download | gentoo-e7a6ad87c72f74317c6412384cfccd9dc2c085e4.tar.gz gentoo-e7a6ad87c72f74317c6412384cfccd9dc2c085e4.tar.bz2 gentoo-e7a6ad87c72f74317c6412384cfccd9dc2c085e4.zip |
media-sound/wildmidi: 0.3.13 version bump, multiple security fixes
CVE-2017-11661, CVE-2017-11662, CVE-2017-11663, CVE-2017-11664
Bug: https://bugs.gentoo.org/627316
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'media-sound/wildmidi')
-rw-r--r-- | media-sound/wildmidi/Manifest | 1 | ||||
-rw-r--r-- | media-sound/wildmidi/wildmidi-0.3.13.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/media-sound/wildmidi/Manifest b/media-sound/wildmidi/Manifest index d9e1bbf6064e..25252a2ab960 100644 --- a/media-sound/wildmidi/Manifest +++ b/media-sound/wildmidi/Manifest @@ -1,4 +1,5 @@ DIST wildmidi-0.2.3.5.tar.gz 375792 BLAKE2B d4f14df0e46ce59d18fc2949d5e3789831301fa86b3abe9d0d027e4beb15cfde871561851d49bcfe3784db16d1a4433a8b3a19a05e673215d84255e0caaa51d5 SHA512 20bce7c551239944d2f6cd27a0963628e13624e651aabfae62380fe953ac3fc67eb27551a427c41ef2b057ec00903128d6afeccfc2688aefd46709d1f941befc +DIST wildmidi-0.3.13.tar.gz 132407 BLAKE2B 5f603adb7583d47ca0595a48a385412d09ca8b19e99c93ba474d91076fa17a54e12e08bb39ea73d16c07addeab86e6c9d8b778d19045ef6b7d551d041bbc58fa SHA512 e9ede8a98c97e57a7bd34e63fc725a1b47bbff6b41f5dca101249917f0e7756ce4d93a84b8d5b6f592687fd3deed369c22c727873c9bdd1bea6e8c31fdbb4fdb DIST wildmidi-0.3.6.tar.gz 105534 BLAKE2B 4c2a62ec61333c3d9dc7f26e981389f22c6b2b611a548d6ff3fa9bc450490ece42f5b1c636dc53fc05c51b445a0ce8bc68fdfccdd440aa82bef36001049ce9d5 SHA512 e7efb9e9e67ee518dd0cdabbe8d701ec3c0762ea007e52533b82f4a4984e0600f7ba1cd9f9b79dda9e553fa04ca861b0b8d4b21ceb35ed0c8f5a4fe6de66d1d0 DIST wildmidi-0.3.7.tar.gz 121501 BLAKE2B bae856c00449564f9199f977a4881d51c19769da10bf554a8baf681454a50b67b70feeda19592be91beda65131d4f241e661524f9c65163fb95a8570fee7f779 SHA512 b4d40404891161cb55a71dd790e2dbd2c4ec21730c8aaa6f3a68eeacd36d939f859b55ab535bee2feb9ffed04337332ef1eedcffbff6ae02d7499fec97f7a42b DIST wildmidi-0.3.8.tar.gz 121690 BLAKE2B fd11315e930a30f89ca57af0819116f8385fa1a7ecaedf7df1decc39774fa0a98df6b12e47bc8254a6c856bf41083571effa3aa70a448c1fdbcc0bbc7e848178 SHA512 883c5b2db84bee85f14a98729496aa9e15f5c1414dbaed6108d07e649b34937cbd3e8a8823a2b6519fcc7fdd354219c0667615c7b31e8952e13f8635e5284f50 diff --git a/media-sound/wildmidi/wildmidi-0.3.13.ebuild b/media-sound/wildmidi/wildmidi-0.3.13.ebuild new file mode 100644 index 000000000000..74d511052869 --- /dev/null +++ b/media-sound/wildmidi/wildmidi-0.3.13.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils readme.gentoo-r1 + +DESCRIPTION="Midi processing library and a midi player using the gus patch set" +HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/" +SRC_URI="https://github.com/Mindwerks/${PN}/archive/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="+alsa openal oss +player" + +DEPEND=" + player? ( + alsa? ( media-libs/alsa-lib ) + openal? ( media-libs/openal ) + ) +" +RDEPEND="${DEPEND} + media-sound/timidity-freepats +" + +REQUIRED_USE="player? ( ^^ ( alsa oss openal ) )" + +DOC_CONTENTS="${PN} is using timidity-freepats for midi playback. + A default configuration file was placed on /etc/${PN}/${PN}.cfg. + For more information please read the ${PN}.cfg manpage." + +S="${WORKDIR}"/${PN}-${P} + +src_prepare() { + # alsa openal oss only make sense if player is enabled. See CMakeLists.txt + if ! use player && (use alsa || use openal || use oss); then + ewarn "The 'alsa', 'openal' and 'oss' use flags only make sense if" + ewarn "the 'player' use flags is selected and as a result they will be" + ewarn "ignored in this build" + fi + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWANT_ALSA=$(usex alsa) + -DWANT_OPENAL=$(usex openal) + -DWANT_OSS=$(usex oss) + -DWANT_PLAYER=$(usex player) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + find "${D}" -name '*.la' -delete || die + + insinto /etc/${PN}/ + doins cfg/${PN}.cfg + + readme.gentoo_create_doc +} + +pkg_postinst() { + if [[ -e "${ROOT}"/etc/${PN}.cfg ]]; then + elog + elog "Old /etc/${PN}.cfg detected!" + elog "Please migrate your configuration file to" + elog "/etc/${PN}/ directory which is now the default" + elog "location for the ${PN} configuration file." + elog + fi +} |