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 195741395E2 for ; Wed, 9 Nov 2016 19:47:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0EBEE083A; Wed, 9 Nov 2016 19:47:30 +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 C44F6E083A for ; Wed, 9 Nov 2016 19:47:30 +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 5784C341641 for ; Wed, 9 Nov 2016 19:47:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8D34308 for ; Wed, 9 Nov 2016 19:47:27 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1478720832.6e6f1e6ac7ab12ef6493d20f63bd60228ae3cc92.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/containerd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/containerd/containerd-0.2.4.ebuild X-VCS-Directories: app-emulation/containerd/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 6e6f1e6ac7ab12ef6493d20f63bd60228ae3cc92 X-VCS-Branch: master Date: Wed, 9 Nov 2016 19:47:27 +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: d82f9302-2ec6-4656-9c44-2dfbe6047638 X-Archives-Hash: 79bc83cd78b1f50a98d3646053683d57 commit: 6e6f1e6ac7ab12ef6493d20f63bd60228ae3cc92 Author: William Hubbs gentoo org> AuthorDate: Wed Nov 9 19:39:39 2016 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Nov 9 19:47:12 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e6f1e6a app-emulation/containerd: add hardened support to 0.2.4 ebuild Package-Manager: portage-2.3.0 app-emulation/containerd/containerd-0.2.4.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-emulation/containerd/containerd-0.2.4.ebuild b/app-emulation/containerd/containerd-0.2.4.ebuild index 8c9e5d9..2fce33a 100644 --- a/app-emulation/containerd/containerd-0.2.4.ebuild +++ b/app-emulation/containerd/containerd-0.2.4.ebuild @@ -20,7 +20,7 @@ HOMEPAGE="https://containerd.tools" LICENSE="Apache-2.0" SLOT="0" -IUSE="+seccomp" +IUSE="hardened +seccomp" DEPEND="" RDEPEND=">=app-emulation/runc-1.0.0_rc2 @@ -31,7 +31,8 @@ S=${WORKDIR}/${P}/src/${EGO_PN} src_compile() { local options=( $(usex seccomp "seccomp") ) export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor - LDFLAGS= emake GIT_COMMIT="$EGIT_COMMIT" BUILDTAGS="${options[@]}" + LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') \ + emake GIT_COMMIT="$EGIT_COMMIT" BUILDTAGS="${options[@]}" } src_install() {