From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1324223-garchives=archives.gentoo.org@lists.gentoo.org>
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 B7129158013
	for <garchives@archives.gentoo.org>; Sat, 25 Sep 2021 17:14:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E8CB7E0901;
	Sat, 25 Sep 2021 17:14:53 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BBEF6E0901
	for <gentoo-commits@lists.gentoo.org>; Sat, 25 Sep 2021 17:14:53 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B84D3342CE9
	for <gentoo-commits@lists.gentoo.org>; Sat, 25 Sep 2021 17:14:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F090410D
	for <gentoo-commits@lists.gentoo.org>; Sat, 25 Sep 2021 17:14:50 +0000 (UTC)
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" <arthurzam@gentoo.org>
Message-ID: <1632505827.f5e9dc7834368628e971cd751577f868209bb49f.arthurzam@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/gmid/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: net-misc/gmid/Manifest net-misc/gmid/gmid-1.7.2.ebuild net-misc/gmid/gmid-1.7.4.ebuild
X-VCS-Directories: net-misc/gmid/
X-VCS-Committer: arthurzam
X-VCS-Committer-Name: Arthur Zamarin
X-VCS-Revision: f5e9dc7834368628e971cd751577f868209bb49f
X-VCS-Branch: master
Date: Sat, 25 Sep 2021 17:14:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b746aff7-41bb-4c8c-8682-6a7c8ec98b9c
X-Archives-Hash: fc3257fec0eeb48a72a24779549a060c

commit:     f5e9dc7834368628e971cd751577f868209bb49f
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Sep 24 17:42:16 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 24 17:50:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f5e9dc78

net-misc/gmid: add 1.7.4, drop 1.7.2

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-misc/gmid/Manifest                             |  2 +-
 .../gmid/{gmid-1.7.2.ebuild => gmid-1.7.4.ebuild}  | 30 ++++++++++++++++------
 2 files changed, 23 insertions(+), 9 deletions(-)

diff --git a/net-misc/gmid/Manifest b/net-misc/gmid/Manifest
index 887ccad79..1ebc75be9 100644
--- a/net-misc/gmid/Manifest
+++ b/net-misc/gmid/Manifest
@@ -1,2 +1,2 @@
-DIST gmid-1.7.2.tar.gz 78352 BLAKE2B 8efba7dcdb301f4cc2cf470408e55b7a939bd3cad850e32fa14ba1e752404da7a85a4758ad722ba81f8dd2e45a8a9aad14ec162bdc5947591e9411896bf3c522 SHA512 27cae5699f39afb55b087cbbe7fd134221e786c07664140ace656c483c79213c74abdf82f05de9f1cf09d20a560571f094cf5ad1b1ae2879e3429f3571cec9a5
 DIST gmid-1.7.3.tar.gz 81873 BLAKE2B 66c2b850c4e1a22c50503d9445f257ac045eb69fcc7ca59d72be2c79bab95ea6b3af638b6f8f5518cd92421e10e60d9a7c6a2b3d2c3954c0a3cd911b0d31b1d2 SHA512 9a3acc501c1c0cc6419a18b152345b0ca84418625d8328942f8bba82974655633cbf79d7cdd48ba235915842dd8f8433e84245085bb0b00a4b57e4bda4aa1bd3
+DIST gmid-1.7.4.tar.gz 81988 BLAKE2B 4dc2ec0e89aeb0b2c627927f35a9996f3d91c91b0266f351c6b64f1ba52e0f425cc48add1bdee6f5434f2a486ddd76db8c9e574ac9cbaea3e2a34b16bf0ee9ad SHA512 3dd2cae5597d1b88eec8f2f3b8e60ccc3e2034cbaa30382d982cf0435f1a243643d40c5d00aa7d1c7abae9c9f6751b38f7d6741ec08f7ee280bc2db99263d19e

diff --git a/net-misc/gmid/gmid-1.7.2.ebuild b/net-misc/gmid/gmid-1.7.4.ebuild
similarity index 74%
rename from net-misc/gmid/gmid-1.7.2.ebuild
rename to net-misc/gmid/gmid-1.7.4.ebuild
index 37eb64d65..10cb49b3a 100644
--- a/net-misc/gmid/gmid-1.7.2.ebuild
+++ b/net-misc/gmid/gmid-1.7.4.ebuild
@@ -1,34 +1,35 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 SSL_DAYS=36500
 SSL_CERT_MANDATORY=1
-inherit ssl-cert toolchain-funcs
+inherit ssl-cert systemd toolchain-funcs
 
 DESCRIPTION="Simple and secure Gemini server"
 HOMEPAGE="https://gmid.omarpolo.com"
 
 if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/omar-polo/${PN}.git https://git.omarpolo.com/${PN}"
+	EGIT_REPO_URI="https://git.omarpolo.com/${PN} https://github.com/omar-polo/${PN}.git"
 	inherit git-r3
 else
 	SRC_URI="https://git.omarpolo.com/${PN}/snapshot/${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
 LICENSE="BSD ISC MIT"
 SLOT="0"
-IUSE="+seccomp test"
+IUSE="seccomp test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
+	!elibc_Darwin? ( dev-libs/libbsd )
 	acct-user/gemini
 	dev-libs/imsg-compat
-	dev-libs/libbsd
-	dev-libs/libevent
+	dev-libs/libevent:=
 	dev-libs/libretls
+	dev-libs/openssl:=
 "
 BDEPEND="
 	virtual/pkgconfig
@@ -36,7 +37,16 @@ BDEPEND="
 "
 RDEPEND="${DEPEND}"
 
-DOCS=( README.md ChangeLog )
+DOCS=( README.md ChangeLog contrib/README )
+
+src_prepare() {
+	default
+
+	sed \
+		-e "s:/usr/local/bin/gmid:/usr/bin/gmid:" \
+		-e "s:/etc/gmid.conf:/etc/gmid/gmid.conf:" \
+		-i contrib/gmid.service || die
+}
 
 src_configure() {
 	local conf_args
@@ -73,6 +83,10 @@ src_install() {
 	insinto /etc/gmid
 	doins "${FILESDIR}"/gmid.conf
 
+	insinto /usr/share/vim/vimfiles
+	doins -r contrib/vim/*
+
+	systemd_dounit contrib/gmid.service
 	newinitd "${FILESDIR}"/gmid.initd gmid
 	newconfd "${FILESDIR}"/gmid.confd gmid