sys-fs/gocryptfs: Bump to 2.0
Highlighted changes from upstream's changelog on github.com: https://github.com/rfjakob/gocryptfs#Changelog - Disable ACL encryption - Switch to the improved go-fuse v2 API - Add support for FIDO2 tokens Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
parent
b3274d150b
commit
570470538e
@ -1,7 +1,11 @@
|
||||
DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
|
||||
DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.zip 60546 BLAKE2B e775860f49c6ee09a6c48902d38fdf5d2d77af4cd405d8d303902170e46493301d4aa873a48b4d12a16d92dafaa65290de1fd3a42545025fbfc82f15a3881e8d SHA512 53dc5484f488ae1f8d0eb672c3431bbf9fce33dfcee83dda7929103e3650559cf703f601716984a640422f01cc640860dba0b47e16aef04d0d2452a266fefbf9
|
||||
DIST github.com%2Fhanwen%2Fgo-fuse%2F@v%2Fv1.0.0.mod 94 BLAKE2B 36f3fb449d60fd88b98ab51277603a6c6aa551a1b15fc01ec289506cbb22fca2d7bc2841dd8574c9cdcc5ef14d70aacd5eecd240060b396c76422326f5e5dcea SHA512 a4ec6bdb7df5b5706be0a19144023042cce1fe54d1fe23d2556fcf1c23fadc112f5c4f16d6b497ab0ddf595fb21550543e65ace43a147747d894c220da346ce2
|
||||
DIST github.com%2Fhanwen%2Fgo-fuse%2F@v%2Fv1.0.0.zip 219180 BLAKE2B 8b80ef3028be429c025c8b75aaae686cac7fcbd0d6b196311dc77c1079a5c8db5b8b2db602282345bb0fd25037669b00796e7a92a40cfc42a79cd299ebe0940d SHA512 b5a5bea977945d4305b3506e5a6f96d1acce91280e103f1c88f3b2c072437d5bbf84b8ef8760ae073106156342356a763ef0db9339b6e2c72002a73f8187ebf6
|
||||
DIST github.com%2Fhanwen%2Fgo-fuse%2F@v%2Fv1.0.1-0.20190319092520-161a16484456.mod 94 BLAKE2B 36f3fb449d60fd88b98ab51277603a6c6aa551a1b15fc01ec289506cbb22fca2d7bc2841dd8574c9cdcc5ef14d70aacd5eecd240060b396c76422326f5e5dcea SHA512 a4ec6bdb7df5b5706be0a19144023042cce1fe54d1fe23d2556fcf1c23fadc112f5c4f16d6b497ab0ddf595fb21550543e65ace43a147747d894c220da346ce2
|
||||
DIST github.com%2Fhanwen%2Fgo-fuse%2F@v%2Fv1.0.1-0.20190319092520-161a16484456.zip 230656 BLAKE2B 6f2cc244661e2f83ae49155ecab54d42995ee57d6310ed0024420dfc918082b83a87d0aa8251ff63835c039c748320935389aaaa7f0f1c95bd37396a742b744c SHA512 c713d426fd5ae7232229cc5c71e4f31bacc65db921c58e9e7b45d6ca8ac8724a2cf7ec7a27d40f97c7962cfa52aa07a27763d1a64e1e7eea8cf3790a054b7c54
|
||||
DIST github.com%2Fhanwen%2Fgo-fuse%2Fv2%2F@v%2Fv2.1.1-0.20210508151621-62c5aa1919a7.mod 265 BLAKE2B 35dccab4c16be9d4cceeb5885b0b98f67f4039dcb7084aa8183349e90f129a93d4443d325e587ec477fe0c66e0619f013874cc2d9aaf0a5e59531c4931239513 SHA512 5321d209e974e7eb23dabd5d4fa9b157ab722370a71358d059180a5c14b14a23bca5943a8b4ece9aa3dbcf75b402cb654ca9eedb9422d69b529498b2a72d9e88
|
||||
DIST github.com%2Fhanwen%2Fgo-fuse%2Fv2%2F@v%2Fv2.1.1-0.20210508151621-62c5aa1919a7.zip 330360 BLAKE2B b0e98a62ea1ce0e11dd7d798b9f63af570a21652fa071276142a182346d90188b4d6ae4dc5b710a017117f6b655c0b0d19d26b9ce3094c9bed4e12cd5dfd4361 SHA512 287839b7e706ac248f4fe429f7fb2539395e217ed517bc34e2db3728a46b57e0fa9fd32d9915fda40333bb17bb3da1a280d46315c1dcc7aca6f63e468b685274
|
||||
DIST github.com%2Fjacobsa%2Fcrypto%2F@v%2Fv0.0.0-20190317225127-9f44e2d11115.mod 33 BLAKE2B 8c3ca16cdcdbe1e2bb30a1a91880b7b5a80d876fc3e1056219a49ce59f9605cdb5e69f4d70151632274058e19e087a558f0d06361a7eab5193bca8f5c678585c SHA512 5b5b9dc9862daff9be71d179c29ecc63797911a47807b03f43e2236f2d0d8471c81f1b4cd39ed6f8313305a6179c2d3ecb56093647c8fca98906badf5adc7d40
|
||||
DIST github.com%2Fjacobsa%2Fcrypto%2F@v%2Fv0.0.0-20190317225127-9f44e2d11115.zip 3697451 BLAKE2B d3ab098b4cbcdab8b565ba3bd4dbc18943c23a496d44774c5c3678efec6d65894085e1860bf3633f8fc9e714feb5d8079bd71e03a0be0f937c7af2c420a8f548 SHA512 84b5fc79442a668bed0280a0f53c8ffa93a82733938a2d1097e6a10f6a7394124d91f2f31e5b278f61a6288f9331da6a1f784f2cc74362c9f3d18fd190f2bfa6
|
||||
DIST github.com%2Fjacobsa%2Foglematchers%2F@v%2Fv0.0.0-20150720000706-141901ea67cd.mod 39 BLAKE2B 715a235f7e5aef09b9785c8dcac729d71c6efbbfd3fa948aa13f25f7201410546d6ecb2df2b19b45ef2d6ceb456a8de5a6b3cd3bc58087ee7b7c8acac6bdf557 SHA512 14734a1a9934bf020b5c4ad6338f1dbc44040c035652bca147f13994ccc61b719dfe8c2b7ccfd4c263618daa3d74c5a15f962d28bda0d40419196dbe5d1999aa
|
||||
@ -12,6 +16,8 @@ DIST github.com%2Fjacobsa%2Fogletest%2F@v%2Fv0.0.0-20170503003838-80d50a735a11.m
|
||||
DIST github.com%2Fjacobsa%2Fogletest%2F@v%2Fv0.0.0-20170503003838-80d50a735a11.zip 48470 BLAKE2B 82cfea62e7d810b509464c3fa9104a289d756ec2f87c2a5444ff3d707fb0be1be3856441456cf568f65be7696f63c21c0325cce7240393f2c8383cffa37c0e44 SHA512 542d9a122722da7b616e4d4f6ecf2d20d6b3dee464087a4e0eb12b675f3c5ddef5200989228e7e48d1b81c830715413b7c72169a78932e898c8714748c3d2698
|
||||
DIST github.com%2Fjacobsa%2Freqtrace%2F@v%2Fv0.0.0-20150505043853-245c9e0234cb.mod 35 BLAKE2B b65dbe5909e082a401d99df67d498ef43c5cff2fed29ba4611f777457c8f6ad469c3ab725649712ebc8c7766d2ad5cce41f09f240acaeae03e9be6e1acbb59f1 SHA512 1983a6296336e162a3c0df2b2a80560fb8e4ae327a9b24c372992fff98c0f4b33e713446b2d5709979a0da9a171ee01b36763be6d4b3003964c4515b0ac6f2ea
|
||||
DIST github.com%2Fjacobsa%2Freqtrace%2F@v%2Fv0.0.0-20150505043853-245c9e0234cb.zip 9629 BLAKE2B bf995e18cdb27446c94a227078149abea21c254165eab1cdc71be88d2760c5bf3f8983a7fd0c903c936c7e4fa486eac21138dc641867b1a3318c3b78afcbdcea SHA512 f128b29cda69645e35e481cb56db711ca320daed71cf8d7276071a7f06c19010bdbfaee9c0ad51ea7167d3a447a5fd184c304fa7652b3b84663d71ddb0e54853
|
||||
DIST github.com%2Fkylelemons%2Fgodebug%2F@v%2Fv0.0.0-20170820004349-d65d576e9348.mod 37 BLAKE2B 0ff43371511295cc3819b33c0dc26e3d9352a4b931ad3dabdf79561e5ee077ddfdaf5a601827246c0b5cd8992d53d47ef74aab0b7deac6d08ef5f60f44a728ff SHA512 60a202487e693d925ec13186a89ca6b7f322cf53b2bb3d8657d50a0fa0561ef9f2d8416901478fa9783b7a44774511486fcc8735b1d15b558f7ce111f53d5a27
|
||||
DIST github.com%2Fkylelemons%2Fgodebug%2F@v%2Fv0.0.0-20170820004349-d65d576e9348.zip 23150 BLAKE2B 2fc19beafda9932e04610567453293fa89470f7510f1a5ba15f11bfad72d21727b5b49327589047fba1dc37b290b556c6a5b3b1f6705f1f88bb0d00a24365482 SHA512 c9261d31ebe9504965d774e193a9ff146b0f628fc108a4bc52e1684ae1ad6e8008c080c4776943c8c3e8ed3ba94c9e3a8daa23c830643015e9ab9cc2805af97a
|
||||
DIST github.com%2Fpkg%2Fxattr%2F@v%2Fv0.4.1.mod 89 BLAKE2B bc24827e1c30919d56b20ce1e28f75c671c2ae3374c9a9469e0ffdb80ec4685faa49bee1cf61a747454c98e391b7494db798d007d21b7771406e30972a9a96d7 SHA512 96d5a2b7780184c01e76f3b7cf15695ab893cb2a4a8f818f549ce1510568cec468fbf5bbfc9fe42eee6577821ea3a2bd8165e4aac3af9c9d9c0b41ecb0fa4ad8
|
||||
DIST github.com%2Fpkg%2Fxattr%2F@v%2Fv0.4.1.zip 12246 BLAKE2B d16692824b5db5c6cec62e092d08609a96c05903e5286095124855cec2eb07e5cc7ad70973c76a246b1207dd420ec450e80e1bf6f9f7929f60c8faa258b70496 SHA512 15b8c5edf9db6c97b8e7ec7e0f42e764d784179c6ce9533e074abcc81784b8e27b53b48641dd2a6f45f5d423ba1239cc9a8977124dfbad708714cedc4159105f
|
||||
DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.mod 37 BLAKE2B 94636062c94f8ff68cdcab7593a3acae7b9ffff616cad7b1d5c9cd147a4a1042d33666cbeed6fd816d6793113abfb595183097dcc46de7a3dfadc1423ed43e79 SHA512 c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902
|
||||
@ -25,6 +31,7 @@ DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.0.zip 34637 BLAKE2B 9e26766ed57179
|
||||
DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.5.1.mod 188 BLAKE2B e47d78f037db3684a329905985b02b7ddf0a609ab4c69dd4346202ed0981712d54d0fa1b9c230b50d1857854edbbf77ee144d54b12c7c46833e6542d6034171e SHA512 70adf6a86dc6f934ee611f6aefa459f1287b7294297eb9221a747427d031b10c3e606696a656be4c2746a25480c322106099ea2bb360cbe782f4d03c85cd9fcb
|
||||
DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.5.1.zip 91883 BLAKE2B 8bb8f10ba7a3c719844dbbcbdbb87773487921f493cf6f72d1a9fd1d553f7f7784b01b9795a5c26a352490ed6d75c29a542a0b3d7c18d8888c57e447d9d227eb SHA512 c539cd964718439715caee454b38fdb61eb5d4e20489e10f7f6a030b4b941b2ca52d33f950c0b04149962399f0c3cb5b6a90efa2d79acc0f57a7f49d508c67c7
|
||||
DIST gocryptfs-1.8.0.tar.gz 2610921 BLAKE2B c7d47c2767244c553608591a2ae02af0fb17b7ac6e272a5e70b96783f4cb013403390fab3fd3d982b0afa6e5635fd10dda22e83e1a01aadcd8c7e56e7728efbf SHA512 fa27181788ddfe4024f41e335c27e6102e90f08abb63c8125e7aca82baf2aea43b8a365ad320545f85bd71a8254a36b6bd2fc2a14815a17adcb39a21ad5640d1
|
||||
DIST gocryptfs-2.0.tar.gz 2638214 BLAKE2B 314b6e7d2aaf53e466cf61011f6782b1d98a46f07caa25be55ed6c23a3e4afee6ed986983b019cd90c63c76894a421d3da3202e0ce82b38955ff29d2ae88b922 SHA512 a670db07a2ccc64c2e3fa8b684c88da1be49b9810f309c727be9f3286042054e9c6f6659ee798b7e4be721b2679e54c314b211d1ebb8687b39c182dc6116958f
|
||||
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
|
||||
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20200429183012-4b2356b1ed79.mod 155 BLAKE2B 8bba3353db8ceb3b9fe40b8fd59aacde169776a4a553a069a04836bbf15e5a9a8d7a2d39feed98dac6cb890198180fda39f26b528ff95f24c5b2bbf6601b45c3 SHA512 7c5a755a03063d47d259fda0a6c2faa63c2f30b98dbac583e106aaa817d6cde3e07551e0b5e08f3a25db4c4ca45a23cebe993ae6f3d39c88deeaf2c7d8086a06
|
||||
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20200429183012-4b2356b1ed79.zip 1871839 BLAKE2B 4bb858b3b4533309a1f045ca6d544d0a6c8682963510c722aa5285f7707c282fe62a74030a5b8ef5c76d2dee929c00c6deaaaa74cd410f0d3f09df717c65a9d1 SHA512 cbc28941ec35a89d19a855b7319b5e833b6ed4a7c3c57c6e353b12d908e5b592e32aa3ce464399a5ba198cb71125e07c94732a1039ba142d940f7b124c496e48
|
||||
@ -33,6 +40,7 @@ DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20200324143707-d3edc9973b7e.mod 181 BLAK
|
||||
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20200324143707-d3edc9973b7e.zip 1500508 BLAKE2B b4e20fbf80aff7d3649ee21073057d32e6363fa77565b3868a3b2a5a4c42006aed55f248520ceb34a056176f5a8e19a361baebfd218c3fb49cebb22c586a7608 SHA512 fb0d21d1b5ecab68b2daaa89cd1eff078ba77e2c7b8936f742cc7f283e5f3a1533fc8ff4cd889193dc7db4857596d929dfa3169f07383b0dd5a785ec61222d74
|
||||
DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20200317015054-43a5402ce75a.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
|
||||
DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20200317015054-43a5402ce75a.zip 27020 BLAKE2B 0ba91b5129426896f009357980019a5e1c4cd5568108e615346a2d65421a6a595035069e6366d98af40260a020f90f6b55214e273a7dc92a80d3faee540bc0d0 SHA512 a9408e27c31248e5e6b24c0f255512c97e73e0a972a94e0bf0b0181eae42c1213e02e6988a71178abb05c2624da2e6b7beb12f2a494b630753a083dc3133b58d
|
||||
DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20201207232520-09787c993a3a.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
|
||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20180830151530-49385e6e1522.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
|
||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20181021155630-eda9bb28ed51.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
|
||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
|
||||
|
154
sys-fs/gocryptfs/gocryptfs-2.0.ebuild
Normal file
154
sys-fs/gocryptfs/gocryptfs-2.0.ebuild
Normal file
@ -0,0 +1,154 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Note: For distfiles verification see https://nuetzlich.net/gocryptfs/releases.
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGO_PN="github.com/rfjakob/${PN}"
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Encrypted overlay filesystem written in Go"
|
||||
HOMEPAGE="https://nuetzlich.net/gocryptfs/ https://github.com/rfjakob/gocryptfs/releases"
|
||||
|
||||
EGO_SUM=(
|
||||
"github.com/davecgh/go-spew v1.1.0"
|
||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||
"github.com/hanwen/go-fuse v1.0.0"
|
||||
"github.com/hanwen/go-fuse v1.0.0/go.mod"
|
||||
"github.com/hanwen/go-fuse/v2 v2.1.1-0.20210508151621-62c5aa1919a7"
|
||||
"github.com/hanwen/go-fuse/v2 v2.1.1-0.20210508151621-62c5aa1919a7/go.mod"
|
||||
"github.com/jacobsa/crypto v0.0.0-20190317225127-9f44e2d11115"
|
||||
"github.com/jacobsa/crypto v0.0.0-20190317225127-9f44e2d11115/go.mod"
|
||||
"github.com/jacobsa/oglematchers v0.0.0-20150720000706-141901ea67cd"
|
||||
"github.com/jacobsa/oglematchers v0.0.0-20150720000706-141901ea67cd/go.mod"
|
||||
"github.com/jacobsa/oglemock v0.0.0-20150831005832-e94d794d06ff"
|
||||
"github.com/jacobsa/oglemock v0.0.0-20150831005832-e94d794d06ff/go.mod"
|
||||
"github.com/jacobsa/ogletest v0.0.0-20170503003838-80d50a735a11"
|
||||
"github.com/jacobsa/ogletest v0.0.0-20170503003838-80d50a735a11/go.mod"
|
||||
"github.com/jacobsa/reqtrace v0.0.0-20150505043853-245c9e0234cb"
|
||||
"github.com/jacobsa/reqtrace v0.0.0-20150505043853-245c9e0234cb/go.mod"
|
||||
"github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348"
|
||||
"github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod"
|
||||
"github.com/pkg/xattr v0.4.1"
|
||||
"github.com/pkg/xattr v0.4.1/go.mod"
|
||||
"github.com/pmezard/go-difflib v1.0.0"
|
||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||
"github.com/rfjakob/eme v1.1.1"
|
||||
"github.com/rfjakob/eme v1.1.1/go.mod"
|
||||
"github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94"
|
||||
"github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94/go.mod"
|
||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||
"github.com/stretchr/testify v1.5.1"
|
||||
"github.com/stretchr/testify v1.5.1/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79"
|
||||
"golang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e"
|
||||
"golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181021155630-eda9bb28ed51/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3"
|
||||
"golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3/go.mod"
|
||||
"golang.org/x/text v0.3.0/go.mod"
|
||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405"
|
||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.2"
|
||||
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||
)
|
||||
go-module_set_globals
|
||||
|
||||
if [[ "${PV}" = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://${EGO_PN}"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://${EGO_PN}/releases/download/v${PV}/${PN}_v${PV}_src-deps.tar.gz -> ${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}
|
||||
"
|
||||
fi
|
||||
|
||||
# in detail:
|
||||
# BSD vendor/golang.org/x/sys/LICENSE
|
||||
# BSD vendor/golang.org/x/crypto/LICENSE
|
||||
# BSD vendor/github.com/hanwen/go-fuse/v2/LICENSE
|
||||
# Apache-2.0 vendor/github.com/jacobsa/crypto/LICENSE
|
||||
# BSD-2 vendor/github.com/pkg/xattr/LICENSE
|
||||
# MIT vendor/github.com/rfjakob/eme/LICENSE
|
||||
# MIT vendor/github.com/sabhiram/go-gitignore/LICENSE
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="debug +man pie +ssl"
|
||||
|
||||
BDEPEND="man? ( dev-go/go-md2man )"
|
||||
RDEPEND="
|
||||
sys-fs/fuse
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}_v${PV}_src-deps"
|
||||
|
||||
# We omit debug symbols which looks like pre-stripping to portage.
|
||||
QA_PRESTRIPPED="
|
||||
/usr/bin/gocryptfs-atomicrename
|
||||
/usr/bin/gocryptfs-findholes
|
||||
/usr/bin/gocryptfs-statfs
|
||||
/usr/bin/gocryptfs-xray
|
||||
/usr/bin/gocryptfs
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
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 -u '+%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')"
|
||||
)
|
||||
go build "${mygoargs[@]}" || die
|
||||
|
||||
# loop over all helper tools
|
||||
for dir in gocryptfs-xray contrib/statfs contrib/findholes contrib/atomicrename; do
|
||||
cd "${S}/${dir}" || die
|
||||
go build "${mygoargs[@]}" || die
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user