From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1155793-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 78526138351
	for <garchives@archives.gentoo.org>; Thu, 26 Mar 2020 07:22:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9AB83E09E8;
	Thu, 26 Mar 2020 07:22:25 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 3E464E09E8
	for <gentoo-commits@lists.gentoo.org>; Thu, 26 Mar 2020 07:22:25 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 1B2C034FA61
	for <gentoo-commits@lists.gentoo.org>; Thu, 26 Mar 2020 07:22:23 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4149A18F
	for <gentoo-commits@lists.gentoo.org>; Thu, 26 Mar 2020 07:22:21 +0000 (UTC)
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org>
Message-ID: <1585207320.8d70d1289c400498a75c364b1078b9ed12fc6861.juippis@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-extra-sounds/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild
X-VCS-Directories: net-misc/asterisk-extra-sounds/
X-VCS-Committer: juippis
X-VCS-Committer-Name: Joonas Niilola
X-VCS-Revision: 8d70d1289c400498a75c364b1078b9ed12fc6861
X-VCS-Branch: master
Date: Thu, 26 Mar 2020 07:22:21 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 9e99bf12-7160-4bba-9f3a-42260b16fb4c
X-Archives-Hash: 326c4236696d6da40d163ec3ab0f2101

commit:     8d70d1289c400498a75c364b1078b9ed12fc6861
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Sat Mar 21 17:53:38 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 26 07:22:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d70d128

net-misc/asterisk-extra-sounds: enforce at least one codec.

REQUIRED_USE was misspelt, resulting in the enforcement not happening.

http => https where possible.

Closes: https://bugs.gentoo.org/713642
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/15042
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild     | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/net-misc/asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild b/net-misc/asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild
index 6f762733bdc..84c1aca7e5e 100644
--- a/net-misc/asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild
+++ b/net-misc/asterisk-extra-sounds/asterisk-extra-sounds-1.5.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 
 DESCRIPTION="Extra sounds for asterisk"
-HOMEPAGE="http://www.asterisk.org/"
+HOMEPAGE="https://www.asterisk.org/"
 MY_L10N="^en en_GB fr" # ^ is used to indicate to the loops below to NOT set this as an optional
 CODECS="alaw g722 g729 +gsm siren7 siren14 sln16 ulaw wav"
 
@@ -13,12 +13,12 @@ IUSE="${CODECS}"
 for l in ${MY_L10N}; do
 	[[ "${l}" != ^* ]] && IUSE+=" l10n_${l//_/-}" && SRC_URI+=" l10n_${l//_/-}? ("
 	for c in ${CODECS}; do
-		SRC_URI+=" ${c#+}? ( http://downloads.asterisk.org/pub/telephony/sounds/releases/${PN}-${l#^}-${c#+}-${PV}.tar.gz )"
+		SRC_URI+=" ${c#+}? ( https://downloads.asterisk.org/pub/telephony/sounds/releases/${PN}-${l#^}-${c#+}-${PV}.tar.gz )"
 	done
 	[[ "${l}" = ^* ]] || SRC_URI+=" )"
 done
 
-REQUIRE_USE="|| ( ${CODECS//+/} )"
+REQUIRED_USE="|| ( ${CODECS//+/} )"
 
 LICENSE="CC-BY-SA-3.0"
 SLOT="0"
@@ -66,7 +66,6 @@ src_install() {
 	diropts -m 0755 -o root -g root
 	insopts -m 0644 -o root -g root
 
-	dodir /var/lib/asterisk/sounds
 	insinto /var/lib/asterisk/sounds
 	doins -r .
 }