public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/gocryptfs/
@ 2024-06-09 19:25 Zac Medico
  0 siblings, 0 replies; 7+ messages in thread
From: Zac Medico @ 2024-06-09 19:25 UTC (permalink / raw
  To: gentoo-commits

commit:     0a34c563fe50f96e4c1fc9aaa71251b9fa1e87e3
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  9 19:16:11 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Jun  9 19:25:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a34c563

app-crypt/gocryptfs: new package, add 2.4.0

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-crypt/gocryptfs/Manifest               |  1 +
 app-crypt/gocryptfs/gocryptfs-2.4.0.ebuild | 39 ++++++++++++++++++++++++++++++
 app-crypt/gocryptfs/metadata.xml           | 11 +++++++++
 3 files changed, 51 insertions(+)

diff --git a/app-crypt/gocryptfs/Manifest b/app-crypt/gocryptfs/Manifest
new file mode 100644
index 000000000000..6e4250362ab5
--- /dev/null
+++ b/app-crypt/gocryptfs/Manifest
@@ -0,0 +1 @@
+DIST gocryptfs_v2.4.0_src-deps.tar.gz 2927929 BLAKE2B e66e91506c5a7abb5413e8797f786145c436ca760e3c7157590ccb1c8430b2ac240b8ba1fd0ed3401ee4277a2e9ef6b8f3a9b3c52c22bac8e6b27b56350d9eec SHA512 b46d6eee21a0194022a042d6ae2a737f221a0932bb899123438f2cf929ecb50635fcfc90012d6a04928fd4b2856d6e24d19392ce5aa87eea573fb58cf5a5d4e1

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>


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/gocryptfs/
@ 2025-01-24 23:36 Zac Medico
  0 siblings, 0 replies; 7+ messages in thread
From: Zac Medico @ 2025-01-24 23:36 UTC (permalink / raw
  To: gentoo-commits

commit:     3f16cb934010de86bcda81837c637340bfb9d267
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 24 23:35:21 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Jan 24 23:35:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f16cb93

app-crypt/gocryptfs: add 2.5.1

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-crypt/gocryptfs/Manifest               |  1 +
 app-crypt/gocryptfs/gocryptfs-2.5.1.ebuild | 39 ++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/app-crypt/gocryptfs/Manifest b/app-crypt/gocryptfs/Manifest
index 6e4250362ab5..ce7e282f07aa 100644
--- a/app-crypt/gocryptfs/Manifest
+++ b/app-crypt/gocryptfs/Manifest
@@ -1 +1,2 @@
 DIST gocryptfs_v2.4.0_src-deps.tar.gz 2927929 BLAKE2B e66e91506c5a7abb5413e8797f786145c436ca760e3c7157590ccb1c8430b2ac240b8ba1fd0ed3401ee4277a2e9ef6b8f3a9b3c52c22bac8e6b27b56350d9eec SHA512 b46d6eee21a0194022a042d6ae2a737f221a0932bb899123438f2cf929ecb50635fcfc90012d6a04928fd4b2856d6e24d19392ce5aa87eea573fb58cf5a5d4e1
+DIST gocryptfs_v2.5.1_src-deps.tar.gz 2935982 BLAKE2B 429b9ee986ad88156f36825c9b3420c361a717524f04c3dd2738c527de2faf49abe517c13903206531f6cf6678c331141cfb38013ece3814b939aedb2b5a34fb SHA512 d35c76284b31e10c71eefac1abf20d0c46d3d3dcf8f45b0c745b829152bab9c2fe84b3a8f96ea04a96c2eeeb5554094a9e775cea25213187f8d9fa6403fbb61f

diff --git a/app-crypt/gocryptfs/gocryptfs-2.5.1.ebuild b/app-crypt/gocryptfs/gocryptfs-2.5.1.ebuild
new file mode 100644
index 000000000000..da88fd5beb49
--- /dev/null
+++ b/app-crypt/gocryptfs/gocryptfs-2.5.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2024-2025 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
+}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/gocryptfs/
@ 2025-05-07 22:53 Zac Medico
  0 siblings, 0 replies; 7+ messages in thread
From: Zac Medico @ 2025-05-07 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     d87c88cf4089590a9de833b160c82ec75eccc4ff
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue May  6 22:27:31 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed May  7 22:52:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87c88cf

app-crypt/gocryptfs: drop 2.4.0

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41970
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-crypt/gocryptfs/Manifest               |  1 -
 app-crypt/gocryptfs/gocryptfs-2.4.0.ebuild | 39 ------------------------------
 2 files changed, 40 deletions(-)

diff --git a/app-crypt/gocryptfs/Manifest b/app-crypt/gocryptfs/Manifest
index 2923cfd4e693..b78033b8d118 100644
--- a/app-crypt/gocryptfs/Manifest
+++ b/app-crypt/gocryptfs/Manifest
@@ -1,3 +1,2 @@
-DIST gocryptfs_v2.4.0_src-deps.tar.gz 2927929 BLAKE2B e66e91506c5a7abb5413e8797f786145c436ca760e3c7157590ccb1c8430b2ac240b8ba1fd0ed3401ee4277a2e9ef6b8f3a9b3c52c22bac8e6b27b56350d9eec SHA512 b46d6eee21a0194022a042d6ae2a737f221a0932bb899123438f2cf929ecb50635fcfc90012d6a04928fd4b2856d6e24d19392ce5aa87eea573fb58cf5a5d4e1
 DIST gocryptfs_v2.5.1_src-deps.tar.gz 2935982 BLAKE2B 429b9ee986ad88156f36825c9b3420c361a717524f04c3dd2738c527de2faf49abe517c13903206531f6cf6678c331141cfb38013ece3814b939aedb2b5a34fb SHA512 d35c76284b31e10c71eefac1abf20d0c46d3d3dcf8f45b0c745b829152bab9c2fe84b3a8f96ea04a96c2eeeb5554094a9e775cea25213187f8d9fa6403fbb61f
 DIST gocryptfs_v2.5.4_src-deps.tar.gz 3147352 BLAKE2B 25eb141b06f7c191d49658913baba239af340ffcf9580b115d6191a844fdf012317a9db87a4f9f59c603efcffd77e5bde3f77e460d5d873ad6ccdb649e1584c4 SHA512 64523a7224676273ea5d375952eecccc6c03c813ef37429a90ee4c29add2cf69684e54c2a9d6113a9d84e315b03f9f85a72f8cd45d04aae2c63733ead08a3cf5

diff --git a/app-crypt/gocryptfs/gocryptfs-2.4.0.ebuild b/app-crypt/gocryptfs/gocryptfs-2.4.0.ebuild
deleted file mode 100644
index 1097ebdaab4d..000000000000
--- a/app-crypt/gocryptfs/gocryptfs-2.4.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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
-}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/gocryptfs/
@ 2025-05-07 22:53 Zac Medico
  0 siblings, 0 replies; 7+ messages in thread
