summaryrefslogtreecommitdiff
path: root/app-crypt/gocryptfs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-10 00:08:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-10 00:08:04 +0100
commit0aad4cd3e3fe3db90904ffc51b35e4ff160b53c5 (patch)
treea522875f946841ad0790b8170c9201bb145e09bc /app-crypt/gocryptfs
parent4fe228ee9aa3b9b825d54ace549a5517e153e8bd (diff)
gentoo auto-resync : 10:06:2024 - 00:08:04
Diffstat (limited to 'app-crypt/gocryptfs')
-rw-r--r--app-crypt/gocryptfs/Manifest3
-rw-r--r--app-crypt/gocryptfs/gocryptfs-2.4.0.ebuild39
-rw-r--r--app-crypt/gocryptfs/metadata.xml11
3 files changed, 53 insertions, 0 deletions
diff --git a/app-crypt/gocryptfs/Manifest b/app-crypt/gocryptfs/Manifest
new file mode 100644
index 000000000000..0668d99c70ef
--- /dev/null
+++ b/app-crypt/gocryptfs/Manifest
@@ -0,0 +1,3 @@
+DIST gocryptfs_v2.4.0_src-deps.tar.gz 2927929 BLAKE2B e66e91506c5a7abb5413e8797f786145c436ca760e3c7157590ccb1c8430b2ac240b8ba1fd0ed3401ee4277a2e9ef6b8f3a9b3c52c22bac8e6b27b56350d9eec SHA512 b46d6eee21a0194022a042d6ae2a737f221a0932bb899123438f2cf929ecb50635fcfc90012d6a04928fd4b2856d6e24d19392ce5aa87eea573fb58cf5a5d4e1
+EBUILD gocryptfs-2.4.0.ebuild 998 BLAKE2B ece36ca1ede8f9e00c35669394b8e908df6a17f0c2fc8b8e7d170cb1ddfff2469f91f56aab231b85d3dde92749893753654b771c1e52113cf035d679e30f02b4 SHA512 77c73d6aebbcdb6a394b00b02957191c78b6b85d866be5205017f7801bb4be7994ae9cc9218a98b147c488ccd1e7758acf2a03e610ed5a8b9cfb9d5f7b1c2fe7
+MISC metadata.xml 327 BLAKE2B c9939bb93ec387dabead53c0278511ab821414ec8c9bf8c726601b8d28d9d3e319de36550f4c2ba4e6b5d8a261133f0dde9a45f65ecec9f38cbb1c987e8912ea SHA512 9afe9fbfe765ad562c079dbdf53517d4917e4416e367314f0cebcaecd3d89f3e976a5f56e7bbae55c54b1ad7daa3f6cf349db072dc5f4c2f604ec6b448eeef3a
diff --git a/app-crypt/gocryptfs/gocryptfs-2.4.0.ebuild b/app-crypt/gocryptfs/gocryptfs-2.4.0.ebuild
new file mode 100644
index 000000000000..1097ebdaab4d
--- /dev/null
+++ b/app-crypt/gocryptfs/gocryptfs-2.4.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Encrypted overlay filesystem written in Go"
+HOMEPAGE="https://github.com/rfjakob/gocryptfs"
+SRC_URI="https://github.com/rfjakob/gocryptfs/releases/download/v${PV}/${PN}_v${PV}_src-deps.tar.gz"
+S=${WORKDIR}/${PN}_v${PV}_src-deps
+LICENSE="MIT"
+LICENSE+=" Apache-2.0 BSD BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+BDEPEND="virtual/pandoc"
+PROPERTIES="test_privileged"
+RESTRICT="test"
+
+src_prepare() {
+ default
+ sed -e 's:ldd gocryptfs 2> /dev/null:! ldd gocryptfs | grep -q "statically linked":' \
+ -i "${S}/build-without-openssl.bash" || die
+}
+
+src_compile() {
+ emake build
+}
+
+src_install() {
+ emake "DESTDIR=${ED}" install
+ dobin contrib/statfs/statfs
+ doman Documentation/*.1
+ dodoc -r README.md Documentation
+ rm -f "${ED}"/usr/share/doc/${PF}/Documentation/{.gitignore,gocryptfs.1,gocryptfs-xray.1,statfs.1,MANPAGE-render.bash} || die
+}
+
+src_test() {
+ emake test
+}
diff --git a/app-crypt/gocryptfs/metadata.xml b/app-crypt/gocryptfs/metadata.xml
new file mode 100644
index 000000000000..9dddd0e70502
--- /dev/null
+++ b/app-crypt/gocryptfs/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rfjakob/gocryptfs</remote-id>
+ </upstream>
+</pkgmetadata>