diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
commit | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch) | |
tree | 3cb05783d73b2c33589ba305144a31c718e123cd /app-crypt | |
parent | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff) |
gentoo resync : 03.03.2019
Diffstat (limited to 'app-crypt')
18 files changed, 392 insertions, 111 deletions
diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz Binary files differindex 8898f69da7d6..57146acc7973 100644 --- a/app-crypt/Manifest.gz +++ b/app-crypt/Manifest.gz diff --git a/app-crypt/dieharder/Manifest b/app-crypt/dieharder/Manifest index e79435669466..ce48501ae0e7 100644 --- a/app-crypt/dieharder/Manifest +++ b/app-crypt/dieharder/Manifest @@ -1,6 +1,5 @@ -AUX dieharder-3.31.1-build.patch 623 BLAKE2B a914f3b8f805725db9d30687b9265814661c9d00a5bc6246785eaab304e130dce417025153cd8b530ad0d3ed179583d865133c9bca3bee6ec2b427e78c1d527c SHA512 8d98efdcbfd4cea06d1cae1a1fbea1305e366c030c99b3abb944d1a47543e9b592304f60cd8dbfe9b3fa77ec9ee61c2537bf2390f072ced7d36ad7eb9550e4ea +AUX dieharder-3.31.1-build.patch 4920 BLAKE2B 8d297ff8519d0e0b197c1975dc84b7f8d04b9af78bbe957836d7e486f1876cd17dd7cc0f2d84b43d946a3ad9e6a4a9bf86e088f2d0e81cb47395ce519360806f SHA512 4a10cfb295e2a79ca76e7812d92e55db8c07ebba5061fb61d512afcd5c6f0548810b0c7ac859d0a89c88a83775b74e192b2682ebe19ca1e1412d93ff3830dc05 AUX dieharder-3.31.1-urandom-64bit.patch 2689 BLAKE2B 9c7d27bdfdf53b5884d9fcb32331231ce034bd4342e73822e8f6b224de6b44fb2b49fd7a0e86d5f5334d61bf231ca0a6f8cd2254fd28a74db5dd580e495c81e2 SHA512 2c99ab9df82fca20123ec3950032b9c6b6e8cd919ef06e0a7ac72818474b5147d68e195db5334fd9689580cc1d669b9893f3784ad645a69598b707537ae63851 DIST dieharder-3.31.1.tgz 1149780 BLAKE2B 12937b54e713ce87d6cb815b9b1e00989085b7661538316649caea4a514518528039441d0d42f377c363c62db179f362feb9d64612a75f724ac363744f884a47 SHA512 e01ed4266b4fe5d5fadde3c92c30e430d0ca5f7fedd26b26ed2ab98b7602aa9c35bb5c8fd9314ef2f5235b5087645ab13e5e6550156e26643baa5aeb77088dc5 -EBUILD dieharder-3.31.1-r1.ebuild 925 BLAKE2B 48250e24e6a46d7c9700977dc8258b88fb7e0cb13396602b2b0ac1ca7815fc9cd3a34179191575e152ba35a9e05266a3b9bc4e644bd35016a4140af6b4c4184d SHA512 cf58af12c733a0270cef42542e65b4a61a6885edd84a80eb5b5b6b4d09d980be98ea488b7083897897c2841e042c80cf6099ad1a813c50bad94e2609e07a2081 -EBUILD dieharder-3.31.1-r2.ebuild 1032 BLAKE2B 61a90032f3a2b04291c854f9e972500581cae84d1b65c55a1c58d3c47470ea2e9f3566b0b2ec025eae394798f2513ff855c8f9f76c3460d877967d656bb88f49 SHA512 e4d5bfbe9f40b35f5a4a88f976ff46dd37b4b46c89822802703177c36a9abe8f2dfccc6e99a38129fe6faacc09d1f5c19bbb11c54e22564af357a29da2bed9b2 +EBUILD dieharder-3.31.1-r3.ebuild 1047 BLAKE2B fb32577dca845314ae9acf62f2b71a2e3ea02979f7065803a7bc6fad634655500b42339af49b5ea26d60e9bc06cd83ef7ff46335d8fda45beb9c1ccc94e48e0d SHA512 8abf176b8dbfd1e883a247fc26851f09159817f96f740c54df34061959e8a1270da5f41c43729e758feca5edee0a7ae45583f93ea7792990916fea540d6fd6ec MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08 diff --git a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild deleted file mode 100644 index cf12a7824f6d..000000000000 --- a/app-crypt/dieharder/dieharder-3.31.1-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="An advanced suite for testing the randomness of RNG's" -HOMEPAGE="http://www.phy.duke.edu/~rgb/General/dieharder.php" -SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc" - -RDEPEND="sci-libs/gsl" -DEPEND="${RDEPEND} - doc? ( dev-tex/latex2html )" - -DOCS=( - NOTES -) -HTML_DOCS=() - -PATCHES=( - "${FILESDIR}/${P}-build.patch" -) - -pkg_setup() { - use doc && DOCS+=( - ChangeLog - manual/dieharder.pdf manual/dieharder.ps - ) - use doc && HTML_DOCS+=( - dieharder.html - ) -} - -src_compile() { - emake -j1 - use doc && emake -C manual -} - -src_install() { - default - - docinto "dieharder" - dodoc dieharder/README dieharder/NOTES - docinto "libdieharder" - dodoc libdieharder/README libdieharder/NOTES -} diff --git a/app-crypt/dieharder/dieharder-3.31.1-r2.ebuild b/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild index 5a949f9d0350..8fd1209bd490 100644 --- a/app-crypt/dieharder/dieharder-3.31.1-r2.ebuild +++ b/app-crypt/dieharder/dieharder-3.31.1-r3.ebuild @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="doc" -RESTRICT="test" +RESTRICT="test" # Way too long RDEPEND="sci-libs/gsl" DEPEND="${RDEPEND} diff --git a/app-crypt/dieharder/files/dieharder-3.31.1-build.patch b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch index 4cbd5021c77c..50e2119030c9 100644 --- a/app-crypt/dieharder/files/dieharder-3.31.1-build.patch +++ b/app-crypt/dieharder/files/dieharder-3.31.1-build.patch @@ -25,3 +25,161 @@ index 2138ebf..f6d471b 100644 #include <math.h> #include <limits.h> #include <gsl/gsl_rng.h> +From aee56b67080a5a8732c12216ef4415f315f35e4a Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Sun, 24 Feb 2019 00:04:55 +0200 +Subject: [PATCH 1/2] rgb_operm: convert to noop as implementation missing + +--- + include/dieharder/rgb_operm.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +index c48fa37..f33fc1f 100644 +--- a/include/dieharder/rgb_operm.h ++++ b/include/dieharder/rgb_operm.h +@@ -1,3 +1,4 @@ ++#if 0 + /* + * rgb_operm test header. + */ +@@ -36,3 +37,4 @@ static Dtest rgb_operm_dtest __attribute__((unused)) = { + * a data stream of rands from x_i to x_{i+k} to compute c[][]. + */ + unsigned int rgb_operm_k; ++#endif +-- +2.19.2 + +From b1140059cab9a5b2847dd312087d44d58fe61263 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Sun, 24 Feb 2019 00:10:00 +0200 +Subject: [PATCH 2/2] dab_filltree2: inline cannot have prototype nor can it be + non static + +--- + libdieharder/dab_filltree.c | 37 ++++++++++++++------------- + libdieharder/dab_filltree2.c | 48 +++++++++++++++++------------------- + 2 files changed, 41 insertions(+), 44 deletions(-) + +diff --git a/libdieharder/dab_filltree.c b/libdieharder/dab_filltree.c +index 9cc5ce7..3ed6b00 100644 +--- a/libdieharder/dab_filltree.c ++++ b/libdieharder/dab_filltree.c +@@ -34,7 +34,24 @@ static double targetData[] = { + 0.0, 0.0, 0.0, 0.0, 0.13333333, 0.20000000, 0.20634921, 0.17857143, 0.13007085, 0.08183633, 0.04338395, 0.01851828, 0.00617270, 0.00151193, 0.00023520, 0.00001680, 0.00000000, 0.00000000, 0.00000000, 0.00000000 + }; + +-inline int insert(double x, double *array, unsigned int startVal); ++static inline int insert(double x, double *array, unsigned int startVal) { ++ uint d = (startVal + 1) / 2; ++ uint i = startVal; ++ while (d > 0) { ++ if (array[i] == 0) { ++ array[i] = x; ++ return -1; ++ } ++ if (array[i] < x) { ++ i += d; ++ } else { ++ i -= d; ++ } ++ d /= 2; ++ } ++ return i; ++} ++ + + int dab_filltree(Test **test,int irun) { + int size = (ntuple == 0) ? 32 : ntuple; +@@ -105,24 +122,6 @@ int dab_filltree(Test **test,int irun) { + } + + +-inline int insert(double x, double *array, unsigned int startVal) { +- uint d = (startVal + 1) / 2; +- uint i = startVal; +- while (d > 0) { +- if (array[i] == 0) { +- array[i] = x; +- return -1; +- } +- if (array[i] < x) { +- i += d; +- } else { +- i -= d; +- } +- d /= 2; +- } +- return i; +-} +- + #include<time.h> + + int main_filltree(int argc, char **argv) { +diff --git a/libdieharder/dab_filltree2.c b/libdieharder/dab_filltree2.c +index 1e33af2..7102d3c 100644 +--- a/libdieharder/dab_filltree2.c ++++ b/libdieharder/dab_filltree2.c +@@ -92,7 +92,29 @@ static double targetData[128] = { // size=128, generated from 6e9 samples + 0.00000000000e+00,0.00000000000e+00,0.00000000000e+00,0.00000000000e+00, + }; + +-inline int insertBit(uint x, uchar *array, uint *i, uint *d); ++/* ++ * Insert a bit into the tree, represented by an array. ++ * A value of one is marked; zero is unmarked. ++ * The function returns -2 is still on the path. ++ * The function returns -1 if the path ends by marking a node. ++ * The function returns >= 0 if the path went too deep; the ++ * returned value is the last position of the path. ++ */ ++static inline int insertBit(uint x, uchar *array, uint *i, uint *d) { ++ if (x != 0) { ++ *i += *d; ++ } else { ++ *i -= *d; ++ } ++ *d /= 2; ++ ++ if (array[*i] == 0) { ++ array[*i] = 1; ++ return -1; ++ } ++ if (*d == 0) return *i; ++ else return -2; ++} + + int dab_filltree2(Test **test, int irun) { + int size = (ntuple == 0) ? 128 : ntuple; +@@ -173,27 +195,3 @@ int dab_filltree2(Test **test, int irun) { + return(0); + } + +-/* +- * Insert a bit into the tree, represented by an array. +- * A value of one is marked; zero is unmarked. +- * The function returns -2 is still on the path. +- * The function returns -1 if the path ends by marking a node. +- * The function returns >= 0 if the path went too deep; the +- * returned value is the last position of the path. +- */ +-inline int insertBit(uint x, uchar *array, uint *i, uint *d) { +- if (x != 0) { +- *i += *d; +- } else { +- *i -= *d; +- } +- *d /= 2; +- +- if (array[*i] == 0) { +- array[*i] = 1; +- return -1; +- } +- if (*d == 0) return *i; +- else return -2; +-} +- +-- +2.19.2 + diff --git a/app-crypt/etcd-ca/Manifest b/app-crypt/etcd-ca/Manifest deleted file mode 100644 index f2698c4afff5..000000000000 --- a/app-crypt/etcd-ca/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST etcd-ca-0_p20150423.tar.gz 55031 BLAKE2B 39f12fe140a5490e512e9d14c58c58f452769788f0c4c6a8a521590d19a254009c28e134611a10a40c8edc2820c4a333e9c2676e7ace2ad5af88e4245d23432a SHA512 8c7ecb80e056da77997283ff2defb6df9a9acef250b0fac8e18c2bca71cccfedf6d782b7c9bf6491574d88ac5fa358f9bc5f540aa718a2470655d75f2f54fff4 -EBUILD etcd-ca-0_p20150423-r1.ebuild 937 BLAKE2B ac39f3eb6727c70ee40fabbe66c182cc717f74babe50d9dbd801e7f4f41647184bebc01dd74f4678fefde0ab9be517022e17ab3bf3a653489cf9ad10a9499aa9 SHA512 ed1420735f5e2cbf8d1e7c046ddc0173106df26dd6582c966c85c896db89de314f69917cafad5745f9a823f4457b742a6ada32297371cd77b65e39167d0b9cc8 -MISC metadata.xml 516 BLAKE2B 01fc47d377c8b962727968e132a8ef1bf86da96ed28dde03bad5dd6210918a7d5ed8edc5f8ead6a0a7782f5cf4976cc5bde402101870f2790acccc10732bc29c SHA512 9ff6311f1a9df79aacd48286034c31cbdfd7adad917b3e0206d457b2ea42524b7690e48e9dce982d7661407b3e8ea1237f7321f75048d9439ae89c0f759c159b diff --git a/app-crypt/etcd-ca/etcd-ca-0_p20150423-r1.ebuild b/app-crypt/etcd-ca/etcd-ca-0_p20150423-r1.ebuild deleted file mode 100644 index 7ffc96967ebc..000000000000 --- a/app-crypt/etcd-ca/etcd-ca-0_p20150423-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -KEYWORDS="~amd64" -DESCRIPTION="A simple certificate manager written in Go. Easy to use with limited capability" -HOMEPAGE="https://github.com/coreos/etcd-ca" -EGIT_COMMIT="31fef42f75294cf8bf1e7facf82648de0c2d87a3" -SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="doc" -DEPEND=">=dev-lang/go-1.2:=" -RDEPEND="" -S=${WORKDIR}/${PN}-${EGIT_COMMIT} - -src_prepare() { - sed -e "s:^\(go install\)\(.*\)$:\\1 -x -ldflags=\"-v -linkmode=external -extldflags '${LDFLAGS}'\" \\2:" \ - -i build || die -} - -src_compile() { - CGO_CFLAGS="${CFLAGS}" ./build || die -} - -# go tool: no such tool "cover"; to install: -# go get code.google.com/p/go.tools/cmd/cover -#src_test() { -# ./test || die -#} - -src_install() { - dobin "${S}"/bin/${PN} - dodoc README.md - use doc && dodoc -r Documentation -} diff --git a/app-crypt/etcd-ca/metadata.xml b/app-crypt/etcd-ca/metadata.xml deleted file mode 100644 index b81d9fd5bac8..000000000000 --- a/app-crypt/etcd-ca/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <bugs-to>https://github.com/coreos/etcd-ca/issues</bugs-to> - <changelog>https://github.com/coreos/etcd-ca/commits/master</changelog> - <doc>https://github.com/coreos/etcd-ca/blob/master/README.md</doc> - <remote-id type="github">coreos/etcd-ca</remote-id> - </upstream> - <maintainer type="person"> - <email>zmedico@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/app-crypt/openpgp-keys-gentoo-release/Manifest b/app-crypt/openpgp-keys-gentoo-release/Manifest index f92fd75170db..e41efd25dbc2 100644 --- a/app-crypt/openpgp-keys-gentoo-release/Manifest +++ b/app-crypt/openpgp-keys-gentoo-release/Manifest @@ -1,6 +1,11 @@ DIST gentoo-release-test-sigs-20180706.tar.gz 1437 BLAKE2B 00fb0a491c84853068ea578e68e8ab0a57842f6098c14da7ec44faf20abb23deef480aca958a7e352b9c55a024681eabc0c9aaf400e5dcbf8873277a3a940e38 SHA512 2a7cc2c650693c0e1fdf7083d77bf975e05ece3ab1495ed03362d02e8411481c80a62a9f21b23861bdc602d74c656a618e9a39d2bdef7ccd253ea9f3e4c7531a +DIST gentoo-release-test-sigs-20190224.tar.gz 3235 BLAKE2B 924c69a62d5321716f536144f0607bd3ec4a65d76be492adc729864fd9bef82df0086541ae13034a83152ea0c8dc3cbd168be6cff111a3484128a22cbc8ef1d4 SHA512 f8cc2e84bedbdf14ace6abe4aacf8f0c9810c77ff6ae0fac301829d9d4d5cf0c128a76516c773ac993879215bcdb0aab097e1e7e747d8e1a7c4cfc815bd4d3e6 DIST gentoo-release.asc.20180706.gz 44805 BLAKE2B 1ba26b90e564738a1282c5febe426628144ab70e526397b866f97214254c73bbb517cdaa48ba0e83ca75a7d88cd622375fda0f362c43d13b66720ffb682682d2 SHA512 ba48cb6d7e72c6a720df3ff2430a4b4dd261f947c23762cd0c1255a93391d10becfb491db1bb80b295edd1f8192580315d5c7be3670b8689ef702ed228b05894 DIST gentoo-release.asc.20190102.gz 51067 BLAKE2B ace66e603afb9a171e705992ae550439dbc51e6dd9a788e78a9e85d938b7f9841bd0dd866306b32066cab5c23995ed2278d4d22670b238227de28d08c914c142 SHA512 eea90df98e795edcc0e4cbc26f48313c0cf4593424106ff79e0dc237835e51536777840fcf54619252438515ad10930992bcfbcd32596bb203a75151cee10553 +DIST gentoo-release.asc.20190223.gz 50407 BLAKE2B 6e3788da555fbb012c76ad174ddf6d0fd034c522b466b58c12e52eef5c900824724e32c51b53c7f7b542cca43073d1ab02ebcb7fc7560f0ff8c384cb47ee2fcc SHA512 3d71a91ae889ee1d237003f017d1cb7aec9129a9bcc9aa9cf2256656a88aaf96048c308994eda0b9f6b6fc2041fdb81cf91eb31d0b1ab7b380fe692b43e70d62 +DIST gentoo-release.asc.20190224.gz 42534 BLAKE2B 9b8bc98dbd66fdf44eb1b0b5a8e83bd4d08d85a3f9a95b293ae3e900de291567f36d59cb8dfb412e3f71db453184e2eefa453cf3e340d5b3091c55919fccebc7 SHA512 4f46c303faa134fc17903859527a9fa81d1015f4f2d2908509437ee2d07a992eb181c5a05544b333c310eda8ee2c1861cb07e978d92ef3f02955ade36110da67 EBUILD openpgp-keys-gentoo-release-20180706.ebuild 1145 BLAKE2B 937f2632087e94da638b49d8eda2af8344d1bfc9599b53450159bf6310e5a3ccb779d54ee7b692168a4e23568f148af275eb4fde4d907f0f69c8b80220cb4672 SHA512 d288fbfa00b490fa833ac744fd58ff3ed2219b5d5c69c9d23efe548cf0629ab4afb3925f907080083fb6d8205424c15477e029ec99df81aa279530a560cfa028 EBUILD openpgp-keys-gentoo-release-20190102.ebuild 1145 BLAKE2B 02ca7151e5e751d7faa255f8ee136780f0be8034662bb3002d0538d64d035d18d92408377cefce36b7e91d7878e0582a3a8f2ecc01d024211fad659a5da9b3b6 SHA512 00925cec194574662a545d8e7753605055c48206850b2431eb51bcd48a1b9916d249d41e60e7cea0e2e19b7e2469e642775256211d0b39e6bca5f241da816ea8 +EBUILD openpgp-keys-gentoo-release-20190223.ebuild 1145 BLAKE2B 02ca7151e5e751d7faa255f8ee136780f0be8034662bb3002d0538d64d035d18d92408377cefce36b7e91d7878e0582a3a8f2ecc01d024211fad659a5da9b3b6 SHA512 00925cec194574662a545d8e7753605055c48206850b2431eb51bcd48a1b9916d249d41e60e7cea0e2e19b7e2469e642775256211d0b39e6bca5f241da816ea8 +EBUILD openpgp-keys-gentoo-release-20190224.ebuild 1145 BLAKE2B 955d52e47d997f46ce2d1a098912173ca822cd892cf7b8aa03c61f3d718d3893a7a81faec33181d7aab30a909127615847a86a6f215cfe3f8d7d90c50930aa55 SHA512 805441a7fcb7375173085747769f85bfa108d8cb29fc93b0907cfe274c893ffc93294c233c94bc428bed4f82f8b0e046daca9732ebb4f4faca7628d7f106edd7 MISC metadata.xml 247 BLAKE2B 1750cec57189e711ca5eba89a78e1d317f0839fa53564fbd39b4e955c28d98f4ae04caf9069afc20a18536cdc92b30fe7b15eb086767c742bad07d9980cfd24b SHA512 d6e2ea8a9d74791bcbf3d6311a66bafc20b8f4db3a576d9a8d54b86d7afb231122b8d87f71f3f46360980adf8d815c633b6d5041f9a30fc8656e8fb66057a282 diff --git a/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190223.ebuild b/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190223.ebuild new file mode 100644 index 000000000000..b9a927fd8e1e --- /dev/null +++ b/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190223.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="OpenPGP keys used for Gentoo releases (snapshots, stages)" +HOMEPAGE="https://www.gentoo.org/downloads/signatures/" +SRC_URI="https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-release.asc.${PV}.gz + test? ( https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-release-test-sigs-20180706.tar.gz )" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="test" + +DEPEND="test? ( app-crypt/gnupg )" + +S=${WORKDIR} + +src_test() { + local old_umask=$(umask) + umask 077 + + local -x GNUPGHOME=${T}/.gnupg + mkdir "${GNUPGHOME}" || die + einfo "Importing keys ..." + gpg --import "gentoo-release.asc.${PV}" || die "Key import failed" + + local f + for f in gentoo-release-test-sigs*/*.asc; do + einfo "Testing ${f##*/} ..." + gpg -q --trust-model always --verify "${f}" || die "Verification failed on ${f}" + done + + umask "${old_umask}" +} + +src_install() { + insinto /usr/share/openpgp-keys + newins "gentoo-release.asc.${PV}" gentoo-release.asc +} diff --git a/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190224.ebuild b/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190224.ebuild new file mode 100644 index 000000000000..d6cd99646fb7 --- /dev/null +++ b/app-crypt/openpgp-keys-gentoo-release/openpgp-keys-gentoo-release-20190224.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="OpenPGP keys used for Gentoo releases (snapshots, stages)" +HOMEPAGE="https://www.gentoo.org/downloads/signatures/" +SRC_URI="https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-release.asc.${PV}.gz + test? ( https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-release-test-sigs-20190224.tar.gz )" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="test" + +DEPEND="test? ( app-crypt/gnupg )" + +S=${WORKDIR} + +src_test() { + local old_umask=$(umask) + umask 077 + + local -x GNUPGHOME=${T}/.gnupg + mkdir "${GNUPGHOME}" || die + einfo "Importing keys ..." + gpg --import "gentoo-release.asc.${PV}" || die "Key import failed" + + local f + for f in gentoo-release-test-sigs*/*.asc; do + einfo "Testing ${f##*/} ..." + gpg -q --trust-model always --verify "${f}" || die "Verification failed on ${f}" + done + + umask "${old_umask}" +} + +src_install() { + insinto /usr/share/openpgp-keys + newins "gentoo-release.asc.${PV}" gentoo-release.asc +} diff --git a/app-crypt/qca/Manifest b/app-crypt/qca/Manifest index 41cc66a16e24..c334d40dd72f 100644 --- a/app-crypt/qca/Manifest +++ b/app-crypt/qca/Manifest @@ -4,5 +4,5 @@ AUX qca-disable-pgp-test.patch 446 BLAKE2B a98d5951d7b89c65787d7d586a5504949c512 DIST qca-2.1.3.tar.xz 686340 BLAKE2B 60ebf9add907632ed17426ee53c6c35a9aed279a4492012f1c174608cbe9579d366feb7ff7bff551d2e9e4ef2f271e8f340fcb4c9e1f67f209657d388567d44f SHA512 0aec277e0695da2e45298f0a9006213829fe4c449a79969e472947db54f45000ba6e22361b782465bdc03f269b7301d318c843f5a83db459a118e58a03f3116a DIST qca-2.2.0_pre20180606.tar.xz 700756 BLAKE2B 0204854a664f211e9289cd4609938fd21e62de5bec5d7f5a99843a12483c960b6f8cc7392dc84bcf0676220411106bf7f23c5059d4f7031791fe9a3259d21d2c SHA512 78f9f8ebc726e95768034c580d5ac30933f7c06e026b7daad04f11477dc623e4267895e409f7830c5149e620876dcc524278ef569956d03820b0864d629c4df8 EBUILD qca-2.1.3-r2.ebuild 2180 BLAKE2B a74a2d7378bad48e8ad20c30ae91416b79e6f79393566e499a7821cf6fc904f6966c36751b285da4320da5a541fefadaf35df6df192ec4338dfc363323e20469 SHA512 ebca007f517945d9f26ca4fba9536418371013764c95f668774da8f23c1dce722ae1954e2e5505ea5b87446576ac757e2248f829ca515db7249c97d28e0d83b1 -EBUILD qca-2.2.0_pre20180606.ebuild 1967 BLAKE2B b67db5ec495c8bb1af48f65d2dd5b548f6a598b14be80c5691fd57d76a0950071b10d0370e1050c718ca7431c84bb48b6942b32b544f2912e90b1f867854eccf SHA512 4fdbe6f37d91bb2780d48fe720aa9356148965ca5f83085e63be54e46f4d5e30a3d7a150348a2b96528bdc0385b98136d1f405e74aef5c62cfd81c4b80eeef2c +EBUILD qca-2.2.0_pre20180606.ebuild 1976 BLAKE2B c5b041cf1e46a13e73cbbbfa3bf9ee5d96b34f2470350e5962fae6dbfa2d7c30a0c4ea9076d166be9c7009e13e1d1403d28d884d5ef2cd88a46b62167f23fcd6 SHA512 af861f7dd5d5ddfca835f7918c5c76c38bd1466db97df689e969bd3fb480f3ffe0fd431cdf6222f2249c4f35ff705148c719e970903bf20f0d1c40f21b4d9391 MISC metadata.xml 842 BLAKE2B 1732f7a0efeba7de6c54bfb817a69f9be88eab8bb37a75f5ee685ba7893ad9be13a10ea8b2a404954846e1ea73dc617d0a89ac3b1f69a83928275b9e8d5fc7ab SHA512 900de0e8b914d1970b3e4fcfbdbeea48c1e56ab596e6c959e4dce29a0fd0cb0b6969ab6899784a80b6c233a656f3a4501513d8af6b4acc8519a5ecf1c9a1a622 diff --git a/app-crypt/qca/qca-2.2.0_pre20180606.ebuild b/app-crypt/qca/qca-2.2.0_pre20180606.ebuild index 3ed99ba69006..a1d8e8ee44dc 100644 --- a/app-crypt/qca/qca-2.2.0_pre20180606.ebuild +++ b/app-crypt/qca/qca-2.2.0_pre20180606.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit cmake-utils qmake-utils @@ -15,6 +15,9 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd IUSE="botan debug doc examples gcrypt gpg libressl logger nss pkcs11 sasl softstore +ssl test" +BDEPEND=" + doc? ( app-doc/doxygen ) +" RDEPEND=" dev-qt/qtcore:5 botan? ( dev-libs/botan:= ) @@ -33,7 +36,6 @@ RDEPEND=" ) " DEPEND="${RDEPEND} - doc? ( app-doc/doxygen ) test? ( dev-qt/qtnetwork:5 dev-qt/qttest:5 diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 05ca3e759439..4fce50963ca9 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -4,6 +4,8 @@ AUX rhash-1.3.6-no_echon.patch 1224 BLAKE2B 949b6aa839667a6fef3c3a668b6cadc45198 AUX unquote-cc.patch 791 BLAKE2B a872b7a8e8d2e04f5cf3dda0b4f4aa5e0177878942f9836f8a431d950392dafb46be646048a0ab4dc4a31ac20b6676fa8627b39bbb30a990861cf8d3cfc742f8 SHA512 7a4c2bf019cbcde021bb79572abdbc9b42f995ada5bb9798fed127d79c44ed9d4b9544c1413952604b1dd45ed307acdacba6675419f6331d75ecf34c15b8f5ca DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 DIST rhash-1.3.7-src.tar.gz 362981 BLAKE2B bc248e0dcdf2337e46292f1bcdff0ce027705679ab937c8aa13139226bc09f3815ba23d8383f624dfba255c54378473f6b0b28a710611cdc83150055b8d649d0 SHA512 182f474b0f0a39f9e0adb7e34fcc5ddca6f00e75d7cf6b846da33af166257b2ed38be70aa71e6732c4e6cbdd156712790b8bc5340933b65f3ce57269835d1585 +DIST rhash-1.3.8-src.tar.gz 393544 BLAKE2B c326b3fa6dbc5ea2cce40105dc319456fdcc58140a05e8002bf1d92be921d8bbd27bf670370ba7cf2ff2001ff70ddbeb8efc9712869a7b215c5f51a5e493b5c9 SHA512 9dba4fa4dd49d323f2e440c5b93eac1ef62eb4046ec4ef611f0978c12c1739002f1ac1f1ec5e61bd359dc89e9ed612db71be91a795184ac5d5433280d27fa4c1 EBUILD rhash-1.3.6-r1.ebuild 1917 BLAKE2B 4276bd7da9604398f8e150a6cc8585fba3b7b90011e4dd60ff2f133996ffdb80b9e85659239669fc1faeb0e5856dec1b6cae1966d1d21952b947740d4dc5b656 SHA512 efad5669c2917a07bc709d433bbda42d4d8ab7b1a88740a495f9329c79b48dde44c60f2dec5b0dbf04ca6797f7ad9423c82b73700797dd8a613dddcad1d0c64c EBUILD rhash-1.3.7.ebuild 1900 BLAKE2B fc04872b62b571d6faa946477e169e417a82870980f711fa6030d5a91d227d3e8ad56718478cbc2af7b37552871b676e0d42d7ae543c12fa2c82c17bf1745bb6 SHA512 1e28644c0f3c8d884621b3d7f5e8e09e56510482956809eb22b16a22ed83f02ab4ad0efd35522173e715f6b98e39ae1f913bf35daf38a755f1fdcdfc5cdac114 +EBUILD rhash-1.3.8.ebuild 1900 BLAKE2B fc04872b62b571d6faa946477e169e417a82870980f711fa6030d5a91d227d3e8ad56718478cbc2af7b37552871b676e0d42d7ae543c12fa2c82c17bf1745bb6 SHA512 1e28644c0f3c8d884621b3d7f5e8e09e56510482956809eb22b16a22ed83f02ab4ad0efd35522173e715f6b98e39ae1f913bf35daf38a755f1fdcdfc5cdac114 MISC metadata.xml 753 BLAKE2B 09d65c4222a77b9cdab0e82e8b3a38a63762c9e691285f712e09e99ecf28937d70436ac0dc56a890ea1f6ca9981c7f02383ce92a0da6a0c5ca11af2b3598e77e SHA512 d9a8480839af7651eb09b1210b2b0f736d01018cd1863eb17f24f0f51024c234f6f5036745f2034e89bcbd85f396b194184fc987adba43d9d0bebfa0b65d635a diff --git a/app-crypt/rhash/rhash-1.3.8.ebuild b/app-crypt/rhash/rhash-1.3.8.ebuild new file mode 100644 index 000000000000..e179038547c0 --- /dev/null +++ b/app-crypt/rhash/rhash-1.3.8.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="Console utility and library for computing and verifying file hash sums" +HOMEPAGE="http://rhash.anz.ru/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="debug nls libressl ssl static-libs" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) +)" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/RHash-${PV}" + +src_prepare() { + default + # fix Solaris detection, upstream: + # https://github.com/rhash/RHash/pull/81 + sed -i -e 's/sunos)/solaris2.*)/' configure || die + multilib_copy_sources +} + +multilib_src_configure() { + set -- \ + ./configure \ + --target="${CHOST}" \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +# We would add compile-gmo to the build targets but install-gmo always +# recompiles unconditionally. :( + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-headers,-pkg-config} \ + $(use nls && echo install-gmo) \ + $(use kernel_Winnt || echo install-lib-so-link) +} + +multilib_src_test() { + emake test +} diff --git a/app-crypt/ssss/Manifest b/app-crypt/ssss/Manifest new file mode 100644 index 000000000000..eface075ab79 --- /dev/null +++ b/app-crypt/ssss/Manifest @@ -0,0 +1,3 @@ +DIST ssss-0.5.tar.gz 17435 BLAKE2B 76aae463ce11341f8b0336526f7d19c9921025cabc05bc9e00005b0bdeb676ed5e069226962232f277de2fecb1cd71bafbd4b2fa0c03ef4faf0f66daa24599d1 SHA512 be8df1666ac61d4097b5fd54f2cee3640db8f85ec21411f1b208a35b671c5699bc692079525d8d313d1cf2500da31bfb03771829a9fdccc0bb6d806749526ec9 +EBUILD ssss-0.5.ebuild 757 BLAKE2B 54c1a67582ef0ab340dab68767d1196d3c97c584ccfedf313afb0b9efeae95a09d0a0f855f1fcfcd70bb5c2fdb8c14310ab7127799d97449708db936ac38d6e7 SHA512 9c862dbe07aee602cb8613622a6af6c2b0e777e46b85b6dd215013a47a15dd7a799587241d12005206c933982d9bcf92462cf26f5695889473502a9eef792d8a +MISC metadata.xml 615 BLAKE2B 268173e83a1880bde7f164f9bc93f499654928a537458334dc3a87ed706e3bf31b514582fdf890d107896a04cfe9936e2a4459201b04448d919bcd277f616a26 SHA512 8ddbb48727f79921b79da2ac26f560a56e5e55c8a335a5dc7469f6a6aed8715034abbe7b869467d3bdeca9dca120b07bfbf8b16aee03cd5a730c67b2fef74f8c diff --git a/app-crypt/ssss/metadata.xml b/app-crypt/ssss/metadata.xml new file mode 100644 index 000000000000..108893a39ca7 --- /dev/null +++ b/app-crypt/ssss/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + SSSS is an implementation of Shamir's Secret Sharing Scheme. + The program suite does both: the generation of shares for a known secret, + and the reconstruction of a secret using user-pro‐vided shares. + </longdescription> +</pkgmetadata> diff --git a/app-crypt/ssss/ssss-0.5.ebuild b/app-crypt/ssss/ssss-0.5.ebuild new file mode 100644 index 000000000000..55fa43d76cb2 --- /dev/null +++ b/app-crypt/ssss/ssss-0.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Shamir's Secret Sharing Scheme" +HOMEPAGE="http://point-at-infinity.org/ssss/" +SRC_URI="http://point-at-infinity.org/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="dev-libs/gmp:0=" +DEPEND="${RDEPEND}" +BDEPEND="app-doc/xmltoman" + +DOCS=( "HISTORY" "THANKS" ) +HTML_DOCS=( "doc.html" "ssss.1.html" ) + +src_prepare() { + default + + tc-export CC + + # Respect users CFLAGS and don't strip, as portage does this part. + sed -e 's/-O2/$(CFLAGS)/g' -e '/strip/d' -i Makefile || die +} + +src_install() { + dobin ssss-split + dosym ssss-split /usr/bin/ssss-combine + + doman ssss.1 + + einstalldocs +} |