From: Zac Medico @ 2025-05-07 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     0d6b5e3df96622f2b6b08b9338db1461ac0cf102
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue May  6 22:25:17 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed May  7 22:51:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6b5e3d

app-crypt/gocryptfs: add 2.5.4

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
From: https://github.com/gentoo/gentoo/pull/41970
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-crypt/gocryptfs/Manifest               |  1 +
 app-crypt/gocryptfs/gocryptfs-2.5.4.ebuild | 89 ++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/app-crypt/gocryptfs/Manifest b/app-crypt/gocryptfs/Manifest
index ce7e282f07aa..2923cfd4e693 100644
--- a/app-crypt/gocryptfs/Manifest
+++ b/app-crypt/gocryptfs/Manifest
@@ -1,2 +1,3 @@
 DIST gocryptfs_v2.4.0_src-deps.tar.gz 2927929 BLAKE2B e66e91506c5a7abb5413e8797f786145c436ca760e3c7157590ccb1c8430b2ac240b8ba1fd0ed3401ee4277a2e9ef6b8f3a9b3c52c22bac8e6b27b56350d9eec SHA512 b46d6eee21a0194022a042d6ae2a737f221a0932bb899123438f2cf929ecb50635fcfc90012d6a04928fd4b2856d6e24d19392ce5aa87eea573fb58cf5a5d4e1
 DIST gocryptfs_v2.5.1_src-deps.tar.gz 2935982 BLAKE2B 429b9ee986ad88156f36825c9b3420c361a717524f04c3dd2738c527de2faf49abe517c13903206531f6cf6678c331141cfb38013ece3814b939aedb2b5a34fb SHA512 d35c76284b31e10c71eefac1abf20d0c46d3d3dcf8f45b0c745b829152bab9c2fe84b3a8f96ea04a96c2eeeb5554094a9e775cea25213187f8d9fa6403fbb61f
+DIST gocryptfs_v2.5.4_src-deps.tar.gz 3147352 BLAKE2B 25eb141b06f7c191d49658913baba239af340ffcf9580b115d6191a844fdf012317a9db87a4f9f59c603efcffd77e5bde3f77e460d5d873ad6ccdb649e1584c4 SHA512 64523a7224676273ea5d375952eecccc6c03c813ef37429a90ee4c29add2cf69684e54c2a9d6113a9d84e315b03f9f85a72f8cd45d04aae2c63733ead08a3cf5

