diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2021-07-08 23:52:28 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2021-07-08 23:54:56 +0500 |
commit | 978a6158784f3c7295af53cd08dbda9b81c0040b (patch) | |
tree | 9c2e20496cc3718dfd419cb67f96af8666b988f2 /net-misc/gmid | |
parent | sys-apps/ripgrep-all: update LICENSE, cleanups (diff) | |
download | guru-978a6158784f3c7295af53cd08dbda9b81c0040b.tar.gz guru-978a6158784f3c7295af53cd08dbda9b81c0040b.tar.bz2 guru-978a6158784f3c7295af53cd08dbda9b81c0040b.zip |
net-misc/gmid: update 9999
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'net-misc/gmid')
-rw-r--r-- | net-misc/gmid/gmid-9999.ebuild | 23 |
1 files 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 } |