public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/gmid/
Date: Sun,  2 Jan 2022 15:04:55 +0000 (UTC)	[thread overview]
Message-ID: <1641135814.cfd051f0b723df4b055787c2176442241b689d38.andrewammerlaan@gentoo> (raw)
Message-ID: <20220102150455.37CB6Jl3lXOOiF0MDqOnqcApoxQz1MlO-R4GHgEEt_g@z> (raw)

commit:     cfd051f0b723df4b055787c2176442241b689d38
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  2 15:03:34 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jan  2 15:03:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfd051f0

net-misc/gmid: drop 9999, requires non existent dep

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 net-misc/gmid/gmid-9999.ebuild | 126 -----------------------------------------
 1 file changed, 126 deletions(-)

diff --git a/net-misc/gmid/gmid-9999.ebuild b/net-misc/gmid/gmid-9999.ebuild
deleted file mode 100644
index 1b951a81f..000000000
--- a/net-misc/gmid/gmid-9999.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-SSL_DAYS=36500
-SSL_CERT_MANDATORY=1
-VERIFY_SIG_METHOD="signify"
-inherit ssl-cert systemd toolchain-funcs verify-sig
-
-DESCRIPTION="Simple and secure Gemini server"
-HOMEPAGE="https://gmid.omarpolo.com"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://git.omarpolo.com/${PN} https://github.com/omar-polo/${PN}.git"
-	inherit git-r3
-else
-	SRC_URI="https://github.com/omar-polo/${PN}/releases/download/${PV}/${P}.tar.gz
-		verify-sig? ( https://github.com/omar-polo/${PN}/releases/download/${PV}/SHA256.sig -> ${P}.sha.sig )"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD ISC MIT"
-SLOT="0"
-IUSE="seccomp test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	!elibc_Darwin? ( dev-libs/libbsd )
-	acct-user/gemini
-	dev-libs/imsg-compat
-	dev-libs/libevent:=
-	dev-libs/libretls:=
-	dev-libs/openssl:=
-"
-BDEPEND="
-	virtual/pkgconfig
-	virtual/yacc
-	verify-sig? ( sec-keys/signify-keys-gmid:$(ver_cut 1-2) )
-"
-RDEPEND="${DEPEND}"
-
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/signify-keys/${PN}-$(ver_cut 1-2).pub"
-
-DOCS=( README.md ChangeLog contrib/README )
-
-src_unpack() {
-	if [[ ${PV} == 9999 ]]; then
-		git-r3_src_unpack
-	else
-		if use verify-sig; then
-			# Too many levels of symbolic links
-			cp "${DISTDIR}"/${P}.{sha.sig,tar.gz} "${WORKDIR}" || die
-			cd "${WORKDIR}" || die
-			verify-sig_verify_signed_checksums \
-				${P}.sha.sig sha256 ${P}.tar.gz
-		fi
-		default
-	fi
-}
-
-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
-	tc-export CC
-
-	# note: not an autoconf configure script
-	conf_args=(
-		PREFIX="${EPREFIX}"/usr/share
-		BINDIR="${EPREFIX}"/usr/bin
-		$(use_enable seccomp sandbox)
-	)
-
-	./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 data puny-test fcgi-test
-	fi
-}
-
-src_test() {
-	emake regress
-}
-
-src_install() {
-	default
-
-	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
-
-	keepdir /var/gemini/localhost
-}
-
-pkg_postinst() {
-	if [[ ! -f "${EROOT}"/etc/ssl/${PN}/${PN}.key ]]; then
-		install_cert /etc/ssl/${PN}/${PN}
-		chown gemini:gemini "${EROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem}
-	fi
-
-	einfo "This gemini server can be run as a user with zero configuration.\n"
-	einfo "In order to use it with the init service you will need to generate a"
-	einfo "self-signed TLS certificate and a key and set up the configuration"
-	einfo "file (see man 1 gmid for details)."
-}


             reply	other threads:[~2022-01-02 15:04 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-02 15:04 Andrew Ammerlaan [this message]
2022-01-02 15:04 ` [gentoo-commits] repo/proj/guru:master commit in: net-misc/gmid/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2024-10-19 13:00 [gentoo-commits] repo/proj/guru:dev " Anna Vyalkova
2024-09-07  9:53 Anna Vyalkova
2024-08-25 12:19 Anna Vyalkova
2024-08-09  0:10 Anna Vyalkova
2024-04-09  1:24 Anna Vyalkova
2024-02-01 16:49 Anna Vyalkova
2024-01-14 16:36 Anna Vyalkova
2023-05-09 13:21 Anna Vyalkova
2022-12-12 20:26 Anna Vyalkova
2022-12-12 20:26 Anna Vyalkova
2022-11-03  3:09 Anna Vyalkova
2022-07-07  2:57 Anna Vyalkova
2022-05-30 17:47 Anna Vyalkova
2022-03-31  7:24 Anna Vyalkova
2022-02-17 21:11 Anna Vyalkova
2022-01-02 18:26 Anna Vyalkova
2021-12-19 14:13 Anna Vyalkova
2021-10-17  5:24 Anna Vyalkova
2021-09-24 17:52 Anna Vyalkova
2021-09-20 11:09 Anna Vyalkova
2021-08-08 15:54 Anna Vyalkova
2021-07-22  8:29 Anna Vyalkova
2021-07-12 19:03 Anna Vyalkova
2021-07-08 18:55 Anna Vyalkova
2021-07-07 18:49 Anna Vyalkova
2021-05-03  9:36 Andrew Ammerlaan
2021-03-30  8:53 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-30  8:53 ` [gentoo-commits] repo/proj/guru:dev " 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=1641135814.cfd051f0b723df4b055787c2176442241b689d38.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --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