diff --git a/app-crypt/gocryptfs/gocryptfs-2.5.4.ebuild b/app-crypt/gocryptfs/gocryptfs-2.5.4.ebuild
new file mode 100644
index 000000000000..09ea171b20f0
--- /dev/null
+++ b/app-crypt/gocryptfs/gocryptfs-2.5.4.ebuild
@@ -0,0 +1,89 @@
+# Copyright 2024-2025 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"
+# Vendored licenses
+LICENSE+=" Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PROPERTIES="test_privileged"
+RESTRICT="test"
+
+RDEPEND="dev-libs/openssl:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pandoc"
+
+src_prepare() {
+	default
+	sed -e 's:ldd gocryptfs 2> /dev/null:! ldd gocryptfs | grep -q "statically linked":' \
+		-i "${S}/build-without-openssl.bash" || die
+
+	# Code linting not relevant downstream
+	sed -e 's/command -v shellcheck/false/' -e 's/\! go tool \| grep vet/false/' \
+		-i "${S}/test.bash" || die
+
+	local -A skip_tests=(
+		# cli_test.go:450: wrong exit code: want=12, have=20
+		["TestMountPasswordIncorrect"]="tests/cli/cli_test.go"
+		# cli_test.go:467: want=9, got=20
+		["TestMountPasswordEmpty"]="tests/cli/cli_test.go"
+		["TestMountPasswordIncorrect"]="tests/cli/cli_test.go"
+		# ctlsock: listen unix /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/3259013716/TestOrphanedSocket.572617384.sock: bind: invalid argument
+		# cli_test.go:1067: mount failed: exit status 20
+		["TestEncryptPaths"]="gocryptfs-xray/xray_tests/xray_test.go"
+		["TestOrphanedSocket"]="tests/cli/cli_test.go"
+		["TestCtlSock"]="tests/defaults/ctlsock_test.go"
+		["TestCtlSockDecrypt"]="tests/defaults/ctlsock_test.go"
+		["TestCtlSockDecryptCrash"]="tests/defaults/ctlsock_test.go"
+		["TestCtlSockPathOps"]="tests/reverse/ctlsock_test.go"
+		["TestCtlSockCrash"]="tests/reverse/ctlsock_test.go"
+		["TestSymlinkDentrySize"]="tests/reverse/correctness_test.go"
+		["TestExcludeTestFs"]="tests/reverse/exclude_test.go"
+		["TestExcludeAllOnlyDir1"]="tests/reverse/exclude_test.go"
+		# correctness_test.go:142: should NOT be executable
+		["TestAccessVirtualDirIV"]="tests/reverse/correctness_test.go"
+		# issue893_test.go:54: mkdir /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp: permission denied
+		["TestConcurrentUserOps"]="tests/root_test/issue893_test.go"
+		# root_test.go:86: mkdir /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/default-plain/dir1/dir2: permission denied
+		# root_test.go:97: open /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/default-plain/dir1/file1: permission denied
+		["TestSupplementaryGroups"]="tests/root_test/root_test.go"
+		# root_test.go:158: mount: /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/TestDiskFull.ext4.mnt: failed to setup loop device for /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/TestDiskFull.ext4.
+		["TestDiskFull"]="tests/root_test/root_test.go"
+		# root_test.go:281: O_RDONLY should have worked, but got error: permission denied
+		["TestAcl"]="tests/root_test/root_test.go"
+		# root_test.go:340: mount: /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/TestBtrfsQuirks.img.mnt: failed to setup loop device for /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/TestBtrfsQuirks.img.
+		["TestBtrfsQuirks"]="tests/root_test/root_test.go"
+	)
+
+	for test in "${!skip_tests[@]}"; do
+		sed -e "/^func ${test}(/ a	t.Skip(\"Skipped by Gentoo\")" -i ${skip_tests[$test]} || die
+	done
+
+	# Doesn't account for the vendor directory
+	sed -e 's|find .|find . -path ./vendor -prune -o|' -i test.bash || die
+}
+
+src_compile() {
+	emake build
+}
+
+src_test() {
+	emake test
+}
+
+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
+}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/gocryptfs/
@ 2025-08-16  3:34 Zac Medico
  0 siblings, 0 replies; 7+ messages in thread
