diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
commit | eccb70a7f91b2d22582587f26d1a28bb31408b45 (patch) | |
tree | 3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /net-wireless | |
parent | a2810985afabcc31d3eace5e61d8ea25b852ba17 (diff) |
gentoo resync : 18.05.2019
Diffstat (limited to 'net-wireless')
29 files changed, 259 insertions, 669 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz Binary files differindex 4af3d261820b..aef40a08c527 100644 --- a/net-wireless/Manifest.gz +++ b/net-wireless/Manifest.gz diff --git a/net-wireless/blueman/Manifest b/net-wireless/blueman/Manifest index 47e026f35b0c..e4c73e4b9555 100644 --- a/net-wireless/blueman/Manifest +++ b/net-wireless/blueman/Manifest @@ -1,6 +1,8 @@ AUX 01-org.blueman.rules 432 BLAKE2B c81ec47bc68be911b44056e4f0f4dd4e2939d8d5db78fbca9f4ddceb7c8ed0108bff1bc12d83ebfa9ed67f8939fdd0aea712aec4ae964f10d84a4a6077479a37 SHA512 5cea5f5e9f43e9778dd671ecfdf59e79d740abf278cd9a7250efcf790f632d9ff6b08bf82dff96292c45c3424be9dc290bb39c3bf329c853e02e0ae3f7bb213b DIST blueman-2.1.alpha3.tar.xz 977724 BLAKE2B a1b02956249c65bb9dc870f9585f917b17e99d570c2a3f05f505de9ea4ec004ff9ad5d88e958ec84566fdcf0f3fe6cf1965dcdc050241feedbd08fff98d18b22 SHA512 e2ad9aff87148e522705872829e9c4c78a1bfbe29e102b69b1f1f56348743343cb543eaac4c21e157aa579b76f023ca9164700a4a08848f55f17d025cead23a6 +DIST blueman-2.1.beta1.tar.xz 948440 BLAKE2B da1c6935b47b498d8fa2681c9672381bb6242f8fd752f28d2f2874dd4b602927044db1a291246dfd4c0931d934cc32b2516680cb963fec948fa9452d08d69671 SHA512 c7f04f6d65c9228660efc6e4d2e417eef8dd08f1f703a16270fc883f40be2b7d8f1d7e8728f3a0523b854bfef7fed18b58eb8cdae697d9890a76c220ee2b818b EBUILD blueman-2.1_alpha3-r1.ebuild 2777 BLAKE2B 70df84050526f06c2dd073c2b8ba1c78c1697265eb717ef386ce966242f35e960614688230fa95300a647f7d2c442cfb9ec5b606e6423781b48d1dc48a1fcd32 SHA512 3a706364e4fe49c0549ed4bbc1272d9162bc3adbbb229b55bb194e641cac09448ffb0bcec6b3e3033e16dba4fe0bb1919740028baac6a334aa7e25febf3bc988 EBUILD blueman-2.1_alpha3.ebuild 2781 BLAKE2B 7b420137bcc1fad735b663528becccbb0cdd40002afb42b73b637875a1bb9afc8b5de8809b508202185fa578424f05acbf1ed77c82645a9648f39cd19e3949c2 SHA512 7331ed8531e9e027526ffcb5331a57912faadcaa949be4deda66f9e6647fc8fdee64989df9c9b7496ef2e7f482d7286a4af3945b671362084db95425fdc6ffe6 -EBUILD blueman-9999.ebuild 2754 BLAKE2B fca2da113cdc6804ab87a16530fe1b74faeca88245f4ca7de3bfd95d9ec173bccca2d1c48bf0ebf5ae0e611a7c348e7ad7ed92ab97fef37b32c88151197321d5 SHA512 2dfd76de8d90de7b26c10423b2841b37f47715c6df048e6ade812b452277d42a1dd4d58e93306576f65dacb1ca50dbd673cbc9073ee2311928b6cd2cfa1ac67f +EBUILD blueman-2.1_beta1.ebuild 2780 BLAKE2B 7b184eadc3b08275ec5a69be05ffe634a952c4e8734f7eaf8f923d77b397da0c2a4494f0ce692574cc9077310b44b6ab41e004315c7c65bbd3c20614ad276259 SHA512 b8bac18ecab2f956120aab08728bac5ba4568bae21031ba6f7be9fe994a829513625625a875c57db74c9d5a437d4ed39a4a6b2ca9bb8db6ce9e0768ba4120e89 +EBUILD blueman-9999.ebuild 2757 BLAKE2B 30cb997a1c7473786e45728aa447c1c3b3329d8285033b26115bd29342b731201747ce80eb45004df82f5661fdc534c1ecb2ce37363ed5409500ad86bb604ed5 SHA512 02cb66900dddb5a3cecd25c24f20eef45daea1eae5f6fde4b44e17da5e795c530e6ed00c5a89a2ff7620409d152cccb752a6fef05668b8757e404e5ec04469e1 MISC metadata.xml 688 BLAKE2B 60db2d7f9a0b7a9cb49845de2720dd1ef20fe18b3c85a0b95387aa8b3e801aa9edc2ab0e66b69c2d27ca148d1358ae347ceb81cc5a94def15fe7b7966424f35b SHA512 372797b89a2f56312d68bd0719af15c273fdb15a90172d2752ea22f5404d3e054075fd5d1edb08b280d842dcee6b52e2cdf5b18b296b230b6e4a76d4c6fe0bad diff --git a/net-wireless/blueman/blueman-2.1_beta1.ebuild b/net-wireless/blueman/blueman-2.1_beta1.ebuild new file mode 100644 index 000000000000..6f86023ac9c9 --- /dev/null +++ b/net-wireless/blueman/blueman-2.1_beta1.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{5,6,7} ) +inherit gnome2-utils linux-info python-single-r1 systemd xdg-utils + +DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager" +HOMEPAGE="https://github.com/blueman-project/blueman" + +if [[ ${PV} == "9999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/blueman-project/blueman.git" + KEYWORDS="" +else + SRC_URI="https://github.com/blueman-project/${PN}/releases/download/${PV/_/.}/${P/_/.}.tar.xz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +fi + +# icons are GPL-2 +# source files are mixed GPL-3+ and GPL-2+ +LICENSE="GPL-3+ GPL-2" +SLOT="0" +IUSE="appindicator network nls policykit pulseaudio" + +DEPEND=" + dev-python/pygobject:3[${PYTHON_USEDEP}] + >=net-wireless/bluez-5:= + ${PYTHON_DEPS}" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + virtual/pkgconfig + nls? ( dev-util/intltool sys-devel/gettext )" +RDEPEND="${DEPEND} + dev-python/pycairo[${PYTHON_USEDEP}] + sys-apps/dbus + x11-libs/gtk+:3[introspection] + x11-libs/libnotify[introspection] + || ( + x11-themes/adwaita-icon-theme + x11-themes/faenza-icon-theme + x11-themes/mate-icon-theme + ) + appindicator? ( dev-libs/libappindicator:3[introspection] ) + network? ( + net-firewall/iptables + || ( + sys-apps/net-tools + sys-apps/iproute2 + ) + || ( + net-dns/dnsmasq + net-misc/dhcp + >=net-misc/networkmanager-0.8 + ) + ) + policykit? ( sys-auth/polkit ) + pulseaudio? ( media-sound/pulseaudio[bluetooth] ) + !net-wireless/gnome-bluetooth +" + +S=${WORKDIR}/${P/_/.} + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +pkg_pretend() { + if use network; then + local CONFIG_CHECK="~BRIDGE ~IP_NF_IPTABLES + ~IP_NF_NAT ~IP_NF_TARGET_MASQUERADE" + check_extra_config + fi +} + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + local myconf=( + --docdir=/usr/share/doc/${PF} + --disable-runtime-deps-check + --disable-static + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + --with-systemduserunitdir="$(systemd_get_userunitdir)" + --with-dhcp-config="/etc/dhcp/dhcpd.conf" + $(use_enable appindicator) + $(use_enable policykit polkit) + $(use_enable nls) + $(use_enable pulseaudio) + # thunar integration is a single data file with no extra deps + # so install it unconditionally + --enable-thunar-sendto + ) + econf "${myconf[@]}" +} + +src_install() { + default + + if use policykit; then + # Allow users in plugdev group to modify connections + insinto /usr/share/polkit-1/rules.d + doins "${FILESDIR}/01-org.blueman.rules" + fi + + rm "${D}"/$(python_get_sitedir)/*.la || die +} + +pkg_postinst() { + xdg_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_icon_cache_update + gnome2_schemas_update +} diff --git a/net-wireless/blueman/blueman-9999.ebuild b/net-wireless/blueman/blueman-9999.ebuild index d7fc408394e5..685f3219bdb6 100644 --- a/net-wireless/blueman/blueman-9999.ebuild +++ b/net-wireless/blueman/blueman-9999.ebuild @@ -4,7 +4,7 @@ EAPI="7" PYTHON_COMPAT=( python3_{5,6,7} ) -inherit gnome2-utils linux-info python-single-r1 systemd +inherit gnome2-utils linux-info python-single-r1 systemd xdg-utils DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager" HOMEPAGE="https://github.com/blueman-project/blueman" @@ -18,7 +18,9 @@ else KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" fi -LICENSE="GPL-3" +# icons are GPL-2 +# source files are mixed GPL-3+ and GPL-2+ +LICENSE="GPL-3+ GPL-2" SLOT="0" IUSE="appindicator network nls policykit pulseaudio" @@ -31,7 +33,6 @@ BDEPEND=" virtual/pkgconfig nls? ( dev-util/intltool sys-devel/gettext )" RDEPEND="${DEPEND} - dev-python/dbus-python[${PYTHON_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}] sys-apps/dbus x11-libs/gtk+:3[introspection] @@ -106,16 +107,15 @@ src_install() { doins "${FILESDIR}/01-org.blueman.rules" fi - python_fix_shebang "${D}" rm "${D}"/$(python_get_sitedir)/*.la || die } pkg_postinst() { - gnome2_icon_cache_update + xdg_icon_cache_update gnome2_schemas_update } pkg_postrm() { - gnome2_icon_cache_update + xdg_icon_cache_update gnome2_schemas_update } diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest index 337a40bdd877..8460210b64c1 100644 --- a/net-wireless/bluez/Manifest +++ b/net-wireless/bluez/Manifest @@ -7,5 +7,5 @@ AUX bluez-5.50-btpclient-header.patch 345 BLAKE2B 0418270a696b9a682a3f74f35af641 AUX bluez-plugdev.patch 469 BLAKE2B 611a9971e4614ab32ab62e8d2dc23e4a98b59c02ad8303ed0dc10831ab9023665436cfa9c47f8ccab7f83ab2b46ca8369ce53c5084ba7bf649c3ea89779882af SHA512 b7e23b6f52e6f638e6d5deed4e901136c40bc1cbfb302ada8d85873e1792b4e3605802a2c5f786d5d6d53bf4651fc5b611396aaafe5eff90578650c448a5a7a2 AUX bluez-udevadm-path.patch 568 BLAKE2B 7c9d6fad4779cec9ee110c9f0723fe669e5990750674cfdf6fd7395db3c0bf4520f4d81896d802cf62a25d1abbf46784f09c581a1fb0b72ef8a27131d4cf65d8 SHA512 a1af572809ec71a1796ec66fa1d2fcea6fb7624bdb9a629791707b182310bf41d1a109cc19e0fe034f4b4ae5e5816d809ece2eb4410e7f47827ec1b86c82b3a1 DIST bluez-5.50.tar.xz 1755384 BLAKE2B d70763a80fa233cd31fbefc44f73ffceb54c2d7b64ee83df0d2dafb039771d2b18e69dd44b35b2cdf8eee97553c02deca2281f7ec54e958218cf6c4b364a8516 SHA512 64a680e4b3c270bc2439610c91ad2aef36131d84401e4bbdf6c2b7ec8708a19dfc942b31b9189c38a97ca072c761c669ae1aace5f4ff5d06de3ccbf33184be45 -EBUILD bluez-5.50-r2.ebuild 8158 BLAKE2B 1196c2af1f1a68036cc5a1b6c2c8f8a90b5f0ec135a34a857cfb4bef3d2301c67b0cf89d12914dbccd099d1412da432f68f953ea9a09d1987fc8da2172c2aeea SHA512 0ec5379f269896fa867ee5cae7fc4846d26ee3f49d1be7861a8c62336faa8c36b385714399ccabd93d58c900d28c8db098cd90c4afbe980cf2b27387dbe0a821 +EBUILD bluez-5.50-r2.ebuild 8157 BLAKE2B 8156c32dd8c0df0f84e48971a23f1bfabcbee9dee023390d4e8b0747ef2cf895811fb097242e3eb7402f1b716b2f18b5ed5eefd8929e1e2f5df46c0f401630cf SHA512 ef118fbbedad97e9a99601f60cdd32c02eab7ae782ab875c8126ed921a00ff8117cc3f31628605b08ff1169ebe1858b26b80e9b3ff36ca0c3216cc7ca9acdc7f MISC metadata.xml 1173 BLAKE2B 1c9c14538f8686c8b6f99aced931cac0235f0bb86d2e8962ace5174c486b5e7436afc1db3bb493778e70be5b5b389964f0aa8e8925093e08490f98cf6aa6b79f SHA512 151424ecb4edbcb1c632453b42e22114cb9a4ac07a41211735ec28b18072a69a1286b4b9724701016a748df3a519daeb5ef5a3611def327fc2bd461547891de4 diff --git a/net-wireless/bluez/bluez-5.50-r2.ebuild b/net-wireless/bluez/bluez-5.50-r2.ebuild index 292961e7f3f3..5415ba0b6795 100644 --- a/net-wireless/bluez/bluez-5.50-r2.ebuild +++ b/net-wireless/bluez/bluez-5.50-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" LICENSE="GPL-2+ LGPL-2.1+" SLOT="0/3" -KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 x86" +KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 x86" IUSE="alsa btpclient cups doc debug deprecated extra-tools experimental +mesh +obex +readline selinux systemd test test-programs +udev user-session" # Since this release all remaining extra-tools need readline support, but this could diff --git a/net-wireless/chirp/Manifest b/net-wireless/chirp/Manifest index 8e0dbfea559d..65d108de374d 100644 --- a/net-wireless/chirp/Manifest +++ b/net-wireless/chirp/Manifest @@ -1,4 +1,4 @@ -DIST chirp-daily-20181128.tar.gz 779686 BLAKE2B b5efe910b5cae7ec33649898626ed6dbe7f6da700f86a9950e0f7f99ba0149d8490e4ed366d0293a3c3ed84b094b6b624f02010f0c504f640f861f848575651e SHA512 8d759b244303aa5bc11d9a013a9235eaa9f50853bbc671f1687cfc35aa07b1b6bc355bdd8d9adb79ac9ae70a8053cc67bddf22ba3fac897696ac674a2b760ceb -EBUILD chirp-20181128.ebuild 1136 BLAKE2B 80dd94f5d6c250d7d0e8cd0bf74905d8151f1757ecefde4e56ed2a2d90dfd46e6330f86c38363b7000ab336ac6a87f7f72957469a1b9559a5f3637459c893a74 SHA512 a4eba8d48581fe6e0251af9f4ae07f50d3a7ddb75a892c01533854f10502b4c552c7fd6c85cf6dcb332b4f10e88b27922886562c2d3fd47eba0f15f90ce8fc15 +DIST chirp-daily-20190429.tar.gz 855701 BLAKE2B 155fcfe26ca0f827b67578003bece8235f6a6e54641bbc14b0006c9866a9307ca5b5573a3964b2f8848a81b6046bb0f7d19a9873ca950bf8e67e57d18025d71b SHA512 8c939f5fe608ac9f5fccdc41e39b16854cb5edb2afdedd87b9048f1288364147605e9683c173e2d9feb3d974d77505ec07191879fe8c75baceb0fa43f6c0d9dc +EBUILD chirp-20190429.ebuild 1136 BLAKE2B 37c63e5caba2ea329dfc650932331ca2b7f3fd1dd8019bf4052d5063b7076213cc414cb06f59d5069105c9ee56fd699d17e07cf165df7fc7a3021ee2fbd0c934 SHA512 c7796d56d8ae00ae87b29ecd654951e2ecc86f914064c19b031a9efdd2bee7b8b9ece38d7e22556c8fc533a13fc1e0c9aef161de9926b70b33e1eea69d33d196 EBUILD chirp-99999999.ebuild 1139 BLAKE2B ddd873216fe53fd35ff3f7395d05b3c95cc5434e326de6abe65bf3a928e6f9fd9f0def0d00609c1be53b76376ba14f257aba68d270803fbe7c8412052252ba68 SHA512 7b49e6b80c1a6acea83085a3eeb2c2e5172b93fc90ed5d0e87b63e742c98ca32a9bdcb8252a5ba990244abddee9e25abae042675bd3f59a148ddfb6531964fb9 MISC metadata.xml 457 BLAKE2B 1f7caba85f5961ded80d4d421e260465f69de0549bf2f50186bbad8d75ff090e6b6bbf8e2a73b732b164f8210faec27051ae24e2fe677fc3a00c0960e7b39d38 SHA512 748db876146f4074e0ea1290e451f3f06531fc24ea823eff121dfa6ac58a95af0cd819ae0832417a74725a0ff61384c921906050128d144412c9f3b56edf8c67 diff --git a/net-wireless/chirp/chirp-20181128.ebuild b/net-wireless/chirp/chirp-20190429.ebuild index 7e3904b009e6..fe466120796c 100644 --- a/net-wireless/chirp/chirp-20181128.ebuild +++ b/net-wireless/chirp/chirp-20190429.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 diff --git a/net-wireless/crda/Manifest b/net-wireless/crda/Manifest index bba6dd80a1ea..876ad9d2bbe7 100644 --- a/net-wireless/crda/Manifest +++ b/net-wireless/crda/Manifest @@ -1,5 +1,6 @@ AUX crda-1.1.3-missing-include.patch 231 BLAKE2B 5bbc51cc0dc4dc553aa017b3557372a7cdc507fa09da7220794d9db2806ce969baba27360d822b9bc8be5dfb521a5fd6a7c0347c5013233e9642852024dcedb7 SHA512 d24f11a36e798e1da7951efbcd3925d7728a2519c75ff289bfaadc92090f17fb5b9b21010ad960fadfffe6c949b63eddc2b8282508fd5947486f31495cca2afc AUX crda-3.18-cflags.patch 895 BLAKE2B 0a8d8acb268ff58656a5b66a77744c14fd9f92fd6a660132f2a86a88a3cd5bde4bf39709c38f2705fe999bca312a991304b673d4d12a540cecffd1fcc4ec5cc1 SHA512 c4914cd0d4b0d3f0d16aaf4ff3cd91f961870bc0376f90998b1ec149f145dd347ff79763e8da12b5865a1c6e507a0ee8d306886ffe96fa80426c3bd914a5889d +AUX crda-3.18-ldflags.patch 388 BLAKE2B 57d3ce3fccba1db8ad8bbfae2ba8e8dcd03bdd94c424761902bc2ea552c006c3e4ef1d8b913f095ba3601895bc29917d01c1e8f046a159b2b006b174bed7bf62 SHA512 3a53d3567fa9b3ff85d4e443124ea2637e5eb489ade4f160d8f1de92553a3a33c3eb9f9d80005ceac03b50e5c4aa7f0990bca3547c145644ab66985548c32e9f AUX crda-3.18-libreg-link.patch 908 BLAKE2B 60d9307ba43235cbce089835ae7406313b9f68a90fbe503130e81fb423e04d3f257e1a1d78db9fef605e42a4d9571c54e8ac9cb8a2569d3c3cd3f5c6d542a295 SHA512 41c98f1e4ca0ae3d22b08086eb54aefd4ec95fed5a6e5fafd55fb6a9b9649ec18f5f65003a1424cf59bf99e266fddf110c92d9e46a4b40a18be5931fc7bbbbeb AUX crda-3.18-libressl.patch 410 BLAKE2B c341e349348eb7ce1ca3979865a2a984e44e62786508fe4d93c461abdded1f1169a87a72d90ce4518e3aed1307a4624857e6a563868b303e297a56e6fbf92211 SHA512 205f06886ea5a43f870bc38f3a548ee0f2e10ebc461c3748262bfda521c6145f625ee261089256d3c5dc5d791d1688d072a3f4299ca8af89f311c3f9a74ecc69 AUX crda-3.18-no-ldconfig.patch 748 BLAKE2B 1ef8aff911a5f4af14fb321782cfb40abc8a946dc80af95ec2c2d50e509f318d84be36190c5b899c882b6173617746600b04bf6d0c282a59c568c44e2f255d16 SHA512 faea7d4bfc0b1a4a674cb6c285975805985dc4211c43ca47da38102cb79a1d6d770aa6267e85d811998f9a13799335cfb6116f272ed40c4ecd6b3f813ca93a28 @@ -10,5 +11,5 @@ DIST crda-1.1.3.tar.bz2 38697 BLAKE2B 5ca68362a134e6f5fad1a450edc3cfc083686d4575 DIST crda-3.18.tar.xz 61516 BLAKE2B 76feac7fcf85b03b39bfe78de444515f54cd513041f81f7588cd7866e5bf072d000ad0c8df181ccacde7fc8125ed04ece00d5d9d3013df759b5f9fd05f8cfd56 SHA512 57ae6309159f396448f052c127f401c2f63d47f4193e87dca231c4b7bbbd7e69b5e5666f356fc76dfc8a6ae58ffa55c3794428d6eb34d9937df77c4276036588 EBUILD crda-1.1.3-r1.ebuild 1611 BLAKE2B 9e28635e093a1746b5b8d27cab156400f6aa7597054395058c0d91722d358ca581fb871b29d8e1a7bdf992b75903464006b2afa3ed001c75fd31adac9c0ae0e8 SHA512 de63b4c8ffdcb047c6d2dead406734e2cf1a3275918a88d64ff58cc0e27870f9355e3011d690609b92d18db09d788c0f65e673b1508c3f6efba58e8262a66e61 EBUILD crda-3.18-r1.ebuild 2070 BLAKE2B 50b262cb62ee430d28e11383e53e8840d82f453d0cdaba60a1968f8dada923788f2679c5592ebd9a5b12ae6a3b471c9d7a55a6d61fa538cb17b6769caa6408c4 SHA512 5794efc8708aeeda30e03f17b22c47e03dc9d6a9274f52d18d5de94c4d3582cf427aaba77edee13f4183ec144609072276b11dbdf9433a9ca96028e3c0ec31ec -EBUILD crda-3.18-r3.ebuild 2129 BLAKE2B e14e277b0649cec25afaaf0dbf8436f5b2b7b48c0d883343956c6511675129b7babe67862b63f848ca78d890e06037ee62af85fe18366a14e441c28fc581cef7 SHA512 e7775545e7257ea3c4f22ad64753038e5f665ccf9c73afbb1b9fa48f03d8f4c3ccefd533b19d674315697fd3948d4c3dcf5eb411deed056e47d8e667cb2ed49b +EBUILD crda-3.18-r3.ebuild 2168 BLAKE2B 47ca867690171debd768daabe9b4ceff84fe1e31933ded3f0669ef37bba8c2c342f61d8160517df3880b90ea78c9afca977f7102153671cd2fe6c9756d5cf355 SHA512 7ed36b9c9406dfc6690ff86bb0264783371692c362fbf7ed5e520283dce45e4551b62cc8617494ad0060831ea62ba2301b16b8c4488ed18dbe33ca9321f6c5d1 MISC metadata.xml 341 BLAKE2B 3164318aaf0c333f739b8c863660b2b77844b0aa7cdca818358f566dd6cfbf585e1b6661373e58e6c1116771cb4f23c962e27b24bf325cd415ee23a035d5d8a2 SHA512 ca1f9e4b85c7921ab86bf2b5c6be5c8ad07ec900ec23e0c602cc63e815c4e0036fc3ab03470debf645b4f3d444d986f16f9a120af56193d902150e15156f9d59 diff --git a/net-wireless/crda/crda-3.18-r3.ebuild b/net-wireless/crda/crda-3.18-r3.ebuild index c278c0611d91..a4dd9134d4bd 100644 --- a/net-wireless/crda/crda-3.18-r3.ebuild +++ b/net-wireless/crda/crda-3.18-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 2008-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ SRC_URI="http://linuxwireless.org/download/crda/${P}.tar.xz LICENSE="ISC" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" IUSE="gcrypt libressl" RDEPEND="!gcrypt? ( @@ -39,6 +39,7 @@ PATCHES=( "${FILESDIR}"/${PN}-3.18-libreg-link.patch #542436 "${FILESDIR}"/${PN}-3.18-openssl-1.1.0-compatibility.patch #652428 "${FILESDIR}"/${PN}-3.18-libressl.patch + "${FILESDIR}"/${PN}-3.18-ldflags.patch ) src_prepare() { diff --git a/net-wireless/crda/files/crda-3.18-ldflags.patch b/net-wireless/crda/files/crda-3.18-ldflags.patch new file mode 100644 index 000000000000..5ba9165c7adc --- /dev/null +++ b/net-wireless/crda/files/crda-3.18-ldflags.patch @@ -0,0 +1,11 @@ +--- /Makefile ++++ /Makefile +@@ -115,7 +115,7 @@ + + $(LIBREG): regdb.h reglib.h reglib.c + $(NQ) ' CC ' $@ +- $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(filter-out -lreg,$(LDLIBS)) ++ $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(filter-out -lreg,$(LDLIBS)) + + install-libreg-headers: + $(NQ) ' INSTALL libreg-headers' diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest index b69a4b01a0b5..c7e2c4e53185 100644 --- a/net-wireless/iwd/Manifest +++ b/net-wireless/iwd/Manifest @@ -1,12 +1,8 @@ -AUX iwd-have_config_h-fix.patch 2719 BLAKE2B 1b7f2bd3a58f269f44db3664d9d9aea12d5b9c9d0ed1bde656a51e6a97b12319b71c43432a80e18dec0deebf1ea7da93c03b144f2c1bf558fe810795adcf2eea SHA512 8b0f29ca370a781b452dd7a33d04d7ecd5a5fa02aa8d4e7863fec16bcd739f47319981ff62e372ec0838cd94c21c66f7c259a1074ebdf7efbc0562b1d5522d4c +AUX ead.initd 243 BLAKE2B dcd843a764c28064eb6bb6c0be6c64482df0ab0fa01e14831f0060719bfe0038ca75d9b0e79d78a234627a15c53da16151094c6cc6d48a049ae6ac3c9b1714a2 SHA512 1b39b25736a11870f5e740b5702b6f18b1714cc06df7e3462cd74d116cfaa82175801f336141f3fdf86be33aa97fcebf32d9c080d80419bbc548ad540ab7bd7d AUX iwd.initd 246 BLAKE2B 02a422e96de99256e55f2ed86cfd9ed43bf93130021c523d0e4600ab1b7e34212a56def5ab2819c79e2d60cd63e70de4d7c31ae349326b9a15c35a025da4df29 SHA512 699f51082cb44d5ce52ea9dbb9adc4b0eeff945461c66ec4bfcb9d8f26fcc13aee3e7fe69b406d0a7e1ca89af24e655e830c7a61e028a1c0fff1ef8a2b3e153a -DIST iwd-0.14.tar.xz 700844 BLAKE2B 69f3a1e5ead28cb602e7638e44d2a42a1b25831b837bf5f1d3436d3832a0548da7c3afe9f748688c194cf9e9bc5ea9303924ca1d36dea36d9e2233c245fc25eb SHA512 91713b3cbe8830abb95705e67c7b66f1ced368fe83eeaad36170da9df22b965e97485068e9342e09291aee669890de8f328e33fc3f092ba45097f523d83c7484 -DIST iwd-0.16.tar.xz 717880 BLAKE2B b4d1f3ebfc2f98920b205aefdf340cd55d803967a2b776e0798f1728cbd78e6be9b862f77b423ef2555b5f990341ef9b1e6f2aaf7460f08f37205a7edbaeda82 SHA512 33b10516fb203eb92651e18ebff8448874452fad9425470bf4306b4d75a512d386561ed4fcd251c54175ac6953e29f6574175e4e9b18c88e55009f670f29ddb1 DIST iwd-0.17.tar.xz 720500 BLAKE2B 8bd931421663b71eb7bbdc4a72e10fe325ede4a3d075a8d477ee80040f23d3a8645f1c8c24f8c5f3e615049273968ea48687bcbc5480d05af3aabf135d0e7118 SHA512 fcec43cb9d470dec783fcafd8485e2e25f7c5ccc4283bc58c299fb816609b4e03ca241f1fe9f73025a08863e89ae8d7b7ceb6ae02524eb681a61079c5a28534a -EBUILD iwd-0.14-r1.ebuild 2652 BLAKE2B cb88827c197d5968827d0c397ba6bbf3e8e88223dd4a015d3f2a4f8490cce34ddb59a7bd9c6587bf9845b051be5c500a6ae66c940318a412ec5f389dd80fc72d SHA512 af3ac14678611104d0cc7d623b81fac240a593fcb7d87e8eebd63b000d8e1ae9d2e47cc0a3f37ad207b7b8d798040e64c7caa0e163651355da6e80da1014de1c -EBUILD iwd-0.14.ebuild 2615 BLAKE2B c14acea16c834b36a420fb17e3bec2533fed073d1cd6406b6a786a1a2e31cb28851cfe8160034c4201fb0c62b9df05dbf0a3cade9377934da4badf3308f12643 SHA512 beb3e69e994ca383530bdd8660d0ea1f33d04ce2cee13a84d1addc0fbf9f3ed0d3c8b1078c3c02e2ca89ee4b104c04a3812fa710b904fe8ad497908dbd156d05 -EBUILD iwd-0.16.ebuild 2909 BLAKE2B 1923b128df85fbfb4979c8d7558ec7a24b3df3342b03de1a818808f298ef998d4df8dad7ec1e4412293984a115cf3ee70291c26b5588b642bd6c295c89f4e59e SHA512 516e0e4917f18b58d18c647430d01ffdda5beb5e1c909c0b537014718d33194fe53042014bcaf853aff29904f71cbd35ca64899772fa8fcd8bceaa4a8bd86118 -EBUILD iwd-0.17-r1.ebuild 2888 BLAKE2B bc32d342d643b7b0b653bbcd1f5f1ffee33b47239c4766c1f23a05b95dc2203196c8f38130dcaf1e8b0465916e5de552ad7b03ef711e0f221e1cbe964d9b482a SHA512 3e5915506ade402d413fe739bf1f8f5ae7fedea42f5a3f0b3a3ec70c4977189d98a278a51f5bb0a711b236a7ff906b963575cbb78c2558527e1f6ff781ca8423 +DIST iwd-0.18.tar.xz 738168 BLAKE2B b37bde01952542583d82439639c39c06a1a5b6c359bbd092e631be6d25975498eb9bad9f71f3eeaa4b571e9d195e6f1113b17f758f386d49e6ee2d2cf071387f SHA512 0eb5558f7bafe521aaf80f24e5818c1fb0dfa6445c671c4454d3a4f67f97643a1232709b1e9c376cbe09dd7ba521651e1e46328cce0bfe1befe15668d6081cd6 EBUILD iwd-0.17.ebuild 2854 BLAKE2B 06f93df8287f832865068dceb4fab0663077a9dc70fd638ad8a8d011ff7500bfce80525e0cb50a1c26aff2289aa8db26b9be7aa54cb8e7ba3e91983b3ca689e1 SHA512 867781ef69f9486ed2ab971e38ff5c88de76508a08604977836ec8d81e0a3588749af4cb47219a1332ac294e310e5f2dfd598c40e11c30268f0b59d320496cc1 +EBUILD iwd-0.18.ebuild 3798 BLAKE2B 80da5037232d27a1e8fdb39807eb426eaec3372a0f3d9151c6861bfef8ef959f4555ee522863c626a302447e7fa3ace98ec66d04c96d3451e4ef55e3ba87fb0e SHA512 b77f776a9c079af6e34854d44c687ca97770a91f92805174a2ebf9a4091815f67b85139151c884af5b888f5551e846ee0b5f8d57cc5070e7623151c1307a4b95 EBUILD iwd-9999.ebuild 2854 BLAKE2B 06f93df8287f832865068dceb4fab0663077a9dc70fd638ad8a8d011ff7500bfce80525e0cb50a1c26aff2289aa8db26b9be7aa54cb8e7ba3e91983b3ca689e1 SHA512 867781ef69f9486ed2ab971e38ff5c88de76508a08604977836ec8d81e0a3588749af4cb47219a1332ac294e310e5f2dfd598c40e11c30268f0b59d320496cc1 -MISC metadata.xml 507 BLAKE2B fbe55ec45043cda66a6e67c2fe1c74963f555888bea54648c555a856c2c7b2b416adfdd27f8e36e87fb6159900ae3688ef343f327346bf28475556ec82704ec2 SHA512 31f01f5a9f5076bd8280fff136dac3ddac33c22997246cbe8d63df401a1c4c97ef66e0b081d3698c63ec34548d839c00eaaa165cbec53b5ad31fc5f07e8dfbff +MISC metadata.xml 623 BLAKE2B 59adc818adaf90dcb719531a1fde1507d2fb5f3ef33ad7f45ce39876e0e008cd2dc931da58c6d4092c1c57ebc8bfed704a0a7acf92548620c009202e274e76d7 SHA512 3253bfe989a6393d984fb25db1eb1576c670dde4af9aa1b6a4e34673a493b4869f70d1cb1bb502e2d28be8cf15dc595e5e594b7c988752aa9405b0b680a3273b diff --git a/net-wireless/iwd/files/ead.initd b/net-wireless/iwd/files/ead.initd new file mode 100644 index 000000000000..b1bbcd92fbb8 --- /dev/null +++ b/net-wireless/iwd/files/ead.initd @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +pidfile="/run/ead.pid" +command="/usr/libexec/ead" +command_background="yes" + +depend() { + need dbus + keyword -shutdown +} diff --git a/net-wireless/iwd/files/iwd-have_config_h-fix.patch b/net-wireless/iwd/files/iwd-have_config_h-fix.patch deleted file mode 100644 index 45ad8655127c..000000000000 --- a/net-wireless/iwd/files/iwd-have_config_h-fix.patch +++ /dev/null @@ -1,140 +0,0 @@ -From 23041a44dd6c3fcaa18e5cb3f63140e3cb76d6b8 Mon Sep 17 00:00:00 2001 -From: Marcel Holtmann <marcel@holtmann.org> -Date: Thu, 4 Apr 2019 14:02:38 +0200 -Subject: build: Add missing HAVE_CONFIG_H guards and include config.h - ---- - plugins/ofono.c | 4 ++++ - plugins/sim_hardcoded.c | 5 +++++ - src/eap-mschapv2.c | 4 ++++ - src/nl80211util.c | 4 ++++ - src/plugin.c | 4 ++++ - src/sae.c | 4 ++++ - src/simauth.c | 4 ++++ - src/simutil.c | 4 ++++ - 8 files changed, 33 insertions(+) - -diff --git a/plugins/ofono.c b/plugins/ofono.c -index 077045ff..fc2561f6 100644 ---- a/plugins/ofono.c -+++ b/plugins/ofono.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <stdio.h> - #include <ctype.h> - #include <stdio.h> -diff --git a/plugins/sim_hardcoded.c b/plugins/sim_hardcoded.c -index b5ea6b09..6e87f347 100644 ---- a/plugins/sim_hardcoded.c -+++ b/plugins/sim_hardcoded.c -@@ -19,6 +19,11 @@ - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * - */ -+ -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <errno.h> - - #include <ell/ell.h> -diff --git a/src/eap-mschapv2.c b/src/eap-mschapv2.c -index 78404e22..e1f4ab5d 100644 ---- a/src/eap-mschapv2.c -+++ b/src/eap-mschapv2.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <ctype.h> - #include <stdio.h> - #include <errno.h> -diff --git a/src/nl80211util.c b/src/nl80211util.c -index 0d690e86..a9c3914a 100644 ---- a/src/nl80211util.c -+++ b/src/nl80211util.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <linux/if_ether.h> - #include <ell/ell.h> - -diff --git a/src/plugin.c b/src/plugin.c -index 2d96f657..a62fb033 100644 ---- a/src/plugin.c -+++ b/src/plugin.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <fnmatch.h> - - #include <ell/ell.h> -diff --git a/src/sae.c b/src/sae.c -index 782a3069..cab004bd 100644 ---- a/src/sae.c -+++ b/src/sae.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <ell/ell.h> - - #include "src/util.h" -diff --git a/src/simauth.c b/src/simauth.c -index 5ed4dde7..4244304a 100644 ---- a/src/simauth.c -+++ b/src/simauth.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <ctype.h> - #include <stdio.h> - #include <errno.h> -diff --git a/src/simutil.c b/src/simutil.c -index 8de0645f..f0542c71 100644 ---- a/src/simutil.c -+++ b/src/simutil.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include <ctype.h> - #include <stdio.h> - #include <errno.h> --- -cgit 1.2-0.3.lf.el7 - diff --git a/net-wireless/iwd/iwd-0.14-r1.ebuild b/net-wireless/iwd/iwd-0.14-r1.ebuild deleted file mode 100644 index bf525992339c..000000000000 --- a/net-wireless/iwd/iwd-0.14-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools flag-o-matic linux-info systemd - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" - inherit git-r3 -else - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~x86" -fi - -DESCRIPTION="Wireless daemon for linux" -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="+client +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" - -RDEPEND="sys-apps/dbus - client? ( sys-libs/readline:0= )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_pretend() { - CONFIG_CHECK=" - ~ASYMMETRIC_KEY_TYPE - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE - ~CRYPTO_AES - ~CRYPTO_ARC4 - ~CRYPTO_CBC - ~CRYPTO_CMAC - ~CRYPTO_DES - ~CRYPTO_ECB - ~CRYPTO_HMAC - ~CRYPTO_MD4 - ~CRYPTO_MD5 - ~CRYPTO_RSA - ~CRYPTO_SHA1 - ~CRYPTO_SHA256 - ~CRYPTO_SHA512 - ~CRYPTO_USER_API_HASH - ~CRYPTO_USER_API_SKCIPHER - ~KEY_DH_OPERATIONS - ~PKCS7_MESSAGE_PARSER - ~X509_CERTIFICATE_PARSER - " - if use amd64;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" - fi - - if use cpu_flags_x86_aes;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" - fi - - if use cpu_flags_x86_ssse3; then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" - fi - - check_extra_config -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - git-r3_src_unpack - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell - else - default - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cflags "-fsigned-char" - econf --sysconfdir=/etc/iwd --localstatedir=/var \ - $(use_enable client) \ - $(use_enable monitor) \ - $(use_enable ofono) \ - $(use_enable wired) \ - --enable-systemd-service \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" -} - -src_install() { - default - keepdir /var/lib/${PN} - - newinitd "${FILESDIR}/iwd.initd" iwd - - if [[ ${PV} == "9999" ]] ; then - exeinto /usr/share/iwd/scripts/ - doexe test/* - fi -} diff --git a/net-wireless/iwd/iwd-0.14.ebuild b/net-wireless/iwd/iwd-0.14.ebuild deleted file mode 100644 index 5af13d86f0c9..000000000000 --- a/net-wireless/iwd/iwd-0.14.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools linux-info systemd - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" - inherit git-r3 -else - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~x86" -fi - -DESCRIPTION="Wireless daemon for linux" -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="+client +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" - -RDEPEND="sys-apps/dbus - client? ( sys-libs/readline:0= )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_pretend() { - CONFIG_CHECK=" - ~ASYMMETRIC_KEY_TYPE - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE - ~CRYPTO_AES - ~CRYPTO_ARC4 - ~CRYPTO_CBC - ~CRYPTO_CMAC - ~CRYPTO_DES - ~CRYPTO_ECB - ~CRYPTO_HMAC - ~CRYPTO_MD4 - ~CRYPTO_MD5 - ~CRYPTO_RSA - ~CRYPTO_SHA1 - ~CRYPTO_SHA256 - ~CRYPTO_SHA512 - ~CRYPTO_USER_API_HASH - ~CRYPTO_USER_API_SKCIPHER - ~KEY_DH_OPERATIONS - ~PKCS7_MESSAGE_PARSER - ~X509_CERTIFICATE_PARSER - " - if use amd64;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" - fi - - if use cpu_flags_x86_aes;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" - fi - - if use cpu_flags_x86_ssse3; then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" - fi - - check_extra_config -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - git-r3_src_unpack - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell - else - default - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --sysconfdir=/etc/iwd --localstatedir=/var \ - $(use_enable client) \ - $(use_enable monitor) \ - $(use_enable ofono) \ - $(use_enable wired) \ - --enable-systemd-service \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" -} - -src_install() { - default - keepdir /var/lib/${PN} - - newinitd "${FILESDIR}/iwd.initd" iwd - - if [[ ${PV} == "9999" ]] ; then - exeinto /usr/share/iwd/scripts/ - doexe test/* - fi -} diff --git a/net-wireless/iwd/iwd-0.16.ebuild b/net-wireless/iwd/iwd-0.16.ebuild deleted file mode 100644 index dac6f5ea824f..000000000000 --- a/net-wireless/iwd/iwd-0.16.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools flag-o-matic linux-info systemd - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" - inherit git-r3 -else - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~x86" -fi - -DESCRIPTION="Wireless daemon for linux" -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="+client +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" - -PATCHES=( "${FILESDIR}/iwd-have_config_h-fix.patch" ) - -RDEPEND="sys-apps/dbus - client? ( sys-libs/readline:0= )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_pretend() { - CONFIG_CHECK=" - ~ASYMMETRIC_KEY_TYPE - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE - ~CRYPTO_AES - ~CRYPTO_ARC4 - ~CRYPTO_CBC - ~CRYPTO_CMAC - ~CRYPTO_DES - ~CRYPTO_ECB - ~CRYPTO_HMAC - ~CRYPTO_MD4 - ~CRYPTO_MD5 - ~CRYPTO_RSA - ~CRYPTO_SHA1 - ~CRYPTO_SHA256 - ~CRYPTO_SHA512 - ~CRYPTO_USER_API_HASH - ~CRYPTO_USER_API_SKCIPHER - ~KEY_DH_OPERATIONS - ~PKCS7_MESSAGE_PARSER - ~X509_CERTIFICATE_PARSER - " - if use amd64;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" - fi - - if use cpu_flags_x86_aes;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" - fi - - if use cpu_flags_x86_ssse3; then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" - fi - - if use kernel_linux && kernel_is -ge 4 20; then - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER" - fi - - check_extra_config -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - git-r3_src_unpack - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell - else - default - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cflags "-fsigned-char" - econf --sysconfdir=/etc/iwd --localstatedir=/var \ - $(use_enable client) \ - $(use_enable monitor) \ - $(use_enable ofono) \ - $(use_enable wired) \ - --enable-systemd-service \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" \ - --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir /usr/lib/modules-load.d) -} - -src_install() { - default - keepdir /var/lib/${PN} - - newinitd "${FILESDIR}/iwd.initd" iwd - - if [[ ${PV} == "9999" ]] ; then - exeinto /usr/share/iwd/scripts/ - doexe test/* - fi -} diff --git a/net-wireless/iwd/iwd-0.17-r1.ebuild b/net-wireless/iwd/iwd-0.18.ebuild index 416fab3d97bb..f5b667cf75fc 100644 --- a/net-wireless/iwd/iwd-0.17-r1.ebuild +++ b/net-wireless/iwd/iwd-0.18.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~x86" fi DESCRIPTION="Wireless daemon for linux" @@ -17,11 +17,13 @@ HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" LICENSE="GPL-2" SLOT="0" -IUSE="+client +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" +IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" -RDEPEND=">=dev-libs/ell-0.18 +RDEPEND=">=dev-libs/ell-0.20 + net-wireless/wireless-regdb sys-apps/dbus - client? ( sys-libs/readline:0= )" + client? ( sys-libs/readline:0= ) + crda? ( net-wireless/crda )" DEPEND="${RDEPEND} virtual/pkgconfig" @@ -30,6 +32,7 @@ pkg_pretend() { CONFIG_CHECK=" ~ASYMMETRIC_KEY_TYPE ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE + ~CFG80211 ~CRYPTO_AES ~CRYPTO_ARC4 ~CRYPTO_CBC @@ -49,6 +52,11 @@ pkg_pretend() { ~PKCS7_MESSAGE_PARSER ~X509_CERTIFICATE_PARSER " + if use crda;then + CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT" + WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support" + fi + if use amd64;then CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" @@ -72,6 +80,19 @@ pkg_pretend() { fi check_extra_config + + if ! use crda; then + if [[ $(getfilevar CONFIG_CFG80211 /usr/src/linux/.config) == y ]] \ + && [[ $(getfilevar CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config) != *regulatory.db* ]] + then + ewarn "" + ewarn "REGULATORY DOMAIN PROBLEM:" + ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from" + ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m" + ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE." + ewarn "" + fi + fi } src_unpack() { @@ -107,6 +128,10 @@ src_install() { newinitd "${FILESDIR}/iwd.initd" iwd + if use wired;then + newinitd "${FILESDIR}/ead.initd" ead + fi + if [[ ${PV} == "9999" ]] ; then exeinto /usr/share/iwd/scripts/ doexe test/* diff --git a/net-wireless/iwd/metadata.xml b/net-wireless/iwd/metadata.xml index cd5c5ab59023..b8cd886617b9 100644 --- a/net-wireless/iwd/metadata.xml +++ b/net-wireless/iwd/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name='client'>Enable iwctl client tool</flag> + <flag name='crda'>Use net-wireless/crda for regulatory domain loading instead of in-kernel (4.15+) support</flag> <flag name='monitor'>Enable iwmon monitor tool</flag> <flag name='ofono'>Enable support for oFono SIM authentication</flag> <flag name='wired'>Enable ethernet authentication daemon</flag> diff --git a/net-wireless/kismet-rest/Manifest b/net-wireless/kismet-rest/Manifest new file mode 100644 index 000000000000..9a03604c9826 --- /dev/null +++ b/net-wireless/kismet-rest/Manifest @@ -0,0 +1,2 @@ +EBUILD kismet-rest-9999.ebuild 497 BLAKE2B 540f6adc7fe9bf7fe44eb9a7ddb78f425d6fd8fd512968f2b857716e6bc0cf538a19fda114f42bd19e9f543c69be5bf66523b51fc5392540c258ec511d49f7b3 SHA512 7cc67e66060448b0dbc12ae86e06d33c9efe9aadd72b1f5297288d20117126e40358de5c9a9033f7ee3a08b15a7bdb973cb99961169812950060986f2acc81a6 +MISC metadata.xml 247 BLAKE2B 0aa7491a8e9a68ed7ad1c53c8442fd44a9dbdfbd7ef0662e838195b44ce72a77f5dc3b846cf9951bb61de78e05aac37649b78dd4c27e304780e1223d607a4252 SHA512 3344e220b20caad7bc32141ad5d51630ff0738ab14608334576638297fdd2a48d5169ef54fb33e36d27bd448d92f8ef9e41880df388521efd4a2c58d102c7c69 diff --git a/net-wireless/kismet-rest/kismet-rest-9999.ebuild b/net-wireless/kismet-rest/kismet-rest-9999.ebuild new file mode 100644 index 000000000000..a5613e695458 --- /dev/null +++ b/net-wireless/kismet-rest/kismet-rest-9999.ebuild @@ -0,0 +1,20 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_6 ) +inherit distutils-r1 git-r3 + +DESCRIPTION="Kismet REST Python API" +HOMEPAGE="https://kismetwireless.net/docs/devel/webui_rest/endpoints/" +EGIT_REPO_URI="https://github.com/kismetwireless/python-kismet-rest.git" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="dev-python/requests + !<net-wireless/kismet-2019.05.1" +RDEPEND="${DEPEND}" +BDEPEND="" diff --git a/net-wireless/kismet-rest/metadata.xml b/net-wireless/kismet-rest/metadata.xml new file mode 100644 index 000000000000..2b9b4266ca5b --- /dev/null +++ b/net-wireless/kismet-rest/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> +</pkgmetadata> diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest index ee0f3ce346ea..4ee4e67bcb3f 100644 --- a/net-wireless/kismet/Manifest +++ b/net-wireless/kismet/Manifest @@ -2,10 +2,8 @@ AUX kismet-2016.07.1-ruby-fixes.patch 1808 BLAKE2B e66937e71488affc6b3fe377ec27e AUX kismet.confd 403 BLAKE2B 2c286c0731489fd069f6fd5e0bd2ff92d16bac89175ebeffcb4f313553043475d030b88de1c580244767f40b60a4d8d70eb25180463b24b84b9ea7064cff742d SHA512 232801f085980d464df831af8c73fa9c4274b44dd45118938cdf9048e0d54cdcc386aec6749e7a1b2c00b73739ab8bb51ff5dadf8cc1866ce2207e28c4e25b71 AUX kismet.initd 629 BLAKE2B 5dd54d0f05c65d65682be73f15388e82dc45881d4704b04835e36f587956a0953d822557bb0baf685846a0d2bfd90db0995793f6d46a2adc5aa07dbc525df846 SHA512 864f79715b35595a19f370c2382c3a3383d06245cca7a65b88a35b9ceafb2f4953044e6b3c5c71748ed68d890043ab69a2c47d630c14c51542ba3f86699a11db DIST kismet-2016-07-R1.tar.xz 709364 BLAKE2B 5b667a02b517bd413d569f40df1f2a2e1158357c602fa807d712870543a7fade25077f449c07c023ad1d2150870352aa754484846d8c2a0d9f027113bb57c1fc SHA512 88891a0cd5ef94a4815d259e433f946f52552c125e05a5d8ac447d04e6090f2bd92f8bd8573440f0dfe446b29233bef81d9889e53170757ad0116ddfc2cb8416 -DIST kismet-2019-04-R1.tar.xz 3038632 BLAKE2B e304085806d5e0b77c8421969b1c3dea608b70124559dcd5f133c1823f0228e6caeddf3cf775a6ccea7604265b2227df045cefcfdf803a4f69bf682b9b531f9d SHA512 26f3ab038e76ab06d461dc73e44cde6944f6f550a615081588a238154c95ab4684adec5436c31761a716e081f994435840b7f4e7e95b75d83c9da89114b33ab4 DIST kismet-2019.04.1_p20190416.tar.gz 4154154 BLAKE2B 86ce5057f62004269ab00a5a1619a1961d79fee506fa67aa065c18c7ce75d8fbe85a64e5b3861754acb802e03a599efb516f947b9e9192030ecbff0d779efb54 SHA512 fded3cf80bdd1eac2b57e8dc37e4995500ea8b1e6b32e665356b6172f2cd1986efd043ada8e04e62393943c815a3197e72408308c7294f6f26aa495ca8d9f9d3 EBUILD kismet-2016.07.1-r2.ebuild 4224 BLAKE2B 810401dfc709c81f55e881cc625d029544f37b454bb1076a902fa38254506fd82e8b1226dab0c2a4b7a58ed580bdc8202fcf9200df8591f67ca48caaa604747c SHA512 1c798255763de2961884ee73abe4c5c2aacdde1f85a36daf01595ba2b04d906d03adff68a81c0f23a4c66db66b6f74cf609c4f4a680627db26cdbf19b9c88bb8 -EBUILD kismet-2019.04.1.ebuild 3126 BLAKE2B bb5b7def4fd86634f978d0e7f5cdd0965d93c37fabfad7a8422c338929a7c84adc265c52629362951edd35c5b5d1a704a92c12b9e5949bdf992c849d54362b4b SHA512 34cbbe6efd9a375ca7bad1c245a0e55bfe27e1cd6a2fa21bff01eba3833c5548792c14f0243ff5bed7dce270f1ea4927c1af96e505b74577641306f1c6671fa0 -EBUILD kismet-2019.04.1_p20190416.ebuild 3378 BLAKE2B 121ca9b0d386b957b39ed78ddb20cbea178fe8da02fc2aa88b87e1ad0e2ec971baf039310e3b87018e2bed92eace51dda68c0ac6114ee969ad0c8dd668f04fb5 SHA512 771081680da06947eac0fd27b6665684b10fef3a42220b56dfb0ca52501f0e91bda0d2f81a96a8b67b928a2ee74e6fd14dc5cdf680ed500034cdb11c5c03d17b -EBUILD kismet-9999.ebuild 3126 BLAKE2B bb5b7def4fd86634f978d0e7f5cdd0965d93c37fabfad7a8422c338929a7c84adc265c52629362951edd35c5b5d1a704a92c12b9e5949bdf992c849d54362b4b SHA512 34cbbe6efd9a375ca7bad1c245a0e55bfe27e1cd6a2fa21bff01eba3833c5548792c14f0243ff5bed7dce270f1ea4927c1af96e505b74577641306f1c6671fa0 +EBUILD kismet-2019.04.1_p20190416-r1.ebuild 3424 BLAKE2B 62da8d152a52d9ff94aab3e23082b23c8b2a2e779e0d9d91f9f8983eed7fd10cef409657d0cb7c7e97560b76ad7029945cc469bdcd5c9e7544847857aca7c4f8 SHA512 d48f5ac94123ef61dba739460dee4e9dba8ce26ba200c881d5daf7f719864a951d6207b8980e7c1ba744269b66e3e50caff45c2d438264741f244e55ca17edeb +EBUILD kismet-9999.ebuild 3172 BLAKE2B 0e444650ad62775bdd832172fc78786bf4168961d6d20e92ab3da4908e843f0570031ce670755c64dfe928cf0ff0945e5352e1967f7d83286255c8b17ced74b1 SHA512 9c76de5c31e96964f5cc8da9b881015f478996bb92fe34df0d7a08411a281245ef50294eec49a92176dcb88e61590cb9f7ffd4457bff97b7c01066bfced632bd MISC metadata.xml 1259 BLAKE2B c9c91a87613a3126a81c28e768dbcf37422e04c8679d991ed2149361bf07d43a1dc17e5eaffebbb77bb9e92f2fd316192745e8b3cde04729db12b7dbefd33d26 SHA512 777ea0bad8a04dc4ac303eee0006692aa0107a7c38322b890565fab59288d84932b531145445623af1fa594b762aec627dd00f659b90f1fb595d7b49f6ab20a0 diff --git a/net-wireless/kismet/kismet-2019.04.1.ebuild b/net-wireless/kismet/kismet-2019.04.1.ebuild deleted file mode 100644 index ad9c0fbeb6cb..000000000000 --- a/net-wireless/kismet/kismet-2019.04.1.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools eutils multilib user python-single-r1 - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" - inherit git-r3 - RESTRICT="strip" -else - MY_P=${P/\./-} - MY_P=${MY_P/_beta/-BETA} - MY_P=${MY_P/./-R} - S=${WORKDIR}/${MY_P/BETA/beta} - SRC_URI="https://www.kismetwireless.net/code/${MY_P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" -fi - -DESCRIPTION="IEEE 802.11 wireless LAN sniffer" -HOMEPAGE="https://www.kismetwireless.net" - -LICENSE="GPL-2" -SLOT="0/${PV}" -IUSE="lm_sensors mousejack networkmanager +pcre selinux +suid" - -CDEPEND=" - ${PYTHON_DEPS} - networkmanager? ( net-misc/networkmanager:= ) - dev-libs/glib:= - dev-libs/elfutils:= - sys-libs/zlib:= - dev-db/sqlite:= - net-libs/libmicrohttpd - kernel_linux? ( sys-libs/libcap - dev-libs/libnl:3 - net-libs/libpcap - ) - mousejack? ( dev-libs/libusb:= ) - dev-libs/protobuf-c:= - dev-libs/protobuf:= - sys-libs/ncurses:= - lm_sensors? ( sys-apps/lm_sensors ) - pcre? ( dev-libs/libpcre ) - suid? ( sys-libs/libcap ) - " - -DEPEND="${CDEPEND} - virtual/pkgconfig -" - -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-kismet ) -" - -src_prepare() { - sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ - conf/kismet_logging.conf || die - - # Don't strip and set correct mangrp - sed -i -e 's| -s||g' \ - -e 's|@mangrp@|root|g' Makefile.in - - eapply_user - - #just use set to fix setup.py - find . -name "Makefile.in" -exec sed -i 's#setup.py install#setup.py install --root=$(DESTDIR)#' {} + || die - find . -name "Makefile" -exec sed -i 's#setup.py install#setup.py install --root=$(DESTDIR)#' {} + || die - - if [ "${PV}" = "9999" ]; then - eautoreconf - fi -} - -src_configure() { - econf \ - $(use_enable pcre) \ - $(use_enable lm_sensors lmsensors) \ - $(use_enable mousejack libusb) \ - $(use_enable networkmanager libnm) \ - --disable-optimization -} - -src_install() { - emake DESTDIR="${D}" commoninstall - emake DESTDIR="${D}" forceconfigs - - insinto /usr/share/${PN} - doins Makefile.inc - - #dodoc CHANGELOG RELEASENOTES.txt README* docs/DEVEL.client docs/README.newcore - dodoc CHANGELOG README* - newinitd "${FILESDIR}"/${PN}.initd kismet - newconfd "${FILESDIR}"/${PN}.confd kismet -} - -pkg_preinst() { - if use suid; then - enewgroup kismet - fowners root:kismet /usr/bin/kismet_cap_linux_bluetooth - fowners root:kismet /usr/bin/kismet_cap_linux_wifi - fowners root:kismet /usr/bin/kismet_cap_pcapfile - # Need to set the permissions after chowning. - # See chown(2) - fperms 4550 /usr/bin/kismet_cap_linux_bluetooth - fperms 4550 /usr/bin/kismet_cap_linux_wifi - fperms 4550 /usr/bin/kismet_cap_pcapfile - elog "Kismet has been installed with a setuid-root helper binary" - elog "to enable minimal-root operation. Users need to be part of" - elog "the 'kismet' group to perform captures from physical devices." - fi - if ! use suid; then - ewarn "It is highly discouraged to run a sniffer as root," - ewarn "Please consider enabling the suid use flag and adding" - ewarn "your user to the kismet group." - fi -} diff --git a/net-wireless/kismet/kismet-2019.04.1_p20190416.ebuild b/net-wireless/kismet/kismet-2019.04.1_p20190416-r1.ebuild index 871bee91427e..6277b7995e0b 100644 --- a/net-wireless/kismet/kismet-2019.04.1_p20190416.ebuild +++ b/net-wireless/kismet/kismet-2019.04.1_p20190416-r1.ebuild @@ -47,6 +47,7 @@ CDEPEND=" mousejack? ( dev-libs/libusb:= ) dev-libs/protobuf-c:= dev-libs/protobuf:= + dev-python/protobuf-python[${PYTHON_USEDEP}] 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 ad9c0fbeb6cb..863cf42add19 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -42,6 +42,7 @@ CDEPEND=" mousejack? ( dev-libs/libusb:= ) dev-libs/protobuf-c:= dev-libs/protobuf:= + dev-python/protobuf-python[${PYTHON_USEDEP}] sys-libs/ncurses:= lm_sensors? ( sys-apps/lm_sensors ) pcre? ( dev-libs/libpcre ) diff --git a/net-wireless/portapack-firmware/Manifest b/net-wireless/portapack-firmware/Manifest index f2df7e1e6fff..b6b6e8eb2d22 100644 --- a/net-wireless/portapack-firmware/Manifest +++ b/net-wireless/portapack-firmware/Manifest @@ -1,3 +1,3 @@ -DIST portapack-h1-firmware-20170808.tar.bz2 162776 BLAKE2B b21c7bd771da89ebf358ff4d68c75a1d6e7692e5592f4e0c5472e03084a98742517415c212fbc958bcb1b613a08079f80ed2658562d3b756af1a540b800294ee SHA512 f6e748dafb7412ba3cb2903554442d599a59cd25277d62516b65b1e0d513681ed886469e1eeea2065ea874b0e33289eb44fe26b9f1ea2d9e6f3e14fb791df321 -EBUILD portapack-firmware-20170808.ebuild 1783 BLAKE2B 50e2551680c8144f84fc063f28bdfe34c5a2e7fa8a6b3243408f896e4cee85a872a5bbea91e11ab1d8656ed8a6d7be4a64e87a269e7629916b6d98efee480727 SHA512 cf9e1f62bedf29388855e909a0ade9dad6b41c9ff95c71a70ce4a9c8d9971b7f346de00c94c69195e3e0e27746435f3d3b0c55325101092fec0e6cfa38500ede +DIST portapack-h1-firmware-20190405.tar.bz2 175374 BLAKE2B 2981ee5e994e9de3f662d77fe8ebd8773f71a73980bf08474cb0d7773ce7af79a490b759bc4d0eaaec1fb1b88755bbf25968300b1c27882a07e9fe1ce9fab524 SHA512 3fe95c2fba8654233a846eac3d9dc094343aaa6e527046b8e659524aed01dc4fef4e865253fc49ac367d0fe7fe2919c20d8fed71e144290bd8ece27021aced8f +EBUILD portapack-firmware-20190405.ebuild 771 BLAKE2B 57a51300837f0663237bfb415aef8561fed6bf67baa79354c120676313a6fab4aff6a4636369e31f7d5d72ff75cfbb80040588d6cb62ccb08bbaa24ec58da477 SHA512 d07a3e251f7439ad3baa5d4adb2644388c911a922e8accbeeab0082e138a8d63e3592f3647f4f52c22d39fe070183a165309da70ababdcb23109ec66441b841a MISC metadata.xml 341 BLAKE2B 654355dd699b0ac86901f3faa9008ab473208b444f0f41be5c9a18b9d0f68a84beba95f9cf1957008a47e0a48aaa47d8320e9221db4bd07720c236814f68ca10 SHA512 40b6c43b6f84419db0bee846f630b10f2bdb4952a43870d13d62b320ec3c818a6aeeca60fbc15f2a3f6a95818d053cc68044f2f564de2ec63c93827ff52dfbc7 diff --git a/net-wireless/portapack-firmware/portapack-firmware-20170808.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20170808.ebuild deleted file mode 100644 index eb8c5dbfc7df..000000000000 --- a/net-wireless/portapack-firmware/portapack-firmware-20170808.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -DESCRIPTION="Firmware and scripts for controlling the Portapack from Sharebrained" -HOMEPAGE="https://github.com/sharebrained/portapack-hackrf/releases" -SRC_URI="https://github.com/sharebrained/portapack-hackrf/releases/download/${PV}/portapack-h1-firmware-${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 - >=app-mobilephone/dfu-util-0.7" - -S="${WORKDIR}" - -src_install() { - insinto /usr/share/hackrf - newins portapack-h1-firmware.bin portapack-h1-firmware-${PV}.bin - ln -s portapack-h1-firmware-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-firmware.bin" - - cat << EOF > switch_to_portapack -#!/bin/sh -printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n" -printf "then plug the HackRF into a USB port on your computer.\n" -printf "After the HackRF is plugged in, you may release the DFU button.\n" -printf "Press any key to continue or ^c to abort\n" -read -dfu-util --device 1fc9:000c --download /usr/share/hackrf/hackrf_one_usb_ram.dfu --reset -sleep 2s -hackrf_spiflash -w /usr/share/hackrf/portapack-h1-firmware.bin -EOF - dobin switch_to_portapack - cat << EOF > switch_to_hackrf -#!/bin/sh -printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n" -printf "then plug the HackRF into a USB port on your computer.\n" -printf "After the HackRF is plugged in, you may release the DFU button.\n" -printf "Press any key to continue or ^c to abort\n" -read -dfu-util --device 1fc9:000c --download /usr/share/hackrf/hackrf_one_usb_ram.dfu --reset -sleep 2s -hackrf_spiflash -w /usr/share/hackrf/hackrf_one_usb_rom_to_ram.bin -EOF - dobin switch_to_hackrf -} diff --git a/net-wireless/portapack-firmware/portapack-firmware-20190405.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20190405.ebuild new file mode 100644 index 000000000000..5da4e1ade90a --- /dev/null +++ b/net-wireless/portapack-firmware/portapack-firmware-20190405.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Firmware and scripts for controlling the Portapack from Sharebrained" +HOMEPAGE="https://github.com/sharebrained/portapack-hackrf/releases" +SRC_URI="https://github.com/sharebrained/portapack-hackrf/releases/download/${PV}/portapack-h1-firmware-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 + >=app-mobilephone/dfu-util-0.7" + +S="${WORKDIR}/portapack-h1-firmware-${PV}" + +src_install() { + insinto /usr/share/hackrf + newins portapack-h1-firmware.bin portapack-h1-firmware-${PV}.bin + ln -s portapack-h1-firmware-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-firmware.bin" +} |