diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-27 12:48:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-27 12:48:57 +0100 |
commit | 70b82ae359a5538711e103b0e8dfb92654296644 (patch) | |
tree | 8412b84ff9ce02a22be5251052b00feefe1d5b70 /net-wireless | |
parent | 64e107b9b6058580ff0432107eb37cefb0b2a7d8 (diff) |
gentoo resync : 27.10.2018
Diffstat (limited to 'net-wireless')
21 files changed, 532 insertions, 332 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz Binary files differindex 3a5b05dffa75..58597e83c3f2 100644 --- a/net-wireless/Manifest.gz +++ b/net-wireless/Manifest.gz diff --git a/net-wireless/crda/Manifest b/net-wireless/crda/Manifest index 92840ef16446..a20356ffed58 100644 --- a/net-wireless/crda/Manifest +++ b/net-wireless/crda/Manifest @@ -3,9 +3,11 @@ AUX crda-3.18-cflags.patch 895 BLAKE2B 0a8d8acb268ff58656a5b66a77744c14fd9f92fd6 AUX crda-3.18-libreg-link.patch 908 BLAKE2B 60d9307ba43235cbce089835ae7406313b9f68a90fbe503130e81fb423e04d3f257e1a1d78db9fef605e42a4d9571c54e8ac9cb8a2569d3c3cd3f5c6d542a295 SHA512 41c98f1e4ca0ae3d22b08086eb54aefd4ec95fed5a6e5fafd55fb6a9b9649ec18f5f65003a1424cf59bf99e266fddf110c92d9e46a4b40a18be5931fc7bbbbeb AUX crda-3.18-no-ldconfig.patch 748 BLAKE2B 1ef8aff911a5f4af14fb321782cfb40abc8a946dc80af95ec2c2d50e509f318d84be36190c5b899c882b6173617746600b04bf6d0c282a59c568c44e2f255d16 SHA512 faea7d4bfc0b1a4a674cb6c285975805985dc4211c43ca47da38102cb79a1d6d770aa6267e85d811998f9a13799335cfb6116f272ed40c4ecd6b3f813ca93a28 AUX crda-3.18-no-werror.patch 916 BLAKE2B 2e7c79e14ae0ab05cbf032f104747eeea0df165197ba1ff8039fb14de43880894b03e59e14fe2d906b7f99c8d910cef701c1abcb68d9558cfd37d4455ce03501 SHA512 ab521bbc47826bb9356c8b96bee24f6e6d7f03a98036398627e840b89e7245329115664fc740d2b3c0d3a497ef638e3be3fa9d1e991a7e03a0753e078c8019e9 +AUX crda-3.18-openssl-1.1.0-compatibility.patch 8782 BLAKE2B 7906eedd86aca173199ec957516167cf940d41da668cc7c5b5935232984f88960c1e00c87dfcd03c7d068cdb9168525378c46e1c52b28a9714d14cddce9240df SHA512 417a67139f61c467cd13274d0e6ad1542107dbb00765beed5becccdb64ac0228236498241e1fba9dfd4a5e1acb04ee583c435b699cca9b6a6461e5b7e86328cb AUX crda-3.18-openssl.patch 1601 BLAKE2B 49c22bc12d3b1da7d4ef8cecc8f167ec8e0a76c6f71de151457006deeef49dca7ce9a550ab33f379d36421c029b4bd59934e1cf835c34a970845313b5aca37a0 SHA512 0ffd2b51689ee30b064494022127eb7933c9dfe6f90189ef4b6209f7f733813026da0b2cb7fcf473fa81549515355b7f5b285ce759a3f3053f95b290550a71fe DIST crda-1.1.3.tar.bz2 38697 BLAKE2B 5ca68362a134e6f5fad1a450edc3cfc083686d45750dbfdd04821f30e18873f86870d97fd796d1ea4dfc79f74f65dc548562890dcfc21f224ac76006878aea41 SHA512 4ec37d3d51f5988af79c2eaadc1bce344f20d4d9833533838d308533ee02cb12d5ed193391679ae1231c8afe61b21defdb368614a6238f99fdc5824f6819cfed DIST crda-3.18.tar.xz 61516 BLAKE2B 76feac7fcf85b03b39bfe78de444515f54cd513041f81f7588cd7866e5bf072d000ad0c8df181ccacde7fc8125ed04ece00d5d9d3013df759b5f9fd05f8cfd56 SHA512 57ae6309159f396448f052c127f401c2f63d47f4193e87dca231c4b7bbbd7e69b5e5666f356fc76dfc8a6ae58ffa55c3794428d6eb34d9937df77c4276036588 EBUILD crda-1.1.3-r1.ebuild 1613 BLAKE2B f1f3513e3333284224db0a62e2a692926bc8fa1c82d3f5ff6e295d153b892fa15e64a30085afc91dd1f908ca8ef5be773c82679ca999e8659c1492c684adf91a SHA512 5e344dcca9f79a1223714ac621666dfe9f09e161e69ac636ad1402a7be1dacca209e1b24b3df9e23314c0e1d59cbfe7245921fd0d2a1141593c11ac7fe1cd229 EBUILD crda-3.18-r1.ebuild 2070 BLAKE2B a5ef6ef29f933bc18053244465bc4e714e5296c3a59a9b0916028bfa829ca07a445c9c226c370582815b393ec6cf97e1ec650699c020405250fd0d4ba890ed53 SHA512 e2dcf9eb33a9086969e5efbbc0147f758de24ca52e7bd112dead58302fde6b9203ef6a7c44b89faeaec233dfc2a40848d77e667de63c9b32e842e1ba6c687892 +EBUILD crda-3.18-r2.ebuild 2083 BLAKE2B fe89799f996660fd0473f08bb2000e540f92909e7896be1cd574f4956fa71add202dd067a1111f5f17c3cdb839b8c32900d90916a50f2f243fba9f7665666b89 SHA512 f7a0449d49c231d205e1b1ef46471ee89b2e75aa4dd53ef38353188308cb1d197c02d574f12b8d72e6281bee945f8ff4af359ce1193bcca8143ad1455aa3c36d MISC metadata.xml 341 BLAKE2B 3164318aaf0c333f739b8c863660b2b77844b0aa7cdca818358f566dd6cfbf585e1b6661373e58e6c1116771cb4f23c962e27b24bf325cd415ee23a035d5d8a2 SHA512 ca1f9e4b85c7921ab86bf2b5c6be5c8ad07ec900ec23e0c602cc63e815c4e0036fc3ab03470debf645b4f3d444d986f16f9a120af56193d902150e15156f9d59 diff --git a/net-wireless/crda/crda-3.18-r2.ebuild b/net-wireless/crda/crda-3.18-r2.ebuild new file mode 100644 index 000000000000..db7d191eab6d --- /dev/null +++ b/net-wireless/crda/crda-3.18-r2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit toolchain-funcs python-any-r1 udev + +DESCRIPTION="Central Regulatory Domain Agent for wireless networks" +HOMEPAGE="https://wireless.wiki.kernel.org/en/developers/regulatory/crda" +SRC_URI="http://linuxwireless.org/download/crda/${P}.tar.xz + mirror://kernel/software/network/crda/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="gcrypt libressl" + +RDEPEND="!gcrypt? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) + gcrypt? ( dev-libs/libgcrypt:0 ) + dev-libs/libnl:3 + net-wireless/wireless-regdb" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/m2crypto[${PYTHON_USEDEP}]') + virtual/pkgconfig" + +python_check_deps() { + has_version --host-root "dev-python/m2crypto[${PYTHON_USEDEP}]" +} + +PATCHES=( + "${FILESDIR}"/${PN}-3.18-no-ldconfig.patch + "${FILESDIR}"/${PN}-3.18-no-werror.patch + "${FILESDIR}"/${PN}-3.18-cflags.patch + "${FILESDIR}"/${PN}-3.18-libreg-link.patch #542436 + "${FILESDIR}"/${PN}-3.18-openssl-1.1.0-compatibility.patch #652428 +) + +src_prepare() { + default + sed -i \ + -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ + Makefile || die +} + +_emake() { + # The source hardcodes /usr/lib/crda/ paths (ignoring all make vars + # that look like it should change it). We want to use /usr/lib/ + # anyways as this file is not ABI specific and we want to share it + # among all ABIs rather than pointlessly duplicate it. + # + # The trailing slash on SBINDIR is required by the source. + emake \ + PREFIX="${EPREFIX}/usr" \ + SBINDIR='$(PREFIX)/sbin/' \ + LIBDIR='$(PREFIX)/'"$(get_libdir)" \ + UDEV_RULE_DIR="$(get_udevdir)/rules.d" \ + REG_BIN="${SYSROOT}"/usr/lib/crda/regulatory.bin \ + USE_OPENSSL=$(usex gcrypt 0 1) \ + CC="$(tc-getCC)" \ + V=1 \ + WERROR= \ + "$@" +} + +src_compile() { + _emake all_noverify +} + +src_test() { + _emake verify +} + +src_install() { + _emake DESTDIR="${D}" install + keepdir /etc/wireless-regdb/pubkeys +} diff --git a/net-wireless/crda/files/crda-3.18-openssl-1.1.0-compatibility.patch b/net-wireless/crda/files/crda-3.18-openssl-1.1.0-compatibility.patch new file mode 100644 index 000000000000..00a9b5570d2d --- /dev/null +++ b/net-wireless/crda/files/crda-3.18-openssl-1.1.0-compatibility.patch @@ -0,0 +1,315 @@ +From 338637ac08c19708eb35523894b44bbe3c726cfa Mon Sep 17 00:00:00 2001 +From: quentin <quentin@minster.io> +Date: Mon, 2 Apr 2018 18:07:50 +0200 +Subject: [PATCH] crda: Fix for OpenSSL 1.1.0: BIGNUM now opaque + +OpenSSL 1.1.0 makes most of OpenSSL's structures opaque, and provides +functions to manipulate them. This means it's no longer possible to +construct an OpenSSL BIGNUM directly from scratch, as was done in +keys-ssl.c. + +Use BN_bin2bn() (available since OpenSSL 0.9.8) to build the bignum from +its big-endian representation as a byte array. + +This also allows factoring the code in utils/key2pub.py as it's now the +same mechanism as with libgcrypt. + +This was tested with OpenSSL 1.1.0g. + +Signed-off-by: Quentin Minster <quentin@minster.io> +--- + Makefile | 12 +++---- + reglib.c | 44 +++++++++++++++++------ + utils/key2pub.py | 107 ++++++------------------------------------------------- + 3 files changed, 49 insertions(+), 114 deletions(-) + +diff --git a/Makefile b/Makefile +index a3ead30..a4e7373 100644 +--- a/Makefile ++++ b/Makefile +@@ -38,18 +38,16 @@ all: all_noverify verify + + all_noverify: $(LIBREG) crda intersect regdbdump db2rd optimize + ++$(LIBREG): keys.c ++ + ifeq ($(USE_OPENSSL),1) + CFLAGS += -DUSE_OPENSSL -DPUBKEY_DIR=\"$(RUNTIME_PUBKEY_DIR)\" `pkg-config --cflags openssl` + LDLIBS += `pkg-config --libs openssl` + +-$(LIBREG): keys-ssl.c +- + else + CFLAGS += -DUSE_GCRYPT + LDLIBS += -lgcrypt + +-$(LIBREG): keys-gcrypt.c +- + endif + MKDIR ?= mkdir -p + INSTALL ?= install +@@ -109,10 +107,10 @@ $(REG_BIN): + $(NQ) + $(Q) exit 1 + +-keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem) ++keys.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem) + $(NQ) ' GEN ' $@ + $(NQ) ' Trusted pubkeys:' $(wildcard $(PUBKEY_DIR)/*.pem) +- $(Q)./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@ ++ $(Q)./utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem) $@ + + $(LIBREG): regdb.h reglib.h reglib.c + $(NQ) ' CC ' $@ +@@ -187,5 +185,5 @@ install: install-libreg install-libreg-headers crda crda.8.gz regdbdump.8.gz + + clean: + $(Q)rm -f $(LIBREG) crda regdbdump intersect db2rd optimize \ +- *.o *~ *.pyc keys-*.c *.gz \ ++ *.o *~ *.pyc keys.c *.gz \ + udev/$(UDEV_LEVEL)regulatory.rules udev/regulatory.rules.parsed +diff --git a/reglib.c b/reglib.c +index e00e9b8..00f7f56 100644 +--- a/reglib.c ++++ b/reglib.c +@@ -22,6 +22,7 @@ + #include <openssl/rsa.h> + #include <openssl/sha.h> + #include <openssl/pem.h> ++#include <openssl/bn.h> + #endif + + #ifdef USE_GCRYPT +@@ -30,12 +31,8 @@ + + #include "reglib.h" + +-#ifdef USE_OPENSSL +-#include "keys-ssl.c" +-#endif +- +-#ifdef USE_GCRYPT +-#include "keys-gcrypt.c" ++#if defined(USE_OPENSSL) || defined(USE_GCRYPT) ++#include "keys.c" + #endif + + int debug = 0; +@@ -81,7 +78,8 @@ reglib_array_len(size_t baselen, unsigned int elemcount, size_t elemlen) + #ifdef USE_OPENSSL + int reglib_verify_db_signature(uint8_t *db, size_t dblen, size_t siglen) + { +- RSA *rsa; ++ RSA *rsa = NULL; ++ BIGNUM *rsa_e = NULL, *rsa_n = NULL; + uint8_t hash[SHA_DIGEST_LENGTH]; + unsigned int i; + int ok = 0; +@@ -102,15 +100,35 @@ int reglib_verify_db_signature(uint8_t *db, size_t dblen, size_t siglen) + goto out; + } + +- rsa->e = &keys[i].e; +- rsa->n = &keys[i].n; ++ rsa_e = BN_bin2bn(keys[i].e, keys[i].len_e, NULL); ++ if (!rsa_e) { ++ fprintf(stderr, "Failed to convert value for RSA e.\n"); ++ goto out; ++ } ++ rsa_n = BN_bin2bn(keys[i].n, keys[i].len_n, NULL); ++ if (!rsa_n) { ++ fprintf(stderr, "Failed to convert value for RSA n.\n"); ++ goto out; ++ } ++ ++#if OPENSSL_VERSION_NUMBER < 0x10100000L ++ rsa->e = rsa_e; ++ rsa->n = rsa_n; ++#else ++ if (RSA_set0_key(rsa, rsa_n, rsa_e, NULL) != 1) { ++ fprintf(stderr, "Failed to set RSA key.\n"); ++ goto out; ++ } ++#endif ++ /* BIGNUMs now owned by the RSA object */ ++ rsa_e = NULL; ++ rsa_n = NULL; + + ok = RSA_verify(NID_sha1, hash, SHA_DIGEST_LENGTH, + db + dblen, siglen, rsa) == 1; + +- rsa->e = NULL; +- rsa->n = NULL; + RSA_free(rsa); ++ rsa = NULL; + } + if (!ok && (pubkey_dir = opendir(PUBKEY_DIR))) { + while (!ok && (nextfile = readdir(pubkey_dir))) { +@@ -123,6 +141,7 @@ int reglib_verify_db_signature(uint8_t *db, size_t dblen, size_t siglen) + ok = RSA_verify(NID_sha1, hash, SHA_DIGEST_LENGTH, + db + dblen, siglen, rsa) == 1; + RSA_free(rsa); ++ rsa = NULL; + fclose(keyfile); + } + } +@@ -133,6 +152,9 @@ int reglib_verify_db_signature(uint8_t *db, size_t dblen, size_t siglen) + fprintf(stderr, "Database signature verification failed.\n"); + + out: ++ RSA_free(rsa); ++ BN_free(rsa_e); ++ BN_free(rsa_n); + return ok; + } + #endif /* USE_OPENSSL */ +diff --git a/utils/key2pub.py b/utils/key2pub.py +index 9bb04cd..1919270 100755 +--- a/utils/key2pub.py ++++ b/utils/key2pub.py +@@ -9,84 +9,7 @@ except ImportError, e: + sys.stderr.write('On Debian GNU/Linux the package is called "python-m2crypto".\n') + sys.exit(1) + +-def print_ssl_64(output, name, val): +- while val[0] == '\0': +- val = val[1:] +- while len(val) % 8: +- val = '\0' + val +- vnew = [] +- while len(val): +- vnew.append((val[0], val[1], val[2], val[3], val[4], val[5], val[6], val[7])) +- val = val[8:] +- vnew.reverse() +- output.write('static BN_ULONG %s[%d] = {\n' % (name, len(vnew))) +- idx = 0 +- for v1, v2, v3, v4, v5, v6, v7, v8 in vnew: +- if not idx: +- output.write('\t') +- output.write('0x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x, ' % (ord(v1), ord(v2), ord(v3), ord(v4), ord(v5), ord(v6), ord(v7), ord(v8))) +- idx += 1 +- if idx == 2: +- idx = 0 +- output.write('\n') +- if idx: +- output.write('\n') +- output.write('};\n\n') +- +-def print_ssl_32(output, name, val): +- while val[0] == '\0': +- val = val[1:] +- while len(val) % 4: +- val = '\0' + val +- vnew = [] +- while len(val): +- vnew.append((val[0], val[1], val[2], val[3], )) +- val = val[4:] +- vnew.reverse() +- output.write('static BN_ULONG %s[%d] = {\n' % (name, len(vnew))) +- idx = 0 +- for v1, v2, v3, v4 in vnew: +- if not idx: +- output.write('\t') +- output.write('0x%.2x%.2x%.2x%.2x, ' % (ord(v1), ord(v2), ord(v3), ord(v4))) +- idx += 1 +- if idx == 4: +- idx = 0 +- output.write('\n') +- if idx: +- output.write('\n') +- output.write('};\n\n') +- +-def print_ssl(output, name, val): +- import struct +- output.write('#include <stdint.h>\n') +- if len(struct.pack('@L', 0)) == 8: +- return print_ssl_64(output, name, val) +- else: +- return print_ssl_32(output, name, val) +- +-def print_ssl_keys(output, n): +- output.write(r''' +-struct pubkey { +- struct bignum_st e, n; +-}; +- +-#define KEY(data) { \ +- .d = data, \ +- .top = sizeof(data)/sizeof(data[0]), \ +-} +- +-#define KEYS(e,n) { KEY(e), KEY(n), } +- +-static struct pubkey keys[] = { +-''') +- for n in xrange(n + 1): +- output.write(' KEYS(e_%d, n_%d),\n' % (n, n)) +- output.write('};\n') +- pass +- +-def print_gcrypt(output, name, val): +- output.write('#include <stdint.h>\n') ++def print_bignum(output, name, val): + while val[0] == '\0': + val = val[1:] + output.write('static const uint8_t %s[%d] = {\n' % (name, len(val))) +@@ -103,11 +26,11 @@ def print_gcrypt(output, name, val): + output.write('\n') + output.write('};\n\n') + +-def print_gcrypt_keys(output, n): ++def print_keys(output, n): + output.write(r''' + struct key_params { + const uint8_t *e, *n; +- uint32_t len_e, len_n; ++ const uint32_t len_e, len_n; + }; + + #define KEYS(_e, _n) { \ +@@ -120,25 +43,17 @@ static const struct key_params __attribute__ ((unused)) keys[] = { + for n in xrange(n + 1): + output.write(' KEYS(e_%d, n_%d),\n' % (n, n)) + output.write('};\n') +- + +-modes = { +- '--ssl': (print_ssl, print_ssl_keys), +- '--gcrypt': (print_gcrypt, print_gcrypt_keys), +-} + +-try: +- mode = sys.argv[1] +- files = sys.argv[2:-1] +- outfile = sys.argv[-1] +-except IndexError: +- mode = None ++files = sys.argv[1:-1] ++outfile = sys.argv[-1] + +-if not mode in modes: +- print 'Usage: %s [%s] input-file... output-file' % (sys.argv[0], '|'.join(modes.keys())) ++if len(files) == 0: ++ print 'Usage: %s input-file... output-file' % (sys.argv[0], ) + sys.exit(2) + + output = open(outfile, 'w') ++output.write('#include <stdint.h>\n\n\n') + + # load key + idx = 0 +@@ -148,8 +63,8 @@ for f in files: + except RSA.RSAError: + key = RSA.load_key(f) + +- modes[mode][0](output, 'e_%d' % idx, key.e[4:]) +- modes[mode][0](output, 'n_%d' % idx, key.n[4:]) ++ print_bignum(output, 'e_%d' % idx, key.e[4:]) ++ print_bignum(output, 'n_%d' % idx, key.n[4:]) + idx += 1 + +-modes[mode][1](output, idx - 1) ++print_keys(output, idx - 1) +-- +2.16.2 + diff --git a/net-wireless/gnuradio/Manifest b/net-wireless/gnuradio/Manifest index f065c35c08e9..dc7e794e9167 100644 --- a/net-wireless/gnuradio/Manifest +++ b/net-wireless/gnuradio/Manifest @@ -7,8 +7,7 @@ DIST gnuradio-3.7.13-codec2.tar.xz 13148 BLAKE2B 84f732dc562dbbd076e1656fad37c81 DIST gnuradio-3.7.13.4.tar.gz 4546663 BLAKE2B 82ac5fcf0318825dbdb78be3e5a11a8372b0d2f8e12b955a7e13f6f7e885fda8ac31acbc8cb0b81159b124bcda955e4b7b2cb141c8c0d780122abf7dd33b5aa3 SHA512 85c265851b43d4b62590869c91a9b7b262601dce233515096f1a1e68a14ea2710f08cc07859326efdfde29a2f156477d3bbd42e3bdd9b8ac13f6769637bf794b EBUILD gnuradio-3.6.5.1-r2.ebuild 5127 BLAKE2B ad5cb9725f4a3adfc90deac129121d3b17d9db03dea210e9d9bc04b5279eec5276cb216110e88cab5b6cfeb12c1d213198dc9d50b032a21bc88b16a9945a52d0 SHA512 b36955101eee2a2e92388980c470941d2c6aeb7eb58f23158b21da16174e49640fd9332e5e05626307fccc1233fc6149a9baf8211ba1866ec2dbedc85c24831b EBUILD gnuradio-3.7.11-r3.ebuild 6816 BLAKE2B 6232c919c9605dd1e210d5671d754596929015af1ab2d177b5fb562420732648293a39c4810febbafde56306f601c8bf937764f7afeaedc9f18ac7e02765825e SHA512 a1602c8645fa6b1d8789d52197dac54b2899ed9544a8010fb7fa3d5d5ff7c4885fa4f650eda6e2372e90e0546b8c4dd83ebd4e9d7db3afb190b39f918373c133 -EBUILD gnuradio-3.7.13.4.ebuild 7093 BLAKE2B 75240f63afb6e8256621656d218fd72bf4a1d4a8fc57aaff363acdc0e126178f47e5f6478f432aeff7f33ce340c4586460c1f6ca1290bc4f599a6bdb559d9b25 SHA512 9c7e5906de9ff3828f7d9f6a9f396b33b9221a70889874e8e307e0562aee40ed016af605b12eea7edcbf3eee723cc09ec871316b8e980e70ef568cf70fdc25cf -EBUILD gnuradio-3.7.9999.ebuild 6892 BLAKE2B d483025e62de7f2a76e8fd1ac255059d355752e9af67f4067fa6d9e348178ca4ab717c0bf1c679a74a9b62c640abb1087b6277c125270e8a983ab8b5e41a211c SHA512 f414f389868f70a6fc74cdad5b4c1fbc1527a5f6038b93e6b0113dbebeb3de17bb8fec949d9cacfc87a1c94fac26f08e836d60d60462c48ee0f1198969f0adc6 -EBUILD gnuradio-3.8.9999.ebuild 6654 BLAKE2B 2ecf927d0469ecd721e929ba77db619949cac4e11f2a4ee62e292cbcc6ac5c0969d8eae1d01b52f67756e6cc5165cadde94b7907658c950e181dff0107d893d6 SHA512 3a839947f80f483dc6e78b9b453c1f455c4be58a7a67cbf2b116bba7f2364c53485c6695bb236704ff5286fc28310fa8324b6a428b7d55105b393087069e340e -EBUILD gnuradio-9999.ebuild 6927 BLAKE2B 2084fe3db89e86cd65e41714881153a6d03091d0f107e315800768781716adea15518d7ae3eec4a51561dd9e1f8b8992151340a7e1c30cd706b4546d5ae550eb SHA512 d6d8c6f752055e56f7e433636588df5592c4816f38bc1f4f9d626980fa97957a229bfcc8c8b21ead1df6aa434699e6ea4a752cc0fda34f08810df95ddcc98779 +EBUILD gnuradio-3.7.13.4-r2.ebuild 7350 BLAKE2B d94bd0325471ca53108365194b669451383227de44c71de05df10b9d30e7e98e8a31aa1dd70bd6bb8f72f7428a729cd053902c07cda347ac7b344bbc2aa44374 SHA512 0ae1c7d20f253f2eeefad3b1ec79fbe47d9bf3bdd47c611a1979c09786a1a723ef3566cc63401e26d8b699192e52ab607932e4b5448f173ac65b16036d7a7d77 +EBUILD gnuradio-3.7.9999.ebuild 6917 BLAKE2B ad74825e50483a3950aab15788b467e834379e38cd6bab913f67e3a05e9abd4533df01f7878782a06c29be196b7357f52952359b1beeb878f41193f866b2c33c SHA512 1ca495b9bb543bf7879c079e1668155fa805b6fbeef0f6940e9748bb5540453402a770df9c2510cac2b71ad63ff8119234ed54dcb87896d90c819c93d06c83aa +EBUILD gnuradio-9999.ebuild 6955 BLAKE2B 727f4f890202932f02a1c9136b6fbbbf417380cd9ea477d7485f98411656b25ee798b930caf8f65cd0d8f193b69d54dd0811cedd27247617bc663e75606988fa SHA512 e961f10a77bc407eb6be40424f146852ab7a17ac87ead37a45305bcd6aa66038d74550ea4f25795ebaef800111926f7260e94902fd637876154d7fe8557fa0d6 MISC metadata.xml 1774 BLAKE2B de1e576c7aebab19d0b1d9b2c3962a888059b0a3a3ee8b1ecfd048cef9d4a0dcbec5fc1749742da29c0026cee13cf40c6e27b72068691389eb4c3ac14aecbf1f SHA512 18f0566bd5f65be0bd36e063f334301882f2ff0aeef10b7d6f544089c257c42617b4868659e63f9ea236715dbef479f1961e5bd3a3931b217a9cd6da49de0699 diff --git a/net-wireless/gnuradio/gnuradio-3.7.13.4.ebuild b/net-wireless/gnuradio/gnuradio-3.7.13.4-r2.ebuild index eb3fe3b2645d..eab46b2eca50 100644 --- a/net-wireless/gnuradio/gnuradio-3.7.13.4.ebuild +++ b/net-wireless/gnuradio/gnuradio-3.7.13.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -23,9 +23,7 @@ else KEYWORDS="~amd64 ~arm ~x86" fi if [[ ${PV} == "3.7.9999" ]]; then - EGIT_BRANCH="maint" -elif [[ ${PV} == "3.8.9999" ]]; then - EGIT_BRANCH="next" + EGIT_BRANCH="maint-3.7" fi IUSE="+audio +alsa atsc +analog +digital channels doc dtv examples fcd fec +filter grc jack log noaa oss pager performance-counters portaudio +qt5 sdl test trellis uhd vocoder +utils wavelet wxwidgets zeromq" @@ -53,7 +51,7 @@ RDEPEND="${PYTHON_DEPS} >=dev-lang/orc-0.4.12 dev-libs/boost:0=[${PYTHON_USEDEP}] !<=dev-libs/boost-1.52.0-r6:0/1.52 - dev-python/numpy[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] sci-libs/fftw:3.0= alsa? ( @@ -62,9 +60,10 @@ RDEPEND="${PYTHON_DEPS} fcd? ( virtual/libusb:1 ) filter? ( sci-libs/scipy ) grc? ( - dev-python/pygobject:*[cairo(+),${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] + dev-python/cheetah[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/pygtk-2.10:2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] ) jack? ( media-sound/jack-audio-connection-kit @@ -84,12 +83,13 @@ RDEPEND="${PYTHON_DEPS} uhd? ( >=net-wireless/uhd-3.9.6:=[${PYTHON_USEDEP}] ) utils? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) vocoder? ( media-sound/gsm - >=media-libs/codec2-0.8.1 ) + >=media-libs/codec2-0.8.1 ) wavelet? ( >=sci-libs/gsl-1.10 ) wxwidgets? ( dev-python/wxpython:3.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] ) zeromq? ( >=net-libs/zeromq-2.1.11 ) " @@ -111,7 +111,7 @@ DEPEND="${RDEPEND} src_prepare() { gnome2_environment_reset #534582 - if [[ ${PV} == "3.8.9999" ]]; then + if [[ ${PV} == "9999" ]]; then true else epatch "${FILESDIR}"/gnuradio-wxpy3.0-compat.patch @@ -121,10 +121,15 @@ src_prepare() { epatch "${WORKDIR}"/qt5-maint-00*.patch epatch "${WORKDIR}"/codec2-next-00*.patch + use !alsa && sed -i 's#version.h#version-nonexistant.h#' cmake/Modules/FindALSA.cmake + use !jack && sed -i 's#jack.h#jack-nonexistant.h#' cmake/Modules/FindJack.cmake + use !portaudio && sed -i 's#portaudio.h#portaudio-nonexistant.h#' cmake/Modules/FindPortaudio.cmake + cmake-utils_src_prepare } src_configure() { + #zeromq missing deps isn't fatal python_export PYTHON_SITEDIR mycmakeargs=( -DENABLE_DEFAULT=OFF @@ -220,7 +225,6 @@ pkg_postinst() if use grc ; then xdg_desktop_database_update xdg_mimeinfo_database_update - xdg_mime_database_update for size in ${GRC_ICON_SIZES} ; do xdg-icon-resource install --noupdate --context mimetypes --size ${size} \ "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" application-gnuradio-grc \ @@ -240,7 +244,6 @@ pkg_postrm() if use grc ; then xdg_desktop_database_update xdg_mimeinfo_database_update - xdg_mime_database_update for size in ${GRC_ICON_SIZES} ; do xdg-icon-resource uninstall --noupdate --context mimetypes --size ${size} \ application-gnuradio-grc || ewarn "icon uninstall failed" diff --git a/net-wireless/gnuradio/gnuradio-3.7.9999.ebuild b/net-wireless/gnuradio/gnuradio-3.7.9999.ebuild index ad674115e294..d9ecae20f231 100644 --- a/net-wireless/gnuradio/gnuradio-3.7.9999.ebuild +++ b/net-wireless/gnuradio/gnuradio-3.7.9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) CMAKE_BUILD_TYPE="None" -inherit cmake-utils eutils gnome2-utils python-single-r1 xdg-utils +inherit cmake-utils eutils gnome2-utils python-single-r1 python-utils-r1 xdg-utils DESCRIPTION="Toolkit that provides signal processing blocks to implement software radios" HOMEPAGE="https://www.gnuradio.org/" @@ -21,9 +21,7 @@ else KEYWORDS="~amd64 ~arm ~x86" fi if [[ ${PV} == "3.7.9999" ]]; then - EGIT_BRANCH="maint" -elif [[ ${PV} == "3.8.9999" ]]; then - EGIT_BRANCH="next" + EGIT_BRANCH="maint-3.7" fi IUSE="+audio +alsa atsc +analog +digital channels doc dtv examples fcd fec +filter grc jack log noaa oss pager performance-counters portaudio sdl test trellis uhd vocoder +utils wavelet wxwidgets zeromq" @@ -50,7 +48,8 @@ RDEPEND="${PYTHON_DEPS} >=dev-lang/orc-0.4.12 dev-libs/boost:0=[${PYTHON_USEDEP}] !<=dev-libs/boost-1.52.0-r6:0/1.52 - dev-python/numpy[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] sci-libs/fftw:3.0= alsa? ( media-libs/alsa-lib:= @@ -61,6 +60,7 @@ RDEPEND="${PYTHON_DEPS} dev-python/cheetah[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] >=dev-python/pygtk-2.10:2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] ) jack? ( media-sound/jack-audio-connection-kit @@ -72,14 +72,14 @@ RDEPEND="${PYTHON_DEPS} sdl? ( >=media-libs/libsdl-1.2.0 ) uhd? ( >=net-wireless/uhd-3.9.6:=[${PYTHON_USEDEP}] ) utils? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) - vocoder? ( media-sound/gsm ) + vocoder? ( media-sound/gsm + >=media-libs/codec2-0.8.1 ) wavelet? ( >=sci-libs/gsl-1.10 ) wxwidgets? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] dev-python/wxpython:3.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] ) zeromq? ( >=net-libs/zeromq-2.1.11 ) " @@ -87,7 +87,6 @@ RDEPEND="${PYTHON_DEPS} DEPEND="${RDEPEND} app-text/docbook-xml-dtd:4.2 >=dev-lang/swig-3.0.5 - dev-python/cheetah[${PYTHON_USEDEP}] virtual/pkgconfig doc? ( >=app-doc/doxygen-1.5.7.1 @@ -102,27 +101,24 @@ DEPEND="${RDEPEND} src_prepare() { gnome2_environment_reset #534582 - if [[ ${PV} == "3.8.9999" ]]; then + if [[ ${PV} == "9999" ]]; then true else epatch "${FILESDIR}"/gnuradio-wxpy3.0-compat.patch fi # Useless UI element would require qt3support, bug #365019 sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die + + use !alsa && sed -i 's#version.h#version-nonexistant.h#' cmake/Modules/FindALSA.cmake + use !jack && sed -i 's#jack.h#jack-nonexistant.h#' cmake/Modules/FindJack.cmake + use !portaudio && sed -i 's#portaudio.h#portaudio-nonexistant.h#' cmake/Modules/FindPortaudio.cmake + cmake-utils_src_prepare } src_configure() { - # SYSCONFDIR/GR_PREFSDIR default to install below CMAKE_INSTALL_PREFIX - #audio provider is still automagic #zeromq missing deps isn't fatal - #remaining QA issues, these appear broken: - #ENABLE_ENABLE_PERFORMANCE_COUNTERS - #ENABLE_GR_AUDIO_ALSA - #ENABLE_GR_AUDIO_JACK - #ENABLE_GR_AUDIO_OSS - #ENABLE_GR_AUDIO_PORTAUDIO - #ENABLE_GR_CORE + python_export PYTHON_SITEDIR mycmakeargs=( -DENABLE_DEFAULT=OFF -DENABLE_GNURADIO_RUNTIME=ON @@ -163,6 +159,7 @@ src_configure() { -DENABLE_GR_CORE=ON -DSYSCONFDIR="${EPREFIX}"/etc -DPYTHON_EXECUTABLE="${PYTHON}" + -DGR_PYTHON_DIR="${PYTHON_SITEDIR}" -DGR_PKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" ) use vocoder && mycmakeargs+=( -DGR_USE_SYSTEM_LIBGSM=TRUE ) @@ -214,7 +211,7 @@ pkg_postinst() if use grc ; then xdg_desktop_database_update - xdg_mime_database_update + xdg_mimeinfo_database_update for size in ${GRC_ICON_SIZES} ; do xdg-icon-resource install --noupdate --context mimetypes --size ${size} \ "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" application-gnuradio-grc \ @@ -233,7 +230,7 @@ pkg_postrm() if use grc ; then xdg_desktop_database_update - xdg_mime_database_update + xdg_mimeinfo_database_update for size in ${GRC_ICON_SIZES} ; do xdg-icon-resource uninstall --noupdate --context mimetypes --size ${size} \ application-gnuradio-grc || ewarn "icon uninstall failed" diff --git a/net-wireless/gnuradio/gnuradio-3.8.9999.ebuild b/net-wireless/gnuradio/gnuradio-3.8.9999.ebuild deleted file mode 100644 index 8096356bfba8..000000000000 --- a/net-wireless/gnuradio/gnuradio-3.8.9999.ebuild +++ /dev/null @@ -1,240 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -CMAKE_BUILD_TYPE="None" -inherit cmake-utils eutils gnome2-utils python-single-r1 python-utils-r1 xdg-utils - -DESCRIPTION="Toolkit that provides signal processing blocks to implement software radios" -HOMEPAGE="https://www.gnuradio.org/" -LICENSE="GPL-3" -SLOT="0/${PV}" - -if [[ ${PV} =~ "9999" ]]; then - EGIT_REPO_URI="https://www.gnuradio.org/cgit/gnuradio.git" - inherit git-r3 - KEYWORDS="" -else - SRC_URI="https://www.gnuradio.org/releases/gnuradio/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" -fi -if [[ ${PV} == "3.7.9999" ]]; then - EGIT_BRANCH="maint" -elif [[ ${PV} == "3.8.9999" ]]; then - EGIT_BRANCH="next" -fi - -IUSE="+audio +alsa atsc +analog +digital channels doc dtv examples fcd fec +filter grc jack log noaa oss pager performance-counters portaudio +qt5 sdl test trellis uhd vocoder +utils wavelet wxwidgets zeromq" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - audio? ( || ( alsa oss jack portaudio ) ) - alsa? ( audio ) - oss? ( audio ) - jack? ( audio ) - portaudio? ( audio ) - analog? ( filter ) - digital? ( filter analog ) - dtv? ( fec ) - pager? ( filter analog ) - qt5? ( filter ) - uhd? ( filter analog ) - fcd? ( || ( alsa oss ) ) - wavelet? ( analog ) - wxwidgets? ( filter analog )" - -# bug #348206 -# comedi? ( >=sci-electronics/comedilib-0.8 ) -# boost-1.52.0 is blacklisted, bug #461578, upstream #513, boost #7669 -RDEPEND="${PYTHON_DEPS} - >=dev-lang/orc-0.4.12 - dev-libs/boost:0=[${PYTHON_USEDEP}] - !<=dev-libs/boost-1.52.0-r6:0/1.52 - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - sci-libs/fftw:3.0= - alsa? ( - media-libs/alsa-lib:= - ) - fcd? ( virtual/libusb:1 ) - filter? ( sci-libs/scipy ) - grc? ( - dev-python/pygobject:*[cairo(+),${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - ) - jack? ( - media-sound/jack-audio-connection-kit - ) - log? ( dev-libs/log4cpp ) - portaudio? ( - >=media-libs/portaudio-19_pre - ) - qt5? ( - dev-python/PyQt5[opengl,${PYTHON_USEDEP}] - dev-qt/qtcore:5 - dev-qt/qtgui:5 - x11-libs/qwt:6[qt5(+)] - ) - sdl? ( >=media-libs/libsdl-1.2.0 ) - uhd? ( >=net-wireless/uhd-3.9.6:=[${PYTHON_USEDEP}] ) - utils? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) - vocoder? ( media-sound/gsm ) - wavelet? ( - >=sci-libs/gsl-1.10 - ) - zeromq? ( >=net-libs/zeromq-2.1.11 ) - " - -DEPEND="${RDEPEND} - app-text/docbook-xml-dtd:4.2 - >=dev-lang/swig-3.0.5 - virtual/pkgconfig - doc? ( - >=app-doc/doxygen-1.5.7.1 - dev-python/sphinx[${PYTHON_USEDEP}] - ) - grc? ( x11-misc/xdg-utils ) - oss? ( virtual/os-headers ) - test? ( >=dev-util/cppunit-1.9.14 ) - zeromq? ( net-libs/cppzmq ) -" - -src_prepare() { - gnome2_environment_reset #534582 - - if [[ ${PV} == "3.8.9999" ]]; then - true - else - epatch "${FILESDIR}"/gnuradio-wxpy3.0-compat.patch - fi - # Useless UI element would require qt3support, bug #365019 - sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die - cmake-utils_src_prepare -} - -src_configure() { - python_export PYTHON_SITEDIR - mycmakeargs=( - -DENABLE_DEFAULT=OFF - -DENABLE_GNURADIO_RUNTIME=ON - -DENABLE_VOLK=ON - -DENABLE_PYTHON=ON - -DENABLE_GR_BLOCKS=ON - -DENABLE_GR_FFT=ON - -DENABLE_GR_AUDIO=ON - -DENABLE_GR_AUDIO_ALSA="$(usex alsa)" - -DENABLE_GR_ANALOG="$(usex analog)" - -DENABLE_GR_ATSC="$(usex atsc)" - -DENABLE_GR_CHANNELS="$(usex channels)" - -DENABLE_GR_DIGITAL="$(usex digital)" - -DENABLE_DOXYGEN="$(usex doc)" - -DENABLE_SPHINX="$(usex doc)" - -DENABLE_GR_DTV="$(usex dtv)" - -DENABLE_GR_FCD="$(usex fcd)" - -DENABLE_GR_FEC="$(usex fec)" - -DENABLE_GR_FILTER="$(usex filter)" - -DENABLE_GRC="$(usex grc)" - -DENABLE_GR_AUDIO_JACK="$(usex jack)" - -DENABLE_GR_LOG="$(usex log)" - -DENABLE_GR_NOAA="$(usex noaa)" - -DENABLE_GR_AUDIO_OSS="$(usex oss)" - -DENABLE_GR_PAGER="$(usex pager)" - -DENABLE_ENABLE_PERFORMANCE_COUNTERS="$(usex performance-counters)" - -DENABLE_GR_AUDIO_PORTAUDIO="$(usex portaudio)" - -DENABLE_TESTING="$(usex test)" - -DENABLE_GR_TRELLIS="$(usex trellis)" - -DENABLE_GR_UHD="$(usex uhd)" - -DENABLE_GR_UTILS="$(usex utils)" - -DENABLE_GR_VOCODER="$(usex vocoder)" - -DENABLE_GR_WAVELET="$(usex wavelet)" - -DENABLE_GR_QTGUI="$(usex qt5)" - -DDESIRED_QT_VERSION="$(usex qt5 5)" - -DENABLE_GR_VIDEO_SDL="$(usex sdl)" - -DENABLE_GR_ZEROMQ="$(usex zeromq)" - -DENABLE_GR_CORE=ON - -DSYSCONFDIR="${EPREFIX}"/etc - -DPYTHON_EXECUTABLE="${PYTHON}" - -DGR_PYTHON_DIR="${PYTHON_SITEDIR}" - -DGR_PKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" - ) - use vocoder && mycmakeargs+=( -DGR_USE_SYSTEM_LIBGSM=TRUE ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - if use examples ; then - dodir /usr/share/doc/${PF}/ - mv "${ED}"/usr/share/${PN}/examples "${ED}"/usr/share/doc/${PF}/ || die - docompress -x /usr/share/doc/${PF}/examples - else - # It seems that the examples are always installed - rm -rf "${ED}"/usr/share/${PN}/examples || die - fi - - if use doc || use examples; then - #this doesn't appear useful - rm -rf "${ED}"/usr/share/doc/${PF}/xml || die - fi - - # We install the mimetypes to the correct locations from the ebuild - rm -rf "${ED}"/usr/share/${PN}/grc/freedesktop || die - rm -f "${ED}"/usr/libexec/${PN}/grc_setup_freedesktop || die - - # Install icons, menu items and mime-types for GRC - if use grc ; then - local fd_path="${S}/grc/scripts/freedesktop" - insinto /usr/share/mime/packages - doins "${fd_path}/${PN}-grc.xml" - - domenu "${fd_path}/"*.desktop - doicon "${fd_path}/"*.png - fi - - python_fix_shebang "${ED}" -} - -src_test() -{ - ctest -E qtgui -} - -pkg_postinst() -{ - local GRC_ICON_SIZES="32 48 64 128 256" - - if use grc ; then - xdg_desktop_database_update - xdg_mime_database_update - for size in ${GRC_ICON_SIZES} ; do - xdg-icon-resource install --noupdate --context mimetypes --size ${size} \ - "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" application-gnuradio-grc \ - || die "icon resource installation failed" - xdg-icon-resource install --noupdate --context apps --size ${size} \ - "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" gnuradio-grc \ - || die "icon resource installation failed" - done - xdg-icon-resource forceupdate - fi -} - -pkg_postrm() -{ - local GRC_ICON_SIZES="32 48 64 128 256" - - if use grc ; then - xdg_desktop_database_update - xdg_mime_database_update - for size in ${GRC_ICON_SIZES} ; do - xdg-icon-resource uninstall --noupdate --context mimetypes --size ${size} \ - application-gnuradio-grc || ewarn "icon uninstall failed" - xdg-icon-resource uninstall --noupdate --context apps --size ${size} \ - gnuradio-grc || ewarn "icon uninstall failed" - - done - xdg-icon-resource forceupdate - fi -} diff --git a/net-wireless/gnuradio/gnuradio-9999.ebuild b/net-wireless/gnuradio/gnuradio-9999.ebuild index e2920f5cc5fd..d5a75330aee0 100644 --- a/net-wireless/gnuradio/gnuradio-9999.ebuild +++ b/net-wireless/gnuradio/gnuradio-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) CMAKE_BUILD_TYPE="None" -inherit cmake-utils eutils gnome2-utils python-single-r1 xdg-utils +inherit cmake-utils eutils gnome2-utils python-single-r1 python-utils-r1 xdg-utils DESCRIPTION="Toolkit that provides signal processing blocks to implement software radios" HOMEPAGE="https://www.gnuradio.org/" @@ -22,11 +22,9 @@ else fi if [[ ${PV} == "3.7.9999" ]]; then EGIT_BRANCH="maint" -elif [[ ${PV} == "3.8.9999" ]]; then - EGIT_BRANCH="next" fi -IUSE="+audio +alsa atsc +analog +digital channels doc dtv examples fcd fec +filter grc jack log noaa oss pager performance-counters portaudio sdl test trellis uhd vocoder +utils wavelet wxwidgets zeromq" +IUSE="+audio +alsa atsc +analog +digital channels doc dtv examples fcd fec +filter grc jack log noaa oss pager performance-counters portaudio +qt5 sdl test trellis uhd vocoder +utils wavelet wxwidgets zeromq" REQUIRED_USE="${PYTHON_REQUIRED_USE} audio? ( || ( alsa oss jack portaudio ) ) @@ -38,6 +36,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} digital? ( filter analog ) dtv? ( fec ) pager? ( filter analog ) + qt5? ( filter ) uhd? ( filter analog ) fcd? ( || ( alsa oss ) ) wavelet? ( analog ) @@ -50,8 +49,8 @@ RDEPEND="${PYTHON_DEPS} >=dev-lang/orc-0.4.12 dev-libs/boost:0=[${PYTHON_USEDEP}] !<=dev-libs/boost-1.52.0-r6:0/1.52 - dev-python/mako[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] sci-libs/fftw:3.0= alsa? ( media-libs/alsa-lib:= @@ -59,9 +58,9 @@ RDEPEND="${PYTHON_DEPS} fcd? ( virtual/libusb:1 ) filter? ( sci-libs/scipy ) grc? ( - dev-python/cheetah[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - >=dev-python/pygtk-2.10:2[${PYTHON_USEDEP}] + dev-python/pygobject:*[cairo(+),${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] ) jack? ( media-sound/jack-audio-connection-kit @@ -70,25 +69,29 @@ RDEPEND="${PYTHON_DEPS} portaudio? ( >=media-libs/portaudio-19_pre ) + qt5? ( + dev-python/PyQt5[opengl,${PYTHON_USEDEP}] + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + x11-libs/qwt:6[qt5(+)] + ) sdl? ( >=media-libs/libsdl-1.2.0 ) - uhd? ( >=net-wireless/uhd-3.9.6:=[${PYTHON_USEDEP}] ) + uhd? ( >=net-wireless/uhd-3.9.6:=[${PYTHON_USEDEP}] + dev-libs/log4cpp ) utils? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) - vocoder? ( media-sound/gsm ) + vocoder? ( media-sound/gsm + >=media-libs/codec2-0.8.1 ) wavelet? ( >=sci-libs/gsl-1.10 ) - wxwidgets? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/wxpython:3.0[${PYTHON_USEDEP}] - ) - zeromq? ( >=net-libs/zeromq-2.1.11 ) + zeromq? ( >=net-libs/zeromq-2.1.11 + dev-libs/gmp:= ) " DEPEND="${RDEPEND} app-text/docbook-xml-dtd:4.2 >=dev-lang/swig-3.0.5 - dev-python/cheetah[${PYTHON_USEDEP}] virtual/pkgconfig doc? ( >=app-doc/doxygen-1.5.7.1 @@ -103,27 +106,23 @@ DEPEND="${RDEPEND} src_prepare() { gnome2_environment_reset #534582 - if [[ ${PV} == "3.8.9999" ]]; then + if [[ ${PV} == "9999" ]]; then true else epatch "${FILESDIR}"/gnuradio-wxpy3.0-compat.patch fi # Useless UI element would require qt3support, bug #365019 sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die + + use !alsa && sed -i 's#version.h#version-nonexistant.h#' cmake/Modules/FindALSA.cmake + use !jack && sed -i 's#jack.h#jack-nonexistant.h#' cmake/Modules/FindJack.cmake + use !portaudio && sed -i 's#portaudio.h#portaudio-nonexistant.h#' cmake/Modules/FindPortaudio.cmake + cmake-utils_src_prepare } src_configure() { - # SYSCONFDIR/GR_PREFSDIR default to install below CMAKE_INSTALL_PREFIX - #audio provider is still automagic - #zeromq missing deps isn't fatal - #remaining QA issues, these appear broken: - #ENABLE_ENABLE_PERFORMANCE_COUNTERS - #ENABLE_GR_AUDIO_ALSA - #ENABLE_GR_AUDIO_JACK - #ENABLE_GR_AUDIO_OSS - #ENABLE_GR_AUDIO_PORTAUDIO - #ENABLE_GR_CORE + python_export PYTHON_SITEDIR mycmakeargs=( -DENABLE_DEFAULT=OFF -DENABLE_GNURADIO_RUNTIME=ON @@ -157,13 +156,14 @@ src_configure() { -DENABLE_GR_UTILS="$(usex utils)" -DENABLE_GR_VOCODER="$(usex vocoder)" -DENABLE_GR_WAVELET="$(usex wavelet)" - -DENABLE_GR_WXGUI="$(usex wxwidgets)" - -DENABLE_GR_QTGUI=OFF + -DENABLE_GR_QTGUI="$(usex qt5)" + -DDESIRED_QT_VERSION="$(usex qt5 5)" -DENABLE_GR_VIDEO_SDL="$(usex sdl)" -DENABLE_GR_ZEROMQ="$(usex zeromq)" -DENABLE_GR_CORE=ON -DSYSCONFDIR="${EPREFIX}"/etc -DPYTHON_EXECUTABLE="${PYTHON}" + -DGR_PYTHON_DIR="${PYTHON_SITEDIR}" -DGR_PKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" ) use vocoder && mycmakeargs+=( -DGR_USE_SYSTEM_LIBGSM=TRUE ) @@ -215,7 +215,7 @@ pkg_postinst() if use grc ; then xdg_desktop_database_update - xdg_mime_database_update + xdg_mimeinfo_database_update for size in ${GRC_ICON_SIZES} ; do xdg-icon-resource install --noupdate --context mimetypes --size ${size} \ "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" application-gnuradio-grc \ @@ -234,7 +234,7 @@ pkg_postrm() if use grc ; then xdg_desktop_database_update - xdg_mime_database_update + xdg_mimeinfo_database_update for size in ${GRC_ICON_SIZES} ; do xdg-icon-resource uninstall --noupdate --context mimetypes --size ${size} \ application-gnuradio-grc || ewarn "icon uninstall failed" diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest index 28201023aba5..bb731d93e65a 100644 --- a/net-wireless/kismet/Manifest +++ b/net-wireless/kismet/Manifest @@ -5,6 +5,6 @@ AUX kismet.initd 629 BLAKE2B 5dd54d0f05c65d65682be73f15388e82dc45881d4704b04835e DIST kismet-2016-07-R1.tar.xz 709364 BLAKE2B 5b667a02b517bd413d569f40df1f2a2e1158357c602fa807d712870543a7fade25077f449c07c023ad1d2150870352aa754484846d8c2a0d9f027113bb57c1fc SHA512 88891a0cd5ef94a4815d259e433f946f52552c125e05a5d8ac447d04e6090f2bd92f8bd8573440f0dfe446b29233bef81d9889e53170757ad0116ddfc2cb8416 DIST kismet-2018-08-BETA1.tar.xz 2043136 BLAKE2B f24af4250bb0238073380514413d9501e449cf40507d7a96ac868d76acb34af81b9bf4a49c9b6197b6b903ab33e2318bb5efa22876cc2070e3878ebf030d592c SHA512 09eab9d648f011c95b8632c666990d79f9998465b051a65357f53af19a135a5d58df3025ec60f9ef9a7b7d9b5622d2332bb2defbffd21ca0e25e2e4090ceae2f EBUILD kismet-2016.07.1-r1.ebuild 4191 BLAKE2B 121e49130ad54fc963b011b005fa33ea6d01e71cf699232c744f7a497076b489e8913da9a0341becb21657de947204cd260e95ef46fe111716de1b1b6781b521 SHA512 ceefe51d38f6375629708be15a23a9e382578a8b4474503e2ff61bb912ab3ae313b37f417880f180094439505ea36fdbd9aeab95cbd426cc3f744985615080fc -EBUILD kismet-2018.08_beta1-r2.ebuild 2975 BLAKE2B 152d8f5996f1c2ede46629290f371a20aa5d6ccabe7a9741970eb0e85361deb19377a70c64a1c66446a35bc156d9b972f09ed42c7b6d39f5744429bcaac0d0e7 SHA512 6e360c190a2962c656be53400125295cd80dc46b452c725a00feacc2c97ba088a362b5b83c0c390495a2a74d5428c6fa4605a33abbfb637fa9b1441168466660 -EBUILD kismet-9999.ebuild 2992 BLAKE2B 142d4e9f2c3f0ee3744ae2739e8793ef371ff790df04e25ec07cda66479cc201df7a238fe43c3ef06224b393b607a569144824d2fc1a50b5cb67ed0bd8809af0 SHA512 cef0f24f75eb14a451dfa681df4d6aeab8c227ac67617212c324d458dd46e9d4f8b6d957b6ab2790124decfc77c8273aa8d9b7379433695df5ad1f0dbdfcab6a +EBUILD kismet-2018.08_beta1-r3.ebuild 3013 BLAKE2B 8c7cd86f4c3af3eaeca6278630ccd1107bdbc199185796eaf44a4a5074716525a9ddbabd8c1bbc18bdac9b6baa8c2e006b72a0ee26a9ed60c03015c112266e95 SHA512 3bc7ce21415d3c24bccb6f279d208f1c423fb8e6c49dbab2b00d7202056bc647f051672d2cc3da2c856b49a096a40b92584786c88bc1e8ae9a711f3d14f5c216 +EBUILD kismet-9999.ebuild 3013 BLAKE2B 8c7cd86f4c3af3eaeca6278630ccd1107bdbc199185796eaf44a4a5074716525a9ddbabd8c1bbc18bdac9b6baa8c2e006b72a0ee26a9ed60c03015c112266e95 SHA512 3bc7ce21415d3c24bccb6f279d208f1c423fb8e6c49dbab2b00d7202056bc647f051672d2cc3da2c856b49a096a40b92584786c88bc1e8ae9a711f3d14f5c216 MISC metadata.xml 1159 BLAKE2B 2e72c1c62f31b52445c83b6b0d7695c7f1231de69fbe865e123a18dc0030a0f57586b058a7e738d561f48413e8a6ff0e8ac73428de2c41688e5baa1e4c255af1 SHA512 cf7c0f4c38f0a5e7b9c51c9fc98f5dd49e51159986443687a81d486c8805aea069168832f406a16b36dc6342be063fdbcade74685273fcdd2111ea9a616437d7 diff --git a/net-wireless/kismet/kismet-2018.08_beta1-r2.ebuild b/net-wireless/kismet/kismet-2018.08_beta1-r3.ebuild index c7a5653873cd..1964da67d1e6 100644 --- a/net-wireless/kismet/kismet-2018.08_beta1-r2.ebuild +++ b/net-wireless/kismet/kismet-2018.08_beta1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -32,7 +32,7 @@ IUSE="lm_sensors networkmanager +pcre selinux +suid" CDEPEND=" ${PYTHON_DEPS} - net-misc/networkmanager:= + networkmanager? ( net-misc/networkmanager:= ) dev-libs/glib:= dev-libs/elfutils:= sys-libs/zlib:= @@ -43,6 +43,7 @@ CDEPEND=" net-libs/libpcap ) dev-libs/protobuf-c:= + dev-libs/protobuf:= sys-libs/ncurses:= lm_sensors? ( sys-apps/lm_sensors ) pcre? ( dev-libs/libpcre ) diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild index 0ce34063df3a..1964da67d1e6 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -43,6 +43,7 @@ CDEPEND=" net-libs/libpcap ) dev-libs/protobuf-c:= + dev-libs/protobuf:= sys-libs/ncurses:= lm_sensors? ( sys-apps/lm_sensors ) pcre? ( dev-libs/libpcre ) diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index c1dbff5bf793..5f1efd73763a 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -8,10 +8,10 @@ DIST unifi-5.8.29.zip 80125147 BLAKE2B d7fcfd8ea5c29c79803f4ee715136a82fb69b3e69 DIST unifi-5.8.30.zip 80120131 BLAKE2B c7e53ff047cd3fc6b0b551d8388a739adf86d0518a86c76aa1688534e2a708bdf9d38d30848ad6a41b03aea12de8f038cd5eb8e9186ecfa3c2a1b782464b7e21 SHA512 0d4a714ba875e17ce359b28e2a0a967366125971f021eb95f598c7e4860c03016afadcef0a4bb6e64f30b99afb790b65aaa166ccc31bb31f268412c1a1f1bffd DIST unifi-5.9.26.zip 105216711 BLAKE2B 057e95fb671495bab2082d48c9d0d53b4336a4069a9ff9189c9ea75c537d026c72a526f2e630ca657d4045a2af293f72f7eee86f6031e2f0ca785f0ce32dd92c SHA512 dd36729ceb578fdd26f01601df0603c44cb8cf6f9007e9f178ee2309234d0ab547bb5afa78ec36edea48693077793d18b848ced707c8328e6547d6ec2e693e3f DIST unifi-5.9.29.zip 105327499 BLAKE2B 9c5c1cb804231b72521fce968cb1240b7c64e75621eb6577fe09f43186e90347339159e0cb95e772a936d4d6e82b2ae77126c263fbf25ab244db7e5639972c45 SHA512 f00ba9470d78fa5922e81a5ff2e53927d2a2ec7d08ab543abf4b236ff9fb8761b060083025fc410f72c0ff48c75c915dd3561a3869dc4a2de0f8900e19af0976 -EBUILD unifi-5.6.39-r1.ebuild 1729 BLAKE2B 77a4fb38b6e82763f83f072d595e3f39306aed4ce39f98bfe6783e85eb1c83ab0fc996e94d25b86cd4bad196ae898dace5eb7469147cb3394cda1699ffec1900 SHA512 4415d13c43c30238c756542f6931c12bb6cbcd0163cb6e2c522b6adef39f0c5d3c069d25facdb12575fc0463a8aa3fd479f3274009083a645139d656ce998ae2 -EBUILD unifi-5.6.40.ebuild 1740 BLAKE2B aa300b68d3cb183d434dc5eddb1293222a24459bb75c5dffff0569e28074e7ed2f3fcb1729fc15ea50ce6b81da2aeed2360d299d3b104851afffd5ee894351ed SHA512 a14238e8f4ca296b498e5c341a49624862cc9fe5e83812db153f082073962c1e445c3a9b7d47d978b3f377a599901da6201506a7d6a810f2799ad90f6f11ed94 -EBUILD unifi-5.8.29.ebuild 1847 BLAKE2B e662b7bb5671e1cab72bb5885f158b55c939c688f1348b0ce552b71cec9b60585ad2a1b07505c22189014fb69b08d08d74b345699defe967cdb3078a60252ab0 SHA512 76dbd0bae6d4a34fcb1c67b393a8c57617a9843b2f739637346b734702ec542c22807434f49f42c3c159053899ecd209bb18a33aba6f264cd9aac708db7f496b -EBUILD unifi-5.8.30.ebuild 1847 BLAKE2B 9291340eac295c9cea69d519e6eba42861c58645eac3b2293fd33ac72e926122f3b947b9f90af4af5358f65b309ae87ef3b4f11882bdfe82eaac889539001efe SHA512 806b9db00c410232eaca2f6644d57964ad102cdfddab3973f5a3be7b43f2c303696d6cad81728f5bceba4ece38c670f6ba1e2f934db9956fb9988370b9819774 -EBUILD unifi-5.9.26.ebuild 1853 BLAKE2B f7974d26e3ffab0971739321c10c3791400c28dcc58f80db1c6c7b89f0cd5e7f920d67f6740d20d80e51ae4cccad8a5ae4571c1677690c69e9ef9beff15fb970 SHA512 4953da9851446393aa7cab50668be95ea602262ef7acbeb41e25229b668924897a7b82dad427a00360d9a6b74545a58a204afb9b3fd09a055ead26225c19d0d1 -EBUILD unifi-5.9.29.ebuild 1850 BLAKE2B bf3406794186e599e536e7667cf34143b53afc1c51214211b28aa4325c95858e96dd73c0c83445122d31c69df906173de2122387232b17d7d7ab4a4c3e9d8125 SHA512 0e3a80f2e64d0b37770391550f033e810b957b4051c637bbf2d03ed12405b6b8fd43839d3a3d16a50f35d511f12beb563382b7836f05034881e44e26542177e5 +EBUILD unifi-5.6.39-r1.ebuild 1721 BLAKE2B b3d2d6df884e5fdc1f09c191dda26eeb71cc05b4f2d51c3556d2b6bee834639f616d542a994f95a6c58bce8b9ae8374ace94d448751fed7fb5058dbdf8a6d67d SHA512 c7b7e8d2196319abacf2094ace35e5fdcb56feb9f22939b28839cc0bab8c40e6f7fe9e16cf2c8ae4992e64e9578f7bff7fcfe0011558c93625e73173b6cc992c +EBUILD unifi-5.6.40.ebuild 1732 BLAKE2B 083dba38eb9f1007a2c596704d71b1e3064b1029e9c761c4603e32da466d8718d7a6f1cb4ce7a229916c1d89efd253539147acfbcfa43ca7cdbbeb2549ac2d73 SHA512 974837d60c8f133c8c266c0c7f51fdc7ce08f9ac51cb1f70126ba952e314927878a8200ac437a938296640cfd905e9e19266ba30fd6b3af8a62272738d6c92cb +EBUILD unifi-5.8.29.ebuild 1839 BLAKE2B 970076efaa9aafedb1e93431fcb82c66ae001c3ff715ffbbe7544d0ed57d774ae92756fa905df8cd38cdc9d6d21114b6a664acd8ce93e60884b00a6da6ee078e SHA512 1c2b10eee5d1d11f6dac0642d72c3ad3c82b5b9fe843d5893e372930a70378365f3060eb42e9e62f037b0127346380250d7be2f61b3aa066b14c9956d24ca8b8 +EBUILD unifi-5.8.30.ebuild 1839 BLAKE2B b7cbb450654f49c4b110f0401b2e4aa2ebfc1e9b2e8ced942fb1d5da502c993df9e3f0ca2c7b0b1ccf57418417188bf2130041fa1e4829f0b5acbf6ebbf3cb94 SHA512 b102e3cfa16db09346e1649c8b82d6eef53ef96fa65497b84ca0aad08fca5cf00a4fe49eea21a9349cf4ca26cffa473db9363c943ebdc1bccbaa4e1660bb8491 +EBUILD unifi-5.9.26.ebuild 1845 BLAKE2B a170ca4e9dcbff14b02087224fdec920707983ce08d12c8ffe38535e8fc68c751882ba653699e98e1ec3e73147d5cd252d457ebc0c3bb16a5596cda0e2a789f1 SHA512 e4111035f3bc578e840854262823749d0e0504df627d9b1c0e4b891ad301580667a64b5eb4fdae3d7126b7da561784b46eb959ed7f672628e6465de13a0f28ad +EBUILD unifi-5.9.29.ebuild 1845 BLAKE2B 68f13e0a721aba2a1ca2c6ad497dd5668337d1431979540549183491be516f3e976c05e57168b7388dd7959e872c6a648152b8038da8f708200de29991006678 SHA512 d52c718bcdd4062ead97594992fb089d34d35a87bfe6e22191c79c05f522da8bf5a75c1614c0f03c34cc756817df898a4c1371bec96ff8683410bbe5b9ca0a34 MISC metadata.xml 803 BLAKE2B 5d50d4d0c8353661b471d243682812f77cc9a969d3117c6cf1fff60ecef4e83767b8e235cb0e010383bf1f754a7f1a1261a73427b3bfc1446f7ef08ba837ab36 SHA512 2588b43cf7049379def1b487815c317377e8e04293e54dd6035c50ce612f0ce3ac2039c3802eb7b9b6be172c49aef68f28a547fec5f565e42acaf0d2fdac8abe diff --git a/net-wireless/unifi/unifi-5.6.39-r1.ebuild b/net-wireless/unifi/unifi-5.6.39-r1.ebuild index 4f41ed02126f..ef6294999094 100644 --- a/net-wireless/unifi/unifi-5.6.39-r1.ebuild +++ b/net-wireless/unifi/unifi-5.6.39-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" HOMEPAGE="https://www.ubnt.com" SRC_URI="https://dl.ubnt.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 LGPL-3 MIT ubiquiti" SLOT="0/5.6" diff --git a/net-wireless/unifi/unifi-5.6.40.ebuild b/net-wireless/unifi/unifi-5.6.40.ebuild index 2662c1775fdc..d99b14431c09 100644 --- a/net-wireless/unifi/unifi-5.6.40.ebuild +++ b/net-wireless/unifi/unifi-5.6.40.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" HOMEPAGE="https://www.ubnt.com" SRC_URI="https://dl.ubnt.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 LGPL-3 MIT ubiquiti" SLOT="0/5.6" diff --git a/net-wireless/unifi/unifi-5.8.29.ebuild b/net-wireless/unifi/unifi-5.8.29.ebuild index f5a0a0ce0a0c..2fee194c00ff 100644 --- a/net-wireless/unifi/unifi-5.8.29.ebuild +++ b/net-wireless/unifi/unifi-5.8.29.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" HOMEPAGE="https://www.ubnt.com" SRC_URI="https://dl.ubnt.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 LGPL-3 MIT ubiquiti" SLOT="0/5.8" IUSE="systemd" diff --git a/net-wireless/unifi/unifi-5.8.30.ebuild b/net-wireless/unifi/unifi-5.8.30.ebuild index d1c79951bd3b..f9f4e147369a 100644 --- a/net-wireless/unifi/unifi-5.8.30.ebuild +++ b/net-wireless/unifi/unifi-5.8.30.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" HOMEPAGE="https://www.ubnt.com" SRC_URI="https://dl.ubnt.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 LGPL-3 MIT ubiquiti" SLOT="0/5.8" IUSE="systemd" diff --git a/net-wireless/unifi/unifi-5.9.26.ebuild b/net-wireless/unifi/unifi-5.9.26.ebuild index 0a15e3a72f85..7496ff62a2a3 100644 --- a/net-wireless/unifi/unifi-5.9.26.ebuild +++ b/net-wireless/unifi/unifi-5.9.26.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" HOMEPAGE="https://www.ubnt.com" SRC_URI="https://dl.ubnt.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 LGPL-3 MIT ubiquiti" SLOT="0/5.9" IUSE="systemd" diff --git a/net-wireless/unifi/unifi-5.9.29.ebuild b/net-wireless/unifi/unifi-5.9.29.ebuild index cbdf0853fc46..fab1784a2951 100644 --- a/net-wireless/unifi/unifi-5.9.29.ebuild +++ b/net-wireless/unifi/unifi-5.9.29.ebuild @@ -12,7 +12,7 @@ DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" HOMEPAGE="https://www.ubnt.com" SRC_URI="https://dl.ubnt.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 LGPL-3 MIT ubiquiti" SLOT="0/5.9" IUSE="systemd" diff --git a/net-wireless/wireless-regdb/Manifest b/net-wireless/wireless-regdb/Manifest index d4e615b73699..7dc914df7a47 100644 --- a/net-wireless/wireless-regdb/Manifest +++ b/net-wireless/wireless-regdb/Manifest @@ -2,9 +2,11 @@ DIST wireless-regdb-2017.12.23.tar.xz 21444 BLAKE2B 0fa2b2e998d255c574c810b1bd3c DIST wireless-regdb-2018.05.09.tar.xz 22768 BLAKE2B 6c384b2f1303013572b53380d23b38b00e3b87300897ec79a5dbb8de1d8e9f9b6c1302f19e306384141e894c3f8fbbca48fbc6c78d721979e0657a3d8156fb18 SHA512 37b20960e82f48d25b441d2656f09687d9f16a55ca18be56f805c0d6a689454e2ec372ccaecec201799e6610d8275c0556a1e249bb8758d8964908b3a78d6c41 DIST wireless-regdb-2018.05.31.tar.xz 22908 BLAKE2B 1cf2596d8c7c3b8fa108af7f13479ea362d73a53eab59bda4dcda6fab15777a65e1661267ab1f4978398f6547fd1596492d3a4323b657a54fed829ea956bd6cc SHA512 fda18edd619b294b125a5c1e04e758c04332c6d1d99ed44574321753294c159bd6c6f0c592ebfd91e99d301467e8ee8b97d1ad595cd56b3902bd5f85acd95b8d DIST wireless-regdb-2018.09.07.tar.xz 23312 BLAKE2B b1cbb10e0a8a410757e8ddaed327e7bd959640cd8451e452af6a85e92adca0786d831a811a6dd7b0b791a7e155e9fb547726898f5233ccf2bbf4d18230a6cfb6 SHA512 22205481214def58bc21eb6d199c92d1a438df5db2571a485f96acc89ff03ff1de96e6f4560901c69bda77d7f642dd2d1af24b7488fb96d0ccf6f86780f88d12 +DIST wireless-regdb-2018.10.24.tar.xz 23296 BLAKE2B d9fd3da8ff91514e671d14e3caed628f9bc7e338227b5f1164523f4c8125ae9abe2b998d026f8aaa612fda60ea4bdf3817f9808935cda984e137a75fb5b3ddde SHA512 1bf295a759c8807178eea8b421a2276f23eac8fc51742386867e8589e297f78a8466c011995daaa40b288ffb1db875142f124d93ce637a8967e548e9b5ce2174 EBUILD wireless-regdb-20171223-r1.ebuild 1076 BLAKE2B 8637fc982f8ecb9b717fa7d3090facd20690190fa0d423fa0ca745a8de233de13170c575c5af696b840f7fff2f311d94d1a9b2eb87d81edc01cd693296835ed4 SHA512 5a14a0890ed1adc8ef76d08145dcc62aaa27c24521928c7b6db2bbc53741ee9fa3b8aba60b6f6691d74a052157d3a098d13190f9476acc056bedeedc96da7de6 EBUILD wireless-regdb-20171223.ebuild 921 BLAKE2B b4468cb0bc864b8c78157eb706d94b2982f2cc33c6b458be6f760260da3cbad191cfabd94086e9840baf13e9655781791adec325059c85aa652ebdac867f1cec SHA512 aa24eda52c76c3a34b994aa5b8b16e4df05a1dd89af754141704b5a26ce16b25c63e17b70b1f357cdbbba5bf268ef082047c72a17d92490342c4fb84554238e2 EBUILD wireless-regdb-20180509.ebuild 1076 BLAKE2B 8637fc982f8ecb9b717fa7d3090facd20690190fa0d423fa0ca745a8de233de13170c575c5af696b840f7fff2f311d94d1a9b2eb87d81edc01cd693296835ed4 SHA512 5a14a0890ed1adc8ef76d08145dcc62aaa27c24521928c7b6db2bbc53741ee9fa3b8aba60b6f6691d74a052157d3a098d13190f9476acc056bedeedc96da7de6 EBUILD wireless-regdb-20180531.ebuild 1076 BLAKE2B 8637fc982f8ecb9b717fa7d3090facd20690190fa0d423fa0ca745a8de233de13170c575c5af696b840f7fff2f311d94d1a9b2eb87d81edc01cd693296835ed4 SHA512 5a14a0890ed1adc8ef76d08145dcc62aaa27c24521928c7b6db2bbc53741ee9fa3b8aba60b6f6691d74a052157d3a098d13190f9476acc056bedeedc96da7de6 EBUILD wireless-regdb-20180907.ebuild 1076 BLAKE2B 8637fc982f8ecb9b717fa7d3090facd20690190fa0d423fa0ca745a8de233de13170c575c5af696b840f7fff2f311d94d1a9b2eb87d81edc01cd693296835ed4 SHA512 5a14a0890ed1adc8ef76d08145dcc62aaa27c24521928c7b6db2bbc53741ee9fa3b8aba60b6f6691d74a052157d3a098d13190f9476acc056bedeedc96da7de6 +EBUILD wireless-regdb-20181024.ebuild 1073 BLAKE2B 493b37398960a9ae1e08f9bbbbd95e20ee5c777f26ff0e1e6baef77a5d130656cfbdfbb0c6fbda79479a7241b3f798f4c81741fd8b940602aeceb725a46b7429 SHA512 4069e29d136f4181ad80623827506bb972c2f5219260530f7f4f0c79991580aa43d0ad7fe0caf3eab7c7a5589ad0b467e90bbeb54902823ccc81252657ca3b0b MISC metadata.xml 457 BLAKE2B b9df8d376a76636ad2c8b8e78414889163936311a12421871a57d28c83c249da98a275b37a9b4a32ab979b194eb2ca000f34503dfe01a18c7c61e4044478ffd6 SHA512 0ee51061d82f0d81f263b479b1932666109450df0bf8c72faca8881f0417f2940245a0099ddc785526b95dcfffcc255de8a07f27356239781921dec10827c4bd diff --git a/net-wireless/wireless-regdb/wireless-regdb-20181024.ebuild b/net-wireless/wireless-regdb/wireless-regdb-20181024.ebuild new file mode 100644 index 000000000000..29d121a15679 --- /dev/null +++ b/net-wireless/wireless-regdb/wireless-regdb-20181024.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P="wireless-regdb-${PV:0:4}.${PV:4:2}.${PV:6:2}" +DESCRIPTION="Binary regulatory database for CRDA" +HOMEPAGE="https://wireless.kernel.org/en/developers/Regulatory" +SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${MY_P}.tar.xz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + einfo "Recompiling regulatory.bin from db.txt would break CRDA verify. Installing unmodified binary version." +} + +src_install() { + # This file is not ABI-specific, and crda itself always hardcodes + # this path. So install into a common location for all ABIs to use. + insinto /usr/lib/crda + doins regulatory.bin + + insinto /etc/wireless-regdb/pubkeys + doins sforshee.key.pub.pem + + # Linux 4.15 now complains if the firmware loader + # can't find these files #643520 + insinto /lib/firmware + doins regulatory.db + doins regulatory.db.p7s + + doman regulatory.bin.5 + dodoc README db.txt +} |