From: Zac Medico @ 2025-08-16  3:34 UTC (permalink / raw
  To: gentoo-commits

commit:     f931d23ceba3b9565fe8d37fff231269ec9690a8
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Jul 28 01:48:08 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Aug 16 03:34:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f931d23c

app-crypt/gocryptfs: add 2.6.1

* Add verify-sig support https://nuetzlich.net/gocryptfs/releases/
* Drop pandoc dependency.

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/43201
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-crypt/gocryptfs/Manifest               |   2 +
 app-crypt/gocryptfs/gocryptfs-2.6.1.ebuild | 105 +++++++++++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/app-crypt/gocryptfs/Manifest b/app-crypt/gocryptfs/Manifest
index b78033b8d118..641e7bbae5a3 100644
--- a/app-crypt/gocryptfs/Manifest
+++ b/app-crypt/gocryptfs/Manifest
@@ -1,2 +1,4 @@
 DIST gocryptfs_v2.5.1_src-deps.tar.gz 2935982 BLAKE2B 429b9ee986ad88156f36825c9b3420c361a717524f04c3dd2738c527de2faf49abe517c13903206531f6cf6678c331141cfb38013ece3814b939aedb2b5a34fb SHA512 d35c76284b31e10c71eefac1abf20d0c46d3d3dcf8f45b0c745b829152bab9c2fe84b3a8f96ea04a96c2eeeb5554094a9e775cea25213187f8d9fa6403fbb61f
 DIST gocryptfs_v2.5.4_src-deps.tar.gz 3147352 BLAKE2B 25eb141b06f7c191d49658913baba239af340ffcf9580b115d6191a844fdf012317a9db87a4f9f59c603efcffd77e5bde3f77e460d5d873ad6ccdb649e1584c4 SHA512 64523a7224676273ea5d375952eecccc6c03c813ef37429a90ee4c29add2cf69684e54c2a9d6113a9d84e315b03f9f85a72f8cd45d04aae2c63733ead08a3cf5
+DIST gocryptfs_v2.6.1_src-deps.tar.gz 3166951 BLAKE2B fe3eb4f029f7fbad7dcafd55c99a55c2daf41ba37e6f88d24e1a82f3ba8c4892236ac9b78ec3753d4994f2d23ae3a3e1d2dba22ec8c84a3ad3851a078e063500 SHA512 ec8a8011a355656c1f242269fcc1559c537e880342e4f71a956a63ac72e47f2d9fea45f6ef308d420282725eb5bd4780f0cd645d137bb6beecb97a9c93b448fb
+DIST gocryptfs_v2.6.1_src-deps.tar.gz.asc 833 BLAKE2B b4aee2b7b2b1989fab6ef66ac2f8e91f8e52d009e5a276e4799b317791d24964b367abdae0b1df96ef834bcfd16eb29b6f7bed7bd371941c2884e3898ff37af3 SHA512 318c131a1345dc36574170b4d208515c5fb101bfc04dbc3e57f136cb1b138aa33e458fe7bd04efcd15f51c0e397280e4a4a62b9a7676832206bcb9c510257991

diff --git a/app-crypt/gocryptfs/gocryptfs-2.6.1.ebuild b/app-crypt/gocryptfs/gocryptfs-2.6.1.ebuild
new file mode 100644
index 000000000000..0c63546fb157
--- /dev/null
+++ b/app-crypt/gocryptfs/gocryptfs-2.6.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gocryptfs.asc
+inherit go-module verify-sig
+
+DESCRIPTION="Encrypted overlay filesystem written in Go"
+HOMEPAGE="https://github.com/rfjakob/gocryptfs"
+# https://nuetzlich.net/gocryptfs/releases/
+SRC_URI="
+	https://github.com/rfjakob/gocryptfs/releases/download/v${PV}/${PN}_v${PV}_src-deps.tar.gz
+	verify-sig? ( https://github.com/rfjakob/gocryptfs/releases/download/v${PV}/gocryptfs_v${PV}_src-deps.tar.gz.asc )
+"
+S=${WORKDIR}/${PN}_v${PV}_src-deps
+
+LICENSE="MIT"
+# Vendored licenses
+LICENSE+=" Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PROPERTIES="test_privileged"
+RESTRICT="test"
+
+RDEPEND="dev-libs/openssl:="
+DEPEND="${RDEPEND}"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gocryptfs )"
+
+src_unpack() {
+	if use verify-sig; then
+		verify-sig_verify_detached "${DISTDIR}"/gocryptfs_v${PV}_src-deps.tar.gz{,.asc}
+	fi
+	go-module_src_unpack
+}
+
+src_prepare() {
+	default
+
+	# Code linting not relevant downstream
+	sed -e 's/command -v shellcheck/false/' -e 's/\! go tool \| grep vet/false/' \
+		-i "${S}/test.bash" || die
+
+	local -A skip_tests=(
+		# cli_test.go:450: wrong exit code: want=12, have=20
+		["TestMountPasswordIncorrect"]="tests/cli/cli_test.go"
+		# cli_test.go:467: want=9, got=20
+		["TestMountPasswordEmpty"]="tests/cli/cli_test.go"
+		# ctlsock: listen unix /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/3259013716/TestOrphanedSocket.572617384.sock: bind: invalid argument
+		# cli_test.go:1067: mount failed: exit status 20
+		["TestEncryptPaths"]="gocryptfs-xray/xray_tests/xray_test.go"
+		["TestOrphanedSocket"]="tests/cli/cli_test.go"
+		["TestCtlSock"]="tests/defaults/ctlsock_test.go"
+		["TestCtlSockDecrypt"]="tests/defaults/ctlsock_test.go"
+		["TestCtlSockDecryptCrash"]="tests/defaults/ctlsock_test.go"
+		["TestCtlSockPathOps"]="tests/reverse/ctlsock_test.go"
+		["TestCtlSockCrash"]="tests/reverse/ctlsock_test.go"
+		["TestSymlinkDentrySize"]="tests/reverse/correctness_test.go"
+		["TestExcludeTestFs"]="tests/reverse/exclude_test.go"
+		["TestExcludeAllOnlyDir1"]="tests/reverse/exclude_test.go"
+		# correctness_test.go:142: should NOT be executable
+		["TestAccessVirtualDirIV"]="tests/reverse/correctness_test.go"
+		# issue893_test.go:54: mkdir /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp: permission denied
+		["TestConcurrentUserOps"]="tests/root_test/issue893_test.go"
+		# root_test.go:86: mkdir ${T}/gocryptfs-test-parent-0/932700816/default-plain/dir1/dir2: permission denied
+		# root_test.go:97: open ${T}/gocryptfs-test-parent-0/932700816/default-plain/dir1/file1: permission denied
+		["TestSupplementaryGroups"]="tests/root_test/root_test.go"
+		# root_test.go:158: mount: ${T}/gocryptfs-test-parent-0/932700816/TestDiskFull.ext4.mnt:
+		# failed to setup loop device for ${T}/gocryptfs-test-parent-0/932700816/TestDiskFull.ext4.
+		["TestDiskFull"]="tests/root_test/root_test.go"
+		# root_test.go:281: O_RDONLY should have worked, but got error: permission denied
+		["TestAcl"]="tests/root_test/root_test.go"
+		# root_test.go:340: mount: ${T}/gocryptfs-test-parent-0/932700816/TestBtrfsQuirks.img.mnt:
+		# failed to setup loop device for ${T}/gocryptfs-test-parent-0/932700816/TestBtrfsQuirks.img.
+		["TestBtrfsQuirks"]="tests/root_test/btrfs_test.go"
+		# requires root
+		["TestRootForceOwner"]="tests/root_test/root_test.go"
+	)
+
+	for test in "${!skip_tests[@]}"; do
+		sed -e "/^func ${test}(/ a	t.Skip(\"Skipped by Gentoo\")" -i ${skip_tests[$test]} || die
+	done
+
+	# Doesn't account for the vendor directory
+	sed -e 's|find .|find . -path ./vendor -prune -o|' -i test.bash || die
+}
+
+src_compile() {
+	# call directly to avoid pandoc dependency. The man pages are included in the upstream tarballs
+	# https://github.com/rfjakob/gocryptfs/commit/61940a9c0666eba8be21de4f1cd182912f74f929
+	./build.bash || die
+}
+
+src_test() {
+	emake test
+}
+
+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
+}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/gocryptfs/
@ 2025-09-16  2:55 Zac Medico
  0 siblings, 0 replies; 7+ messages in thread
