1 |
commit: 05f1a2d074df8ebd956a11cce984be27d4310077 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 25 17:01:58 2022 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 17:02:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f1a2d0 |
7 |
|
8 |
sys-apps/mount-idmapped: new package, add 0.0_pre20220825 |
9 |
|
10 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
11 |
|
12 |
sys-apps/mount-idmapped/Manifest | 1 + |
13 |
sys-apps/mount-idmapped/metadata.xml | 8 +++++ |
14 |
.../mount-idmapped-0.0_pre20220825.ebuild | 37 ++++++++++++++++++++++ |
15 |
3 files changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/mount-idmapped/Manifest b/sys-apps/mount-idmapped/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000000..e548f09d8534 |
20 |
--- /dev/null |
21 |
+++ b/sys-apps/mount-idmapped/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST mount-idmapped-0.0_pre20220825.gh.tar.gz 15022 BLAKE2B f31077a6dc1f1da1797a4b1b233d74a85d268a768f1bd6691a02f8aecaa38ae669eaa214d5fbf116277206b367a0c02a820847c277aee5bbe4a50ec023fa5dea SHA512 9b1ea2927f60f0c807310da9594b1fc489e64c3e322122fbeaa5d18be46a87787cc5458ecc0c90164ff8fdb80464e65d27942a2d9d280b4b55b6a090685ef874 |
24 |
|
25 |
diff --git a/sys-apps/mount-idmapped/metadata.xml b/sys-apps/mount-idmapped/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000000..bd6443d4a375 |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/mount-idmapped/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>chutzpah@g.o</email> |
36 |
+ <name>Patrick McLean</name> |
37 |
+ </maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/sys-apps/mount-idmapped/mount-idmapped-0.0_pre20220825.ebuild b/sys-apps/mount-idmapped/mount-idmapped-0.0_pre20220825.ebuild |
41 |
new file mode 100644 |
42 |
index 000000000000..afb4f187870b |
43 |
--- /dev/null |
44 |
+++ b/sys-apps/mount-idmapped/mount-idmapped-0.0_pre20220825.ebuild |
45 |
@@ -0,0 +1,37 @@ |
46 |
+# Copyright 2022 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=8 |
50 |
+ |
51 |
+inherit toolchain-funcs |
52 |
+ |
53 |
+COMMIT_HASH="71a9e8bae308aed5aa59e02875122a728cdb5dba" |
54 |
+ |
55 |
+DESCRIPTION="A tiny tool to allow the creation of idmapped mounts" |
56 |
+HOMEPAGE="https://github.com/brauner/mount-idmapped" |
57 |
+SRC_URI="https://github.com/brauner/mount-idmapped/archive/${COMMIT_HASH}.tar.gz -> ${P}.gh.tar.gz" |
58 |
+S="${WORKDIR}/${PN}-${COMMIT_HASH}" |
59 |
+ |
60 |
+LICENSE="LGPL-2.1+" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="~amd64 ~x86" |
63 |
+ |
64 |
+DEPEND=" |
65 |
+ >=sys-kernel/linux-headers-5.12 |
66 |
+" |
67 |
+ |
68 |
+src_configure() { |
69 |
+ tc-export CC |
70 |
+} |
71 |
+ |
72 |
+src_compile() { |
73 |
+ "${CC}" ${CFLAGS} ${LDFLAGS} ${PN}.c -o "${PN}" || die |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ local -a DOCS=( |
78 |
+ README.md |
79 |
+ ) |
80 |
+ default |
81 |
+ dobin ${PN} |
82 |
+} |