diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 19:49:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 19:49:08 +0000 |
commit | f287ecad888abdeb38e617d0485de282cd6819db (patch) | |
tree | 874d56500040734c4dbb9e437e0d5ed80a0a1886 /net-wireless | |
parent | 844ae757702c53a56ee57056873a8204d256d47e (diff) |
gentoo auto-resync : 19:12:2022 - 19:49:08
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/Manifest.gz | bin | 14562 -> 14561 bytes | |||
-rw-r--r-- | net-wireless/gnuradio/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/gnuradio/gnuradio-3.10.5.0.ebuild (renamed from net-wireless/gnuradio/gnuradio-3.10.3.0-r2.ebuild) | 4 | ||||
-rw-r--r-- | net-wireless/gnuradio/gnuradio-9999.ebuild | 11 | ||||
-rw-r--r-- | net-wireless/gqrx/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/gqrx/gqrx-2.15.8.ebuild | 55 | ||||
-rw-r--r-- | net-wireless/gqrx/gqrx-2.15.9-r1.ebuild (renamed from net-wireless/gqrx/gqrx-2.15.9.ebuild) | 5 | ||||
-rw-r--r-- | net-wireless/gqrx/gqrx-9999.ebuild | 5 | ||||
-rw-r--r-- | net-wireless/iwd/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/iwd/iwd-2.1.ebuild | 183 |
10 files changed, 199 insertions, 78 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz Binary files differindex 48006a011bee..e1ce9ca0612c 100644 --- a/net-wireless/Manifest.gz +++ b/net-wireless/Manifest.gz diff --git a/net-wireless/gnuradio/Manifest b/net-wireless/gnuradio/Manifest index b8d85929ca6d..df0c4ba820a1 100644 --- a/net-wireless/gnuradio/Manifest +++ b/net-wireless/gnuradio/Manifest @@ -1,9 +1,9 @@ AUX gnuradio-3.10.3.0-fix-fmt-v9.patch 4393 BLAKE2B eb915d3e63a96e0527b8525da35fa6ad9870f7ed8b113b7aeda5d616e235a89937f2187e6bd862ec3703ba2d763ae0f0d4821ed0d27f3fba290af2e7c8c1eb92 SHA512 cb45360160325fb8904a7d2edf2eaf09143327c3133575f91cfe2fb41a4ce06102b1ba364ac5917fddd78b24ebc0038f1eabc02476e211429410a39242069851 AUX gnuradio-3.10.3.0-fix-gcc12.patch 1846 BLAKE2B eccb753a970b759509537ce221e0ef7e2f086573ea7feea735feca66c3204bbf01274f4c7f1b7ba5b87bec1bcfb5099464bd2e9ecd4dfb6762e9cf6b27243c82 SHA512 106348f3f1284529052ee9c6a80d3cfae8745b7312d1ae74c153357c895d1249addf2d64b712e17ed384ee9a0e22224ded8e14f2714acbe127162da38da798da AUX gnuradio-3.10.4.0-fix-blockinterleaving.patch 797 BLAKE2B 9a32f372f6a2600dda0f341404f922f51f349c88f285257f125b7c1c87db15a074471c44139fd27bb699e2ead3c81a527d24754e82b5910e57e132edb9b4cbad SHA512 343615c80b17fab076b9509d39c4fa0ac86c84d82093805b1bd488a7c8c95a935550c1acba30fc227f374b8842fec3b9d6cbf559eb67c2dd1abc82223708cc9d -DIST gnuradio-3.10.3.0.tar.gz 4376594 BLAKE2B 676c16dda6c4b01ca922fe942e1572653c57dd8f6240ad74af2b10351470ad53ecc5c4a7347e04cb1c898388c48f561f7871c39140f77c50f9217963355793a6 SHA512 fe4cd2204257b65129f148bbdd6a1c192559b8824a131bd99cc2ac854e1880ee4fa07b702170452b3b6070df34d99db27ef0fe064c50e6e5a6335e61e38e6645 DIST gnuradio-3.10.4.0.tar.gz 4392284 BLAKE2B 2a5766708534966bcea1e1ab57ae703b0b453278da5042c65ddcf5bda39dee084ee8f77d414e2c8ab3eae2397680f7591c456404a6cefc08b28a7d1f5d25534d SHA512 a8690016513df3928cb2f63eef190c7306bc3cc452dfeafab2e47b43aa1dd3f61515df49832e99530535f94deabfb614388a27212b09e1c816782f3fdd4915eb -EBUILD gnuradio-3.10.3.0-r2.ebuild 6769 BLAKE2B 43e4db1645afc93336d8704617a117aeddebb81f148a6507071292a6e661a516d7b9eaefcb79dc4b262ae255c0dc2406e35438e0902455a99a4c384b7692d63a SHA512 ae472b26fc821c1dfcdc2426449dcb31c267c13227f1fce4a6da7746f70d4f3c300e7ad0f8a99460e57aca0b54b42ba68e90222398528b7bbcee4316be591f19 +DIST gnuradio-3.10.5.0.tar.gz 4368231 BLAKE2B c21e310d4cc50112e7d2085be5a82f4eb633305936004cc60cabbac340a0cbd0016bb5f24229380c36281c4e52e6763c5152ceb6ad0f2efc43bd28b2b55c4df8 SHA512 82f3028cbcb0175f9f354b19613ee59b052881b894c6d668d04235acda2e3be0ca2713642141a917264e70039f23795c647c47364af9ffad63f108da517d77c5 EBUILD gnuradio-3.10.4.0.ebuild 6719 BLAKE2B 0fe7b10ad8617c199c19029a06d3da149c733fb3fd545a49c78a0b66e844bd5e519066a9555c1f07ad23afb1bf159006c8d85787b2b24b3564225f3f9eb65586 SHA512 3fd291326ae296b63158bb1da18e6b8abc7911173135364586d8acd950be0c6d68c538997cadfe8bd420bcd210b7394628dbd10e1ec2605cdd178d59c77c8877 -EBUILD gnuradio-9999.ebuild 6597 BLAKE2B 5c3bb1bb7084e8ec3fd2eb5fde5ae2fff20f7ba1dbeacb3c261f4cdbc0851adc6c18ff867cbf4a881a4499334ecbec11aa7842299b464ad2b151c69978639ae6 SHA512 798170a2002e48736ecd0b3f9ddd34ba1ae93a00c8c19718b60a6f5375c9cb684c67d3ef988c39402f2029857a0b662b824e16a56723ba93d18e814a2d2d8ed5 +EBUILD gnuradio-3.10.5.0.ebuild 6661 BLAKE2B e80c64d8af2909a6a14014872bb0f47f058808695e3e1754217d567178ecb4f96c8b3047ed8c5584c2436b0e6796a41bcf4bce70ec2010b272b40e8d6748f07d SHA512 c61baea6f83ea9c377b73114d34e12b05cccd6d223f20efacfc730740477230c38133834e55eb3c4907a7c0786a77d0c52605c7e0d2b327f814e0ac14eba062c +EBUILD gnuradio-9999.ebuild 6593 BLAKE2B 16ec1945240c660ae70861cf7c048f9cd0e861d2ac33089ead1e355531afb9e0a9959b81d2a1186f5a03725658d8d15ac69bb5f74f85278da1b2af3bc77b5441 SHA512 51e5c1510ce8a7bcceb52dfd58e0ef9951f8ff8b8be9c913e8420bcc03339dd69e90f4dbdae233f2a29a8bf076dd0bff6f04833dbbac15d74629b3359d77f278 MISC metadata.xml 1869 BLAKE2B de75463e64f4f3352d8959d795de15d9345e52f491f61fc824db738bccc4e2ae0487d988c22c17149f80cda5478a5bfbda03a6c5239970423371a2a76f374003 SHA512 69477d22de9e60b7f7420b14437265771391320d7c362d51b81fb573671568cf6b6b39ba50be1ad7c8bb07ed219998cf474e19b663f4a65b0e2cc69feef017a0 diff --git a/net-wireless/gnuradio/gnuradio-3.10.3.0-r2.ebuild b/net-wireless/gnuradio/gnuradio-3.10.5.0.ebuild index b690ab4e3261..373ea59a99f5 100644 --- a/net-wireless/gnuradio/gnuradio-3.10.3.0-r2.ebuild +++ b/net-wireless/gnuradio/gnuradio-3.10.5.0.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 ~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" @@ -48,7 +48,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} RDEPEND="${PYTHON_DEPS} $(python_gen_cond_dep 'dev-libs/boost:=[python,${PYTHON_USEDEP}]') dev-libs/log4cpp:= - $(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]') $(python_gen_cond_dep 'dev-python/jsonschema[${PYTHON_USEDEP}]') dev-libs/spdlog dev-libs/libfmt:= @@ -134,7 +133,6 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-3.10.3.0-fix-fmt-v9.patch" #858659 - "${FILESDIR}/${PN}-3.10.3.0-fix-gcc12.patch" #858665 ) src_prepare() { diff --git a/net-wireless/gnuradio/gnuradio-9999.ebuild b/net-wireless/gnuradio/gnuradio-9999.ebuild index c52a5e2a707c..9ebe5272423a 100644 --- a/net-wireless/gnuradio/gnuradio-9999.ebuild +++ b/net-wireless/gnuradio/gnuradio-9999.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 ~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" @@ -48,8 +48,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} RDEPEND="${PYTHON_DEPS} $(python_gen_cond_dep 'dev-libs/boost:=[python,${PYTHON_USEDEP}]') dev-libs/log4cpp:= - $(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]') $(python_gen_cond_dep 'dev-python/jsonschema[${PYTHON_USEDEP}]') + dev-libs/spdlog + dev-libs/libfmt:= sci-libs/fftw:3.0= sci-libs/mpir:= sci-libs/volk:= @@ -119,7 +120,6 @@ DEPEND="${RDEPEND} app-text/docbook-xml-dtd:4.2 $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') $(python_gen_cond_dep 'dev-python/pygccxml[${PYTHON_USEDEP}]') - dev-libs/spdlog virtual/pkgconfig doc? ( >=app-doc/doxygen-1.5.7.1 @@ -161,12 +161,13 @@ src_configure() { -DENABLE_GRC="$(usex grc)" -DENABLE_GR_IIO="$(usex iio)" -DENABLE_GR_MODTOOL="$(usex modtool)" + -DENABLE_GR_BLOCKTOOL="$(usex modtool)" + -DENABLE_GR_NETWORK="$(usex network)" + -DENABLE_GR_PDU=ON -DENABLE_PERFORMANCE_COUNTERS="$(usex performance-counters)" -DENABLE_TESTING="$(usex test)" - -DENABLE_GR_NETWORK="$(usex network)" -DENABLE_GR_QTGUI="$(usex qt5)" -DENABLE_GR_SOAPY="$(usex soapy)" - -DENABLE_GR_BLOCKTOOL=OFF # for now -DENABLE_GR_TRELLIS="$(usex trellis)" -DENABLE_GR_UHD="$(usex uhd)" -DENABLE_GR_UTILS="$(usex utils)" diff --git a/net-wireless/gqrx/Manifest b/net-wireless/gqrx/Manifest index 05acf8aa624a..e8384db3b9ca 100644 --- a/net-wireless/gqrx/Manifest +++ b/net-wireless/gqrx/Manifest @@ -1,6 +1,4 @@ -DIST gqrx-2.15.8.tar.gz 3608013 BLAKE2B 242ec9fd3c99bf683d030936d14c96170a3432f13059abca3ef7ab1863ca4af0651eb2429c0703a0dd649304edcc1dc6c1fdefb2e8e7a77db1b2bfafc4a15452 SHA512 1c9236b68a3e21e9b6a67e8034652e8a8b369a9c1d41a54bb5f1ba83c398b1b12beb7dae44660e6fb35aa4649d17ea6546d9f1e72766b36eda84390d15022e58 DIST gqrx-2.15.9.tar.gz 3608134 BLAKE2B 0864e8b33efe12cbc77dc75bf9bb2c5938655e40710a99ff72da2f1bdb43bc4c2f964c1fe4d88136891417c16eed16444d8fad699f80ab8fe164bb18d62d23f6 SHA512 0562f5c962b7fb48e5b5b8d88f15e328bfb08284b36e289e68e77528156452075eb04a0fa530b235c383495bf4008a7c80e78aae88dfcc30da6f4ba619dfd2f3 -EBUILD gqrx-2.15.8.ebuild 1253 BLAKE2B 399e2a7c5142a50f5aef5a5b804729fc8efe7a9e3f7b95fd2fc358c4982cf0c020754c8e4b21d9cc9614faec7f15579a9bae94e0809c214112564822417b6cd9 SHA512 f03566968a03003f99b88376654714e4e27aec43295da5b93c7f646f518b322a6ff5bb56df3323b47513136a5dc8decb52ab7eb9e822bf054c0c1f43e3a276d7 -EBUILD gqrx-2.15.9.ebuild 1330 BLAKE2B 3fe562318e7aea4691afe7e5a06297a9a0d140ff7f876df81b20637bba2421408d5248d338c005ef777d49db3802585574647ec94c8d6927124fb98eebd759ec SHA512 717c6a035ca33258c4cdcf98b80cd6d941e7f9a5964a2ca88e3383d8654b3631d42523a8bb0f362b0c5bd5a72ae3a8fa50b4b12a8080090584094251baf37ea5 -EBUILD gqrx-9999.ebuild 1330 BLAKE2B 3fe562318e7aea4691afe7e5a06297a9a0d140ff7f876df81b20637bba2421408d5248d338c005ef777d49db3802585574647ec94c8d6927124fb98eebd759ec SHA512 717c6a035ca33258c4cdcf98b80cd6d941e7f9a5964a2ca88e3383d8654b3631d42523a8bb0f362b0c5bd5a72ae3a8fa50b4b12a8080090584094251baf37ea5 +EBUILD gqrx-2.15.9-r1.ebuild 1268 BLAKE2B 8dbad5233ff2d3d2a8124de8116bd880e2c79bc781682122d695fe2ab9e6a6323d606accad43f58036d1ea34f7e228b590f1eeea98748db32d6b337198edfb2a SHA512 7d003a1ccb7c53ded3b46fce708278c242f999a8793f0cffb4da00b4f47266dd7a7944d5903d49083af3bbb8216f4c559c52b76d88184ffa21b0095398a52000 +EBUILD gqrx-9999.ebuild 1268 BLAKE2B 8dbad5233ff2d3d2a8124de8116bd880e2c79bc781682122d695fe2ab9e6a6323d606accad43f58036d1ea34f7e228b590f1eeea98748db32d6b337198edfb2a SHA512 7d003a1ccb7c53ded3b46fce708278c242f999a8793f0cffb4da00b4f47266dd7a7944d5903d49083af3bbb8216f4c559c52b76d88184ffa21b0095398a52000 MISC metadata.xml 524 BLAKE2B 256e6068104715ffd4e5527f33dbd1ec0f4d8de8b1251b657cdd3a6a7d37d0375d8771223b4f6ebed4c41bef7c1e7b47c835167c3aca9d89825fae72844c489e SHA512 43f31f14d30ecc93e9fd7e22f1160ff1416950af8acb4af346bfcb8f135f017d0bca0f4220efddaadd7976619f7ab594c9883b8d75651e06730a1e70c3ec362a diff --git a/net-wireless/gqrx/gqrx-2.15.8.ebuild b/net-wireless/gqrx/gqrx-2.15.8.ebuild deleted file mode 100644 index ec213fc9569c..000000000000 --- a/net-wireless/gqrx/gqrx-2.15.8.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Software defined radio receiver powered by GNU Radio and Qt" -HOMEPAGE="https://gqrx.dk/" - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/csete/gqrx.git" - inherit git-r3 -else - SRC_URI="https://github.com/csete/gqrx/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~riscv ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="gr-audio portaudio pulseaudio" -REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )" - -DEPEND=">=net-wireless/gnuradio-3.7_rc:=[audio,analog,filter] - >=net-wireless/gr-osmosdr-0.1.0:= - dev-libs/boost:= - dev-libs/log4cpp:= - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - sci-libs/volk:= - pulseaudio? ( media-sound/pulseaudio:= ) - portaudio? ( media-libs/portaudio:= )" -RDEPEND="${DEPEND}" - -src_configure() { - if use pulseaudio; then - LINUX_AUDIO_BACKEND=Pulseaudio - elif use portaudio; then - LINUX_AUDIO_BACKEND=Portaudio - elif use gr-audio; then - LINUX_AUDIO_BACKEND=Gr-audio - fi - - local mycmakeargs=( - "-DLINUX_AUDIO_BACKEND=${LINUX_AUDIO_BACKEND}" - ) - cmake_src_configure -} - -src_install() { - dobin "${BUILD_DIR}"/src/gqrx -} diff --git a/net-wireless/gqrx/gqrx-2.15.9.ebuild b/net-wireless/gqrx/gqrx-2.15.9-r1.ebuild index 23c9c275d130..2a93f5952141 100644 --- a/net-wireless/gqrx/gqrx-2.15.9.ebuild +++ b/net-wireless/gqrx/gqrx-2.15.9-r1.ebuild @@ -22,10 +22,7 @@ IUSE="gr-audio portaudio pulseaudio" REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )" DEPEND=" - || ( - <net-wireless/gnuradio-3.10:0[audio,analog,filter] - >=net-wireless/gnuradio-3.10:0[audio,analog,filter,network] - ) + >=net-wireless/gnuradio-3.10:0=[audio,analog,filter,network] >=net-wireless/gr-osmosdr-0.1.0:= dev-libs/boost:= dev-libs/log4cpp:= diff --git a/net-wireless/gqrx/gqrx-9999.ebuild b/net-wireless/gqrx/gqrx-9999.ebuild index 23c9c275d130..2a93f5952141 100644 --- a/net-wireless/gqrx/gqrx-9999.ebuild +++ b/net-wireless/gqrx/gqrx-9999.ebuild @@ -22,10 +22,7 @@ IUSE="gr-audio portaudio pulseaudio" REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )" DEPEND=" - || ( - <net-wireless/gnuradio-3.10:0[audio,analog,filter] - >=net-wireless/gnuradio-3.10:0[audio,analog,filter,network] - ) + >=net-wireless/gnuradio-3.10:0=[audio,analog,filter,network] >=net-wireless/gr-osmosdr-0.1.0:= dev-libs/boost:= dev-libs/log4cpp:= diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest index 9b9a82b108f8..b389486de949 100644 --- a/net-wireless/iwd/Manifest +++ b/net-wireless/iwd/Manifest @@ -3,7 +3,9 @@ AUX iwd.initd 246 BLAKE2B 02a422e96de99256e55f2ed86cfd9ed43bf93130021c523d0e4600 AUX iwd.initd-r1 290 BLAKE2B ea7a6a51ab0fe4f83a748e61e245cf2d7abac898431bf84d9f30c56a7706828dd8e1544ecd61931f52fd5f52791abb0cfe07c685c297f560fe257b8769bfd6e6 SHA512 be44fb430252cf51e192b7b09a05302e1b9edfc4ebb7c5a357d912d727f25afc165b02752f9c51a9056e86471a12f3d2cfa384560b417d5303a93b5c4dff0a28 DIST iwd-1.30.tar.xz 1026436 BLAKE2B 02382181d8e40d0d88c6c752c480db1036142c91b2547499456763bb9c157c7113f9c496d5dd0ae688110fab251e7f99374ea560450a12701e5d72ec7eae784c SHA512 8cf705bd6cf2c69bb6fef0274f3a59f64e7a88071bf97fe3f291ebe523d38f1381299918370d7017b4e635fd1907005c530e8e693eff94d99ac5b89aebf9f815 DIST iwd-2.0.tar.xz 1056120 BLAKE2B ec9bb9968640f2b27571824db068596bc06f383898a96b478eb09488b1d981f198b7204ef8fabbe3c17d6450a138166288b6f55b843ee3ad90b121da4d07edd0 SHA512 2939acf7fc6f8a2c93115dac04d700a9983ce6ad61687b64fac1cfff9d24b7c162751388b8b403e4280686072c7e1556c993205757cd99b0cc8b849dbf2e3478 +DIST iwd-2.1.tar.xz 1056916 BLAKE2B f807008f3ed8341082e95fc9bbf55aa3d752db9246543cd7e280460bf534e7672ad34dced14ec3e1ba837adaab4c5e4b0b77b41930687cd29229f0b832c20361 SHA512 44ae26efa2fce733d24d3fcfc4f1791af4c54f9469154570285282c8de1d55ca79818a1501c1c4fc3797d1a951b15f06410400eaa07a29dbc5f351ecc704c24b EBUILD iwd-1.30.ebuild 4963 BLAKE2B 09e6f2a5a1624ecfbab8ca67378a034ee80eb22bc68dcc177852466134b3685f7e9248c5a3ea673cfc2eed2bb0d7739d18b403f0e576edd8f0a253750b8c1ece SHA512 f62f5124b70906e725d96715b0c6d86904090ffe798baef3065f7dcbf2e22a919600e7a720dd16df6a5175bbc2b68e09e8c148bfb55088c868e1a1278c581cf5 EBUILD iwd-2.0.ebuild 4969 BLAKE2B 44bf4c16081ece380b0b26756ac57f33ebd36346cab4aa66b3d3149a5b02fe734ef03eb7dcee94468bc8ff8c5d866de917095f2d48e896cc7d8dcbf05f90278f SHA512 8d984de9bf6b60f3eb8ed53fe0beb93e274398887da02e0d3b6903fd15980ff9282753ff3cead47a35c902dc8698c0d1b403b638c15a1bc0ce0faeac9d7833ea +EBUILD iwd-2.1.ebuild 4969 BLAKE2B 82e6498e7bd44ab5e9bf2d5d27382564da95ca0bb7efa52cbfe20b97c2076495ce7c01b5ccf04ff84f9281a9af57b69b916b4c3b714eddc44ffa4eec3fb34937 SHA512 2c74b9aafd448890022a6eda89b48da6c4ca2643c85c666820820033bcf12149afdc617f4ef2a06957f8c448d4f9e7a67c5e33b84e2d5f6f5e0a2b1b224b6fce EBUILD iwd-9999.ebuild 4946 BLAKE2B 97fea4e22faacc58c2e205a328f9d490c1ba3505fe24f312aaf11a664eeb838d156d9e735b15dba9ce90e109cc6b8b11debe26bf015f4a40ef1f1f26d1401143 SHA512 4733f222626ef30742fa473b01dbd91379456c1d07360dd4ccfdca64387b3e9d381399d5e562a8bda6682b816a43bf45ddf0183875088954ba0681f472259d0b MISC metadata.xml 844 BLAKE2B a0745226f5314cee29c405d53b5f03c1e2706518272a69443174123601c4b79ad5902e2f22575b46bed37c5d6ebebd1ad4cdcccbb7c40405c4d04f2b92bef17d SHA512 9997101871ad37981492b0a70150d091926ec2321f13d70d5f85f2ff5d360cc87970beb9575c2f78a909e6f3a91ef022fd7115db9ec0ec77d5d94363ed30d793 diff --git a/net-wireless/iwd/iwd-2.1.ebuild b/net-wireless/iwd/iwd-2.1.ebuild new file mode 100644 index 000000000000..f017021ec40e --- /dev/null +++ b/net-wireless/iwd/iwd-2.1.ebuild @@ -0,0 +1,183 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit flag-o-matic linux-info systemd + +#Set this variable to the required external ell version +ELL_REQ="0.55" + +if [[ ${PV} == *9999* ]]; then + inherit autotools git-r3 + IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" + ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git" +else + SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + MYRST2MAN="RST2MAN=:" +fi + +DESCRIPTION="Wireless daemon for linux" +HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+client cpu_flags_x86_aes cpu_flags_x86_ssse3 +crda +monitor ofono standalone systemd wired" + +DEPEND=" + sys-apps/dbus + client? ( sys-libs/readline:0= ) +" + +[[ -z "${ELL_REQ}" ]] || DEPEND+=" ~dev-libs/ell-${ELL_REQ}" + +RDEPEND=" + ${DEPEND} + acct-group/netdev + net-wireless/wireless-regdb + crda? ( net-wireless/crda ) + standalone? ( + systemd? ( sys-apps/systemd ) + !systemd? ( virtual/resolvconf ) + ) +" + +BDEPEND=" + virtual/pkgconfig +" + +[[ ${PV} == *9999* ]] && BDEPEND+=" dev-python/docutils" + +pkg_setup() { + CONFIG_CHECK=" + ~ASYMMETRIC_KEY_TYPE + ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE + ~CFG80211 + ~CRYPTO_AES + ~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 + ~RFKILL + ~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_DES3_EDE_X86_64" + 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 && use amd64; 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 + + if ! use crda; then + if use kernel_linux && kernel_is -lt 4 15; then + ewarn "POSSIBLE REGULATORY DOMAIN PROBLEM:" + ewarn "Regulatory domain support for kernels older than 4.15 requires crda." + fi + if linux_config_exists && linux_chkconfig_builtin CFG80211 && + [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *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() { + if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack + EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${WORKDIR}/ell git-r3_src_unpack + else + default + fi +} + +src_prepare() { + default + if [[ ${PV} == *9999* ]] ; then + eautoreconf + fi +} + +src_configure() { + append-cflags "-fsigned-char" + local myeconfargs=( + --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/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="${EPREFIX}/usr/lib/modules-load.d" + --with-systemd-networkdir="$(systemd_get_utildir)/network" + ) + [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake ${MYRST2MAN} +} + +src_install() { + emake DESTDIR="${D}" ${MYRST2MAN} install + keepdir /var/lib/${PN} + + newinitd "${FILESDIR}/iwd.initd-r1" iwd + + if use wired;then + newinitd "${FILESDIR}/ead.initd" ead + fi + + if [[ ${PV} == *9999* ]] ; then + exeinto /usr/share/iwd/scripts/ + doexe test/* + fi + + if use standalone ; then + local iwdconf="${ED}/etc/iwd/main.conf" + dodir /etc/iwd + echo "[General]" > "${iwdconf}" + echo "EnableNetworkConfiguration=true" >> "${iwdconf}" + echo "[Network]" >> "${iwdconf}" + echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${iwdconf}" + dodir /etc/conf.d + echo "rc_provide=\"net\"" > "${ED}"/etc/conf.d/iwd + fi +} |