public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jian Lin" <jlin.gentoo@outlook.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/gmid/
Date: Fri,  9 Jul 2021 02:20:27 +0000 (UTC)	[thread overview]
Message-ID: <1625770496.978a6158784f3c7295af53cd08dbda9b81c0040b.jian@gentoo> (raw)

commit:     978a6158784f3c7295af53cd08dbda9b81c0040b
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Jul  8 18:52:28 2021 +0000
Commit:     Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
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 <cyber+gentoo <AT> 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
 }
 


             reply	other threads:[~2021-07-09  2:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09  2:20 Jian Lin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-21  9:51 [gentoo-commits] repo/proj/guru:master commit in: net-misc/gmid/ David Roman
2024-09-07 13:38 David Roman
2024-08-27  9:57 David Roman
2024-08-09 12:46 David Roman
2024-04-09 11:25 Julien Roy
2024-02-01 22:00 David Roman
2024-01-15 15:46 David Roman
2022-12-14 16:46 Florian Schmaus
2022-12-14 16:46 Florian Schmaus
2022-07-07  7:33 Haelwenn Monnier
2022-02-20  8:46 Florian Schmaus
2022-01-02 18:55 Andrew Ammerlaan
2022-01-02 15:04 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-01-02 15:04 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-09-25 17:14 Arthur Zamarin
2021-09-20 13:38 Arthur Zamarin
2021-07-13  9:09 Andrew Ammerlaan
2021-07-08 11:07 Florian Schmaus
2021-05-03  9:36 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-05-03 10:11 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-30  8:53 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1625770496.978a6158784f3c7295af53cd08dbda9b81c0040b.jian@gentoo \
    --to=jlin.gentoo@outlook.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox