public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/imsg-compat/
Date: Sun, 13 Dec 2020 12:10:35 +0000 (UTC)	[thread overview]
Message-ID: <1607818701.d325b99fd614ef2b80b2226564b02a006dee6deb.andrewammerlaan@gentoo> (raw)

commit:     d325b99fd614ef2b80b2226564b02a006dee6deb
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sun Dec 13 00:18:21 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Dec 13 00:18:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d325b99f

dev-libs/imsg-compat: imsg utilities from openbsd

ported for linux

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-libs/imsg-compat/Manifest                 |  1 +
 dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild | 30 +++++++++++++++++++++++++++
 dev-libs/imsg-compat/imsg-compat-9999.ebuild  | 30 +++++++++++++++++++++++++++
 dev-libs/imsg-compat/metadata.xml             |  8 +++++++
 4 files changed, 69 insertions(+)

diff --git a/dev-libs/imsg-compat/Manifest b/dev-libs/imsg-compat/Manifest
new file mode 100644
index 00000000..2b26e70a
--- /dev/null
+++ b/dev-libs/imsg-compat/Manifest
@@ -0,0 +1 @@
+DIST imsg-compat-6.8.0.tar.gz 10827 BLAKE2B 81471bf67d855e200271e66de854b5e09ddee718b2809e46a16e6ad30d8956910ff15c3e2ae353f12d2cf020cfc1b18010638f000188765807b9f9cd68e34642 SHA512 270ec6e5a6f0f05cf074c4659a508f3f43379f9aa424f4d8d1fec9e6107d97026aca2517ae843c51a240b0e504f4c9368109d842fc018f3aa1be77ce9eac29b4

diff --git a/dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild b/dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild
new file mode 100644
index 00000000..5cdcd012
--- /dev/null
+++ b/dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="linux port of OpenBSD imsg"
+
+HOMEPAGE="https://man.openbsd.org/imsg_init.3
+	https://github.com/bsd-ac/imsg-compat
+"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/bsd-ac/imsg-compat.git"
+else
+	SRC_URI="https://github.com/bsd-ac/imsg-compat/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+src_install() {
+	emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+	if ! use static-libs ; then
+		find "${ED}"/usr/$(get_libdir) -name "*.a" -delete || die
+	fi
+}

diff --git a/dev-libs/imsg-compat/imsg-compat-9999.ebuild b/dev-libs/imsg-compat/imsg-compat-9999.ebuild
new file mode 100644
index 00000000..5cdcd012
--- /dev/null
+++ b/dev-libs/imsg-compat/imsg-compat-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="linux port of OpenBSD imsg"
+
+HOMEPAGE="https://man.openbsd.org/imsg_init.3
+	https://github.com/bsd-ac/imsg-compat
+"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/bsd-ac/imsg-compat.git"
+else
+	SRC_URI="https://github.com/bsd-ac/imsg-compat/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+src_install() {
+	emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+	if ! use static-libs ; then
+		find "${ED}"/usr/$(get_libdir) -name "*.a" -delete || die
+	fi
+}

diff --git a/dev-libs/imsg-compat/metadata.xml b/dev-libs/imsg-compat/metadata.xml
new file mode 100644
index 00000000..1d5a25a7
--- /dev/null
+++ b/dev-libs/imsg-compat/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>floss@bsd.ac</email>
+		<name>Aisha Tammy</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2020-12-13 12:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-13 12:10 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-13 18:37 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/imsg-compat/ Andrew Ammerlaan
2020-12-13 18:37 Andrew Ammerlaan
2020-12-13 18:37 Andrew Ammerlaan
2021-04-23  8:47 Haelwenn Monnier
2021-07-09  2:20 Jian Lin
2024-11-17  3:36 Julien Roy

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=1607818701.d325b99fd614ef2b80b2226564b02a006dee6deb.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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