1 |
commit: eefeb4fd4f60987b08882d06917071e05743da05 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 20 09:10:29 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 09:11:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eefeb4fd |
7 |
|
8 |
sys-fs/fscrypt: add 0.3.2 |
9 |
|
10 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
11 |
|
12 |
sys-fs/fscrypt/Manifest | 1 + |
13 |
sys-fs/fscrypt/fscrypt-0.3.2.ebuild | 96 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 97 insertions(+) |
15 |
|
16 |
diff --git a/sys-fs/fscrypt/Manifest b/sys-fs/fscrypt/Manifest |
17 |
index a698a8a976f3..5dd125b62456 100644 |
18 |
--- a/sys-fs/fscrypt/Manifest |
19 |
+++ b/sys-fs/fscrypt/Manifest |
20 |
@@ -1,5 +1,6 @@ |
21 |
DIST fscrypt-0.3.0.tar.gz 148000 BLAKE2B c62446bfec0f73cb89be092cadb04d9842ec10d79fff4bd5a3b358b29012c03bba766738f6a0ad61502f3d14781bd36ba1bb0a1fa610570014e5c60bda017c59 SHA512 e0b16359a8883d99b2de4aabc0c810d152ce2d70975a785f7a711ac5d7c1abc1e796ad0f58cb8964e9197415062d216ffb7e19d011859d8f98154150349a2cca |
22 |
DIST fscrypt-0.3.1.tar.gz 152055 BLAKE2B 4f3d4c8341fcff055bfe91eaa5d8c1edd02f50e9bb9dacdc42bf707a5367bfe658637135b6e2ff828292ad3fa0054578480313d8ec5ddadf15058fea899520c4 SHA512 3b58638d840f32b998a1bd71b1fc815c966769bd054c55c5a63157b13fd5ebd5b2d36fd8cca709ba14507c2b3c60976be01185d405d52a26e3bb3eb665be5158 |
23 |
+DIST fscrypt-0.3.2.tar.gz 157086 BLAKE2B 9a361d3d6d22af98fed8f33f761f3aa52d329939dbdd2aa1957a456a403f1cb120271c4c686f08cf232df1fbd125ca6adfab352243f24039d48efd3928c2c104 SHA512 3f1b790424856472c7172f3f0670d5cd83a2733dbf18461d31beaeacd15318f983fa85a77c314c5c849afac373924370f57e4026ad4b285bfb80f49b3279e5e1 |
24 |
DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146 |
25 |
DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.zip 56132 BLAKE2B 5edcfe991d7fc40094d637bae8d8d6f1f897ab3d3786ade2bb80287738103264520681ced8d30d2037253206c32d3f867f4d024a571cb9aad030ebc451e198eb SHA512 43ed64ae515738487e9b75a2290d0b2bc25e83c021a9f29b21487c37adbf34e74e1e7d3d5ec0dfe678c8396356f95c3993a5f5610d1791ff62056cd182a4272f |
26 |
DIST github.com%2Fclient9%2Fmisspell%2F@v%2Fv0.3.4.mod 35 BLAKE2B 45d27e6bbd9255a355b6bd14ac839c7d87fabb393693a8b862ad974017af01309e5d36fa99d4925905c1617c0d90b5263b54cd95af2dbab186e293936dc86459 SHA512 ca8192c6321468b4332eb63c765a5798150dce9312873123b48d9ec67ebb4229cffc7b7e8054b8b0a6f45611f08130008031edf33da3468bb9a4ee9455fa02a5 |
27 |
|
28 |
diff --git a/sys-fs/fscrypt/fscrypt-0.3.2.ebuild b/sys-fs/fscrypt/fscrypt-0.3.2.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..199f8c8cd008 |
31 |
--- /dev/null |
32 |
+++ b/sys-fs/fscrypt/fscrypt-0.3.2.ebuild |
33 |
@@ -0,0 +1,96 @@ |
34 |
+# Copyright 2020-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+inherit go-module pam |
40 |
+ |
41 |
+DESCRIPTION="Tool for managing Linux filesystem encryption" |
42 |
+HOMEPAGE="https://github.com/google/fscrypt" |
43 |
+ |
44 |
+EGO_SUM=( |
45 |
+ "github.com/BurntSushi/toml v0.3.1" |
46 |
+ "github.com/BurntSushi/toml v0.3.1/go.mod" |
47 |
+ "github.com/client9/misspell v0.3.4" |
48 |
+ "github.com/client9/misspell v0.3.4/go.mod" |
49 |
+ "github.com/golang/protobuf v1.2.0" |
50 |
+ "github.com/golang/protobuf v1.2.0/go.mod" |
51 |
+ "github.com/google/renameio v0.1.0/go.mod" |
52 |
+ "github.com/kisielk/gotool v1.0.0/go.mod" |
53 |
+ "github.com/kr/pretty v0.1.0/go.mod" |
54 |
+ "github.com/kr/pty v1.1.1/go.mod" |
55 |
+ "github.com/kr/text v0.1.0/go.mod" |
56 |
+ "github.com/pkg/errors v0.8.0" |
57 |
+ "github.com/pkg/errors v0.8.0/go.mod" |
58 |
+ "github.com/rogpeppe/go-internal v1.3.0/go.mod" |
59 |
+ "github.com/urfave/cli v1.20.0" |
60 |
+ "github.com/urfave/cli v1.20.0/go.mod" |
61 |
+ "github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad" |
62 |
+ "github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad/go.mod" |
63 |
+ "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" |
64 |
+ "golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529" |
65 |
+ "golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod" |
66 |
+ "golang.org/x/lint v0.0.0-20190930215403-16217165b5de" |
67 |
+ "golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod" |
68 |
+ "golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod" |
69 |
+ "golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod" |
70 |
+ "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" |
71 |
+ "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod" |
72 |
+ "golang.org/x/sync v0.0.0-20190423024810-112230192c58" |
73 |
+ "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod" |
74 |
+ "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" |
75 |
+ "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" |
76 |
+ "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68" |
77 |
+ "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod" |
78 |
+ "golang.org/x/term v0.0.0-20210422114643-f5beecf764ed" |
79 |
+ "golang.org/x/term v0.0.0-20210422114643-f5beecf764ed/go.mod" |
80 |
+ "golang.org/x/text v0.3.0/go.mod" |
81 |
+ "golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod" |
82 |
+ "golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod" |
83 |
+ "golang.org/x/tools v0.0.0-20191025023517-2077df36852e" |
84 |
+ "golang.org/x/tools v0.0.0-20191025023517-2077df36852e/go.mod" |
85 |
+ "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod" |
86 |
+ "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod" |
87 |
+ "gopkg.in/errgo.v2 v2.1.0/go.mod" |
88 |
+ "honnef.co/go/tools v0.0.1-2019.2.3" |
89 |
+ "honnef.co/go/tools v0.0.1-2019.2.3/go.mod" |
90 |
+) |
91 |
+go-module_set_globals |
92 |
+ |
93 |
+SRC_URI=" |
94 |
+ https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
95 |
+ ${EGO_SUM_SRC_URI} |
96 |
+" |
97 |
+ |
98 |
+# Apache-2.0: fscrypt, google/renameio |
99 |
+# BSD: golang/protobuf, rogpeppe/go-internal, golang/x/* |
100 |
+# BSD-2: pkg/errors |
101 |
+# MIT: BurntSushi/toml, kisielk/gotool, kr/*, urfave/cli, honnef.co/go/tools |
102 |
+LICENSE="Apache-2.0 BSD BSD-2 MIT" |
103 |
+SLOT="0" |
104 |
+KEYWORDS="~amd64 ~x86" |
105 |
+ |
106 |
+DEPEND="sys-libs/pam" |
107 |
+RDEPEND="${DEPEND}" |
108 |
+ |
109 |
+PATCHES=( |
110 |
+ "${FILESDIR}/0001-Remove-TestLoadSourceDevice.patch" |
111 |
+) |
112 |
+ |
113 |
+src_compile() { |
114 |
+ # Set GO_LINK_FLAGS to the empty string, as fscrypt strips the |
115 |
+ # binary by default. See bug #783780. |
116 |
+ emake GO_LINK_FLAGS="" |
117 |
+} |
118 |
+ |
119 |
+src_install() { |
120 |
+ emake \ |
121 |
+ DESTDIR="${ED}" \ |
122 |
+ PREFIX="/usr" \ |
123 |
+ PAM_MODULE_DIR="$(getpam_mod_dir)" \ |
124 |
+ PAM_CONFIG_DIR= \ |
125 |
+ install |
126 |
+ einstalldocs |
127 |
+ |
128 |
+ newpamd "${FILESDIR}/fscrypt.pam-config" fscrypt |
129 |
+} |