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 30AAE13933E for ; Thu, 8 Jul 2021 18:55:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 326B2E0884; Thu, 8 Jul 2021 18:55:23 +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 1A304E0884 for ; Thu, 8 Jul 2021 18:55:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 981F933BF5B for ; Thu, 8 Jul 2021 18:55:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D62712B for ; Thu, 8 Jul 2021 18:55:19 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1625770496.978a6158784f3c7295af53cd08dbda9b81c0040b.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/gmid/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/gmid/gmid-9999.ebuild X-VCS-Directories: net-misc/gmid/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 978a6158784f3c7295af53cd08dbda9b81c0040b X-VCS-Branch: dev Date: Thu, 8 Jul 2021 18:55:19 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e315d24e-efae-4687-80f3-c88641869514 X-Archives-Hash: f3760f0536665527101c314704a8ef81 commit: 978a6158784f3c7295af53cd08dbda9b81c0040b Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu Jul 8 18:52:28 2021 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Thu Jul 8 18:54:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=978a6158 net-misc/gmid: update 9999 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> net-misc/gmid/gmid-9999.ebuild | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/net-misc/gmid/gmid-9999.ebuild b/net-misc/gmid/gmid-9999.ebuild index a255941c3..f793b7936 100644 --- a/net-misc/gmid/gmid-9999.ebuild +++ b/net-misc/gmid/gmid-9999.ebuild @@ -4,23 +4,28 @@ EAPI=7 SSL_DAYS=36500 -inherit git-r3 ssl-cert toolchain-funcs +inherit ssl-cert toolchain-funcs DESCRIPTION="Simple and secure Gemini server" HOMEPAGE="https://www.omarpolo.com/pages/gmid.html" -EGIT_REPO_URI="https://github.com/omar-polo/${PN}.git https://git.omarpolo.com/${PN}" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/omar-polo/${PN}.git https://git.omarpolo.com/${PN}" + inherit git-r3 +else + SRC_URI="https://git.omarpolo.com/${PN}/snapshot/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="BSD ISC MIT" SLOT="0" IUSE="+seccomp test" -RESTRICT=" - !test? ( test ) - seccomp? ( test ) -" +RESTRICT="!test? ( test )" DEPEND=" acct-user/gemini dev-libs/imsg-compat + dev-libs/libbsd dev-libs/libevent dev-libs/libretls " @@ -44,12 +49,16 @@ src_configure() { ) ./configure "${conf_args[@]}" || die + + if use seccomp && has usersandbox ${FEATURES} ; then + export SKIP_RUNTIME_TESTS=1 + fi } src_compile() { emake gmid if use test ; then - emake -C regress gg puny-test testdata iri_test + emake -C regress gg data puny-test fcgi-test fi }