Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/gmid/
Date: Wed, 07 Jul 2021 18:49:32
Message-Id: 1625682260.9382c22fd671cafd6d7edb407c127726bfafbc9a.cybertailor@gentoo
1 commit: 9382c22fd671cafd6d7edb407c127726bfafbc9a
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Wed Jul 7 18:17:50 2021 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Wed Jul 7 18:24:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9382c22f
7
8 net-misc/gmid: update 9999
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 net-misc/gmid/gmid-9999.ebuild | 11 ++++-------
13 1 file changed, 4 insertions(+), 7 deletions(-)
14
15 diff --git a/net-misc/gmid/gmid-9999.ebuild b/net-misc/gmid/gmid-9999.ebuild
16 index 4818aacdb..a255941c3 100644
17 --- a/net-misc/gmid/gmid-9999.ebuild
18 +++ b/net-misc/gmid/gmid-9999.ebuild
19 @@ -10,7 +10,7 @@ DESCRIPTION="Simple and secure Gemini server"
20 HOMEPAGE="https://www.omarpolo.com/pages/gmid.html"
21 EGIT_REPO_URI="https://github.com/omar-polo/${PN}.git https://git.omarpolo.com/${PN}"
22
23 -LICENSE="ISC"
24 +LICENSE="BSD ISC MIT"
25 SLOT="0"
26 IUSE="+seccomp test"
27 RESTRICT="
28 @@ -20,6 +20,7 @@ RESTRICT="
29
30 DEPEND="
31 acct-user/gemini
32 + dev-libs/imsg-compat
33 dev-libs/libevent
34 dev-libs/libretls
35 "
36 @@ -33,18 +34,14 @@ DOCS=( README.md ChangeLog )
37
38 src_configure() {
39 local conf_args
40 + tc-export CC
41
42 # note: not an autoconf configure script
43 conf_args=(
44 - CC="$(tc-getCC)"
45 PREFIX="${EPREFIX}"/usr/share
46 BINDIR="${EPREFIX}"/usr/bin
47 - CFLAGS="${CFLAGS}"
48 - LDFLAGS="${LDFLAGS} -ltls -lssl -lcrypto -levent"
49 + $(use_enable seccomp sandbox)
50 )
51 - if ! use seccomp ; then
52 - conf_args+=( --disable-sandbox )
53 - fi
54
55 ./configure "${conf_args[@]}" || die
56 }