summaryrefslogtreecommitdiff
path: root/net-wireless
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-07 12:30:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-07 12:30:41 +0100
commit3c7931f8c6c90aa813912d87c684d742e0c29a05 (patch)
treefe70317ba47324f028de7df8ce1d13394263950f /net-wireless
parent7336b11bd5bd8f1cc6d445b150a6c466736c3d9d (diff)
gentoo auto-resync : 07:04:2024 - 12:30:41
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/Manifest.gzbin13906 -> 13910 bytes
-rw-r--r--net-wireless/gnome-bluetooth/Manifest2
-rw-r--r--net-wireless/gnome-bluetooth/gnome-bluetooth-42.8.ebuild2
-rw-r--r--net-wireless/kismet/Manifest7
-rw-r--r--net-wireless/kismet/files/0001-configure.ac-bashism-fix-critical-existence-failure-.patch280
-rw-r--r--net-wireless/kismet/kismet-2022.08.1-r2.ebuild12
-rw-r--r--net-wireless/kismet/kismet-2023.07.1.ebuild26
-rw-r--r--net-wireless/kismet/kismet-9999.ebuild16
8 files changed, 326 insertions, 19 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz
index 7af28a0be4cf..2c0e447f16f3 100644
--- a/net-wireless/Manifest.gz
+++ b/net-wireless/Manifest.gz
Binary files differ
diff --git a/net-wireless/gnome-bluetooth/Manifest b/net-wireless/gnome-bluetooth/Manifest
index 2df066c30cc9..c3beece2628b 100644
--- a/net-wireless/gnome-bluetooth/Manifest
+++ b/net-wireless/gnome-bluetooth/Manifest
@@ -1,5 +1,5 @@
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 1878 BLAKE2B 09471800fa1b118b8751c0ad989a15a3893eebb4e32feef9a01e8e55c8372190f1b00bc692213d030a4add39efbefcfd3dc3f0c6dbb012936c1aea901fd8cfd5 SHA512 e66073ce5ea6bf7b05d004a68352a8e0dd589e52c8d5c3969f65121abf9e91652e2259839eddc5cc230f1740ff880089293a4c0e4f12bdd2304c7f35ff5750ce
+EBUILD gnome-bluetooth-42.8.ebuild 1876 BLAKE2B bf9db316b4800445095806c3f245fadfeececc947abddf1246b3ad8b73ba9ccfb29c926ef511668382feab9bb507536013b5c67fc2bb66e20ffae3fe47db9f07 SHA512 ec8ed678996907aecfd1c7651249cd8461f8d146b72a12fcec6e0e5d629046707be6f17499f40f347beb41dd1c5bf646fc521165090d27cfdb7a69fc5102a05e
MISC metadata.xml 486 BLAKE2B f7080e058845d3931203b7912dfe5c31ecf36573241f33878cba7ca2ae240d62d067ea470845f6dfbb261631550916d430656040b8efcaec20123eb2be9ad5e4 SHA512 7b7f53d1648ad533caa02a18b859a3498e62a964f24a0e321f7661feecf95c02516f0ec65f23891a375a834d625dba7222c8e0919bc721558e747d582b6a4197
diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-42.8.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-42.8.ebuild
index bb80dbb3a638..51e9a738c8b2 100644
--- a/net-wireless/gnome-bluetooth/gnome-bluetooth-42.8.ebuild
+++ b/net-wireless/gnome-bluetooth/gnome-bluetooth-42.8.ebuild
@@ -12,7 +12,7 @@ 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"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
DEPEND="
>=dev-libs/glib-2.44:2
diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest
index 17e2a46ec52d..6706a04e41ce 100644
--- a/net-wireless/kismet/Manifest
+++ b/net-wireless/kismet/Manifest
@@ -1,3 +1,4 @@
+AUX 0001-configure.ac-bashism-fix-critical-existence-failure-.patch 10670 BLAKE2B 50ec91726bcf66c48a9faf0d9b5e7ecd363d1386d2dc2a6d3b60b5e3ca8959bb6b5e89d2a7fabcaa5c17e133e262d4efbb7174ef371583486cb3012f64c1a9e4 SHA512 a3eb46d8455a248f0cc90c27bae176e777e7a341f03f839ca16e065368b32413867bd49692d788c2b107423e4badb74aad12b05d2b61edc9728fc656d7837b4c
AUX gdb 232 BLAKE2B dc970ec4b6a5c82198d949d6a9a0e763bf63b62c4dceaf27a045ddc50226f3230108b981e6a3383f3098401f42334ce167eaa62a7e1b163f59d1d26fcbea6110 SHA512 232ebc8d3cfc9855f196e49533159638a54f03337c5734d768d3aa4a92c3ffb859eb04db35074aa2362f3074c8c153d2cad7f1fbec403894315eea0b595e740f
AUX kismet-2022.08.1-sandbox-fix.patch 4981 BLAKE2B 8bc7010844020b5b0928fe9729155f31a4f0075150a6b4500051f7346b91941e8e540a009ee0cb8643347a484028ea0bad3239b7bd1c6f5a1cf5aefe154b9b1f SHA512 f79132cd54930f58e399018f4cf66de1210d23299f755417e16559828aa19e8d312fb927802485c7748d8365d0f52608416cd52c131a9dce03da6cf44ab2a837
AUX kismet-gdb 53 BLAKE2B 8409c5f55c0b35dd13ab122d60baa2e164e158bfaa3579f1da6505a46908b4227f3973b2ac175c91090a07b6e66059349d3ffd132e15a162befc03b3d0758708 SHA512 d31173eb60a4240fb6cb6c649866d78dcfc779eea952985292711fea7f8c973b052f6d3676e9cfd8fc495336ea03710f99754669de1278f4694d25f709b15385
@@ -6,7 +7,7 @@ AUX kismet.initd-r3 332 BLAKE2B e3d4987a41acf7b76aa0a08da7d11bb7c49807a5f60e4540
DIST kismet-2022-08-R1.tar.xz 10700692 BLAKE2B 9f6b3a651eca34b90e34b8a8357be493a8966cdd5c54f5f1c38383cc3ad74f2c78ab265df882b0a5b985bed98ad61f4741ead7b443d9b79f2769ca7edc72427f SHA512 befca2dcd7016d96a17e97babbd6d88195fa61750ed616d104d10a85828ec160672c33bd2a1eae554d375feb55ea45a040a3e53c4410a3ff8c9bfa4b5c8bcdb1
DIST kismet-2023-07-R1.tar.xz 11144120 BLAKE2B c43f0665c784ff9245289e624e23cb3eb4ffcb79f050deede50129cf6b07662e817f9c9aaf6cc608395045b5b449b87d22ff314d7dbc8f04b29db2df86dc5f84 SHA512 b8b320b8e09be5be582848ce8a1a66f71a96eccc3c78f52d3f1f18122abbe614ff3b5a55b5fcedf3e6a1fc959a72838adc0d7278ffd6c25a1c179a1caf5584ce
DIST kismet-2023.07.1-stdint-fix.patch 144077 BLAKE2B 77a4ca3da4ed54e567d21c7d8d0a718751802827bcefc1122318c989cde93a2132753c910e6f503e74dac30024111edc788d9df65ef4c4749ab918485d818ee3 SHA512 cb9220cdd5e14d030ef303e28a32dced61916ff64aa5960c412c2355c1b714dc423e34b33ef701e1daa2a22c9562a85a739dc130c4ec5761924338ffb462286b
-EBUILD kismet-2022.08.1-r2.ebuild 6014 BLAKE2B 359244390037643fa6bb31868c96ef35b75c153be8ea86551b10cb7b8349b341aaac301abc6849176c31f1678789bcde6f0298404c842600153b2ae680a477a8 SHA512 98b5da855dfb8f32e503f19e6b6811c92acd9e3bd9ef501c87ef968cd4394c3d119dcdd23c175a7a95e141168de7b5860e90575ebdd74e8e6e4d1c11f802a2c1
-EBUILD kismet-2023.07.1.ebuild 5763 BLAKE2B ec0cb9033e755662814a5412742620152b0822a11a0bf5e4985fa2d67c6a6aaf544534b2cabd70fd1b806dd2d106eb2501784c811f1a1daeedf8f2ad14c0887f SHA512 a0ac7036cc7b2f8aadc666e949e7417769b10fb713af910b6d058508b650b73ef87f0a750cc03fb32a82ac3cf8642052d98581927a265f3078162ed464d1ff8e
-EBUILD kismet-9999.ebuild 5753 BLAKE2B f9c8e12942d1c781329453baa136a9d9032b44f5b2acfb4a2ff7a012a09e78f5db7d803c1e1af7bb3869a94969a1c21ab887350d3a1a6bde193ca48323402f5a SHA512 a2245d8b28eb799e2ef5f47692c8900ce3bcf2f4a07e336953268e5196058fa9b37ccaab6c022fcc654d48ac89775ed01760005a37b1ae85ce3522b7f91f14c9
+EBUILD kismet-2022.08.1-r2.ebuild 6227 BLAKE2B 39a3911c6fc4770b90cfe2677ce8ab27b810d807758b714f4b9ce7d49b007e4e03cf68ac80b029f55d2352cb5567db1478f9b5533669b3d3fe60dac01a3660e0 SHA512 d3ba5127f1df674ceca1983afc79a912685d03bd7f81b8b9c55114759d11cb297315aeb6bfbcf1c656e1f797169e5c12fd41bbbcfbf5e9d94cc1eac8cd4d8641
+EBUILD kismet-2023.07.1.ebuild 6077 BLAKE2B 05e971885070e74c0b81411ba2994502ec80ee6b4daca3daa42aa12830c58b7ffcfec50f45796dd54d95e321dda8eb944481b1885ee1d05e329f1b22668c1435 SHA512 11761aa69161a59967b6d62250b915130422b86e351e0cae72b24de2dc380046b2c422e0dc53e46bfa1ad04bcb96f67ecfc4f5ca716eaf1ee8398529ede18c23
+EBUILD kismet-9999.ebuild 5966 BLAKE2B df64d9367cb0e8c29f7a4f1d6bac6dd95c5491b734350bd904f6ce1501ede62dd7ced40dc189d219d893417edac2127357b1621e097ba881abf8dc5b68e485da SHA512 eb08c3a96f52ca27c6a5ebe804cb325537f59e28d279e0151d42f46fed7c655e6509fd002a4b193bce42e43c0f791731ab8510e19cb186ac372fafa86e1f6681
MISC metadata.xml 1177 BLAKE2B f53196e9d3a504d77a0a272bb5c189f7a662003661727f8a66b38ed387f7358c01dd27f2c0d7ec49b2069c2004fd7d5dd921f971c4989cf49363d226802928fe SHA512 65ef90c42e4c6cc6581ca533705114bae2e35c6e04e3011e88496c79aca30ebc3dfe85873e0935835577e2bd74fe199206247214f1a29842cdf3c20b6bf4001e
diff --git a/net-wireless/kismet/files/0001-configure.ac-bashism-fix-critical-existence-failure-.patch b/net-wireless/kismet/files/0001-configure.ac-bashism-fix-critical-existence-failure-.patch
new file mode 100644
index 000000000000..3cf4ed8cff85
--- /dev/null
+++ b/net-wireless/kismet/files/0001-configure.ac-bashism-fix-critical-existence-failure-.patch
@@ -0,0 +1,280 @@
+From d3732f93cbdc9edf39d31c7c50b72cc6a79be0dc Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz93@gmail.com>
+Date: Fri, 5 Apr 2024 00:42:29 -0400
+Subject: [PATCH] configure.ac: bashism: fix critical existence failure on
+ systems with dash
+
+Remove the consistent use of bashisms. An autoconf generated script is
+designed to work with POSIX sh, and contains a /bin/sh shebang. As a
+result, it *cannot* assume it will be run with bash, as it won't be.
+
+The bashism in question is the double equals (`==`) operator for the
+test command. It is actually a bash-specific alias for the single equals
+operator. It behaves exactly the same, except more confusing. It
+contains no added functionality and no behavior changes, it is merely an
+additional alternate spelling. In exchange for doing nothing whatsoever,
+even in bash, it breaks muscle memory when writing POSIX sh scripts and
+tricks developers into writing the wrong thing.
+
+It is terrible and should never be used under any circumstances.
+Ideally it would be removed altogether from GNU bash.
+
+Fixes the following warnings when running configure:
+
+```
+./configure: 5011: test: x: unexpected operator
+./configure: 5014: test: x: unexpected operator
+./configure: 5017: test: x: unexpected operator
+./configure: 8056: test: nox: unexpected operator
+./configure: 8109: test: yesx: unexpected operator
+./configure: 8120: test: 3: unexpected operator
+./configure: 8144: test: unexpected operator
+./configure: 9089: test: stdc++x: unexpected operator
+./configure: 9937: test: 0: unexpected operator
+./configure: 10084: test: 0: unexpected operator
+./configure: 10207: test: 0: unexpected operator
+./configure: 10283: test: 0: unexpected operator
+./configure: 11363: test: x: unexpected operator
+./configure: 11561: test: x: unexpected operator
+./configure: 11634: test: xno: unexpected operator
+./configure: 11663: test: xno: unexpected operator
+./configure: 12490: test: 3: unexpected operator
+./configure: 13150: test: no: unexpected operator
+./configure: 13167: test: no: unexpected operator
+```
+
+And the following fatal errors when trying to compile, since the
+resulting conditionals failed to define $(PROTOCBIN):
+
+```
+make -j8
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/kismet.proto
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/http.proto
+/bin/sh: 1: -I: not found
+make: [Makefile:808: protobuf_cpp/kismet.pb.h] Error 127 (ignored)
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/datasource.proto
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/linuxbluetooth.proto
+/bin/sh: 1: -I: not found
+make: [Makefile:808: protobuf_cpp/http.pb.h] Error 127 (ignored)
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/eventbus.proto
+/bin/sh: 1: -I: not found
+make: [Makefile:808: protobuf_cpp/linuxbluetooth.pb.h] Error 127 (ignored)
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/kismet.proto
+/bin/sh: 1: -I: not found
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/http.proto
+/bin/sh: 1: -I: not found
+/bin/sh: 1: -I: not found
+make: [Makefile:808: protobuf_cpp/datasource.pb.h] Error 127 (ignored)
+make: [Makefile:808: protobuf_cpp/eventbus.pb.h] Error 127 (ignored)
+make: [Makefile:806: protobuf_cpp/kismet.pb.cc] Error 127 (ignored)
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/datasource.proto
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/linuxbluetooth.proto
+cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/eventbus.proto
+/bin/sh: 1: -I: not found
+```
+
+For extra interest, the failing command begins with `--flag` i.e. a flag
+passed to protoc, which Make then interprets as "ignore errors for this
+command", which means output files are not created but the build then
+continues and produces significantly more confusing errors such as:
+
+```
+kis_external.h:51:10: fatal error: protobuf_cpp/kismet.pb.h: No such file or directory
+```
+
+Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
+---
+ configure.ac | 46 +++++++++++++++++++++++-----------------------
+ 1 file changed, 23 insertions(+), 23 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index a967e3418..d3c961821 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -179,13 +179,13 @@ else
+ GCC_MINOR=$(echo $GCC_VERSION | cut -s -d'.' -f2)
+ GCC_PATCH=$(echo $GCC_VERSION | cut -s -d'.' -f3)
+
+- if test "$GCC_MAJOR"x == x; then
++ if test "$GCC_MAJOR"x = x; then
+ GCC_MAJOR=$GCC_VERSION
+ fi
+- if test "$GCC_MINOR"x == x; then
++ if test "$GCC_MINOR"x = x; then
+ GCC_MINOR=0
+ fi
+- if test "$GCC_PATCH"x == x; then
++ if test "$GCC_PATCH"x = x; then
+ GCC_PATCH=0
+ fi
+
+@@ -318,7 +318,7 @@ AC_ARG_ENABLE([element-typesafety],
+ esac],
+ [want_te_typesafety=no]
+ )
+-if test "$want_te_typesafety"x == "yes"x; then
++if test "$want_te_typesafety"x = "yes"x; then
+ AC_DEFINE(TE_TYPE_SAFETY, 1, Enforce runtime type safety)
+ else
+ AC_DEFINE(TE_TYPE_SAFETY, 0, Do not enforce runtime type safety)
+@@ -357,7 +357,7 @@ AS_IF([test "x$with_python_interpreter" != "x"],
+ []
+ )
+
+-if test "$want_python"x == "no"x; then
++if test "$want_python"x = "no"x; then
+ BUILD_PYTHON_MODULES=0
+ BUILD_CAPTURE_SDR_RTL433=0
+ BUILD_CAPTURE_SDR_RTLAMR=0
+@@ -367,11 +367,11 @@ if test "$want_python"x == "no"x; then
+ BUILD_CAPTURE_PROXY_ADSB=0
+ AC_MSG_WARN([Disabling Python and Python-related tools])
+ else
+- if test "$PYTHON_VERSION" == 3; then
++ if test "$PYTHON_VERSION" = 3; then
+ AC_PYTHON3_MODULE(setuptools)
+ fi
+
+- if test "$HAVE_PYMOD_SETUPTOOLS" == "no"; then
++ if test "$HAVE_PYMOD_SETUPTOOLS" = "no"; then
+ AC_MSG_ERROR([Missing python setuptools, if you would like to build without python entirely, use --disable-python-tools, otherwise install python setuptools for your python version])
+ else
+ DATASOURCE_BINS="$DATASOURCE_BINS \$(CAPTURE_SDR_RTL433) \$(CAPTURE_SDR_RTLAMR) \$(CAPTURE_SDR_RTLADSB) \$(CAPTURE_FREAKLABS_ZIGBEE)"
+@@ -675,7 +675,7 @@ CC="$CXX"
+ AC_CHECK_LIB([stdc++], [main],
+ foundcxxl="stdc++" CXXLIBS="$CXXLIBS -lstdc++")
+
+-if test "$foundcxxl"x == "x" -a "$caponly" != 1; then
++if test "$foundcxxl"x = "x" -a "$caponly" != 1; then
+ AC_MSG_ERROR(No standard stdc++ libraries found.)
+ fi
+ CC="$oCC"
+@@ -939,7 +939,7 @@ if test "${wantpcre}x" = "nox" -a "${needpcre2}x" = "yesx"; then
+ AC_MSG_ERROR([Can not combine --disable-pcre and --enable-require-pcre2])
+ fi
+
+-if test "$caponly" == 0; then
++if test "$caponly" = 0; then
+ if test "$HAVE_CXX17" = "1"; then
+ AC_MSG_CHECKING([Checking C++17 parallel functions])
+
+@@ -1017,7 +1017,7 @@ if test "$caponly" == 0; then
+ fi
+
+ # Dont' check pcre if we're only building datasources
+-if test "$caponly" == 0; then
++if test "$caponly" = 0; then
+ if test "$wantpcre" = "yes"; then
+ # Check for pcre2 first
+
+@@ -1046,22 +1046,22 @@ if test "$caponly" == 0; then
+ LIBS="$OLIBS"
+
+ if test "$pcre2" != "yes"; then
+- if test "${needpcre2}x" == "yesx"; then
++ if test "${needpcre2}x" = "yesx"; then
+ AC_MSG_ERROR([Could not find libpcre2 and --enable-require-pcre2 selected])
+ fi
+
+ AC_CHECK_LIB([pcre], [pcre_compile], pcre1=yes, pcre1=no)
+
+- if test "$pcre1" == "yes"; then
++ if test "$pcre1" = "yes"; then
+ AC_CHECK_HEADER([pcre.h], pcre1=yes, pcre1=no)
+ fi
+
+ fi
+
+- if test "$pcre2" == "yes"; then
++ if test "$pcre2" = "yes"; then
+ AC_DEFINE(HAVE_LIBPCRE2, 1, libpcre2 regex support)
+ LIBS="$LIBS -lpcre2-8"
+- elif test "$pcre1" == "yes"; then
++ elif test "$pcre1" = "yes"; then
+ AC_DEFINE(HAVE_LIBPCRE, 1, libpcre1 regex support)
+ LIBS="$LIBS -lpcre"
+ else
+@@ -1071,7 +1071,7 @@ if test "$caponly" == 0; then
+ fi
+
+ # Don't check for sqlite3 if we're only building datasources
+-if test "$caponly" == 0; then
++if test "$caponly" = 0; then
+ # Check for sqlite3
+ sql3l=no
+ AC_CHECK_LIB([sqlite3], [sqlite3_libversion], sql3l=yes, sql3l=no)
+@@ -1098,7 +1098,7 @@ if test "$caponly" == 0; then
+ fi # caponly
+
+ # don't check for openssl if we're only building datasources
+-if test "$caponly" == 0; then
++if test "$caponly" = 0; then
+ AX_CHECK_OPENSSL(AC_DEFINE(HAVE_OPENSSL, 1, openssl library present),
+ AC_MSG_ERROR(Failed to find OpenSSL library))
+ fi # caponly
+@@ -1212,7 +1212,7 @@ if test "$caponly" = 0 || test "$want_python" = "yes"; then
+ [ --with-protoc[=PATH] Custom location of the protoc protobuf compiler],
+ [ ])
+
+- if test x"$with_protoc" == "x"; then
++ if test x"$with_protoc" = "x"; then
+ PROTOCBIN=protoc
+ AC_CHECK_PROG(protoc, [protoc], yes)
+ if test x"$protoc" != x"yes"; then
+@@ -1254,7 +1254,7 @@ AC_ARG_WITH(protocc,
+ [ --with-protocc[=PATH] Custom location of the protoc protobuf compiler],
+ [ PROTOCCBIN=$withval ]
+ )
+-if test x"$with_protocc" == "x"; then
++if test x"$with_protocc" = "x"; then
+ PROTOCCBIN="protoc-c"
+ AC_CHECK_PROG(protocc, [protoc-c], yes)
+ if test x"$protocc" != x"yes"; then
+@@ -1282,7 +1282,7 @@ AC_ARG_ENABLE(btgeiger,
+ [want_btgeiger=no]
+ )
+
+-AS_IF([test "x$want_btgeiger" == "xyes"], [
++AS_IF([test "x$want_btgeiger" = "xyes"], [
+ AS_IF([test "x$want_python" != "xyes"], [
+ AC_MSG_ERROR([Can not enable btgeiger without enabling python])
+ ])
+@@ -1301,7 +1301,7 @@ AC_ARG_ENABLE(bladerf,
+ [want_bladerf=no]
+ )
+
+-AS_IF([test "x$want_bladerf" == "xyes"], [
++AS_IF([test "x$want_bladerf" = "xyes"], [
+ PKG_CHECK_MODULES([libbladeRF], [libbladeRF],
+ [
+ ],
+@@ -1529,7 +1529,7 @@ if test "$havenetlink" = "yes"; then
+ fi
+
+ if test "$nlname" != ""; then
+- if test "$picked_nl" == "tiny"; then
++ if test "$picked_nl" = "tiny"; then
+ NLLIBS="-lnl-tiny"
+ else
+ NLLIBS=`pkg-config --libs $nlname`
+@@ -1837,7 +1837,7 @@ AC_ARG_ENABLE(asan,
+ esac],
+ [want_asan=no]
+ )
+-if test "$want_asan" == "yes"; then
++if test "$want_asan" = "yes"; then
+ CPPFLAGS="$CPPFLAGS -fsanitize=address -fno-omit-frame-pointer"
+ LDFLAGS="$LDFLAGS -fsanitize=address"
+ fi
+@@ -1850,7 +1850,7 @@ AC_ARG_ENABLE(tsan,
+ esac],
+ [want_tsan=no]
+ )
+-if test "$want_tsan" == "yes"; then
++if test "$want_tsan" = "yes"; then
+ CPPFLAGS="$CPPFLAGS -fsanitize=thread -fno-omit-frame-pointer"
+ LDFLAGS="$LDFLAGS -fsanitize=thread"
+ fi
+--
+2.43.2
+
diff --git a/net-wireless/kismet/kismet-2022.08.1-r2.ebuild b/net-wireless/kismet/kismet-2022.08.1-r2.ebuild
index 0965409505a7..fe81d7a6be92 100644
--- a/net-wireless/kismet/kismet-2022.08.1-r2.ebuild
+++ b/net-wireless/kismet/kismet-2022.08.1-r2.ebuild
@@ -1,11 +1,11 @@
-# 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_{9..12} )
-inherit autotools python-single-r1 udev systemd
+inherit autotools flag-o-matic python-single-r1 udev systemd
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git"
@@ -123,6 +123,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/877761
+ # https://github.com/kismetwireless/kismet/issues/518
+ #
+ # Do not trust with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
econf \
$(use_enable libusb libusb) \
$(use_enable pcre) \
diff --git a/net-wireless/kismet/kismet-2023.07.1.ebuild b/net-wireless/kismet/kismet-2023.07.1.ebuild
index d811631a3fe8..5e84c3b22723 100644
--- a/net-wireless/kismet/kismet-2023.07.1.ebuild
+++ b/net-wireless/kismet/kismet-2023.07.1.ebuild
@@ -1,11 +1,11 @@
-# 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_{9..12} )
-inherit autotools python-single-r1 udev systemd
+inherit autotools flag-o-matic python-single-r1 udev systemd
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git"
@@ -26,7 +26,11 @@ else
#SRC_URI="https://github.com/kismetwireless/kismet/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
#S="${WORKDIR}/${PN}-${COMMIT}"
- PATCHES=( "${DISTDIR}/${P}-stdint-fix.patch" )
+ PATCHES=(
+ "${DISTDIR}/${P}-stdint-fix.patch"
+ # https://github.com/kismetwireless/kismet/pull/517
+ "${FILESDIR}"/0001-configure.ac-bashism-fix-critical-existence-failure-.patch
+ )
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
fi
@@ -41,8 +45,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
CDEPEND="
${PYTHON_DEPS}
- acct-user/kismet
- acct-group/kismet
networkmanager? ( net-misc/networkmanager )
dev-libs/glib:2
dev-libs/elfutils
@@ -67,6 +69,8 @@ CDEPEND="
ubertooth? ( net-wireless/ubertooth )
"
RDEPEND="${CDEPEND}
+ acct-user/kismet
+ acct-group/kismet
$(python_gen_cond_dep '
dev-python/pyserial[${PYTHON_USEDEP}]
')
@@ -108,12 +112,18 @@ src_prepare() {
default
- if [ "${PV}" = "9999" ]; then
- eautoreconf
- fi
+ eautoreconf
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/877761
+ # https://github.com/kismetwireless/kismet/issues/518
+ #
+ # Do not trust with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
econf \
$(use_enable libusb libusb) \
$(use_enable libusb wifi-coconut) \
diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild
index 84a92eaf262c..8109bb0b1b4f 100644
--- a/net-wireless/kismet/kismet-9999.ebuild
+++ b/net-wireless/kismet/kismet-9999.ebuild
@@ -1,11 +1,11 @@
-# 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_{9..12} )
-inherit autotools python-single-r1 udev systemd
+inherit autotools flag-o-matic python-single-r1 udev systemd
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git"
@@ -38,8 +38,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
CDEPEND="
${PYTHON_DEPS}
- acct-user/kismet
- acct-group/kismet
mqtt? ( app-misc/mosquitto )
networkmanager? ( net-misc/networkmanager )
dev-libs/glib:2
@@ -65,6 +63,8 @@ CDEPEND="
ubertooth? ( net-wireless/ubertooth )
"
RDEPEND="${CDEPEND}
+ acct-user/kismet
+ acct-group/kismet
$(python_gen_cond_dep '
dev-python/pyserial[${PYTHON_USEDEP}]
')
@@ -112,6 +112,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/877761
+ # https://github.com/kismetwireless/kismet/issues/518
+ #
+ # Do not trust with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
econf \
$(use_enable libusb libusb) \
$(use_enable libusb wifi-coconut) \