public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/ummunotify/
@ 2021-08-24  6:15 Alessandro Barbieri
  0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Barbieri @ 2021-08-24  6:15 UTC (permalink / raw
  To: gentoo-commits

commit:     7f07faec40be083164bf9df8021defd7bd72541b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Aug 24 06:01:42 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Aug 24 06:15:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f07faec

sys-kernel/ummunotify: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-kernel/ummunotify/Manifest            |  1 +
 sys-kernel/ummunotify/metadata.xml        | 19 +++++++++++++
 sys-kernel/ummunotify/ummunotify-2.ebuild | 44 +++++++++++++++++++++++++++++++
 3 files changed, 64 insertions(+)

diff --git a/sys-kernel/ummunotify/Manifest b/sys-kernel/ummunotify/Manifest
new file mode 100644
index 000000000..d7f5a2d25
--- /dev/null
+++ b/sys-kernel/ummunotify/Manifest
@@ -0,0 +1 @@
+DIST ummunotify-2.tar.gz 326619 BLAKE2B 4ac329368b688eebb5ab9d064703de90e47112b169cd9448b3f6e0daa7717bdd4d1e957c75f5f87f1d30c08564c929ef50d7fe83f633b95f2abbd13014c1c48c SHA512 0650ec6dd01de97822121a720bff8cb65deaf2ec67de03a52507f47d0cfb169000dd40172f73aef7fbb83735eb8e35aed4da9c20ce5ee4ee6607a12baae7ca0f

diff --git a/sys-kernel/ummunotify/metadata.xml b/sys-kernel/ummunotify/metadata.xml
new file mode 100644
index 000000000..f0e49c1ab
--- /dev/null
+++ b/sys-kernel/ummunotify/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<longdescription lang="en">
+Ummunotify relays MMU notifier events to userspace.  This is useful
+for libraries that need to track the memory mapping of applications;
+for example, MPI implementations using RDMA want to cache memory
+registrations for performance, but tracking all possible crazy cases
+such as when, say, the FORTRAN runtime frees memory is impossible
+without kernel help.
+	</longdescription>
+	<maintainer type="person">
+		<email>lssndrbarbieri@gmail.com</email>
+		<name>Alessandro Barbieri</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">Portals4/ummunotify</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/sys-kernel/ummunotify/ummunotify-2.ebuild b/sys-kernel/ummunotify/ummunotify-2.ebuild
new file mode 100644
index 000000000..3b5fc4b6e
--- /dev/null
+++ b/sys-kernel/ummunotify/ummunotify-2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MAX_KV_MAJ="4"
+MAX_KV_MIN="13"
+MYP="${PN}-v${PV}"
+
+inherit linux-info linux-mod
+
+DESCRIPTION="Userspace support for MMU notifications"
+HOMEPAGE="
+	https://lkml.org/lkml/2010/4/22/172
+	https://github.com/Portals4/ummunotify
+"
+SRC_URI="https://github.com/Portals4/ummunotify/raw/master/${MYP}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MYP}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=( Documentation/ummunotify.txt README )
+
+MODULE_NAMES="ummunot(misc:${S}/driver:${S}/driver)"
+BUILD_TARGETS="all"
+
+pkg_pretend() {
+	# https://github.com/Portals4/ummunotify/issues/1
+	if kernel_is -ge ${MAX_KV_MAJ} ${MAX_KV_MIN}; then
+		eerror "Unsupported kernel version"
+		die
+	fi
+}
+
+src_compile() {
+	linux-mod_src_compile || die
+}
+
+src_install() {
+	einstalldocs
+	linux-mod_src_install || die
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/ummunotify/
@ 2022-05-28 23:44 Alessandro Barbieri
  0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Barbieri @ 2022-05-28 23:44 UTC (permalink / raw
  To: gentoo-commits

commit:     a8f41a192b30c56a08a2ab5467d8c940aa6dbda9
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat May 28 23:41:39 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat May 28 23:41:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a8f41a19

sys-kernel/ummunotify: EAPI 8

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-kernel/ummunotify/Manifest                                      | 2 +-
 .../ummunotify/{ummunotify-2.ebuild => ummunotify-2-r1.ebuild}      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-kernel/ummunotify/Manifest b/sys-kernel/ummunotify/Manifest
index d7f5a2d25..d1ee0dfee 100644
--- a/sys-kernel/ummunotify/Manifest
+++ b/sys-kernel/ummunotify/Manifest
@@ -1 +1 @@
-DIST ummunotify-2.tar.gz 326619 BLAKE2B 4ac329368b688eebb5ab9d064703de90e47112b169cd9448b3f6e0daa7717bdd4d1e957c75f5f87f1d30c08564c929ef50d7fe83f633b95f2abbd13014c1c48c SHA512 0650ec6dd01de97822121a720bff8cb65deaf2ec67de03a52507f47d0cfb169000dd40172f73aef7fbb83735eb8e35aed4da9c20ce5ee4ee6607a12baae7ca0f
+DIST ummunotify-2.gh.tar.gz 326619 BLAKE2B 4ac329368b688eebb5ab9d064703de90e47112b169cd9448b3f6e0daa7717bdd4d1e957c75f5f87f1d30c08564c929ef50d7fe83f633b95f2abbd13014c1c48c SHA512 0650ec6dd01de97822121a720bff8cb65deaf2ec67de03a52507f47d0cfb169000dd40172f73aef7fbb83735eb8e35aed4da9c20ce5ee4ee6607a12baae7ca0f

diff --git a/sys-kernel/ummunotify/ummunotify-2.ebuild b/sys-kernel/ummunotify/ummunotify-2-r1.ebuild
similarity index 91%
rename from sys-kernel/ummunotify/ummunotify-2.ebuild
rename to sys-kernel/ummunotify/ummunotify-2-r1.ebuild
index 3b5fc4b6e..cae92bb20 100644
--- a/sys-kernel/ummunotify/ummunotify-2.ebuild
+++ b/sys-kernel/ummunotify/ummunotify-2-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 MAX_KV_MAJ="4"
 MAX_KV_MIN="13"
@@ -14,7 +14,7 @@ HOMEPAGE="
 	https://lkml.org/lkml/2010/4/22/172
 	https://github.com/Portals4/ummunotify
 "
-SRC_URI="https://github.com/Portals4/ummunotify/raw/master/${MYP}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/Portals4/ummunotify/raw/master/${MYP}.tar.gz -> ${P}.gh.tar.gz"
 S="${WORKDIR}/${MYP}"
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-28 23:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-24  6:15 [gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/ummunotify/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-05-28 23:44 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox