app-crypt/gocryptfs: Remove masked package
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
parent
79fffc58b2
commit
2bb3c2c004
@ -1 +0,0 @@
|
||||
DIST gocryptfs-2.5.0.tar.gz 3142915 BLAKE2B 07cf202175f643fdd7d1417116858531481a8930a611561a6b982d5440e31e50740e57de876021c9a67eb9d25f01684851573d6613956848d96ee22c696419dc SHA512 02fc89d97b06f2c49125f3437dbfdc00a39caeecd18172ff3645e6c574d76efd20d16ead4ff9004e9a64ae912ffafa6141598bb0edfb7ca966b4fe38203b2b29
|
@ -1,82 +0,0 @@
|
||||
# Copyright 2019-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Note: For distfiles verification see https://nuetzlich.net/gocryptfs/releases.
|
||||
|
||||
EAPI="8"
|
||||
|
||||
EGO_PN="github.com/rfjakob/${PN}"
|
||||
inherit go-module
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
|
||||
DESCRIPTION="Encrypted overlay filesystem written in Go"
|
||||
HOMEPAGE="https://nuetzlich.net/gocryptfs/ https://github.com/rfjakob/gocryptfs/"
|
||||
|
||||
if [[ "${PV}" = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://${EGO_PN}"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://${EGO_PN}/releases/download/v${MY_PV}/${PN}_v${MY_PV}_src-deps.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
S="${WORKDIR}/${PN}_v${MY_PV}_src-deps"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug +man pie +ssl"
|
||||
# Some tests need an ext4, some need libsandbox.so preloaded.
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="man? ( dev-go/go-md2man )"
|
||||
RDEPEND="
|
||||
sys-fs/fuse
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
"
|
||||
src_compile() {
|
||||
export CGO_ENABLED=1
|
||||
export GOPATH="${G}"
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
local myldflags=(
|
||||
"$(usex !debug '-s -w' '')"
|
||||
-X "main.GitVersion=v${PV}"
|
||||
-X "'main.GitVersionFuse=[vendored]'"
|
||||
-X "main.BuildDate=$(date --utc '+%Y-%m-%d')"
|
||||
)
|
||||
local mygoargs=(
|
||||
-v -work -x
|
||||
"-buildmode=$(usex pie pie exe)"
|
||||
"-asmflags=all=-trimpath=${S}"
|
||||
"-gcflags=all=-trimpath=${S}"
|
||||
-ldflags "${myldflags[*]}"
|
||||
-tags "$(usex !ssl 'without_openssl' 'none')"
|
||||
)
|
||||
ego build "${mygoargs[@]}"
|
||||
|
||||
# loop over all helper tools
|
||||
for dir in gocryptfs-xray contrib/statfs contrib/findholes contrib/atomicrename; do
|
||||
cd "${S}/${dir}" || die
|
||||
ego build "${mygoargs[@]}"
|
||||
done
|
||||
cd "${S}"
|
||||
|
||||
if use man; then
|
||||
go-md2man -in Documentation/MANPAGE.md -out gocryptfs.1 || die
|
||||
go-md2man -in Documentation/MANPAGE-STATFS.md -out gocryptfs-statfs.2 || die
|
||||
go-md2man -in Documentation/MANPAGE-XRAY.md -out gocryptfs-xray.1 || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gocryptfs
|
||||
dobin gocryptfs-xray/gocryptfs-xray
|
||||
newbin contrib/statfs/statfs "${PN}-statfs"
|
||||
newbin contrib/findholes/findholes "${PN}-findholes"
|
||||
newbin contrib/atomicrename/atomicrename "${PN}-atomicrename"
|
||||
|
||||
if use man; then
|
||||
doman gocryptfs.1
|
||||
doman gocryptfs-xray.1
|
||||
doman gocryptfs-statfs.2
|
||||
fi
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>nils.freydank@posteo.de</email>
|
||||
<name>Nils Freydank</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rfjakob/gocryptfs</remote-id>
|
||||
<bugs-to>https://github.com/rfjakob/gocryptfs/issues</bugs-to>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
gocryptfs uses file-based encryption that is implemented as
|
||||
a mountable FUSE filesystem. Each file in gocryptfs is stored
|
||||
one corresponding encrypted file on the hard disk.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="man">Build and install man pages</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -5,19 +5,6 @@
|
||||
# <reason>
|
||||
# Removal after <LANG=C date -u -d1month "+%Y-%m-%d">.
|
||||
|
||||
# Nils Freydank <nils.freydank@posteo.de> (2025-01-26)
|
||||
# The tree version in ::gentoo is actually superior now.
|
||||
# - fix my statfs prefixing to ${PN}-statfs which actually
|
||||
# does not made really sense.
|
||||
# - use upstream's way to build and drastically shrink
|
||||
# the LoC in the ebuild.
|
||||
# The only thing that itches me a bit is the larger binsize
|
||||
# as the tree package does not strip anything, but I do not
|
||||
# care enough.
|
||||
#
|
||||
# Removal after 2025-02-26.
|
||||
app-crypt/gocryptfs
|
||||
|
||||
# Nils Freydank <nils.freydank@posteo.de> (2025-01-19)
|
||||
# I don't use the software anymore.
|
||||
# Removal after 2025-02-19.
|
||||
|
Loading…
x
Reference in New Issue
Block a user