From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7B4791386BA for ; Fri, 21 Oct 2016 18:50:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B00AE0979; Fri, 21 Oct 2016 18:50:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4A36E0979 for ; Fri, 21 Oct 2016 18:50:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9E8934168A for ; Fri, 21 Oct 2016 18:50:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 859F17D9 for ; Fri, 21 Oct 2016 18:50:04 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1477075713.e3a38f765a1d4145ccfec89086f53a147ff21d1d.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skypeforlinux/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/skypeforlinux/metadata.xml net-im/skypeforlinux/skypeforlinux-1.10.0.1-r1.ebuild net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild X-VCS-Directories: net-im/skypeforlinux/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: e3a38f765a1d4145ccfec89086f53a147ff21d1d X-VCS-Branch: master Date: Fri, 21 Oct 2016 18:50:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1581e464-aeda-45e8-a216-639da47c8064 X-Archives-Hash: 53fd0791829629f5b5b6abaf6d821910 commit: e3a38f765a1d4145ccfec89086f53a147ff21d1d Author: Raymond Jennings gmail com> AuthorDate: Mon Oct 17 14:59:46 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Fri Oct 21 18:48:33 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a38f76 net-im/skypeforlinux: Revbump * Remove obsolete blocker on net-im/skype:1 * Readd dependencies on gcc and glibc - Turns out we need to hardcode them if upstream does the compile for us and gives us a binary - Also, we need to require gcc use cxx, to pull in libstdc++ * Fix bug 596980 - Uncomment amended paxmarking - Document the pax_kernel USE flag - Slash standardize ED - Mark paxctl with || die * Minor formatting fix to src_unpack() * Fix up IUSE for pax_kernel and removal of selinux * Remove bogus fowners call * Clean up unicode fluff out of metadata.xml - Seriously, why do we need fancy apostrophes when an ASCII one will do just fine? * Amend HOMEPAGE to use https Closes: https://github.com/gentoo/gentoo/pull/2601 Signed-off-by: David Seifert gentoo.org> net-im/skypeforlinux/metadata.xml | 5 +++- ...0.1.ebuild => skypeforlinux-1.10.0.1-r1.ebuild} | 32 +++++++++------------- 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/net-im/skypeforlinux/metadata.xml b/net-im/skypeforlinux/metadata.xml index 7651eec..c6d726f 100644 --- a/net-im/skypeforlinux/metadata.xml +++ b/net-im/skypeforlinux/metadata.xml @@ -9,5 +9,8 @@ proxy-maint@gentoo.org Proxy Maintainers - Skype is for doing things together, whenever you’re apart. Skype’s text, voice and video make it simple to share experiences with the people that matter to you, wherever they are. + + Triggers a paxmarking of the main skype binary + + Skype is for doing things together, whenever you're apart. Skype's text, voice and video make it simple to share experiences with the people that matter to you, wherever they are. diff --git a/net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild b/net-im/skypeforlinux/skypeforlinux-1.10.0.1-r1.ebuild similarity index 78% rename from net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild rename to net-im/skypeforlinux/skypeforlinux-1.10.0.1-r1.ebuild index 106a1e5..1001af4 100644 --- a/net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild +++ b/net-im/skypeforlinux/skypeforlinux-1.10.0.1-r1.ebuild @@ -8,21 +8,19 @@ EAPI=6 inherit eutils rpm DESCRIPTION="P2P Internet Telephony (VoiceIP) client" -HOMEPAGE="http://www.skype.com/" +HOMEPAGE="https://www.skype.com/" SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" LICENSE="Skype-TOS no-source-code" SLOT="0" KEYWORDS="~amd64" -#IUSE="pax_kernel selinux" -IUSE="" +IUSE="pax_kernel" S="${WORKDIR}" QA_PREBUILT=opt/skypeforlinux/skypeforlinux RESTRICT="mirror bindist strip" #299368 RDEPEND="virtual/ttf-fonts - !net-im/skype:1 dev-libs/atk dev-libs/expat dev-libs/glib:2 @@ -35,6 +33,8 @@ RDEPEND="virtual/ttf-fonts media-libs/freetype:2 net-print/cups sys-apps/dbus + sys-devel/gcc[cxx] + sys-libs/glibc x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:2 @@ -50,9 +50,8 @@ RDEPEND="virtual/ttf-fonts x11-libs/libXScrnSaver x11-libs/libXtst x11-libs/pango" -# selinux? ( sec-policy/selinux-skype )" -src_unpack () { +src_unpack() { rpm_src_unpack ${A} } @@ -86,7 +85,6 @@ src_install() { into /opt dobin usr/bin/skypeforlinux - fowners root:audio /opt/bin/skypeforlinux /opt/skypeforlinux/skypeforlinux # insinto /etc/dbus-1/system.d # doins ${PN}.conf @@ -102,18 +100,14 @@ src_install() { domenu usr/share/applications/skypeforlinux.desktop -# if use pax_kernel; then -# if use apulse; then -# pax-mark Cm "${ED}"/opt/bin/${PN}-bin || die -# else -# pax-mark Cm "${ED}"/opt/bin/${PN} || die -# fi -# eqawarn "You have set USE=pax_kernel meaning that you intend to run" -# eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" -# eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" -# eqawarn "you suspect that ${PN} is being broken by this modification," -# eqawarn "please open a bug." -# fi + if use pax_kernel; then + paxctl -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux || die + eqawarn "You have set USE=pax_kernel meaning that you intend to run" + eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" + eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" + eqawarn "you suspect that ${PN} is being broken by this modification," + eqawarn "please open a bug." + fi # echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN} # doenvd "${T}"/99${PN} #430142