From: Zac Medico @ 2025-09-16  2:55 UTC (permalink / raw
  To: gentoo-commits

commit:     2f763180a67e81ed47f13fb787bdf307b90180e0
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Sep 16 01:47:32 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 02:29:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f763180

app-crypt/gocryptfs: improve tests + misc

* Missing fuse-2 dependency due to fusermount use in tests.
* Explicitly remove bits that could rebuild gocrypfs during tests.
* Remove another bit of code linting from tests.
* More verbosity to tests by calling the command directly.

* Add maintainers homepage for the project.
* Drop BSD-2 license, doesn't appear to be use by any vendored
  dependency if checked with lichen.
* Add pkg-config dep, is stricly correct to require for openssl.
  #cgo pkg-config: libcrypto

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/43805
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-crypt/gocryptfs/gocryptfs-2.6.1-r1.ebuild | 118 ++++++++++++++++++++++++++
 1 file changed, 118 insertions(+)

diff --git a/app-crypt/gocryptfs/gocryptfs-2.6.1-r1.ebuild b/app-crypt/gocryptfs/gocryptfs-2.6.1-r1.ebuild
new file mode 100644
index 000000000000..cffbdca50b01
--- /dev/null
+++ b/app-crypt/gocryptfs/gocryptfs-2.6.1-r1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gocryptfs.asc
+inherit go-module verify-sig
+
+DESCRIPTION="Encrypted overlay filesystem written in Go"
+HOMEPAGE="
+	https://nuetzlich.net/gocryptfs/
+	https://github.com/rfjakob/gocryptfs
+"
+# https://nuetzlich.net/gocryptfs/releases/
+SRC_URI="
+	https://github.com/rfjakob/gocryptfs/releases/download/v${PV}/${PN}_v${PV}_src-deps.tar.gz
+	verify-sig? ( https://github.com/rfjakob/gocryptfs/releases/download/v${PV}/gocryptfs_v${PV}_src-deps.tar.gz.asc )
+"
+S=${WORKDIR}/${PN}_v${PV}_src-deps
+
+LICENSE="MIT"
+# Vendored licenses
+LICENSE+=" Apache-2.0 BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test"
+
+PROPERTIES="test_privileged"
+RESTRICT="!test? ( test ) test"
+
+RDEPEND="dev-libs/openssl:="
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	test? ( sys-fs/fuse:0 )
+	verify-sig? ( sec-keys/openpgp-keys-gocryptfs )
+"
+
+src_unpack() {
+	if use verify-sig; then
+		verify-sig_verify_detached "${DISTDIR}"/gocryptfs_v${PV}_src-deps.tar.gz{,.asc}
+	fi
+	go-module_src_unpack
+}
+
+src_prepare() {
+	default
+
+	# stub all commands that could rebuild gocrypts during tests
+	sed -e 's|./build-without-openssl.bash|true|' \
+		-e 's|./build.bash|true|' \
+		-i "${S}/test.bash" || die
+
+	# Code linting not relevant downstream
+	sed -e 's/command -v shellcheck/false/' \
+		-e 's/command -v staticcheck/false/' \
+		-e 's/\! go tool \| grep vet/false/' \
+		-i "${S}/test.bash" || die
+
+	local -A skip_tests=(
+		# cli_test.go:450: wrong exit code: want=12, have=20
+		["TestMountPasswordIncorrect"]="tests/cli/cli_test.go"
+		# cli_test.go:467: want=9, got=20
+		["TestMountPasswordEmpty"]="tests/cli/cli_test.go"
+		# ctlsock: listen unix /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/3259013716/TestOrphanedSocket.572617384.sock: bind: invalid argument
+		# cli_test.go:1067: mount failed: exit status 20
+		["TestEncryptPaths"]="gocryptfs-xray/xray_tests/xray_test.go"
+		["TestOrphanedSocket"]="tests/cli/cli_test.go"
+		["TestCtlSock"]="tests/defaults/ctlsock_test.go"
+		["TestCtlSockDecrypt"]="tests/defaults/ctlsock_test.go"
+		["TestCtlSockDecryptCrash"]="tests/defaults/ctlsock_test.go"
+		["TestCtlSockPathOps"]="tests/reverse/ctlsock_test.go"
+		["TestCtlSockCrash"]="tests/reverse/ctlsock_test.go"
+		["TestSymlinkDentrySize"]="tests/reverse/correctness_test.go"
+		["TestExcludeTestFs"]="tests/reverse/exclude_test.go"
+		["TestExcludeAllOnlyDir1"]="tests/reverse/exclude_test.go"
+		# correctness_test.go:142: should NOT be executable
+		["TestAccessVirtualDirIV"]="tests/reverse/correctness_test.go"
+		# issue893_test.go:54: mkdir /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp: permission denied
+		["TestConcurrentUserOps"]="tests/root_test/issue893_test.go"
+		# root_test.go:86: mkdir ${T}/gocryptfs-test-parent-0/932700816/default-plain/dir1/dir2: permission denied
+		# root_test.go:97: open ${T}/gocryptfs-test-parent-0/932700816/default-plain/dir1/file1: permission denied
+		["TestSupplementaryGroups"]="tests/root_test/root_test.go"
+		# root_test.go:158: mount: ${T}/gocryptfs-test-parent-0/932700816/TestDiskFull.ext4.mnt:
+		# failed to setup loop device for ${T}/gocryptfs-test-parent-0/932700816/TestDiskFull.ext4.
+		["TestDiskFull"]="tests/root_test/root_test.go"
+		# root_test.go:281: O_RDONLY should have worked, but got error: permission denied
+		["TestAcl"]="tests/root_test/root_test.go"
+		# root_test.go:340: mount: ${T}/gocryptfs-test-parent-0/932700816/TestBtrfsQuirks.img.mnt:
+		# failed to setup loop device for ${T}/gocryptfs-test-parent-0/932700816/TestBtrfsQuirks.img.
+		["TestBtrfsQuirks"]="tests/root_test/btrfs_test.go"
+		# requires root
+		["TestRootForceOwner"]="tests/root_test/root_test.go"
+	)
+
+	for test in "${!skip_tests[@]}"; do
+		sed -e "/^func ${test}(/ a	t.Skip(\"Skipped by Gentoo\")" -i ${skip_tests[$test]} || die
+	done
+}
+
+src_compile() {
+	# call directly to avoid pandoc dependency. The man pages are included in the upstream tarballs
+	# https://github.com/rfjakob/gocryptfs/commit/61940a9c0666eba8be21de4f1cd182912f74f929
+	./build.bash || die
+}
+
+src_test() {
+	./test.bash -v || die
+}
+
+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
+}


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

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/gocryptfs/
@ 2025-09-16  2:55 Zac Medico
  0 siblings, 0 replies; 7+ messages in thread
From: Zac Medico @ 2025-09-16  2:55 UTC (permalink / raw
  To: gentoo-commits

commit:     3d7d8b7e2426e7e80f9a6de06a2893cc3352ba39
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Sep 16 01:50:43 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 02:27:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d7d8b7e

app-crypt/gocryptfs: drop 2.5.1, 2.5.4

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43805
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-crypt/gocryptfs/Manifest               |  2 -
 app-crypt/gocryptfs/gocryptfs-2.5.1.ebuild | 39 -------------
 app-crypt/gocryptfs/gocryptfs-2.5.4.ebuild | 89 ------------------------------
 3 files changed, 130 deletions(-)

diff --git a/app-crypt/gocryptfs/Manifest b/app-crypt/gocryptfs/Manifest
index 641e7bbae5a3..dc7bd81cd2ba 100644
--- a/app-crypt/gocryptfs/Manifest
+++ b/app-crypt/gocryptfs/Manifest
@@ -1,4 +1,2 @@
-DIST gocryptfs_v2.5.1_src-deps.tar.gz 2935982 BLAKE2B 429b9ee986ad88156f36825c9b3420c361a717524f04c3dd2738c527de2faf49abe517c13903206531f6cf6678c331141cfb38013ece3814b939aedb2b5a34fb SHA512 d35c76284b31e10c71eefac1abf20d0c46d3d3dcf8f45b0c745b829152bab9c2fe84b3a8f96ea04a96c2eeeb5554094a9e775cea25213187f8d9fa6403fbb61f
-DIST gocryptfs_v2.5.4_src-deps.tar.gz 3147352 BLAKE2B 25eb141b06f7c191d49658913baba239af340ffcf9580b115d6191a844fdf012317a9db87a4f9f59c603efcffd77e5bde3f77e460d5d873ad6ccdb649e1584c4 SHA512 64523a7224676273ea5d375952eecccc6c03c813ef37429a90ee4c29add2cf69684e54c2a9d6113a9d84e315b03f9f85a72f8cd45d04aae2c63733ead08a3cf5
 DIST gocryptfs_v2.6.1_src-deps.tar.gz 3166951 BLAKE2B fe3eb4f029f7fbad7dcafd55c99a55c2daf41ba37e6f88d24e1a82f3ba8c4892236ac9b78ec3753d4994f2d23ae3a3e1d2dba22ec8c84a3ad3851a078e063500 SHA512 ec8a8011a355656c1f242269fcc1559c537e880342e4f71a956a63ac72e47f2d9fea45f6ef308d420282725eb5bd4780f0cd645d137bb6beecb97a9c93b448fb
 DIST gocryptfs_v2.6.1_src-deps.tar.gz.asc 833 BLAKE2B b4aee2b7b2b1989fab6ef66ac2f8e91f8e52d009e5a276e4799b317791d24964b367abdae0b1df96ef834bcfd16eb29b6f7bed7bd371941c2884e3898ff37af3 SHA512 318c131a1345dc36574170b4d208515c5fb101bfc04dbc3e57f136cb1b138aa33e458fe7bd04efcd15f51c0e397280e4a4a62b9a7676832206bcb9c510257991

diff --git a/app-crypt/gocryptfs/gocryptfs-2.5.1.ebuild b/app-crypt/gocryptfs/gocryptfs-2.5.1.ebuild
deleted file mode 100644
index da88fd5beb49..000000000000
--- a/app-crypt/gocryptfs/gocryptfs-2.5.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2024-2025 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/gocryptfs-2.5.4.ebuild b/app-crypt/gocryptfs/gocryptfs-2.5.4.ebuild
deleted file mode 100644
index 09ea171b20f0..000000000000
--- a/app-crypt/gocryptfs/gocryptfs-2.5.4.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 2024-2025 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"
-# Vendored licenses
-LICENSE+=" Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-PROPERTIES="test_privileged"
-RESTRICT="test"
-
-RDEPEND="dev-libs/openssl:="
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pandoc"
-
-src_prepare() {
-	default
-	sed -e 's:ldd gocryptfs 2> /dev/null:! ldd gocryptfs | grep -q "statically linked":' \
-		-i "${S}/build-without-openssl.bash" || die
-
-	# Code linting not relevant downstream
-	sed -e 's/command -v shellcheck/false/' -e 's/\! go tool \| grep vet/false/' \
-		-i "${S}/test.bash" || die
-
-	local -A skip_tests=(
-		# cli_test.go:450: wrong exit code: want=12, have=20
-		["TestMountPasswordIncorrect"]="tests/cli/cli_test.go"
-		# cli_test.go:467: want=9, got=20
-		["TestMountPasswordEmpty"]="tests/cli/cli_test.go"
-		["TestMountPasswordIncorrect"]="tests/cli/cli_test.go"
-		# ctlsock: listen unix /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/3259013716/TestOrphanedSocket.572617384.sock: bind: invalid argument
-		# cli_test.go:1067: mount failed: exit status 20
-		["TestEncryptPaths"]="gocryptfs-xray/xray_tests/xray_test.go"
-		["TestOrphanedSocket"]="tests/cli/cli_test.go"
-		["TestCtlSock"]="tests/defaults/ctlsock_test.go"
-		["TestCtlSockDecrypt"]="tests/defaults/ctlsock_test.go"
-		["TestCtlSockDecryptCrash"]="tests/defaults/ctlsock_test.go"
-		["TestCtlSockPathOps"]="tests/reverse/ctlsock_test.go"
-		["TestCtlSockCrash"]="tests/reverse/ctlsock_test.go"
-		["TestSymlinkDentrySize"]="tests/reverse/correctness_test.go"
-		["TestExcludeTestFs"]="tests/reverse/exclude_test.go"
-		["TestExcludeAllOnlyDir1"]="tests/reverse/exclude_test.go"
-		# correctness_test.go:142: should NOT be executable
-		["TestAccessVirtualDirIV"]="tests/reverse/correctness_test.go"
-		# issue893_test.go:54: mkdir /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp: permission denied
-		["TestConcurrentUserOps"]="tests/root_test/issue893_test.go"
-		# root_test.go:86: mkdir /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/default-plain/dir1/dir2: permission denied
-		# root_test.go:97: open /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/default-plain/dir1/file1: permission denied
-		["TestSupplementaryGroups"]="tests/root_test/root_test.go"
-		# root_test.go:158: mount: /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/TestDiskFull.ext4.mnt: failed to setup loop device for /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/TestDiskFull.ext4.
-		["TestDiskFull"]="tests/root_test/root_test.go"
-		# root_test.go:281: O_RDONLY should have worked, but got error: permission denied
-		["TestAcl"]="tests/root_test/root_test.go"
-		# root_test.go:340: mount: /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/TestBtrfsQuirks.img.mnt: failed to setup loop device for /var/tmp/portage/app-crypt/gocryptfs-2.5.4/temp/gocryptfs-test-parent-0/932700816/TestBtrfsQuirks.img.
-		["TestBtrfsQuirks"]="tests/root_test/root_test.go"
-	)
-
-	for test in "${!skip_tests[@]}"; do
-		sed -e "/^func ${test}(/ a	t.Skip(\"Skipped by Gentoo\")" -i ${skip_tests[$test]} || die
-	done
-
-	# Doesn't account for the vendor directory
-	sed -e 's|find .|find . -path ./vendor -prune -o|' -i test.bash || die
-}
-
-src_compile() {
-	emake build
-}
-
-src_test() {
-	emake test
-}
-
-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
-}


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

end of thread, other threads:[~2025-09-16  2:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 22:53 [gentoo-commits] repo/gentoo:master commit in: app-crypt/gocryptfs/ Zac Medico
  -- strict thread matches above, loose matches on Subject: below --
2025-09-16  2:55 Zac Medico
2025-09-16  2:55 Zac Medico
2025-08-16  3:34 Zac Medico
2025-05-07 22:53 Zac Medico
2025-01-24 23:36 Zac Medico
2024-06-09 19:25 Zac Medico

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