Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gocryptfs] Add gocryptfs package (build without openssl) #318

Merged
merged 29 commits into from
May 17, 2021
Merged
Changes from 6 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
1d86a93
First working version of gocryptfs package
Mar 22, 2021
78054e9
Fix timestamp of gocryptfs package
Mar 22, 2021
63509b5
Remove trailing spaces
Mar 22, 2021
dcea1c5
Merge branch 'testing' into testing
plan5 Mar 23, 2021
69ad7cb
Update package/gocryptfs/package
plan5 Mar 23, 2021
c802e74
Remove the v from srcver
plan5 Mar 23, 2021
df2f49d
gocryptfs: put srcdir variable in quotes
plan5 Mar 23, 2021
ac119e9
Switch build image to golang:v1.5 and remove golang makedeps
Mar 23, 2021
c460fd8
Merge branch 'testing' of https://www.github.com/plan5/toltec into te…
Mar 23, 2021
856ab5b
Merge branch 'testing' into testing
plan5 Mar 23, 2021
a5eeaf4
Quote all variables
Mar 23, 2021
caa8160
Merge branch 'testing' of https://www.github.com/plan5/toltec into te…
Mar 23, 2021
889945c
Remove obsolete makedeps (git)
Mar 23, 2021
ac090f1
Merge branch 'testing' into testing
matteodelabre Apr 4, 2021
40eb8cc
depends field renamed to installdepends in latest testing
matteodelabre Apr 4, 2021
8198d5e
Add fusemodule dependency for rM1
Apr 6, 2021
ca958d2
Fix device specific dependency: rm1 not rm2
Apr 6, 2021
cdad932
Adapt installdepends to reflect new name of fuse module package
Apr 8, 2021
6c98ea2
Move fuse to general installdepends. It's empty for rm2
Apr 8, 2021
494ee4d
Merge branch 'testing' into testing
Eeems Apr 20, 2021
127565d
Remove gocryptfs from local testing branch
Apr 23, 2021
324dc3a
Merge branch 'testing' of https://www.github.com/plan5/toltec into te…
Apr 24, 2021
83d306d
Revert "Merge branch 'testing' of https://www.github.com/plan5/toltec…
Apr 25, 2021
50447f3
Revert "Remove gocryptfs from local testing branch"
Apr 25, 2021
38dcf1a
Merge remote-tracking branch 'toltec-dev/toltec/testing' into testing
Apr 26, 2021
ade9ed2
Align with upstream testing
Apr 26, 2021
93201db
Re-add gocryptfs
Apr 26, 2021
7ad164e
Merge branch 'testing' into testing
Eeems May 3, 2021
a82223b
Merge branch 'testing' into testing
Eeems May 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions package/gocryptfs/package
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env bash
# Copyright (c) 2020 The Toltec Contributors
# SPDX-License-Identifier: MIT

pkgnames=(gocryptfs)
pkgdesc="An encrypted overlay filesystem written in Go."
url="https://nuetzlich.net/gocryptfs/"
_srcver=2.0-beta2
pkgver=$_srcver-1
timestamp=2021-03-22
section=utils
maintainer="plan5 <30434574+plan5@users.noreply.github.com>"
license=MIT

depends=(fuse-utils)

makedepends=(build:golang build:git)

image=base:v1.4

source=(
https://github.com/rfjakob/gocryptfs/archive/v$_srcver.zip
)

sha256sums=(
3d66368cfc79a300de5a22fe01788d0c702f9107731db63fcd8850157d105cc0
)

prepare() {
# Official build script runs compiled binary to show version.
# This will cause the build to fail if built on another architecture
# So the line will be removed here.
sed -i "s/^.\/gocryptfs.*//" $srcdir/build.bash
plan5 marked this conversation as resolved.
Show resolved Hide resolved
}

build() {
GOARCH=arm GOARM=7 ./build-without-openssl.bash
}

package() {
mkdir -p "$pkgdir"/opt/bin
install -D -m 755 "$srcdir"/gocryptfs "$pkgdir"/opt/bin/
}