diff options
Diffstat (limited to 'net-wireless')
38 files changed, 1033 insertions, 208 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz Binary files differindex 7eccf5ba924b..f07eb4a89bc6 100644 --- a/net-wireless/Manifest.gz +++ b/net-wireless/Manifest.gz diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest index 46fc57ac74e8..79f8f0b798aa 100644 --- a/net-wireless/bluez/Manifest +++ b/net-wireless/bluez/Manifest @@ -8,7 +8,9 @@ AUX bluez-udevadm-path-r1.patch 564 BLAKE2B 0b4dc12f55ab60d254aa3365baf35186a591 DIST bluez-5.72.tar.xz 2390792 BLAKE2B b5d1bc290c9bad5aa32de16433c34d0ac5aed7164077ef941a0bf90eddc5e22a6cf19f972bcae33061b41e3c344f7abeb65a11b6013c13fd53059ac93d83240a SHA512 1c6560f60ac0654d7c25ed8ab2f0f3a3a9ca8688ee28e1c476ffc7ae38737e739d27bbb88789c86b03fc600a8a68496d90a7b395ec393dd2bbf69be62357991a DIST bluez-5.73.tar.xz 2408088 BLAKE2B 69c5b8c23039108403631da86c29d62869f2311bb34eeb471779fae094bbf8738193389fb8792b779b10eaeca5b02723c86f2b98c435bbd2c23a3d317df76070 SHA512 20090da036d3d614706b14a757b02acf138859d8f0476aa7f68d57635dfb3632ce7d8bb3456320904d72333d1314a5fe14dcb8ece307e6d31ce6d2d516de25e8 DIST bluez-5.75.tar.xz 2414552 BLAKE2B 5100995421114d850c1b1bd19188f7ee193c262dd79b45788de5d9ba0f260c3c096c724b1077f7cf6e846d13fd2f0a8a7c7a5014457c2928e5acbaa73ba40853 SHA512 f5fdad3824ed094d944d33f3d116c045e69d593a2b4dae5e57feeb5625a13e024e2433a3178921d2f8e1bd8261794ecdfc25ff3e52672e6e8d42e85b33a735a4 +DIST bluez-5.76.tar.xz 2418848 BLAKE2B 658e67ec3ac568fd4d8bdc434eabfc63fd8cddd287f7cf6a8967771673e79fe95c509be654ae2495d1b3aedb1e23ca710d545f5ded281a64fd44058b0cdf7afe SHA512 30dc3faef74a2225fd6027178376dca4166082d1ed5188021e13d13582db5846aef60b753f173d525bfd0c040f26c3e7dab0283ecafbd34c4a06855d13abb389 EBUILD bluez-5.72.ebuild 9105 BLAKE2B 11cdfa69a8c3d61284c7424ed85ea91b3e7ad543393d1918ed8dc4defd505a60795bba78d6dc154e77f1769407a71dd3b9761b7e1417e846b7482ddb7e4deea7 SHA512 8f28c066bfd16079fc8a25bac990d0aefbfecfa1f9fe5b276ac42fca87716e926735ce4d2066e99c1b7f5f86613f487d0be5d015f8f77cc643cdb1f04b028772 EBUILD bluez-5.73-r1.ebuild 8739 BLAKE2B f9cf85e143cb0840fa32ac66eff4f588009aa2472b5104a28288b05db28aac4c39800edd3c85d267ccb0a64e1fe8c0c285c1fdb803abf68c836dfb767c8791cd SHA512 57d8689e6a0becb4e9b5fa51e9cfe45334bf502db5c9350e6a95c6fdcea959d5212facdb089220436ecf46d00608c09800adc5c3b1b998b1688cfeaffc5af864 -EBUILD bluez-5.75.ebuild 8745 BLAKE2B bac8de4e072e1df61b0236ce1c0851f8287750f584fa80b60336f3cabb934762cf24957f179ef2669f0bdaf59507257c8f34f10c0e7e989cb00187fe5a076958 SHA512 807c408e50b38838cb35b64c80e4e1753c8d22fbe0511adbe0e8019ac35e663b6af291c45edfb1d5aacce3297bff9feaad91d70c9e3a04cae10125ed09ff0a70 +EBUILD bluez-5.75.ebuild 8739 BLAKE2B d729b6306f373b24e87acbe8ac12bb7dc2b98af68159cd02e6b14374e33b5980b6c7fee66db6afcf07694851a7b84e9edc93deb9704ed71a1a46711fbcb258b0 SHA512 ce4399c430250e537a4eca561c57f81ccfc086a72a2c013a69ade33c06a98aabf74479d869494240810b0c53b4602d5b52656d27b2f9417efaa38e6c7b3bad9e +EBUILD bluez-5.76-r1.ebuild 8722 BLAKE2B c9c6d4ed924fdf5b31574d89ef237ed6dd0080a0fa4d55e7d13ad7ae9582b21b10898e3239af95882a2ca95fcf2d3da7914f1f706607a0a161f85084ae6caa02 SHA512 31d9c1cd08fec3d789306185075f13f3e2e84fca43157a92d908dff50ba40c721a04d537eb8b405d7e47f2f68f2881bf12fcf887bf94ccfb21b5ed0b8be5f505 MISC metadata.xml 1150 BLAKE2B 830a8e0c89fcc18af92e063ceb3632c97eed9f7424ac5214dd4c853b142d03bba6d629b86fc41ecc28a450a9b7989a21faaae1b95654cb8f16ce2ceb3a97e025 SHA512 44e4489f48634d1b1ff300ccba0f7caa74b76ac7325d38d395ee53763906743f7b622b028a01d32e963952a23da560c16b8cd6771a9001ba90845b59293a6101 diff --git a/net-wireless/bluez/bluez-5.75.ebuild b/net-wireless/bluez/bluez-5.75.ebuild index e8cc70a7ce93..5903ae635e78 100644 --- a/net-wireless/bluez/bluez-5.75.ebuild +++ b/net-wireless/bluez/bluez-5.75.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz" LICENSE="GPL-2+ LGPL-2.1+" SLOT="0/3" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86" IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi +obex +readline selinux systemd test test-programs +udev" # Since this release all remaining extra-tools need readline support, but this could diff --git a/net-wireless/bluez/bluez-5.76-r1.ebuild b/net-wireless/bluez/bluez-5.76-r1.ebuild new file mode 100644 index 000000000000..1eb708c49c04 --- /dev/null +++ b/net-wireless/bluez/bluez-5.76-r1.ebuild @@ -0,0 +1,279 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..12} ) + +inherit autotools flag-o-matic linux-info python-single-r1 systemd udev multilib-minimal #readme.gentoo-r1 + +DESCRIPTION="Bluetooth Tools and System Daemons for Linux" +HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez" +SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0/3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" +IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi +obex +readline selinux systemd test test-programs +udev" + +# Since this release all remaining extra-tools need readline support, but this could +# change in the future, hence, this REQUIRED_USE constraint could be dropped +# again in the future. +# btpclient needs mesh, bug #790587 +REQUIRED_USE=" + btpclient? ( mesh ) + extra-tools? ( deprecated readline ) + test? ( ${PYTHON_REQUIRED_USE} ) + test-programs? ( ${PYTHON_REQUIRED_USE} ) +" + +TEST_DEPS="${PYTHON_DEPS} + $(python_gen_cond_dep ' + >=dev-python/dbus-python-1[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + dev-python/docutils + virtual/pkgconfig + test? ( ${TEST_DEPS} ) +" +DEPEND=" + >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] + btpclient? ( >=dev-libs/ell-0.39 ) + cups? ( net-print/cups:= ) + mesh? ( + >=dev-libs/ell-0.39 + >=dev-libs/json-c-0.13:= + sys-libs/readline:0= + ) + midi? ( media-libs/alsa-lib ) + obex? ( dev-libs/libical:= ) + readline? ( sys-libs/readline:0= ) + systemd? ( sys-apps/systemd ) + >=sys-apps/dbus-1.6:= + udev? ( >=virtual/udev-196 ) +" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-bluetooth ) + test-programs? ( ${TEST_DEPS} ) +" + +RESTRICT="!test? ( test )" + +PATCHES=( + # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) + # http://www.spinics.net/lists/linux-bluetooth/msg58739.html + # https://bugs.gentoo.org/539844 + # https://github.com/bluez/bluez/issues/268 + "${FILESDIR}"/${PN}-udevadm-path-r1.patch +) + +pkg_setup() { + # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html + # to prevent bugs like: + # https://bugzilla.kernel.org/show_bug.cgi?id=196621 + CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP ~BT_BNEP_MC_FILTER + ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH ~CRYPTO_USER_API_SKCIPHER + ~UHID ~RFKILL" + # https://bugzilla.kernel.org/show_bug.cgi?id=196621 + # https://bugzilla.kernel.org/show_bug.cgi?id=206815 + if use mesh || use test; then + CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_USER + ~CRYPTO_USER_API ~CRYPTO_USER_API_AEAD ~CRYPTO_AES ~CRYPTO_CCM ~CRYPTO_AEAD ~CRYPTO_CMAC + ~CRYPTO_MD5 ~CRYPTO_SHA1 ~KEY_DH_OPERATIONS" + fi + linux-info_pkg_setup + + if use test || use test-programs; then + python-single-r1_pkg_setup + fi + + if ! use udev; then + ewarn + ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth" + ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work," + ewarn "and hid2hci will not be available." + ewarn + fi +} + +src_prepare() { + default + + # https://github.com/bluez/bluez/issues/773 + eapply "${FILESDIR}"/${PN}-5.73-configure-cups.patch + + # https://github.com/bluez/bluez/issues/806 + eapply "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-session-r3.patch + + eautoreconf + + multilib_copy_sources +} + +multilib_src_configure() { + # unit/test-vcp test fails with LTO (bug #925745) + filter-lto + + local myconf=( + # readline is automagic when client is enabled + # --enable-client always needs readline, bug #504038 + # --enable-mesh is handled in the same way + ac_cv_header_readline_readline_h=$(multilib_native_usex readline) + ac_cv_header_readline_readline_h=$(multilib_native_usex mesh) + ) + + if ! multilib_is_native_abi; then + myconf+=( + # deps not used for the library + {DBUS,GLIB}_{CFLAGS,LIBS}=' ' + ) + fi + + econf \ + --localstatedir=/var \ + --disable-android \ + --enable-datafiles \ + --enable-optimization \ + $(use_enable debug) \ + --enable-pie \ + --enable-threads \ + --enable-library \ + --enable-tools \ + --enable-manpages \ + --enable-monitor \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ + --with-systemduserunitdir="$(systemd_get_userunitdir)" \ + $(multilib_native_use_enable btpclient) \ + $(multilib_native_use_enable btpclient external-ell) \ + $(multilib_native_use_enable cups) \ + $(multilib_native_use_enable deprecated) \ + $(multilib_native_use_enable experimental) \ + $(multilib_native_use_enable mesh) \ + $(multilib_native_use_enable mesh external-ell) \ + $(multilib_native_use_enable midi) \ + $(multilib_native_use_enable obex) \ + $(multilib_native_use_enable readline client) \ + $(multilib_native_use_enable systemd) \ + $(multilib_native_use_enable test-programs test) \ + $(multilib_native_use_enable udev) \ + $(multilib_native_use_enable udev hid2hci) \ + $(multilib_native_use_enable udev sixaxis) +} + +multilib_src_compile() { + if multilib_is_native_abi; then + default + else + emake -f Makefile -f - libs \ + <<<'libs: $(lib_LTLIBRARIES)' + fi +} + +multilib_src_test() { + multilib_is_native_abi && default +} + +multilib_src_install() { + if multilib_is_native_abi; then + emake DESTDIR="${D}" install + + # Only install extra-tools when relevant USE flag is enabled + if use extra-tools; then + ewarn "Upstream doesn't support using this tools and their bugs are" + ewarn "likely to be ignored forever, also they can break without" + ewarn "previous announcement." + ewarn "Upstream also states all this tools are not really needed," + ewarn "then, if you still need to rely on them, you must ask them" + ewarn "to either install that tool by default or add the needed" + ewarn "functionality to the existing 'official' tools." + ewarn "Please report this issues to:" + ewarn "http://www.bluez.org/development/lists/" + + # Upstream doesn't install this, bug #524640 + # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115 + # http://comments.gmane.org/gmane.linux.bluez.kernel/54564 + dobin tools/btmgmt + # gatttool is only built with readline, bug #530776 + # https://bugzilla.redhat.com/show_bug.cgi?id=1141909 + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720486 + # https://bugs.archlinux.org/task/37686 + dobin attrib/gatttool + # https://bugzilla.redhat.com/show_bug.cgi?id=1699680 + dobin tools/avinfo + fi + + # Not installed by default after being built, bug #666756 + use btpclient && dobin tools/btpclient + + # Unittests are not that useful once installed, so make them optional + if use test-programs; then + # Drop python2 only test tools + # https://bugzilla.kernel.org/show_bug.cgi?id=206819 + rm "${ED}"/usr/$(get_libdir)/bluez/test/simple-player || die + # https://bugzilla.kernel.org/show_bug.cgi?id=206821 + rm "${ED}"/usr/$(get_libdir)/bluez/test/test-hfp || die + # https://bugzilla.kernel.org/show_bug.cgi?id=206823 + rm "${ED}"/usr/$(get_libdir)/bluez/test/test-sap-server || die + + python_fix_shebang "${ED}"/usr/$(get_libdir)/bluez/test + + for i in $(find "${ED}"/usr/$(get_libdir)/bluez/test -maxdepth 1 -type f ! -name "*.*"); do + dosym "${i}" /usr/bin/bluez-"${i##*/}" + done + fi + else + emake DESTDIR="${D}" \ + install-pkgincludeHEADERS \ + install-libLTLIBRARIES \ + install-pkgconfigDATA + fi +} + +multilib_src_install_all() { + # We need to ensure obexd can be spawned automatically by systemd + # when user-session is enabled: + # http://marc.info/?l=linux-bluetooth&m=148096094716386&w=2 + # https://bugs.gentoo.org/show_bug.cgi?id=577842 + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804908 + # https://bugs.archlinux.org/task/45816 + # https://bugzilla.redhat.com/show_bug.cgi?id=1318441 + # https://bugzilla.redhat.com/show_bug.cgi?id=1389347 + if use systemd; then + dosym obex.service /usr/lib/systemd/user/dbus-org.bluez.obex.service + fi + + find "${D}" -name '*.la' -type f -delete || die + + # Setup auto enable as Fedora does for allowing to use + # keyboards/mouse as soon as possible + sed -i 's/#\[Policy\]$/\[Policy\]/; s/#AutoEnable=false/AutoEnable=true/' src/main.conf || die + insinto /etc/bluetooth + doins src/main.conf + + newinitd "${FILESDIR}"/bluetooth-init.d-r5 bluetooth + newconfd "${FILESDIR}"/bluetooth-conf.d bluetooth + + einstalldocs + use doc && dodoc doc/*.txt + + # https://bugs.gentoo.org/929017 + fperms 0555 /etc/bluetooth + + # https://bugs.gentoo.org/932172 + if ! use systemd; then + keepdir /var/lib/bluetooth + fperms 0700 /var/lib/bluetooth + fi +} + +pkg_postinst() { + use udev && udev_reload + systemd_reenable bluetooth.service + + has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp" +} + +pkg_postrm() { + use udev && udev_reload +} diff --git a/net-wireless/gnome-bluetooth/Manifest b/net-wireless/gnome-bluetooth/Manifest index c870c4acd9f7..f705d3524c01 100644 --- a/net-wireless/gnome-bluetooth/Manifest +++ b/net-wireless/gnome-bluetooth/Manifest @@ -1,5 +1,3 @@ -DIST gnome-bluetooth-42.7.tar.xz 304736 BLAKE2B 6b3eed3d93184c01a98307458ac1570ce97b46fea116d24ec54aa499aa45ce3245cb7982d8fda01d731ff0455b450c6513a86d52a6f7d7ee724726e476ddfd78 SHA512 dcbc5f54c2eb9eea29fea91e3c2c60ab3b6bf23effbe79df54dfc91834dda10fef144fb3abf6dc8a4651b5cc18bc666d4ab0574be793d31d199d1514e96c2a59 DIST gnome-bluetooth-42.8.tar.xz 304908 BLAKE2B c487e0c278b316ecdcbdd39421389ce95024b06bf0e350d59dcac06d7a7e8b982da12b1088701e479d0b5c64b123899a5351a00c477208946bb1f44f3c8f30a6 SHA512 1c3d1db874b54ebae3cf59e526db8ff71131daea0c994abeefd95b51abf590bbba0baa8314ebbd1d3efe7973021327c7b8257163ed8f0567fe610b4e0c3dba88 -EBUILD gnome-bluetooth-42.7.ebuild 1669 BLAKE2B 816208d215969f733cfeb45a025827a2504905a901f189696e7bcf34d5a3c9b21b2df4fdfcf61266e4c7e57b316c6809e2a53cb61a7ba529b62d79845e987049 SHA512 266e0f53972bad37e1b755015ca384b3f9587f84123abd9db9d71963b8e8c9039fa18893658579b630d40222bebc8bbaf1a4f21c2842a772e2f9c73c15ad28c3 EBUILD gnome-bluetooth-42.8.ebuild 1875 BLAKE2B e03b1111eb8fad8b7b3db08b409aa3255de139bdbc970c1e0f50dde212538af66aad9f6c5a0fe42b6de9681070b72c9627a529bd8f32c50d4b7a19fd63575ca3 SHA512 c7cdd4def3ff2630b63af4502382fe164cfdfad9a18ebef6ded0339781712c57377dca2b4012c1465f8e37cbe761857245ecd85c0b421aa80a70b96430ac2779 MISC metadata.xml 486 BLAKE2B f7080e058845d3931203b7912dfe5c31ecf36573241f33878cba7ca2ae240d62d067ea470845f6dfbb261631550916d430656040b8efcaec20123eb2be9ad5e4 SHA512 7b7f53d1648ad533caa02a18b859a3498e62a964f24a0e321f7661feecf95c02516f0ec65f23891a375a834d625dba7222c8e0919bc721558e747d582b6a4197 diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-42.7.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-42.7.ebuild deleted file mode 100644 index 8949df16f0f7..000000000000 --- a/net-wireless/gnome-bluetooth/gnome-bluetooth-42.7.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) -inherit gnome.org meson python-any-r1 xdg - -DESCRIPTION="Bluetooth graphical utilities integrated with GNOME" -HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth" - -LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+" -SLOT="3/13" # subslot = libgnome-bluetooth-3 soname version -IUSE="gtk-doc +introspection sendto test" -RESTRICT="!test? ( test )" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86" - -DEPEND=" - >=dev-libs/glib-2.44:2 - >=gui-libs/gtk-4.4:4[introspection?] - media-libs/gsound - >=gui-libs/libadwaita-1.1:1 - >=x11-libs/libnotify-0.7.0 - virtual/libudev:= - >=sys-power/upower-0.99.14:= - introspection? ( >=dev-libs/gobject-introspection-1.54:= ) -" -RDEPEND="${DEPEND} - acct-group/plugdev - virtual/udev - >=net-wireless/bluez-5 - sendto? ( !net-wireless/gnome-bluetooth:2 ) -" -BDEPEND=" - ${PYTHON_DEPS} - dev-libs/libxml2:2 - dev-util/gdbus-codegen - dev-util/glib-utils - gtk-doc? ( >=dev-util/gtk-doc-1.9 ) - virtual/pkgconfig - test? ( - $(python_gen_any_dep ' - >=dev-python/python-dbusmock-0.26.0[${PYTHON_USEDEP}] - dev-python/dbus-python[${PYTHON_USEDEP}] - ') - ) -" - -python_check_deps() { - if use test; then - python_has_version ">=dev-python/python-dbusmock-0.26.0[${PYTHON_USEDEP}]" && - python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" - fi -} - -pkg_setup() { - # Check for python is unconditional - python-any-r1_pkg_setup -} - -src_configure() { - local emesonargs=( - $(meson_use sendto) - $(meson_use gtk-doc gtk_doc) - $(meson_use introspection) - ) - meson_src_configure -} - -pkg_postinst() { - xdg_pkg_postinst -} diff --git a/net-wireless/gnuradio/Manifest b/net-wireless/gnuradio/Manifest index 1a9efc8b2be3..35c389b75a1f 100644 --- a/net-wireless/gnuradio/Manifest +++ b/net-wireless/gnuradio/Manifest @@ -1,5 +1,5 @@ AUX PR7093.patch 3317 BLAKE2B d369dfa91c8de3c62d1c14be52f5ad9491bf10f8fb904295bb92497a43150bcf9d1576442f3087b439e54fb4dac572d421e3cac95d71d01604cf329284e7ff5a SHA512 01758de8ecb721fcaadd31d478551420290b5e59c9b8fa3d421d4170665915c21e50ed765a9647b81d4f6acf71099c98628b823a66897b4f5e57df3c3b2643ba DIST gnuradio-3.10.9.2.tar.gz 4413832 BLAKE2B 69443e9b6893c6cb9db1678c28ac0fd01fe57e81438903612f7f65908fede257dab06a98fa90da25fe8caa6befb731ba51759509ace10a5541cae3e9d055a5db SHA512 5eca8dd21def7354ab8bd3b98a5780f80bc71b0dd8f556a50def157964e121c7ba6a8a8dc96584f6b15a6b2d7e0391fe77f5c72ba31c1c5b49a76306dd6f78cd -EBUILD gnuradio-3.10.9.2-r2.ebuild 6758 BLAKE2B 71fd8b4f4bb84ea7e0cef4aa535e0057e768e8441d05c1a82d3631dac89f5afccbcff36e3450d84ffe3333db84540d785423418d2fe3be217a6534c2e77e6e73 SHA512 1c5d74780c8395a4157493f1908864d36cc55497109d315b6c88b9583c1a0bd4413dfff0f31f339f94338a63109bae8b0d3c104eab7061dbe94f63c5f302fd9c +EBUILD gnuradio-3.10.9.2-r2.ebuild 6757 BLAKE2B 5c22e40e9cc0ff6c120636a557cb1701ddb59546f746fb429e8a027a60946b650b9163e685e839ed6671c664f2f8d7ff7234d76025a48b729d7110bf868c3484 SHA512 030735ff375c8e1967f3a0e13af85bab26a05fda5d32b78817fa10679e2090cb22f98f592e98e8e29488609b105e8574324d8dab9513dc785b492b297196089f EBUILD gnuradio-9999.ebuild 6718 BLAKE2B 7a14301346e1793d47eb7a47810841de038053263c1ec0f0a1fa7d64540708cdf98d27fde46c12c8352e57c6dab75e367ab306d3ec2088ea372fc51dacb4b111 SHA512 6e9c48c7c730a2274c45a4b9b7331a57041e19d40711af7f37095c09535f6b18e003a1ae91aafff0e76084a6692101a5dbc86ac0782ee70382cdb41350d6f761 MISC metadata.xml 1869 BLAKE2B de75463e64f4f3352d8959d795de15d9345e52f491f61fc824db738bccc4e2ae0487d988c22c17149f80cda5478a5bfbda03a6c5239970423371a2a76f374003 SHA512 69477d22de9e60b7f7420b14437265771391320d7c362d51b81fb573671568cf6b6b39ba50be1ad7c8bb07ed219998cf474e19b663f4a65b0e2cc69feef017a0 diff --git a/net-wireless/gnuradio/gnuradio-3.10.9.2-r2.ebuild b/net-wireless/gnuradio/gnuradio-3.10.9.2-r2.ebuild index 407afc6b82ff..e18205314679 100644 --- a/net-wireless/gnuradio/gnuradio-3.10.9.2-r2.ebuild +++ b/net-wireless/gnuradio/gnuradio-3.10.9.2-r2.ebuild @@ -18,7 +18,7 @@ if [[ ${PV} =~ "9999" ]]; then inherit git-r3 else SRC_URI="https://github.com/gnuradio/gnuradio/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~riscv ~x86" + KEYWORDS="amd64 ~arm ~riscv ~x86" fi IUSE="+audio +alsa +analog +digital channels ctrlport doc dtv examples fec +filter grc iio jack modtool network oss performance-counters portaudio +qt5 sdl soapy test trellis uhd vocoder +utils wavelet zeromq" diff --git a/net-wireless/sdrplay/Manifest b/net-wireless/sdrplay/Manifest index 4d1e9642377f..83091cb31c9a 100644 --- a/net-wireless/sdrplay/Manifest +++ b/net-wireless/sdrplay/Manifest @@ -1,6 +1,6 @@ AUX sdrplay.initd 213 BLAKE2B 3037304ff91b0f0c2e1e82440d9d206d70f5546e9f4977c8219878b2e0c4d01b0d2f807b2c121a9734a40268eba9aea535265ac905f78ea7854487edd79a0f36 SHA512 39f274b69be0781acef7d735f91df9821d9e5be18dcfa97976e8a696657f1c9669707ae937761290159373beb24c66cf063df59d38d5b578727e04fbadd1143a DIST SDRplay_RSP_API-Linux-2.13.1.run 326016 BLAKE2B 7eff1aa35190db1ead5b1d96994d24ae2301e3a765d6701756c6304a1719aa32125fedacf6a6859d89b89db5dd6956ec0e8c7e814dbd6242db5614a53e89efb3 SHA512 576be63e18084cf3e74bfb20592a44836f22fd9efe74ba9e27e5865a9ab755b26b3f2894cd8331ff876ab664d4e533d2bdbc629d552e75fcfbb3e9814dd140ce DIST SDRplay_RSP_API-Linux-3.07.1.run 388847 BLAKE2B 059d9a5fbd14c0e7ecb969cd3e5afe8e3f42896175b443bdaa9f9108302a1c9ef5ad9769e62f824465611d74f67191fff71cc6dbe297e399e5b2f6824c650112 SHA512 428b191db522ca332acd280ac80081852a4ac68117dfdcf48e196f1c28c40a44a8e0907efa56e7f50915af8d53bfa864d437db1692867e15fb653b86fe4b549a -EBUILD sdrplay-2.13.1-r1.ebuild 1223 BLAKE2B 46877e4e7ef00eb8a65359c96122c61e5b2dd33d5f647bfa77e93318570e81c9f67520b7023555e5f365864d80ccf8a7be4e4e91f76d68ec66310a56898ccb10 SHA512 7d7280e9ef739e1956cba19e8f20d579b7ea3e972551ed04f2529b18e197f1aedd88c38cdc6a7a08403913cc3d9f6906c9de109aa8643f5fb87f376a06e2a280 +EBUILD sdrplay-2.13.1-r1.ebuild 1191 BLAKE2B 80dd9ee92825f5b35a498ad2c8cf43e427b3a6fe9e42195790f8bacf4f586d6760c67a0f0b3d627d5344f6fe5eb62d7c53c8f4bf39ec8e6d0b46a3b2fba3fc34 SHA512 55c52a7d096b3f84c9729e5c2c485cf7bfc9064fcfe0e256a49c9adca629ed2a1d94af357fc2e8bb80528668b387e3f0d78b73d79787fd73df9a91bbb19fd79c EBUILD sdrplay-3.07.1.ebuild 1635 BLAKE2B ef2e3ede4fa107816e43e4b965f7a74f58b172f5b084c965ac64d029d05c2881ab657cc724747beae55f59f8a2f65cf9ce415bbda4a7ec936187e8154232ab63 SHA512 5817eeb856d66255afe9a5391146e6b4d1c4129b0009225592cc49c9986b868fa58e142f92f59301d811924581e26ef6e7a248c0319445c003b1c28a76f4c05f MISC metadata.xml 250 BLAKE2B 127d3b63d96953a7263c1ecb0f0cd905cbba9006349ae20351476072eb08aa6e5d0da402e3a90fea218e2e05971096bbfd13d2bb6f57221d8772885075dc6523 SHA512 a8423fb0d09057a311f01b4fe8bc03d0535b701a96846a7617e9ea61d7aa3ccd7e8de31451488a7db435e8f8178a5dd70e5511080eccee8880d6959d9de4c0d5 diff --git a/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild b/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild index 0154f873ac51..60f674d398fd 100644 --- a/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild +++ b/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 MULTILIB_COMPAT=( abi_x86_{32,64} ) -inherit versionator unpacker udev multilib-minimal +inherit unpacker udev multilib-minimal -MY_PV_1=$(get_major_version) -MY_PV_12=$(get_version_component_range 1-2) +MY_PV_1=$(ver_cut 1) +MY_PV_12=$(ver_cut 1-2) DESCRIPTION="SDRplay API/HW driver for all RSPs" HOMEPAGE="https://www.sdrplay.com" @@ -38,13 +38,13 @@ multilib_src_install_all() { multilib_src_install() { if [ "${MULTILIB_ABI_FLAG}" = "abi_x86_32" ]; then - dolib "${S}/i686/libmirsdrapi-rsp.so.${MY_PV_12}" + dolib.so "${S}/i686/libmirsdrapi-rsp.so.${MY_PV_12}" fi if [ "${MULTILIB_ABI_FLAG}" = "abi_x86_64" ]; then - dolib "${S}/x86_64/libmirsdrapi-rsp.so.${MY_PV_12}" + dolib.so "${S}/x86_64/libmirsdrapi-rsp.so.${MY_PV_12}" fi - dosym libmirsdrapi-rsp.so.${MY_PV_12} "${EROOT}usr/$(get_libdir)/libmirsdrapi-rsp.so.${MY_PV_1}" - dosym libmirsdrapi-rsp.so.${MY_PV_1} "${EROOT}usr/$(get_libdir)/libmirsdrapi-rsp.so" + dosym libmirsdrapi-rsp.so.${MY_PV_12} "${EROOT}/usr/$(get_libdir)/libmirsdrapi-rsp.so.${MY_PV_1}" + dosym libmirsdrapi-rsp.so.${MY_PV_1} "${EROOT}/usr/$(get_libdir)/libmirsdrapi-rsp.so" } diff --git a/net-wireless/soapybladerf/Manifest b/net-wireless/soapybladerf/Manifest index 4ec98012f08a..bcc83f88b285 100644 --- a/net-wireless/soapybladerf/Manifest +++ b/net-wireless/soapybladerf/Manifest @@ -1,4 +1,4 @@ DIST soapybladerf-0.4.1.tar.gz 29194 BLAKE2B 11b53c6d5f824ddd1704e852a220c88ca9f69e8d4024b11c936ae325c5c4b98198f32033ed1506402ef94b87a8f8b0a0d8cfaaa55ad4b6495fe79886f1cfb368 SHA512 73cd5c56b6f2faa37fb8eb8aca359061fd2da94fb081c1eb60f61894385f5f0175c9e3955835dc38478e513b0fd5a15fd100123be89e4ad62a0b7134557ab73e -EBUILD soapybladerf-0.4.1.ebuild 654 BLAKE2B f940740db1396ebb3f3f237961da2cbb63ab4d1f97f46be16dbdf46632d7fbd01b4a525388dbe8f4907afe15cfb2cf2c8eb6a3f09a7d9890bf55b16693138383 SHA512 22ccd9ba8bbf2d176a9fca4687ccbcb35bae9ce7b9ec55ffd7d7d94bfd3b6729602eab1fd8b4c7b984e295013b92b52a4c6e2a614ee6ee7b94bbcff003e3bb75 +EBUILD soapybladerf-0.4.1.ebuild 653 BLAKE2B 3ce5763bb4bae6e9e768e2dddbc782468ec7adf8fc1a100fd21549419c6d3d4ffc929ea73db6cca1652ae2a6a45b1c152b40c8d133c89f35449da6954cefc3e9 SHA512 95b0d945c08261815789d203fecf494f1c14dd9c8bc71734e24f422af252dc080a512e39345cb6432850f98297dc733f7771acb831e1e281c9c171d5bf5baddc EBUILD soapybladerf-9999.ebuild 642 BLAKE2B 6a0b5d28f3d3c7d9765ba927f2abe518072d049daf4bc079871f3c905604eb4405daccfe711aaf407748147e2257e3ac7c33ea450d1cf9b3d6938f4082fb9002 SHA512 ac86f93982f453cc7663a20180d7ceef6ece60f0839d7d98706c16fde61fd76fcf8d94741d615b4fa27e4f4e88559d97c3d0d3f809a503f56288274329fe0d65 MISC metadata.xml 435 BLAKE2B 278a6ea9c1c3cb771138ca3ab14900e2fd852612caceb469437319a594b21d70517888495f65848c96ceb8061d85428f4310635d6fe0091fa322e1dce7cc28f0 SHA512 89074ca4121effa82f24de237d7f1531f598ff0679172a60e129851c138c8b62ccb5c58ceab99cd6fb00b497c81fbcaa188255ecc86d0897c07f815b36362262 diff --git a/net-wireless/soapybladerf/soapybladerf-0.4.1.ebuild b/net-wireless/soapybladerf/soapybladerf-0.4.1.ebuild index 2fa212a5f4d1..dff573bf3ef7 100644 --- a/net-wireless/soapybladerf/soapybladerf-0.4.1.ebuild +++ b/net-wireless/soapybladerf/soapybladerf-0.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then EGIT_REPO_URI="https://github.com/pothosware/SoapyBladeRF.git" inherit git-r3 else - KEYWORDS="~amd64 ~arm ~riscv ~x86" + KEYWORDS="amd64 ~arm ~riscv ~x86" SRC_URI="https://github.com/pothosware/SoapyBladeRF/archive/soapy-bladerf-${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/SoapyBladeRF-soapy-bladerf-"${PV}" fi diff --git a/net-wireless/soapyhackrf/Manifest b/net-wireless/soapyhackrf/Manifest index 02576f819b5f..fcc2308cdffc 100644 --- a/net-wireless/soapyhackrf/Manifest +++ b/net-wireless/soapyhackrf/Manifest @@ -1,4 +1,4 @@ DIST soapyhackrf-0.3.4.tar.gz 16475 BLAKE2B ee34c465e700ec93d02c51286224e8bc6f72c391867c1d3dc5bf54f28ef3230234937128eadf25409fe7c1561576a5a386178e0e94c820bd867c2fc5383a58c8 SHA512 950fc0d2d9b1a5946605d0f7f934a3d92facb6878251e8d9a673384db85e1b776ab27fd3499db11d482d599f78e705b9394b5e1238935d297252ab5acc8fb935 -EBUILD soapyhackrf-0.3.4.ebuild 625 BLAKE2B 1ae5b562a2fb5e909a6dcb11cbc8394828bb9c063c96415e1f4456ee1c5c53ff6bfb4d8fede418f2fc46aa234ae55f5db858f27d8d3ff18e91aa1f775f820ddc SHA512 950929e71e0e7149a8ab79640fd3abd6e9c469f037326042cacda92f0450016b4c3e71d51047d9257915273d4e00ca770ea7dcc348ee8e2e409024da1c760e84 +EBUILD soapyhackrf-0.3.4.ebuild 624 BLAKE2B 45cc762df1b95334ed0fd405d9784a3ee29e3a13bae6776b856347c6cbc326da0919f4b7109bbae66f9d80452f5aeb9acd23346abb2fdfe9284e95f3c62ac3d9 SHA512 ab8c432b3e68aa8679ac57bc7048c791a51ac273bd32aceef2a2e12dcce296645cf92a3add39b21075d97fdf3be9613bf92b2cd03ea654aff80bf2d4e86f4b76 EBUILD soapyhackrf-9999.ebuild 625 BLAKE2B 1ae5b562a2fb5e909a6dcb11cbc8394828bb9c063c96415e1f4456ee1c5c53ff6bfb4d8fede418f2fc46aa234ae55f5db858f27d8d3ff18e91aa1f775f820ddc SHA512 950929e71e0e7149a8ab79640fd3abd6e9c469f037326042cacda92f0450016b4c3e71d51047d9257915273d4e00ca770ea7dcc348ee8e2e409024da1c760e84 MISC metadata.xml 434 BLAKE2B 9534c7462015a343cb39e7380cdb62017b06d0618fa96fbe50b5a96a64f7bc949a9df749ab1f2288bf182ae042569a09928884c8f7f74d7031d2d8ea9e3e01b7 SHA512 5a611857cb42ae495b505d9404b8407096af882a778feeee3b2dd1edd1c770619b48b2ff12bd1f8111aecc04c9ab20519bc94899c6cd7c1257cb1b17d79d17f9 diff --git a/net-wireless/soapyhackrf/soapyhackrf-0.3.4.ebuild b/net-wireless/soapyhackrf/soapyhackrf-0.3.4.ebuild index 017475da18d7..d7aaaa8f3bd4 100644 --- a/net-wireless/soapyhackrf/soapyhackrf-0.3.4.ebuild +++ b/net-wireless/soapyhackrf/soapyhackrf-0.3.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then EGIT_REPO_URI="https://github.com/pothosware/SoapyHackRF.git" inherit git-r3 else - KEYWORDS="~amd64 ~arm ~riscv ~x86" + KEYWORDS="amd64 ~arm ~riscv ~x86" SRC_URI="https://github.com/pothosware/SoapyHackRF/archive/soapy-hackrf-${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/SoapyHackRF-soapy-hackrf-"${PV}" fi diff --git a/net-wireless/soapyplutosdr/Manifest b/net-wireless/soapyplutosdr/Manifest index e85067fce49d..d5c556b4955c 100644 --- a/net-wireless/soapyplutosdr/Manifest +++ b/net-wireless/soapyplutosdr/Manifest @@ -1,4 +1,4 @@ DIST soapyplutosdr-0.2.2.tar.gz 25472 BLAKE2B 100b366edf268c76109be2d335b6d4d6a5723a219f1f160d481385e7ac7c89e3cd25860e9916b754f67708f83d90e6f82262572c6a62eb045483a2bba6a794b3 SHA512 dd5514cde4867bd915b2ef1f0257af85359986b93a7650f00f665fd83a7d7a2c8621f79fe91ce1c16867fdff0c0c14b700628cd9a94746c11b854da1afd7daf7 -EBUILD soapyplutosdr-0.2.2.ebuild 706 BLAKE2B dfad836a2ee405604f02460e22bc3bfb036c7b4f5ff984942f139a604861a01cb6b91060d2c890695497a4f58fcba10d62a3e3840ee355557df83f5588be188f SHA512 423b95a5dec17e500e5122bcb9c1ffd723867b7e7837482fbc2a85c4347a19b1f97e6ba198dda14135df88d30a4ee683e2e2a0232544a8997741dfe33b98de1d +EBUILD soapyplutosdr-0.2.2.ebuild 705 BLAKE2B d3dd6280fa70a32bf310632a98562f9668e4d9c70b4b4d622643a4683bb0049ef1a8bb10546e8721228776f32f301f9f8d8f7d9926ca2ea1383e1396c1ba08b7 SHA512 eb3f28dbf6703c13ac33ef67acd211b1a4939b80e43787c4c1953c4d8c9f349fc81048e2e634e0ae8e52c4d78bf33e8d43f6733edd4ee6940069499295d6f658 EBUILD soapyplutosdr-9999.ebuild 706 BLAKE2B dfad836a2ee405604f02460e22bc3bfb036c7b4f5ff984942f139a604861a01cb6b91060d2c890695497a4f58fcba10d62a3e3840ee355557df83f5588be188f SHA512 423b95a5dec17e500e5122bcb9c1ffd723867b7e7837482fbc2a85c4347a19b1f97e6ba198dda14135df88d30a4ee683e2e2a0232544a8997741dfe33b98de1d MISC metadata.xml 436 BLAKE2B 8fe11a2dba0dbe5997a3683a423f9227331ed3fca8fed8a690a8a36c5e4e57323052f100762cc2c8294d4e5c609ef5f90e0692ace5debe7a27a72a9f6ce29af8 SHA512 df17955f21c6565f21e33df9cbc4fdde9880de427a16329c45a5b2f738eb4dbfb998f709df06a7bb8b5501c26621e8f206bf9afe39a0808ff3d039e5bdd74a03 diff --git a/net-wireless/soapyplutosdr/soapyplutosdr-0.2.2.ebuild b/net-wireless/soapyplutosdr/soapyplutosdr-0.2.2.ebuild index 115e42eb16c6..b4d830f5d287 100644 --- a/net-wireless/soapyplutosdr/soapyplutosdr-0.2.2.ebuild +++ b/net-wireless/soapyplutosdr/soapyplutosdr-0.2.2.ebuild @@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then EGIT_REPO_URI="https://github.com/pothosware/SoapyPlutoSDR.git" inherit git-r3 else - KEYWORDS="~amd64 ~arm ~riscv ~x86" + KEYWORDS="amd64 ~arm ~riscv ~x86" COMMIT="422a9b306f765499dd3e9a4c3400fa39816dcfdb" SRC_URI="https://github.com/pothosware/SoapyPlutoSDR/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/SoapyPlutoSDR-${COMMIT} diff --git a/net-wireless/soapyrtlsdr/Manifest b/net-wireless/soapyrtlsdr/Manifest index ce4be62ef075..d8dc899299b9 100644 --- a/net-wireless/soapyrtlsdr/Manifest +++ b/net-wireless/soapyrtlsdr/Manifest @@ -1,6 +1,6 @@ DIST soapyrtlsdr-0.3.2.tar.gz 16033 BLAKE2B b3a874998f99d291c8e204007fe9822285a3e56b50b36957c8f1b14c48469050bc0775f9fd0237c8cfa96fa08e88967a438fa9eb8bec0a80016b212d3b309759 SHA512 f8279afebb251d72fea14d89889835be5ed8109c1400fdcc785c1ec120e978ae7b1de53cc84d16bf609de4cca2ddbc9d432d046e4c6967e1e494fd5571d46cc2 DIST soapyrtlsdr-0.3.3.tar.gz 16760 BLAKE2B 63e4c707d65af13e9b3974c9afe1261909395c70589e07a5b8398fcd40c421dbb7754a39467a325d09f4312a410fb60e34f51fca1fdb26eac68ac495b0b2c9a8 SHA512 a43511c8644a8dbec8e0b7d8f114c4955ba9407727680680cef446a12a9ee27bfe892cab49aa77ce82d52e4272075f4e6f2ee38350675f5508601ff24ff82081 EBUILD soapyrtlsdr-0.3.2.ebuild 647 BLAKE2B 3f9177c2cb25c8d4206520d742f179f13d5ee7a79f203b4e9a0c7aae5eeab02b2943a6b3dc7d09dfb855ae3401c7e19fe69ee31c61351de99b90bb481e9fc5a0 SHA512 04d0ced3199e3783fd298555a60d1f8b59ed711c3888477adcba92fa2c7934c7e3c7779f6f05cd5bde3b0a30f6492a32a2e98cb1b948b846e537ef99f2577309 -EBUILD soapyrtlsdr-0.3.3.ebuild 647 BLAKE2B 3f9177c2cb25c8d4206520d742f179f13d5ee7a79f203b4e9a0c7aae5eeab02b2943a6b3dc7d09dfb855ae3401c7e19fe69ee31c61351de99b90bb481e9fc5a0 SHA512 04d0ced3199e3783fd298555a60d1f8b59ed711c3888477adcba92fa2c7934c7e3c7779f6f05cd5bde3b0a30f6492a32a2e98cb1b948b846e537ef99f2577309 +EBUILD soapyrtlsdr-0.3.3.ebuild 646 BLAKE2B 872474588cf8d23255414f53da30c17becb55cd9fc421a54c3f3ba058047bf395dd7fbf305ba29e1f90092d2d4429aabfda5ce710981ad712f4f2f5235a5fb45 SHA512 a381748c692b32b14fe82fec7d8b5adc8abc1d430549b23558265d4d515696f56e3341d90a802437daa07c7d36ebd1d2050d3daa201db23db12299f09912d71b EBUILD soapyrtlsdr-9999.ebuild 647 BLAKE2B 3f9177c2cb25c8d4206520d742f179f13d5ee7a79f203b4e9a0c7aae5eeab02b2943a6b3dc7d09dfb855ae3401c7e19fe69ee31c61351de99b90bb481e9fc5a0 SHA512 04d0ced3199e3783fd298555a60d1f8b59ed711c3888477adcba92fa2c7934c7e3c7779f6f05cd5bde3b0a30f6492a32a2e98cb1b948b846e537ef99f2577309 MISC metadata.xml 434 BLAKE2B 14d847d55378690a52555de7889f027d7e403157c5a002ee01a7b6588e19d613137dc224da4e33ed75d72f3a9ed99bee702dad9f8b12e664861437663ef83fc0 SHA512 2811652fe1f1f0c128e4398d227b20ebaf977d8b1cf7cd6d02044232e760a7eb808be7ccdd1566fb8deef597b6942aaa0f2d42213c7f117e86a9a00504b07fe1 diff --git a/net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.3.ebuild b/net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.3.ebuild index 769f04594963..8253f5f86269 100644 --- a/net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.3.ebuild +++ b/net-wireless/soapyrtlsdr/soapyrtlsdr-0.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then EGIT_REPO_URI="https://github.com/pothosware/SoapyRTLSDR.git" inherit git-r3 else - KEYWORDS="~amd64 ~arm ~riscv ~x86" + KEYWORDS="amd64 ~arm ~riscv ~x86" SRC_URI="https://github.com/pothosware/SoapyRTLSDR/archive/soapy-rtl-sdr-${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/SoapyRTLSDR-soapy-rtl-sdr-"${PV}" fi diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest index 6653368dc794..3ae4f0f67631 100644 --- a/net-wireless/soapysdr/Manifest +++ b/net-wireless/soapysdr/Manifest @@ -1,4 +1,4 @@ DIST soapysdr-0.8.1.tar.gz 131252 BLAKE2B 4dc97b683063a1bc52717f15b12a2471a338cebc30dccfd58723792119a496f5170b67eeda1ff4dbcd34811948f70b9f0e5df11b5b1738b46839ca7377fe557b SHA512 50c8f1652bf9ca09215f9c4115175427ca7b5338add7591e31ca0e627093c94b73e7cf7f84fa71ff419cc010d3c1263931506c728bbaa00413a7915d56a87787 -EBUILD soapysdr-0.8.1.ebuild 1323 BLAKE2B d0a6fec4e8a59b695c2e1475342344281db2cd0f41edc39ae61dfdc3fb8d2b69c0869f7d1a89997e6541aa56daefa06bebe17de8c46867e12bfcfcf80c36aeaf SHA512 9865b227d5a1c99db30a5b2dcb48a2319a6f88be8c04da7700ab96984a240f972a8b7d300ec320bba7fd65170a6534f9c978199eb60a73a826b76745fd6cd220 +EBUILD soapysdr-0.8.1.ebuild 1322 BLAKE2B 4c24133d544e06b804ee2a21d1ee9989ac7ff4e9dc2a3fb2deda2397ae7226fcd19c3c0b3059ecf3035ba2b07d13cbc870de0fd347717c2aead9057b5c5f2992 SHA512 7b30c925eb9db4ac8d351b409a71ba2c0dd1c2f26f1e15b27b6aaee1ad66d6381fb34263a971bb665d8e25f1acaaf7e5260cd734695b3ce15d7aee6bde9aa662 EBUILD soapysdr-9999.ebuild 1323 BLAKE2B d0a6fec4e8a59b695c2e1475342344281db2cd0f41edc39ae61dfdc3fb8d2b69c0869f7d1a89997e6541aa56daefa06bebe17de8c46867e12bfcfcf80c36aeaf SHA512 9865b227d5a1c99db30a5b2dcb48a2319a6f88be8c04da7700ab96984a240f972a8b7d300ec320bba7fd65170a6534f9c978199eb60a73a826b76745fd6cd220 MISC metadata.xml 776 BLAKE2B e875dbd46723cba190cfe767f7c91518bbd73269fdef3bc64a67b1b48145f2eeb1ba6acbf258b4e1e578ad7f77225d37662ab70cb83b345c1acecbae4a113931 SHA512 4f92020b725b79bcb55b0e4fcb2f921d01fc582e53b56c333b83a3f04c24630200b7d72d49ee9d3aaa12c887c861744a660c4f0240b3c2d0ade6f29830b74de0 diff --git a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild index fa9402a85678..fae8341b7d65 100644 --- a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild +++ b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ if [ "${PV}" = "9999" ]; then EGIT_CLONE_TYPE="shallow" inherit git-r3 else - KEYWORDS="~amd64 ~arm ~riscv ~x86" + KEYWORDS="amd64 ~arm ~riscv ~x86" SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}" fi diff --git a/net-wireless/soapyuhd/Manifest b/net-wireless/soapyuhd/Manifest index 99673d6877d2..d31127e044d8 100644 --- a/net-wireless/soapyuhd/Manifest +++ b/net-wireless/soapyuhd/Manifest @@ -1,4 +1,4 @@ DIST soapyuhd-0.4.1.tar.gz 33838 BLAKE2B ee5639fda7213a7e3273c6bd27366a9d9f0e7d561655d316c19f055a008f31ed4362df945823bc3b5c159362ace9a7cc9fa7f943d2d128ba2b37047a71677352 SHA512 7a78ac386d92e4b36b36710f5943623ec8742cb770df69ac0c9bbd26827567277cb3309e3ad6eb0148b1b76083f16fdd188619700d38dcc5eab362b6db65340f -EBUILD soapyuhd-0.4.1.ebuild 649 BLAKE2B c15871f945cde3cd688d09a3107f95c39fd07411795fe620c9a12518f86552f1faf889bb2defcb77457a76f15caa3b9a58a749c6f421ea0f5cb45fbbc4f64583 SHA512 516f90b24ba288b49bedb8f81a4dd70e4342cb8fe7418de2b02cd228eabbc738650dc5b6e07d9451661804798ed79af899789d0deec12b3185273c5778738b19 +EBUILD soapyuhd-0.4.1.ebuild 648 BLAKE2B abfad5e4f47e3336fce09f17a748cbcb384a1551fad7e0b0b4ce6c1989f3f26a76af015ef4d1af9733163f730e29d4ea831fd1a94cb9d0244874a9990c512d65 SHA512 8133e132499059ed4492989553a8bde6b5261055176c42ac3a59ab929c5a2de7c964cbc7dfc218e855b8486bb395e0ac2a28bf119db006f02aab28fd7d0fba15 EBUILD soapyuhd-9999.ebuild 637 BLAKE2B eaeddb5bd24f659dee39a1699f8828e7b2a578308b6c02b544b9809f8ff4924b29f215c551469301d1ee69b379fbf1a954a5809ff50e7b1613c0f977e0dac0ea SHA512 6a725dcbbe5445cbb38ebcd4ac0fc50975f379f5dcbbd6cacc9be5b130904d683f852140d78460bc1abd04fdde6bd7572c51f9f8dbef23f5239580d0019d9a0d MISC metadata.xml 431 BLAKE2B 12571909a1964cdf9083b47c2fd60bc267515a2fb684b472c0d5d2a701ed2c1a204308f2ed2195e274442f1c979e9020a42ee7ebc573746bccee26c884fa0c67 SHA512 59b5211d71b99fa00edeb9deb38cad6c285e28f940422abd90022dfb334b7372312273fa6f53d47b4ed9e4da511505fbb8d5fe32f8c67add9689495b826b61ed diff --git a/net-wireless/soapyuhd/soapyuhd-0.4.1.ebuild b/net-wireless/soapyuhd/soapyuhd-0.4.1.ebuild index ce4efc4c34c3..a57ac212bdeb 100644 --- a/net-wireless/soapyuhd/soapyuhd-0.4.1.ebuild +++ b/net-wireless/soapyuhd/soapyuhd-0.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then EGIT_REPO_URI="https://github.com/pothosware/SoapyUHD.git" inherit git-r3 else - KEYWORDS="~amd64 ~arm ~riscv ~x86" + KEYWORDS="amd64 ~arm ~riscv ~x86" SRC_URI="https://github.com/pothosware/SoapyUHD/archive/soapy-uhd-${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/SoapyUHD-soapy-uhd-"${PV}" fi diff --git a/net-wireless/uhd/Manifest b/net-wireless/uhd/Manifest index e63b1f12621c..0c356b7feb0b 100644 --- a/net-wireless/uhd/Manifest +++ b/net-wireless/uhd/Manifest @@ -3,5 +3,5 @@ DIST EttusResearch-UHD-4.6.0.0.tar.gz 41235519 BLAKE2B 4a9c9d0064bf52edd4a4a93ee DIST uhd-images_4.4.0.0.tar.xz 127558912 BLAKE2B bb7135241c4e39db2450e0fca8c8c6b0421d76f512dca08e50732ee0a2dbfa5f330df168101607d52b6215aba083cd966027a9da8f14331f6bac17fdd76d766b SHA512 17b364128155bf850ff5ae72eeb8fa52446881d0234254943d27524610f0efc4d5bf5da7be248982fc603101d4f76f5a8019fbecb044d2637a1022cdccde0463 DIST uhd-images_4.6.0.0.tar.xz 180745328 BLAKE2B f698c68c66e706146cd2163abca10bc2d3660827e2425f395b9096b1ccecdadaf563730912e930e29b6f286dd77a83dc2ab0280e0d55ceb550496de03c208917 SHA512 944a26bea2f11d0df630e14a2a586d07e185e2c9bf40e10ff17cc103a33a8cf32c37b676e15cf55a1c1efd17c82384c7323526aed4b0624fda0b58d39ed487d3 EBUILD uhd-4.4.0.0.ebuild 3707 BLAKE2B 0bef82e613b6f7fdfc89487382d5358db8787d53c308431697170c204deb57986e00578bd6a3c648aa57df9449af6e26a362d812c033d334d32273bdba8f2209 SHA512 e55d9be83e3262c094a3087ac77b5db2afff622be05df27a728d4e95affcc3d4a60e25dbf39de8a523d5f4b98e4ac4335e1d841d3744075ef4df82e5da3b500f -EBUILD uhd-4.6.0.0.ebuild 3680 BLAKE2B f9ffc5844f239a82aa8ee78996b6e83e8c9c76157037f676c9feabf2262c52047c3a94540a5bfcae9c5cbb35b59a8df09dd6599ed9cc02b4482108f8b514bfda SHA512 478530e55ac218a335126e9810827d635be187db1acf916afe0f66ed2f8e36d96502944f51586fe962b6d0fbb858817229ba784079ec03815c331e7bd588a7c9 +EBUILD uhd-4.6.0.0.ebuild 3679 BLAKE2B aaf5d858bd06f803d148353a71bdcfa508f16d1d571f1b05d39add1840b3f1acabb4e88f41b05f2020deedff4cc9cb97e90004d69ec78abf22e3f2376736d591 SHA512 a8544e04c5b59b6cb93fbff0508a30e51d211203b558dbc6ef4e3ee2ad1b1c0d9e258ac57e434ddef1256274e9a9a73460fcac499eedf8b269e7410f15af7137 MISC metadata.xml 1112 BLAKE2B 7bf2e25d7618581200731789b4c5ee05c6cd6b33c21a7912b3904ffd53e6948d4d2e36bb071d3f966febb5b3da1523c2316558f66d4297341264d534e08d122f SHA512 ac48857213ada598edec618d0c39fc8faaa2b405444b37958e47dc23068fdd61d80bffb8033b20428f2fa63caf8ca322eb4bb765c59389d4a070fee260dee66d diff --git a/net-wireless/uhd/uhd-4.6.0.0.ebuild b/net-wireless/uhd/uhd-4.6.0.0.ebuild index 514bdaafdd63..9872c06071f8 100644 --- a/net-wireless/uhd/uhd-4.6.0.0.ebuild +++ b/net-wireless/uhd/uhd-4.6.0.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/EttusResearch/uhd/archive/v${PV}.tar.gz -> EttusRese LICENSE="GPL-3" SLOT="0/$(ver_cut 1-3)" -KEYWORDS="~amd64 ~arm ~riscv ~x86" +KEYWORDS="amd64 ~arm ~riscv ~x86" IUSE="+b100 +b200 doc cpu_flags_arm_neon cpu_flags_x86_ssse3 e300 examples +mpmd octoclock test +usb +usrp1 +usrp2 +utils +x300" RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE} diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index a1dc9775b32c..2648bc5ed946 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -7,7 +7,9 @@ AUX unifi.service-r2 233 BLAKE2B 95d87f040be667c5d5817bc9b6eabfa3d2ef454cfcdd60b DIST unifi-6.5.55.zip 157805689 BLAKE2B 09a7b69143478d0b81dd6f7be1746b1a35cd00ee034471c512d04e4f91aa02688871857edf3c0ef538e601aaf8eccdd0c55193a9bde10924ddeff1fd333da355 SHA512 c2f677de819268366d65622238c1b8d6d8abcd5e06d6f1f635d9755573eff5a6aca0c84298a111b0da5e80bade8132e05339035edde3cc5fc08834f2d6c4b26e DIST unifi-7.5.187.zip 172434106 BLAKE2B db54079f30c9f61989ceb70474ea68559189804876000534c2a0165a9ef2324f92d19e7b055eaa31cd77e7bd90db0c29aa9f20953dc17a5c54cc646a5c862990 SHA512 703e29273412c497a5bea74210e8c409c629b81fee2badd3f116bbb31a2ca82942ff0281303c0da57757a85e44f4457ba3730deaba0a1f4cc2adc1eb5ace3276 DIST unifi-8.1.113.zip 169688768 BLAKE2B 458b92f495dc5f738687d64ccfd7cb02066a46d3712bb11b28c17d65dd152553bb2ed7dc46e41840bb2ce99948579af7630be5bfaa775e084ee61334a7c0ea62 SHA512 f20f028097a63246c3189567b254e2da5bb0cf42abdce9d8c4cdd438665b8db76210c9a98c2e4f00fe526cff259ddd039887082661d4b3e13089eaa797e4d404 +DIST unifi-8.1.127.zip 165920812 BLAKE2B 553273139c7f8e38c04ce3823b4478e6e366ff3a139f22d692fb6f9c39284e6fbe12191bc4991e832d124e08893121018931c74c921a2186c849cb97016f8310 SHA512 45b9fe1d7d73b3544c2158062cc4f3fcea515a21ed31ed9be408995949cf4cc5f504a4b10934b400bbf309d38cf52ac72cdda87cde14217c360aa736071dffff EBUILD unifi-6.5.55-r2.ebuild 2535 BLAKE2B 2cfa249e33c6e13be327dd416862070f087e7998ef7219b2903a397c1419676b854576d059396276c03767b90a196fda451826df401525aba19014a54fa919df SHA512 2c15b0ff1eded12d1f2b99891f274d71d6dd9527d23440f8aacef8d76ccf66f6063b2ee136b503bd7b200258c812f648661fc40e54e958fe338ff0730cd2e0e3 EBUILD unifi-7.5.187.ebuild 2673 BLAKE2B 4248580218eb10fc588ec60fea1c41344a84be3d9e464b9b85572afe9b3bc4326a9a13cded7fc20ae6043ab11d9d5b942226b39da9688898c84a323cc43a1a09 SHA512 445193da23f62a5420205c9988baca93ff3bb4e86b4b215b98fe911365fd6a602e606dab3ed1c1e5bffe3f1dde6b2442711b7ef1b5a0e62312ecefb0d90c7404 EBUILD unifi-8.1.113.ebuild 2665 BLAKE2B 3b1815c1286abc5d874eeec60d586b56d574f090ae33f8c67ac03d14cb3c6c92a1fcdbee00e90b8883b6c9eaf816294f236a47d6c907923139b0c919f7538752 SHA512 8742007a954a4f531e3d01ce9a75c8b649547ad10430be416204185d7db24b59590299ae98f70765d85c3533ba1dee4b5d96a29d9c9bd75fdcc89800cc2d6e0d +EBUILD unifi-8.1.127.ebuild 2666 BLAKE2B 20c2e21008e49fd27c8f7ed0e26ccdf2127a9ec1b1783db350b228bf2df88112531f06d815145f4c5c79117846639f3ff0ed16a059295191992a051e383897bc SHA512 549582cffb9b5d8de9238babf45cdcdbebea04a26bf8b02d7311eb8b9603919c795837c53ff3097858ebc2bdb8122a3ef23ea8b9e6018cdaa4bb179843b1e414 MISC metadata.xml 706 BLAKE2B c089f7ad4712f8ad5ef71f8127686dd13a7d3ead5f31dff6c939b100c18920680d648c4d27af479dc14624b5365fc038998f478ae82222fc2f2d073bbb7b58cb SHA512 8866e9107a41456a238b21316a1b174167b4343a55bcca2964b05e44fcc2d157df113a7867496726fcdc0eabf3e244e14567e03b53e3e1df2b11a2d932fa761c diff --git a/net-wireless/unifi/unifi-8.1.127.ebuild b/net-wireless/unifi/unifi-8.1.127.ebuild new file mode 100644 index 000000000000..ed01ef5545ac --- /dev/null +++ b/net-wireless/unifi/unifi-8.1.127.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Set this var for any releases except stable +# RC_SUFFIX="-" + +inherit java-pkg-2 readme.gentoo-r1 systemd + +DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" +HOMEPAGE="https://www.ubnt.com" +SRC_URI="https://dl.ui.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" +S="${WORKDIR}/UniFi" + +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/$(ver_cut 1-2)" +KEYWORDS="-* ~amd64 ~arm64" +IUSE="systemd system-mongodb" +RESTRICT="bindist mirror" + +RDEPEND=" + acct-group/unifi + acct-user/unifi + dev-db/mongodb + virtual/jre:17 +" + +BDEPEND="app-arch/unzip" + +DOCS=( "readme.txt" ) + +QA_PREBUILT=" + usr/lib/unifi/lib/native/Linux/aarch64/*.so + usr/lib/unifi/lib/native/Linux/x86_64/*.so +" + +src_prepare() { + if [[ ${CHOST} != aarch64* ]]; then + rm -r lib/native/Linux/aarch64 || die + fi + if [[ ${CHOST} != x86_64* ]]; then + rm -r lib/native/Linux/x86_64 || die + fi + + if [[ ${CHOST} == aarch64* ]]; then + if ! use systemd; then + rm lib/native/Linux/aarch64/libubnt_sdnotify_jni.so || die + fi + fi + if [[ ${CHOST} == x86_64* ]]; then + if ! use systemd; then + rm lib/native/Linux/x86_64/libubnt_sdnotify_jni.so || die + fi + fi + + default +} + +src_compile() { + :; +} + +src_install() { + insinto /usr/lib/unifi + doins -r dl lib webapps + ! use system-mongodb && doins -r bin + + diropts -o unifi -g unifi + keepdir /var/lib/unifi/{conf,data,run,tmp,work} /var/log/unifi + + for symlink in conf data run tmp work; do + dosym ../../../var/lib/unifi/${symlink} /usr/lib/unifi/${symlink} + done + dosym ../../../var/log/unifi /usr/lib/unifi/logs + + java-pkg_regjar "${D}"/usr/lib/unifi/lib/*.jar + java-pkg_dolauncher \ + unifi \ + --java_args '-Dorg.xerial.snappy.tempdir=/usr/lib/unifi/tmp \ + -Djava.library.path= \ + --add-opens java.base/java.lang=ALL-UNNAMED \ + --add-opens java.base/java.time=ALL-UNNAMED \ + --add-opens java.base/sun.security.util=ALL-UNNAMED \ + --add-opens java.base/java.io=ALL-UNNAMED \ + --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED' \ + --jar ace.jar \ + --pwd '/usr/lib/unifi' + + if use system-mongodb; then + systemd_newunit "${FILESDIR}"/unifi-mongodb.service unifi.service + newinitd "${FILESDIR}"/unifi-mongodb.initd unifi + else + systemd_newunit "${FILESDIR}"/unifi.service-r2 unifi.service + newinitd "${FILESDIR}"/unifi.initd-r2 unifi + fi + + newconfd "${FILESDIR}"/unifi.confd unifi + + echo 'CONFIG_PROTECT="/var/lib/unifi"' > "${T}"/99unifi || die + doenvd "${T}"/99unifi + + einstalldocs + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/net-wireless/urh/Manifest b/net-wireless/urh/Manifest index 94c0d0de46ca..ad7887001447 100644 --- a/net-wireless/urh/Manifest +++ b/net-wireless/urh/Manifest @@ -1,7 +1,5 @@ -AUX urh-2.9.4-no-numpy-setup.patch 473 BLAKE2B 0ab6a8f42fd5ae3fc1bb042596040f875dfec3765ecc0ba624758b156942dc59e7851d75e6230667692f28eda56f063301a5fbe292c3a88176f8b93899bc1d01 SHA512 f7369b6b6dfff596d46067b615c5271899ab8f2a6b1a67042c169b2f89d777cd3aa2e6d412cb8458c3eaa7f377db5db2a687f6be9249c5dbd696cd2edc763028 -DIST urh-2.9.4.tar.gz 13415656 BLAKE2B 504cb073540f614eea070a7aaa83ac62f81c6a115a01f935cfc39baec37bc1deb5b56035100700825f41b21ec0937d6014f0d0b73debcbf9ca951e238805d64b SHA512 a888c20a4d2f349960e41defdb5cce6590d4523f8a1a655e21e4caaf7dd98a6f51936fa5a038787cb5935bc42e8863d2940059130dc9982caeea4b80e431aeeb -DIST urh-2.9.5.tar.gz 13414599 BLAKE2B efe075e78dd7b289d21d93675be420e8e5e69293eb1f5e61025a9b0a7db60f4e2cae29d94af03fa9e42a6941edda9667a935b201a8838c0204e61008d2883b56 SHA512 7f04f041963103aab4a67fd5fd8f874339cad04da846236b0ec4584553ae6b4a6469c2505cec7c67f72d848d0eb90a4996753802c65535914e70a943d40e6970 -EBUILD urh-2.9.4.ebuild 2591 BLAKE2B edd953cd1557981d87037df9aac707cd5acf0d47794d38d23704f0073bee2d21b154a442302688d7b8e463bcea59543855df7fe6d493e8f1a26470e0940cc1ad SHA512 38bf2256ef04cfe184c99655174dd135cdd8becad51b3bb1adad8ebf6475b6c30c180c1956de028266b4448d25b435e0b8c6e09d66d466f43881f54220e8e468 -EBUILD urh-2.9.5.ebuild 2598 BLAKE2B 001d7c5156b034c616b8c4fa823accf21f4c2335746b2ba713b3543cb26ef22f3cb52a2d3cd5ed3f9c93a371934ae311967ae1373e5eabd083a61de66bdb69c3 SHA512 ebff45df0a7232d37faeda03a1535a5095eda57025517642f8a79eb2b603faa20c58d70400176c94a21da2aca4bfdb9085c5aaca2c8fd7bd27380fb246ce9f6e -EBUILD urh-9999.ebuild 2638 BLAKE2B 914eb114d22d0279b8faab509b333b1b0593f2150901418ac1a53e8f61bf4b5aa8dbd00d5dd67bfd772af2eba697ad429bb1abb84f2e0b3715d7bc15f623afeb SHA512 af3f20a2efd9c80efc6121d2c101dcd6be8ed539ba772f1529f5bed22e05825d7c3b613c02e8d853b8dba0d067aec2afdb6b6c54063d722381a4195da69b56f7 +AUX urh-2.9.7-no-numpy-setup.patch 473 BLAKE2B c283864f38ae441d141c0e9c59e2f06a66dd6dbbc8e447370b154f5571ca908cf6572f7755833b8330f95be60629da67df158124ca94fbb0dda190d199395f34 SHA512 7f86d138839439a8512b1f1691217406653c49494cb7f55defc70a05e1e97bc5f79b5e0fa8cda4239f2e25584a713684a5af7ab1935947acecb96b2b6b6e8221 +DIST urh-2.9.6_p20240428.gh.tar.gz 13439550 BLAKE2B ad71275f2a3d0c5a680bac361949a70d1eb9a0fe496d720bbc831ef1e34b40ed187106825a295e421bf9e224de5f65cc4ed2791839307bbb75f900ba4f05aa61 SHA512 a278d4b5fcd09cf61cc63341545604882591b6732009ca61b41aa58c71666410175d7b75106c56f43dfd538db287a38f14288cc3d2dbde0260caef370850af03 +EBUILD urh-2.9.6_p20240428.ebuild 2769 BLAKE2B 0d82b7086551e78cafd9e2ffda082a23068c1fdea1bb5697357228f760d6e81186b734a814763fa22bd0439375c609415acd29cc4ce4717052951b6506c5e9bf SHA512 b6011aaa4a48a41adbb422ef32e8023eabbb1ee9ed8ab88619e2f2409f6feef72cf36a10dd346ac564380f414a850d03e95463452be59749628ca0dd30668dfd +EBUILD urh-9999.ebuild 2638 BLAKE2B b3b03f2d42cc83603151513ad40518443fd5fc9b48b20837cce16d43c12af830abcb2af7216bd3b62f4bd69d827ba47691f7301f871be9ff05d78e1da8fa7198 SHA512 e274b204bd0caf8a8bbaf5467d12db45a2d6b5d84842ab10e63cf63d752a302bb192e3274bb08d7447289fe18df1aef12569b2966aa87e42cf89189a42d84d8f MISC metadata.xml 1291 BLAKE2B ac1d540ddc87f3331c498b62d35204ce179cb3e329602e50f440d9bb0511a9096b7a1a40ac06a182716d32ede54cbcd2137e17ab76553cf58991623e343ec9dd SHA512 879febeeae3cef3a1ffd9e84fb65a70042c6a95fc0524d57a7fb5ad7d5a041371f041e2d804ed24d835911d41fcff5d42ac4a30a4b903ffddcefbb770123336b diff --git a/net-wireless/urh/files/urh-2.9.4-no-numpy-setup.patch b/net-wireless/urh/files/urh-2.9.7-no-numpy-setup.patch index 4beca0eed64f..c60b2c766197 100644 --- a/net-wireless/urh/files/urh-2.9.4-no-numpy-setup.patch +++ b/net-wireless/urh/files/urh-2.9.7-no-numpy-setup.patch @@ -5,7 +5,7 @@ diff -Naur urh-2.9.4-orig/setup.py urh-2.9.4/setup.py print("Finalizing options") _build_ext.finalize_options(self) # Prevent numpy from thinking it is still in its setup process: -- __builtins__.__NUMPY_SETUP__ = False +- set_builtin("__NUMPY_SETUP__", False) import numpy + self.include_dirs.append(numpy.get_include()) - diff --git a/net-wireless/urh/urh-2.9.5.ebuild b/net-wireless/urh/urh-2.9.5.ebuild deleted file mode 100644 index 656c0488c09c..000000000000 --- a/net-wireless/urh/urh-2.9.5.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 virtualx - -DESCRIPTION="Universal Radio Hacker: investigate wireless protocols like a boss" -HOMEPAGE="https://github.com/jopohl/urh" - -if [ "${PV}" = "9999" ]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/jopohl/urh.git" -else - SRC_URI="https://github.com/jopohl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="airspy audio bladerf hackrf limesdr plutosdr rtlsdr sdrplay uhd" - -DEPEND="${PYTHON_DEPS} - net-wireless/gnuradio[zeromq] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pyzmq[${PYTHON_USEDEP}] - dev-python/cython[${PYTHON_USEDEP}] - airspy? ( net-wireless/airspy:= ) - audio? ( dev-python/pyaudio[${PYTHON_USEDEP}] ) - bladerf? ( net-wireless/bladerf:= ) - hackrf? ( net-libs/libhackrf:= ) - limesdr? ( net-wireless/limesuite ) - plutosdr? ( net-libs/libiio:= ) - rtlsdr? ( net-wireless/rtl-sdr ) - sdrplay? ( <net-wireless/sdrplay-3.0.0:= ) - uhd? ( net-wireless/uhd:= )" -RDEPEND="${DEPEND} - dev-python/PyQt5[${PYTHON_USEDEP},testlib] - net-wireless/gr-osmosdr" - -distutils_enable_tests pytest - -PATCHES=( "${FILESDIR}/${PN}-2.9.4-no-numpy-setup.patch" ) - -python_configure_all() { - DISTUTILS_ARGS=( - $(use_with airspy) - $(use_with bladerf) - $(use_with hackrf) - $(use_with limesdr) - $(use_with plutosdr) - $(use_with rtlsdr) - $(use_with sdrplay) - $(use_with uhd usrp) - ) -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - # Why are these disabled? - # import errors AND hangs forever after 'tests/test_spectrogram.py::TestSpectrogram::test_cancel_filtering' - # import errors 'tests/test_continuous_modulator.py::TestContinuousModulator::test_modulate_continuously' - # import errors 'tests/test_send_recv_dialog_gui.py::TestSendRecvDialog::test_continuous_send_dialog' - # import errors 'tests/test_spectrogram.py::TestSpectrogram::test_channel_separation_with_negative_frequency' - local EPYTEST_DESELECT=( - 'tests/test_spectrogram.py::TestSpectrogram::test_cancel_filtering' - 'tests/test_continuous_modulator.py::TestContinuousModulator::test_modulate_continuously' - 'tests/test_send_recv_dialog_gui.py::TestSendRecvDialog::test_continuous_send_dialog' - 'tests/test_spectrogram.py::TestSpectrogram::test_channel_separation_with_negative_frequency' - - ) - cd "${T}" || die - epytest -s --pyargs urh.cythonext "${S}/tests" || die -} diff --git a/net-wireless/urh/urh-2.9.4.ebuild b/net-wireless/urh/urh-2.9.6_p20240428.ebuild index fbf539dbce42..dc4f6ce3bf49 100644 --- a/net-wireless/urh/urh-2.9.4.ebuild +++ b/net-wireless/urh/urh-2.9.6_p20240428.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 virtualx @@ -15,7 +15,10 @@ if [ "${PV}" = "9999" ]; then inherit git-r3 EGIT_REPO_URI="https://github.com/jopohl/urh.git" else - SRC_URI="https://github.com/jopohl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + COMMIT="544efd35ac4e0105cb63a31f2dc209c3834bc7bd" + SRC_URI="https://github.com/jopohl/urh/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + #SRC_URI="https://github.com/jopohl/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" KEYWORDS="~amd64 ~x86" fi @@ -44,7 +47,7 @@ RDEPEND="${DEPEND} distutils_enable_tests pytest -PATCHES=( "${FILESDIR}/${P}-no-numpy-setup.patch" ) +PATCHES=( "${FILESDIR}/${PN}-2.9.7-no-numpy-setup.patch" ) python_configure_all() { DISTUTILS_ARGS=( diff --git a/net-wireless/urh/urh-9999.ebuild b/net-wireless/urh/urh-9999.ebuild index ed1d620f7de7..ea6072eaa290 100644 --- a/net-wireless/urh/urh-9999.ebuild +++ b/net-wireless/urh/urh-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 virtualx diff --git a/net-wireless/wireless-regdb/Manifest b/net-wireless/wireless-regdb/Manifest index 1c3cfe918a96..868782c61825 100644 --- a/net-wireless/wireless-regdb/Manifest +++ b/net-wireless/wireless-regdb/Manifest @@ -1,5 +1,7 @@ DIST wireless-regdb-2022.06.06.tar.xz 26636 BLAKE2B e7695b1d4173ec239645a1f9c0bdd8f9cef92da86d918f3b2a7904487787b1a8b6fce5a75d0b7fad7d8a25f1419a4771e509977a5e3b13dff03bc53e976609f6 SHA512 ee6e79eeef3bf995120d31741bac9592771cbf918401f83d0ee059ba4119f7d9667607c5218bd9eeb0011dd7083264cf39a1a0ad3ebfd37dcfd957b01f248e0d DIST wireless-regdb-2023.05.03.tar.xz 27260 BLAKE2B e880be3bacd7409719ede3e104ea6af870e0fb4edaefa6c61615ca74a8169a159348d631a4c296e273f6cc6e01ced2089e56c10080dd15a7439d8b4510eff7b8 SHA512 9de4852a1d351c11399ca55ea2ad61be23f488c61595b5c5afa3498d76488adc8120c6c77644275c460efcd1bb5bb68fa25597e73bec22ae847321bb55f7af27 +DIST wireless-regdb-2024.05.08.tar.xz 27716 BLAKE2B 223268c6ba9e3f616b28a9317d62ac687cd09c9ff3cc8e0d0827b3a59efa7b3bc64c0c094b70aaceb87cffba7d36d36d550c001d0778238adcf2ac5cbe3f6b93 SHA512 edb562d708be7119e80bb48d7520c11e409b81178168f9c6873ea97a2e4d9277d02d3b72b1af9f0302ba2e252d94d14c4468ee4cc1a6bb186a17d74c57d7594d EBUILD wireless-regdb-20220606.ebuild 1099 BLAKE2B 2a337f4aed15757ea01d52e31a1989f25ed11a3a1437c117a2dca17c9551c76459e027c295978aa0146be44e5c8d045212c4aa96dd0c9e7b4a72db2458a90861 SHA512 42ad07e183e9e039f5e1ca503fb8a4ef6e25d4ed5c9ba38effa7abff0dbfc9338417d5e1aca314e093752e5c41b7830ff0a1c3ac864db170895e143ef12bb2db EBUILD wireless-regdb-20230503-r2.ebuild 2262 BLAKE2B f98b255eb344a2eceb630197f2d0ff2cb5283641ce5d69bbc16c04eb80965fd0edae9e88c0cec680e404b4d1bbc3ba824b90f2939644b684baa9e040115db681 SHA512 050f0509cf116119e00f2ba897ec1acb55e2ee9087291ab5dd4076e9424b7febe55581016a69bba109f2e9870c1d85b4cefaea405cf8b1cc0445052eddafd44c +EBUILD wireless-regdb-20240508.ebuild 2262 BLAKE2B f98b255eb344a2eceb630197f2d0ff2cb5283641ce5d69bbc16c04eb80965fd0edae9e88c0cec680e404b4d1bbc3ba824b90f2939644b684baa9e040115db681 SHA512 050f0509cf116119e00f2ba897ec1acb55e2ee9087291ab5dd4076e9424b7febe55581016a69bba109f2e9870c1d85b4cefaea405cf8b1cc0445052eddafd44c MISC metadata.xml 272 BLAKE2B 2a42142ca287ab19668cc11278dac4d0f16bf5b183646b0f06317a6e60568d9328d42baa986af6c692a256b28fdef32f24442faf69ae9b8305d625a3265df298 SHA512 4595277c33cd3d565c652cae1644c4ba131dea25899984629a48dc9a679441c95a7d26527c6fe4578a3e6f616e6f8c25580ee9f785fdcbd699bd43bacd846dd3 diff --git a/net-wireless/wireless-regdb/wireless-regdb-20240508.ebuild b/net-wireless/wireless-regdb/wireless-regdb-20240508.ebuild new file mode 100644 index 000000000000..8860373ea93f --- /dev/null +++ b/net-wireless/wireless-regdb/wireless-regdb-20240508.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info + +MY_P="wireless-regdb-${PV:0:4}.${PV:4:2}.${PV:6:2}" +DESCRIPTION="Wireless Regulatory database for Linux" +HOMEPAGE="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb" +SRC_URI="https://mirrors.edge.kernel.org/pub/software/network/${PN}/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +REQUIRED_USE="kernel_linux" + +pkg_pretend() { + if kernel_is -ge 4 15; then + if linux_config_exists; then + if linux_chkconfig_builtin CFG80211 && + [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]; then + ewarn "REGULATORY DOMAIN PROBLEM:" + ewarn " With CONFIG_CFG80211=y (built-in), the driver(s) 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." + fi + if ! linux_chkconfig_present CFG80211; then + ewarn "REGULARTORY DOMAIN PROBLEM:" + ewarn " With CONFIG_CFG80211 unset, the driver(s) won't be able to load the regulatory.db from" + ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m." + fi + if linux_chkconfig_present EXPERT && linux_chkconfig_present CFG80211_CRDA_SUPPORT; then + ewarn "You can safely disable CFG80211_CRDA_SUPPORT" + fi + fi + else + CONFIG_CHECK="~CFG80211_CRDA_SUPPORT" + WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: \ +please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support" + fi + + check_extra_config +} + +src_compile() { + einfo "Recompiling regulatory database(s) from db.txt would break signature verification." + einfo "Installing unmodified binary version." +} + +src_install() { + # install the files the kernel needs unconditionally, + # they are small and kernels get upgraded + insinto /lib/firmware + doins regulatory.db regulatory.db.p7s + + # regulatory.db.5 is a reference to regulatory.bin.5 so you need both unconditionally + doman -i18n= regulatory.db.5 regulatory.bin.5 + dodoc README db.txt +} diff --git a/net-wireless/wpa_supplicant/Manifest b/net-wireless/wpa_supplicant/Manifest index 91455a9e47ac..e3b451a779af 100644 --- a/net-wireless/wpa_supplicant/Manifest +++ b/net-wireless/wpa_supplicant/Manifest @@ -1,3 +1,4 @@ +AUX wpa_cli-r1.sh 1200 BLAKE2B f3dca6e7810b004a567802f59eaa414b4eaadf2eb1fb1338ddb982ed2efb6da1d44fe911d86356161c2a7bfa74a78bef5d93b1b771bccf423f769d8efbb964be SHA512 be73fde6e9c6be3a08257d5afffd0606888d2497959ae522f5d97c8c26507e38764a567b71f990d375c94b4b321c24ad19849be925e3c2194f006a0ed9973421 AUX wpa_cli.sh 1284 BLAKE2B 50757aa432bf714923d0ff5e2e8357bf3126c82dcfebbc2c342325ad97e3ca95a15ea138f9a55e5a7b9ac86cb2518c173e7d5186d5feb3e57ac762a71b11ef85 SHA512 250372231eda6f7228fcf76b13fc1b95637d0d9dec96b7bef820bfa1af1496f218909f521daf2ddb2ca81d0ebb3162500f833575b64d8d2b4820c247499e1c56 AUX wpa_supplicant-2.10-Drop-security-level-to-0-with-OpenSSL-3.0-wh.patch 2386 BLAKE2B cd4db56d476e4bde8d4343c6d2f20bad644d9794184f55313c3d5a9ea04392b0173791335476cadc3bafec8d588e29be971e573b27fd975280a059f0bf22c63c SHA512 d1f7e17dd1f6e9974825f26e549c194a450190191320251e5158432d88795a502ff4d06014af43c75338c9c7b0540f13f1fdf1173bec78ce78e681388bbd04d0 AUX wpa_supplicant-2.10-allow-legacy-renegotiation.patch 1172 BLAKE2B 90af7a43418babd981d6d092c77852ff515b187ce05a3dce6497710582ddefa5d3103ddbf1f0e2481fa102cfb9d28e775646601f139ad61633f3cfc74554dbdc SHA512 afbb89ef8248b8e32a4f537092f8255f3c17fa6281811c25cfc6dec6bae69a4fda9e65a69dae2034a4d3e8e29ecf67b867604c80fd9726cb8f26a059c3bfe8a0 @@ -6,6 +7,7 @@ AUX wpa_supplicant-conf.d 291 BLAKE2B 348e7d21fe01d2fdd2117adf22444557fa3d401f64 AUX wpa_supplicant-init.d 1250 BLAKE2B 159ebbd5a3552cbd8fdd6d48984c3a511e77cf1e140f56fc1d3e6b16454351a270e566dd7fc4717b92251193bdf59a77f57fc3fdd1d53b067f2e5253796c041b SHA512 f7439937a11d7a91eee98ab9e16a4853ce8e27395970007ae60ca9a8b1852fadc4a37ee0bf81d7e4806c545f70b139f26942ed1630db070abe8fe8e5ce752403 AUX wpa_supplicant.conf 183 BLAKE2B ea25d56f366783548b8d4bc14615d89d1c9cff1e6535992d14fa2f87a095b6c7226fbdf6b2d2ecd5fdcc13fb413fc56d5294f906c840ab3f9386c99ea69139fc SHA512 425a5c955d462ea0d0d3f79c3e1bbf68e15b495df04ad03ed7aee12408b52616af05650dfc147ca5940d69e97360c33995d33733820fef8eb8769b31e58434e8 DIST wpa_supplicant-2.10.tar.gz 3511622 BLAKE2B 7f6045e5dcf24f7ccf1ea75c99541f9d68fadaea858a6ca11a95c997de14e33b3aa89138e748664579b5a4ea493d247cf6613da3c5fae49a4dbb5cd58dace752 SHA512 021c2a48f45d39c1dc6557730be5debaee071bc0ff82a271638beee6e32314e353e49d39e2f0dc8dff6e094dcc7008cfe1c32d0c7a34a1a345a12a3f1c1e11a1 -EBUILD wpa_supplicant-2.10-r4.ebuild 12413 BLAKE2B 01c5171ef2a810813258e1857ef9ebe55f431ec7d068a579a03cf8a54b3282aef9a7cac5e3d409a65643d067c6a43fd283d8842189493fedd1ae4075c6542643 SHA512 54e021046e71e1add6aa3a140b5a7b946fb44962909d51cc909e9b0c3e43215d134f944d6e7315cead7837465a516762e318765e7b519998bfa331c87bcdbc62 -EBUILD wpa_supplicant-9999.ebuild 12413 BLAKE2B 01c5171ef2a810813258e1857ef9ebe55f431ec7d068a579a03cf8a54b3282aef9a7cac5e3d409a65643d067c6a43fd283d8842189493fedd1ae4075c6542643 SHA512 54e021046e71e1add6aa3a140b5a7b946fb44962909d51cc909e9b0c3e43215d134f944d6e7315cead7837465a516762e318765e7b519998bfa331c87bcdbc62 +EBUILD wpa_supplicant-2.10-r4.ebuild 12397 BLAKE2B f1b71ec548c83ff0505bfd16b3b06a90a93cd921fe0d33fdcd9d8afe61c0a690b5ee5f7d429dbe2415b1f51973fffd0b148a8f5d917a8f8bc43056820a52b57f SHA512 956d6db26f68570e5f3815be91b29cb7e5ea9358cf1aac550987ea329b18052e743a8a6238fcd53c43e2a19b132789ba4a404114106538f453b5a0b91fd5bb03 +EBUILD wpa_supplicant-2.10-r5.ebuild 12406 BLAKE2B 948d148ee155e51b849672f1b3d32e1a518425cee6beb86ac579f12de0a1e486841a2f9b07e7d3ae01fa20b472047f6d0fb56db31560ec6e0882fffc71f472fc SHA512 82fe891c42480c8f5f43f9e900233d0da2d3bf4d578d154cd4f092c6ae5ca21b00087265c2b3a6d8001900b2e28decdd0bedf87395b5e2985f3b54f560055f56 +EBUILD wpa_supplicant-9999.ebuild 12400 BLAKE2B 3b689c84b691bd9cbb268334606c552dddbb501c01a5111c2c199e3d9c4da048cd6c76f0913342671d7b70adfb1414b19ce083cc55182e6fdad5ff3f6d612128 SHA512 b0a2742ce76bacdfdee7e5cae34618f63ded94eae7eae50618d89bdb74cf9ac919466bcd6f1c15defdfbe6b63ffdc752775e263348d56440348b47abc2e24077 MISC metadata.xml 1882 BLAKE2B fc23e2184bd2c01f590800a2087461ba6c5d9d5021f6300f1505671369694374a26d333556b467ca0f41fb90d676a5fcad5b87e80ab8f2b2b891255afa0bcd6b SHA512 05ca61dcaf7c3d7543085be7d375088e5372eb6e3dee0cd9920b763e34f528aa988a8ec484328e122812e0f3208aac308d6011995e5ab1c9599fc7d5b9dc6733 diff --git a/net-wireless/wpa_supplicant/files/wpa_cli-r1.sh b/net-wireless/wpa_supplicant/files/wpa_cli-r1.sh new file mode 100644 index 000000000000..dc852f427f4c --- /dev/null +++ b/net-wireless/wpa_supplicant/files/wpa_cli-r1.sh @@ -0,0 +1,44 @@ +#!/bin/sh +# Copyright 1999-2011 Gentoo Foundation +# Written by Roy Marples <uberlord@gentoo.org> +# Distributed under the terms of the GNU General Public License v2 +# Alternatively, this file may be distributed under the terms of the BSD License + +if [ -z "$1" -o -z "$2" ]; then + logger -t wpa_cli "Insufficient parameters" + exit 1 +fi + +INTERFACE="$1" +ACTION="$2" + +# Note, the below action must NOT mark the interface down via ifconfig, ip or +# similar. Addresses can be removed, changed and daemons can be stopped, but +# the interface must remain up for wpa_supplicant to work. + +if [ -f /etc/gentoo-release ]; then + EXEC="/etc/init.d/net.${INTERFACE} --quiet" +else + logger -t wpa_cli "I don't know what to do with this distro!" + exit 1 +fi + +case ${ACTION} in + CONNECTED) + EXEC="${EXEC} start" + ;; + DISCONNECTED) + EXEC="${EXEC} --nodeps stop" + ;; + *) + logger -t wpa_cli "Unknown action ${ACTION}" + exit 1 + ;; +esac + +# ${EXEC} can use ${IN_BACKGROUND} so that it knows that the user isn't +# stopping the interface and a background process - like wpa_cli - is. +export IN_BACKGROUND=true + +logger -t wpa_cli "interface ${INTERFACE} ${ACTION}" +${EXEC} || logger -t wpa_cli "executing '${EXEC}' failed" diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-2.10-r4.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-2.10-r4.ebuild index 5778596a4275..51b2075c6830 100644 --- a/net-wireless/wpa_supplicant/wpa_supplicant-2.10-r4.ebuild +++ b/net-wireless/wpa_supplicant/wpa_supplicant-2.10-r4.ebuild @@ -59,9 +59,9 @@ BDEPEND="virtual/pkgconfig" DOC_CONTENTS=" If this is a clean installation of wpa_supplicant, you have to create a configuration file named - ${EROOT}/etc/wpa_supplicant/wpa_supplicant.conf + /etc/wpa_supplicant/wpa_supplicant.conf An example configuration file is available for reference in - ${EROOT}/usr/share/doc/${PF}/ + /usr/share/doc/${PF}/ " S="${WORKDIR}/${P}/${PN}" diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-2.10-r5.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-2.10-r5.ebuild new file mode 100644 index 000000000000..e2f919e5221e --- /dev/null +++ b/net-wireless/wpa_supplicant/wpa_supplicant-2.10-r5.ebuild @@ -0,0 +1,477 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop linux-info qmake-utils readme.gentoo-r1 systemd toolchain-funcs + +DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" +HOMEPAGE="https://w1.fi/wpa_supplicant/" +LICENSE="|| ( GPL-2 BSD )" + +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://w1.fi/hostap.git" +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + SRC_URI="https://w1.fi/releases/${P}.tar.gz" +fi + +SLOT="0" +IUSE="ap broadcom-sta dbus eap-sim eapol-test fasteap +fils +hs2-0 macsec +mbo +mesh p2p privsep ps3 qt5 readline selinux smartcard tdls tkip uncommon-eap-types wep wimax wps" + +# CONFIG_PRIVSEP=y does not have sufficient support for the new driver +# interface functions used for MACsec, so this combination cannot be used +# at least for now. bug #684442 +REQUIRED_USE=" + macsec? ( !privsep ) + privsep? ( !macsec ) + broadcom-sta? ( !fils !mesh !mbo ) +" + +DEPEND=" + >=dev-libs/openssl-1.0.2k:= + dbus? ( sys-apps/dbus ) + kernel_linux? ( + >=dev-libs/libnl-3.2:3 + eap-sim? ( sys-apps/pcsc-lite ) + ) + !kernel_linux? ( net-libs/libpcap ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + ) + readline? ( + sys-libs/ncurses:0= + sys-libs/readline:0= + ) +" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-networkmanager ) + kernel_linux? ( + net-wireless/wireless-regdb + ) +" +BDEPEND="virtual/pkgconfig" + +DOC_CONTENTS=" + If this is a clean installation of wpa_supplicant, you + have to create a configuration file named + /etc/wpa_supplicant/wpa_supplicant.conf + An example configuration file is available for reference in + /usr/share/doc/${PF}/ +" + +S="${WORKDIR}/${P}/${PN}" + +Kconfig_style_config() { + #param 1 is CONFIG_* item + #param 2 is what to set it = to, defaulting in y + CONFIG_PARAM="${CONFIG_HEADER:-CONFIG_}$1" + setting="${2:-y}" + + if [ ! $setting = n ]; then + #first remove any leading "# " if $2 is not n + sed -i "/^# *$CONFIG_PARAM=/s/^# *//" .config || echo "Kconfig_style_config error uncommenting $CONFIG_PARAM" + #set item = $setting (defaulting to y) + if ! sed -i "/^$CONFIG_PARAM\>/s/=.*/=$setting/" .config; then + echo "Kconfig_style_config error setting $CONFIG_PARAM=$setting" + fi + if [ -z "$( grep ^$CONFIG_PARAM= .config )" ] ; then + echo "$CONFIG_PARAM=$setting" >>.config + fi + else + #ensure item commented out + if ! sed -i "/^$CONFIG_PARAM\>/s/$CONFIG_PARAM/# $CONFIG_PARAM/" .config; then + echo "Kconfig_style_config error commenting $CONFIG_PARAM" + fi + fi +} + +src_prepare() { + default + + # net/bpf.h needed for net-libs/libpcap on Gentoo/FreeBSD + sed -i \ + -e "s:\(#include <pcap\.h>\):#include <net/bpf.h>\n\1:" \ + ../src/l2_packet/l2_packet_freebsd.c || die + + # Change configuration to match Gentoo locations (bug #143750) + sed -i \ + -e "s:/usr/lib/opensc:/usr/$(get_libdir):" \ + -e "s:/usr/lib/pkcs11:/usr/$(get_libdir):" \ + wpa_supplicant.conf || die + + # systemd entries to D-Bus service files (bug #372877) + echo 'SystemdService=wpa_supplicant.service' \ + | tee -a dbus/*.service >/dev/null || die + + cd "${WORKDIR}/${P}" || die + + if use wimax; then + # generate-libeap-peer.patch comes before + # fix-undefined-reference-to-random_get_bytes.patch + eapply "${FILESDIR}/${P}-generate-libeap-peer.patch" + + # multilib-strict fix (bug #373685) + sed -e "s/\/usr\/lib/\/usr\/$(get_libdir)/" -i src/eap_peer/Makefile || die + fi + + # bug (320097) + eapply "${FILESDIR}/${PN}-2.6-do-not-call-dbus-functions-with-NULL-path.patch" + + # bug (912315) + eapply "${FILESDIR}/${PN}-2.10-allow-legacy-renegotiation.patch" + eapply "${FILESDIR}/${P}-Drop-security-level-to-0-with-OpenSSL-3.0-wh.patch" + + # bug (640492) + sed -i 's#-Werror ##' wpa_supplicant/Makefile || die +} + +src_configure() { + # Toolchain setup + tc-export CC PKG_CONFIG + + cp defconfig .config || die + + # Basic setup + Kconfig_style_config CTRL_IFACE + Kconfig_style_config MATCH_IFACE + Kconfig_style_config BACKEND file + Kconfig_style_config IBSS_RSN + Kconfig_style_config IEEE80211W + Kconfig_style_config IEEE80211R + Kconfig_style_config HT_OVERRIDES + Kconfig_style_config VHT_OVERRIDES + Kconfig_style_config OCV + Kconfig_style_config TLSV11 + Kconfig_style_config TLSV12 + Kconfig_style_config GETRANDOM + + # Basic authentication methods + # NOTE: we don't set GPSK or SAKE as they conflict + # with the below options + Kconfig_style_config EAP_GTC + Kconfig_style_config EAP_MD5 + Kconfig_style_config EAP_OTP + Kconfig_style_config EAP_PAX + Kconfig_style_config EAP_PSK + Kconfig_style_config EAP_TLV + Kconfig_style_config EAP_EXE + Kconfig_style_config IEEE8021X_EAPOL + Kconfig_style_config PKCS12 + Kconfig_style_config PEERKEY + Kconfig_style_config EAP_LEAP + Kconfig_style_config EAP_MSCHAPV2 + Kconfig_style_config EAP_PEAP + Kconfig_style_config EAP_TEAP + Kconfig_style_config EAP_TLS + Kconfig_style_config EAP_TTLS + + # Enabling background scanning. + Kconfig_style_config BGSCAN_SIMPLE + Kconfig_style_config BGSCAN_LEARN + + if use dbus ; then + Kconfig_style_config CTRL_IFACE_DBUS + Kconfig_style_config CTRL_IFACE_DBUS_NEW + Kconfig_style_config CTRL_IFACE_DBUS_INTRO + else + Kconfig_style_config CTRL_IFACE_DBUS n + Kconfig_style_config CTRL_IFACE_DBUS_NEW n + Kconfig_style_config CTRL_IFACE_DBUS_INTRO n + fi + + if use eapol-test ; then + Kconfig_style_config EAPOL_TEST + fi + + # Enable support for writing debug info to a log file and syslog. + Kconfig_style_config DEBUG_FILE + Kconfig_style_config DEBUG_SYSLOG + + if use hs2-0 ; then + Kconfig_style_config INTERWORKING + Kconfig_style_config HS20 + fi + + if use mbo ; then + Kconfig_style_config MBO + else + Kconfig_style_config MBO n + fi + + if use uncommon-eap-types; then + Kconfig_style_config EAP_GPSK + Kconfig_style_config EAP_SAKE + Kconfig_style_config EAP_GPSK_SHA256 + Kconfig_style_config EAP_IKEV2 + Kconfig_style_config EAP_EKE + fi + + if use eap-sim ; then + # Smart card authentication + Kconfig_style_config EAP_SIM + Kconfig_style_config EAP_AKA + Kconfig_style_config EAP_AKA_PRIME + Kconfig_style_config PCSC + fi + + if use fasteap ; then + Kconfig_style_config EAP_FAST + fi + + if use readline ; then + # readline/history support for wpa_cli + Kconfig_style_config READLINE + else + #internal line edit mode for wpa_cli + Kconfig_style_config WPA_CLI_EDIT + fi + + Kconfig_style_config TLS openssl + Kconfig_style_config FST + + Kconfig_style_config EAP_PWD + if use fils; then + Kconfig_style_config FILS + Kconfig_style_config FILS_SK_PFS + fi + if use mesh; then + Kconfig_style_config MESH + else + Kconfig_style_config MESH n + fi + # WPA3 + Kconfig_style_config OWE + Kconfig_style_config SAE + Kconfig_style_config DPP + Kconfig_style_config DPP2 + Kconfig_style_config SUITEB192 + Kconfig_style_config SUITEB + + if use wep ; then + Kconfig_style_config WEP + else + Kconfig_style_config WEP n + fi + + # Watch out, reversed logic + if use tkip ; then + Kconfig_style_config NO_TKIP n + else + Kconfig_style_config NO_TKIP + fi + + if use smartcard ; then + Kconfig_style_config SMARTCARD + else + Kconfig_style_config SMARTCARD n + fi + + if use tdls ; then + Kconfig_style_config TDLS + fi + + if use kernel_linux ; then + # Linux specific drivers + Kconfig_style_config DRIVER_ATMEL + Kconfig_style_config DRIVER_HOSTAP + Kconfig_style_config DRIVER_IPW + Kconfig_style_config DRIVER_NL80211 + Kconfig_style_config DRIVER_RALINK + Kconfig_style_config DRIVER_WEXT + Kconfig_style_config DRIVER_WIRED + + if use macsec ; then + #requires something, no idea what + #Kconfig_style_config DRIVER_MACSEC_QCA + Kconfig_style_config DRIVER_MACSEC_LINUX + Kconfig_style_config MACSEC + else + # bug #831369 and bug #684442 + Kconfig_style_config DRIVER_MACSEC_LINUX n + Kconfig_style_config MACSEC n + fi + + if use ps3 ; then + Kconfig_style_config DRIVER_PS3 + fi + fi + + # Wi-Fi Protected Setup (WPS) + if use wps ; then + Kconfig_style_config WPS + Kconfig_style_config WPS2 + # USB Flash Drive + Kconfig_style_config WPS_UFD + # External Registrar + Kconfig_style_config WPS_ER + # Universal Plug'n'Play + Kconfig_style_config WPS_UPNP + # Near Field Communication + Kconfig_style_config WPS_NFC + else + Kconfig_style_config WPS n + Kconfig_style_config WPS2 n + Kconfig_style_config WPS_UFD n + Kconfig_style_config WPS_ER n + Kconfig_style_config WPS_UPNP n + Kconfig_style_config WPS_NFC n + fi + + # Wi-Fi Direct (WiDi) + if use p2p ; then + Kconfig_style_config P2P + Kconfig_style_config WIFI_DISPLAY + else + Kconfig_style_config P2P n + Kconfig_style_config WIFI_DISPLAY n + fi + + # Access Point Mode + if use ap ; then + Kconfig_style_config AP + else + Kconfig_style_config AP n + fi + + # Enable essentials for AP/P2P + if use ap || use p2p ; then + # Enabling HT support (802.11n) + Kconfig_style_config IEEE80211N + + # Enabling VHT support (802.11ac) + Kconfig_style_config IEEE80211AC + fi + + # Enable mitigation against certain attacks against TKIP + Kconfig_style_config DELAYED_MIC_ERROR_REPORT + + if use privsep ; then + Kconfig_style_config PRIVSEP + fi + + if use kernel_linux ; then + Kconfig_style_config LIBNL32 + fi + + if use qt5 ; then + pushd "${S}"/wpa_gui-qt4 > /dev/null || die + eqmake5 wpa_gui.pro + popd > /dev/null || die + fi +} + +src_compile() { + einfo "Building wpa_supplicant" + emake V=1 BINDIR=/usr/sbin + + if use wimax; then + emake -C ../src/eap_peer clean + emake -C ../src/eap_peer + fi + + if use qt5; then + einfo "Building wpa_gui" + emake -C "${S}"/wpa_gui-qt4 + fi + + if use eapol-test ; then + emake eapol_test + fi +} + +src_install() { + dosbin wpa_supplicant + use privsep && dosbin wpa_priv + dobin wpa_cli wpa_passphrase + + newinitd "${FILESDIR}/${PN}-init.d" wpa_supplicant + newconfd "${FILESDIR}/${PN}-conf.d" wpa_supplicant + + exeinto /etc/wpa_supplicant/ + newexe "${FILESDIR}/wpa_cli-r1.sh" wpa_cli.sh + + readme.gentoo_create_doc + dodoc ChangeLog {eap_testing,todo}.txt README{,-WPS} \ + wpa_supplicant.conf + + newdoc .config build-config + + if [ "${PV}" != "9999" ]; then + doman doc/docbook/*.{5,8} + fi + + if use qt5 ; then + into /usr + dobin wpa_gui-qt4/wpa_gui + doicon wpa_gui-qt4/icons/wpa_gui.svg + domenu wpa_gui-qt4/wpa_gui.desktop + else + rm "${ED}"/usr/share/man/man8/wpa_gui.8 + fi + + use wimax && emake DESTDIR="${D}" -C ../src/eap_peer install + + if use dbus ; then + pushd "${S}"/dbus > /dev/null || die + insinto /etc/dbus-1/system.d + newins dbus-wpa_supplicant.conf wpa_supplicant.conf + insinto /usr/share/dbus-1/system-services + doins fi.w1.wpa_supplicant1.service + popd > /dev/null || die + + # This unit relies on dbus support, bug 538600. + systemd_dounit systemd/wpa_supplicant.service + fi + + if use eapol-test ; then + dobin eapol_test + fi + + systemd_dounit "systemd/wpa_supplicant@.service" + systemd_dounit "systemd/wpa_supplicant-nl80211@.service" + systemd_dounit "systemd/wpa_supplicant-wired@.service" +} + +pkg_postinst() { + readme.gentoo_print_elog + + if [[ -e "${EROOT}"/etc/wpa_supplicant.conf ]] ; then + echo + ewarn "WARNING: your old configuration file ${EROOT}/etc/wpa_supplicant.conf" + ewarn "needs to be moved to ${EROOT}/etc/wpa_supplicant/wpa_supplicant.conf" + fi + if ! use wep; then + einfo "WARNING: You are building with WEP support disabled, which is recommended since" + einfo "this protocol is deprecated and insecure. If you still need to connect to" + einfo "WEP-enabled networks, you may turn this flag back on. With this flag off," + einfo "WEP-enabled networks will not even show up as available." + einfo "If your network is missing you may wish to USE=wep" + fi + if ! use tkip; then + ewarn "WARNING: You are building with TKIP support disabled, which is recommended since" + ewarn "this protocol is deprecated and insecure. If you still need to connect to" + ewarn "TKIP-enabled networks, you may turn this flag back on. With this flag off," + ewarn "TKIP-enabled networks, including mixed mode TKIP/AES-CCMP will not even show up" + ewarn "as available. If your network is missing you may wish to USE=tkip" + fi + + # Mea culpa, feel free to remove that after some time --mgorny. + local fn + for fn in wpa_supplicant{,@wlan0}.service; do + if [[ -e "${EROOT}"/etc/systemd/system/network.target.wants/${fn} ]] + then + ebegin "Moving ${fn} to multi-user.target" + mv "${EROOT}"/etc/systemd/system/network.target.wants/${fn} \ + "${EROOT}"/etc/systemd/system/multi-user.target.wants/ || die + eend ${?} \ + "Please try to re-enable ${fn}" + fi + done + + systemd_reenable wpa_supplicant.service +} diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild index 5778596a4275..b6b9865b98bc 100644 --- a/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild +++ b/net-wireless/wpa_supplicant/wpa_supplicant-9999.ebuild @@ -59,9 +59,9 @@ BDEPEND="virtual/pkgconfig" DOC_CONTENTS=" If this is a clean installation of wpa_supplicant, you have to create a configuration file named - ${EROOT}/etc/wpa_supplicant/wpa_supplicant.conf + /etc/wpa_supplicant/wpa_supplicant.conf An example configuration file is available for reference in - ${EROOT}/usr/share/doc/${PF}/ + /usr/share/doc/${PF}/ " S="${WORKDIR}/${P}/${PN}" @@ -393,7 +393,7 @@ src_install() { newconfd "${FILESDIR}/${PN}-conf.d" wpa_supplicant exeinto /etc/wpa_supplicant/ - newexe "${FILESDIR}/wpa_cli.sh" wpa_cli.sh + newexe "${FILESDIR}/wpa_cli-r1.sh" wpa_cli.sh readme.gentoo_create_doc dodoc ChangeLog {eap_testing,todo}.txt README{,-WPS} \ |