diff options
Diffstat (limited to 'net-wireless')
19 files changed, 322 insertions, 623 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz Binary files differindex 4de28f390642..fab36f7a6564 100644 --- a/net-wireless/Manifest.gz +++ b/net-wireless/Manifest.gz diff --git a/net-wireless/blueman/Manifest b/net-wireless/blueman/Manifest index 7c0ad7826e9e..f53d11e88deb 100644 --- a/net-wireless/blueman/Manifest +++ b/net-wireless/blueman/Manifest @@ -1,5 +1,5 @@ AUX 01-org.blueman.rules 432 BLAKE2B c81ec47bc68be911b44056e4f0f4dd4e2939d8d5db78fbca9f4ddceb7c8ed0108bff1bc12d83ebfa9ed67f8939fdd0aea712aec4ae964f10d84a4a6077479a37 SHA512 5cea5f5e9f43e9778dd671ecfdf59e79d740abf278cd9a7250efcf790f632d9ff6b08bf82dff96292c45c3424be9dc290bb39c3bf329c853e02e0ae3f7bb213b DIST blueman-2.1.alpha2.tar.xz 977344 BLAKE2B c5d3d0a96c1220596647ade310263342cdaaeef511a2fb36973d182025330a29b41fb805ce54e10a2f48c1c66312006858789233f8f0a93923952bb03ac32b19 SHA512 bde4922a93087d07fd99b165255ded8d9465866e62662f644beaafe363d5618a107abbd9d951cfbd034b02b6ece11fb8117efdd5d453632e4a2fea13d3825643 -EBUILD blueman-2.1_alpha2.ebuild 2825 BLAKE2B 0c602df13a0bdf163663e07594cbc3c000eeab6272f4171150696672b63075e11e5a2b234d163e12f1fc9cbd6e6ddfed2ff4d561632244abe9f8ee884c20bdf8 SHA512 37f4607a84050867421f59d607317a0a177eb7ebf0bd78aa18e2b7f4764e2020d5ee5ecde216e24e079d1638e748e35cf639095f5d33f88052db65968af1345e -EBUILD blueman-9999.ebuild 2798 BLAKE2B 8637df3450fd4d2e2918a1875e5f673e0ad1a17ca221741e72afa66a6bd71e5c609f6a6302dfe1c0d8bbf4aa3144e7dc553d1d4381f9c44cb6997bda08db04e5 SHA512 4afe56f338b80d00f0b6b0b18b93971594a5dca7850654be20f83af053523b549c63d5cf65d0becb51497241de9679220c897eae03b00a564ed90c347842aeb5 +EBUILD blueman-2.1_alpha2.ebuild 2847 BLAKE2B 05ae8bd6610533c2bb9916e2815e456e4385a7e0c3854230b9327a59bc0040eb9b33b81d50f83a8cfeed14df6b84995dad926c20fbe7f7a96f65dcd7c3182c08 SHA512 751f5814e1c5520ffc373302a9f67ad0a3db6823fa3624b0ecb71fbbeba12eb3e017e5f3ac49aa4b693e17eae075685aaa6b1a537a5e2a3b85fab83e8a2396c6 +EBUILD blueman-9999.ebuild 2820 BLAKE2B d3c9637cae934af79f47a92df903012b100458653476636cd1d30124cfb450caea2a9cfc19e93ac1997e7eca95bd971bba37585351e637b462a08c1eb17a615c SHA512 afe8854dc78958040a871b971e4a62cc10ba5b66a1a8ed0d0878bf150f7a1052fefa571bc942917858d33e2aef91647ed962d02ee6a5ffe43e622ae59a8eddc1 MISC metadata.xml 688 BLAKE2B 60db2d7f9a0b7a9cb49845de2720dd1ef20fe18b3c85a0b95387aa8b3e801aa9edc2ab0e66b69c2d27ca148d1358ae347ceb81cc5a94def15fe7b7966424f35b SHA512 372797b89a2f56312d68bd0719af15c273fdb15a90172d2752ea22f5404d3e054075fd5d1edb08b280d842dcee6b52e2cdf5b18b296b230b6e4a76d4c6fe0bad diff --git a/net-wireless/blueman/blueman-2.1_alpha2.ebuild b/net-wireless/blueman/blueman-2.1_alpha2.ebuild index 91c37c77c4a0..233031d181d2 100644 --- a/net-wireless/blueman/blueman-2.1_alpha2.ebuild +++ b/net-wireless/blueman/blueman-2.1_alpha2.ebuild @@ -3,7 +3,7 @@ EAPI="6" -PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{3_4,3_5,3_6,3_7} ) inherit gnome2-utils linux-info python-single-r1 systemd DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager" @@ -23,7 +23,7 @@ SLOT="0" IUSE="appindicator network nls policykit pulseaudio" COMMON_DEPEND=" - dev-python/pygobject:3 + dev-python/pygobject:3[${PYTHON_USEDEP}] >=net-wireless/bluez-5:= ${PYTHON_DEPS}" DEPEND="${COMMON_DEPEND} diff --git a/net-wireless/blueman/blueman-9999.ebuild b/net-wireless/blueman/blueman-9999.ebuild index 994a440c7ce5..6adf5f63192d 100644 --- a/net-wireless/blueman/blueman-9999.ebuild +++ b/net-wireless/blueman/blueman-9999.ebuild @@ -3,7 +3,7 @@ EAPI="6" -PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{3_4,3_5,3_6,3_7} ) inherit gnome2-utils linux-info python-single-r1 systemd DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager" @@ -23,7 +23,7 @@ SLOT="0" IUSE="appindicator network nls policykit pulseaudio" COMMON_DEPEND=" - dev-python/pygobject:3 + dev-python/pygobject:3[${PYTHON_USEDEP}] >=net-wireless/bluez-5:= ${PYTHON_DEPS}" DEPEND="${COMMON_DEPEND} diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest index 5c37b299c424..2f45ecd1d1c8 100644 --- a/net-wireless/bluez/Manifest +++ b/net-wireless/bluez/Manifest @@ -8,11 +8,8 @@ AUX bluez-5.49-crash-non-LE.patch 2281 BLAKE2B c9615f8f326980cc9cbcbefa3441a4aaa AUX bluez-plugdev.patch 469 BLAKE2B 611a9971e4614ab32ab62e8d2dc23e4a98b59c02ad8303ed0dc10831ab9023665436cfa9c47f8ccab7f83ab2b46ca8369ce53c5084ba7bf649c3ea89779882af SHA512 b7e23b6f52e6f638e6d5deed4e901136c40bc1cbfb302ada8d85873e1792b4e3605802a2c5f786d5d6d53bf4651fc5b611396aaafe5eff90578650c448a5a7a2 AUX bluez-udevadm-path.patch 568 BLAKE2B 7c9d6fad4779cec9ee110c9f0723fe669e5990750674cfdf6fd7395db3c0bf4520f4d81896d802cf62a25d1abbf46784f09c581a1fb0b72ef8a27131d4cf65d8 SHA512 a1af572809ec71a1796ec66fa1d2fcea6fb7624bdb9a629791707b182310bf41d1a109cc19e0fe034f4b4ae5e5816d809ece2eb4410e7f47827ec1b86c82b3a1 AUX rfcomm-init.d-r2 546 BLAKE2B c487e51fcd4837c1cfce8b630062d1a882c084691266fd00a43d5ee7aca045fb566ab39638664bc37ec54c516aa327c6ba54b046ed18696cabf3228ad0e28588 SHA512 bcbb6a78c4c25ad797dc1d45180382909a052e9be32439eec85772082a01799f45181e8a90be89b952a68b7276f6ac1cef98fc3f4d0a5e5c8075089a29f3ddd1 -DIST bluez-5.47.tar.xz 1718920 BLAKE2B e5863181ba9b19b81bc430fb900e1a8752749a02dac122a57bd44c41a1aeeb21b4c1476cab2ce89a7d3570fc1b592f1a2ed9e1f96c289faee942d203d1e3aa85 SHA512 86fa1baae1593d4824038db8418358b0be624c81fc23ee8f96ec08979d309a2377be3924ab53cc0fcb712aec8e696360e9a9f4de4c12cc31b14de5cf495a11a6 DIST bluez-5.49.tar.xz 1744860 BLAKE2B 25b350debb016f93d23a2ecf14183197a3b8e8c0496b82b22a51ccc00ccf0241fb43d7d8d9ed04bdfcc0a1111078b8394e8b9ff23963854e51b6a19cf769811f SHA512 bc2988649420232b92e2c6836857027369f05ace005972f575ed0601c02cc97a07a3b7a0707a8bad72be73df7e8096c8bf023530443556e87c2ccb667981b37d DIST bluez-5.50.tar.xz 1755384 BLAKE2B d70763a80fa233cd31fbefc44f73ffceb54c2d7b64ee83df0d2dafb039771d2b18e69dd44b35b2cdf8eee97553c02deca2281f7ec54e958218cf6c4b364a8516 SHA512 64a680e4b3c270bc2439610c91ad2aef36131d84401e4bbdf6c2b7ec8708a19dfc942b31b9189c38a97ca072c761c669ae1aace5f4ff5d06de3ccbf33184be45 -EBUILD bluez-5.47-r1.ebuild 8003 BLAKE2B d4bf09bdd60cc7bb4069a5cadccdebf31a04bba1d31f4374e394b8dd79a5901ae7e8881435cfe1790dc5882daeef43fae43263c03b9415795ee7694c89c5e5e2 SHA512 e307de7b0805f1d37755ae1355a25f993ac1e870bdc0276e582e66f26a7916c0cd829cceb185796930ecb95ea26b8c74c45f6bf8c47673b90ff922eb72fe2baf EBUILD bluez-5.49-r1.ebuild 8102 BLAKE2B 92d5688a2b0c476e2ca5767faec68442f8624b482f407db1af683d812e51149e6d8c1fe943b54c31e83227b3819b0d89ea3866a67b27ef5dd3cde27c942609a1 SHA512 20eaed74b8c10cce8dbd116c6be91c2d32f239c7e9fb9a04098e1f16e5a43f85916b9d6567abed9804bca50879ca080d4e9c6abdf45eaa5fb354effe4ca16ea0 -EBUILD bluez-5.49.ebuild 7932 BLAKE2B f9c6a66914d52f6e08d4d40ac27cf8b88c554865e10ade87cf66342489c18a514394eba0b0bca71e4fd37a8a90316a9a3296630b5c45da713c10241b5564e55d SHA512 c7bfd84e13fb86070dd5cdb9ccb1fdec8692973d9775c3b82d4ede76316fc98aaf7bf659acfc9027b049097ff9dc155640d3c1b336adedbe322061ba34a85f9e EBUILD bluez-5.50.ebuild 8028 BLAKE2B b62e272587e4c6b3648505e509cfb8f4ba8f3457e0777f62fd77c4bea5570f4b511c03f29bd80ac36cacd28d9c493125e8cc5435224a679611aab2beedba9664 SHA512 ad8969e317f12a6c1bf2d1966cf5c40ffa3b87d87258adca745c6b953f09df9ecc7c33162a52f9780cdb075e8347aceb7a87c858fa693ac76ea2f9e8e1303098 MISC metadata.xml 1173 BLAKE2B 1c9c14538f8686c8b6f99aced931cac0235f0bb86d2e8962ace5174c486b5e7436afc1db3bb493778e70be5b5b389964f0aa8e8925093e08490f98cf6aa6b79f SHA512 151424ecb4edbcb1c632453b42e22114cb9a4ac07a41211735ec28b18072a69a1286b4b9724701016a748df3a519daeb5ef5a3611def327fc2bd461547891de4 diff --git a/net-wireless/bluez/bluez-5.47-r1.ebuild b/net-wireless/bluez/bluez-5.47-r1.ebuild deleted file mode 100644 index 43945ba07db2..000000000000 --- a/net-wireless/bluez/bluez-5.47-r1.ebuild +++ /dev/null @@ -1,263 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit autotools ltprune multilib python-single-r1 readme.gentoo-r1 systemd udev user multilib-minimal - -DESCRIPTION="Bluetooth Tools and System Daemons for Linux" -HOMEPAGE="http://www.bluez.org" -SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" - -LICENSE="GPL-2+ LGPL-2.1+" -SLOT="0/3" -KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 x86" -IUSE="alsa cups doc debug deprecated extra-tools experimental +mesh +obex +readline selinux systemd test test-programs +udev user-session" - -# Since this release all remaining extra-tools need readline support, but this could -# change in the future, hence, this REQUIRED_USE constraint could be dropped -# again in the future. -REQUIRED_USE=" - extra-tools? ( deprecated readline ) - test? ( ${PYTHON_REQUIRED_USE} ) - test-programs? ( ${PYTHON_REQUIRED_USE} ) - user-session? ( systemd ) -" - -CDEPEND=" - >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] - >=sys-apps/dbus-1.6:=[user-session=] - >=sys-apps/hwids-20121202.2 - alsa? ( media-libs/alsa-lib ) - cups? ( net-print/cups:= ) - mesh? ( - dev-libs/json-c:= - sys-libs/readline:0= ) - obex? ( dev-libs/libical:= ) - readline? ( sys-libs/readline:0= ) - systemd? ( sys-apps/systemd ) - udev? ( >=virtual/udev-172 ) -" -TEST_DEPS="${PYTHON_DEPS} - >=dev-python/dbus-python-1[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] -" - -DEPEND="${CDEPEND} - virtual/pkgconfig - test? ( ${TEST_DEPS} ) -" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-bluetooth ) - test-programs? ( ${TEST_DEPS} ) -" -DOC_CONTENTS=" - If you want to control your bluetooth devices as a non-root user, - please remember to add you to plugdev group. - - If you want to use rfcomm as a normal user, you need to add the user - to the uucp group. -" - -PATCHES=( - # Use static group "plugdev" to not force people to become root for - # controlling the devices. - "${FILESDIR}"/bluez-plugdev.patch - - # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) - # http://www.spinics.net/lists/linux-bluetooth/msg58739.html - "${FILESDIR}"/bluez-udevadm-path.patch - - # build: Quote systemd variable names, bug #527432 - # http://article.gmane.org/gmane.linux.bluez.kernel/67230 - "${FILESDIR}"/bluez-5.39-systemd-quote.patch - - # Fedora patches - # http://www.spinics.net/lists/linux-bluetooth/msg40136.html - "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch - - # http://www.spinics.net/lists/linux-bluetooth/msg41264.html - "${FILESDIR}"/0002-autopair-Don-t-handle-the-iCade.patch - - # ??? - "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch -) - -pkg_setup() { - enewgroup plugdev - - 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 - - # http://www.spinics.net/lists/linux-bluetooth/msg38490.html - ! use user-session && eapply "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch - - if use cups; then - sed -i \ - -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \ - Makefile.{in,tools} || die - fi - - # Broken test https://bugzilla.kernel.org/show_bug.cgi?id=196621 - sed -i -e '/unit_tests += unit\/test-gatt\b/d' Makefile.am || die - - eautoreconf - - multilib_copy_sources -} - -multilib_src_configure() { - 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-experimental \ - --enable-optimization \ - $(use_enable debug) \ - --enable-pie \ - --enable-threads \ - --enable-library \ - --enable-tools \ - --enable-manpages \ - --enable-monitor \ - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ - $(multilib_native_use_enable alsa midi) \ - $(multilib_native_use_enable cups) \ - $(multilib_native_use_enable deprecated) \ - $(multilib_native_use_enable experimental) \ - $(multilib_native_use_enable mesh) \ - $(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 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 that tools can break" - ewarn "without 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 - # gatttool is only built with readline, bug #530776 - dobin attrib/gatttool - dobin tools/btmgmt - fi - - # Unittests are not that useful once installed, so make them optional - if use test-programs; then - # example-gatt-client is the only one needing - # python3, the others are python2 only. Remove - # until we see how to pull in python2 and python3 - # for runtime - rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-server || die - rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-client || 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-includeHEADERS \ - 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 - use user-session && ln -s "${ED}"/usr/lib/systemd/user/obex.service "${ED}"/usr/lib/systemd/user/dbus-org.bluez.obex.service - - prune_libtool_files --modules - - keepdir /var/lib/bluetooth - - # Upstream don't want people to play with them - # But we keep installing them due to 'historical' reasons - insinto /etc/bluetooth - local d - for d in input network; do - doins profiles/${d}/${d}.conf - done - doins src/main.conf - - newinitd "${FILESDIR}"/bluetooth-init.d-r4 bluetooth - newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm - - einstalldocs - use doc && dodoc doc/*.txt - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - 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." -} diff --git a/net-wireless/bluez/bluez-5.49.ebuild b/net-wireless/bluez/bluez-5.49.ebuild deleted file mode 100644 index e3c3ae93c765..000000000000 --- a/net-wireless/bluez/bluez-5.49.ebuild +++ /dev/null @@ -1,259 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit autotools multilib python-single-r1 readme.gentoo-r1 systemd udev user multilib-minimal - -DESCRIPTION="Bluetooth Tools and System Daemons for Linux" -HOMEPAGE="http://www.bluez.org" -SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" - -LICENSE="GPL-2+ LGPL-2.1+" -SLOT="0/3" -KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ppc64 x86" -IUSE="alsa cups doc debug deprecated extra-tools experimental +mesh +obex +readline selinux systemd test test-programs +udev user-session" - -# Since this release all remaining extra-tools need readline support, but this could -# change in the future, hence, this REQUIRED_USE constraint could be dropped -# again in the future. -REQUIRED_USE=" - extra-tools? ( deprecated readline ) - test? ( ${PYTHON_REQUIRED_USE} ) - test-programs? ( ${PYTHON_REQUIRED_USE} ) - user-session? ( systemd ) -" - -CDEPEND=" - >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] - >=sys-apps/dbus-1.6:=[user-session=] - >=sys-apps/hwids-20121202.2 - alsa? ( media-libs/alsa-lib ) - cups? ( net-print/cups:= ) - mesh? ( - dev-libs/json-c:= - sys-libs/readline:0= ) - obex? ( dev-libs/libical:= ) - readline? ( sys-libs/readline:0= ) - systemd? ( sys-apps/systemd ) - udev? ( >=virtual/udev-172 ) -" -TEST_DEPS="${PYTHON_DEPS} - >=dev-python/dbus-python-1[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] -" - -DEPEND="${CDEPEND} - virtual/pkgconfig - test? ( ${TEST_DEPS} ) -" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-bluetooth ) - test-programs? ( ${TEST_DEPS} ) -" -DOC_CONTENTS=" - If you want to control your bluetooth devices as a non-root user, - please remember to add you to plugdev group. -" - -PATCHES=( - # Use static group "plugdev" to not force people to become root for - # controlling the devices. - "${FILESDIR}"/bluez-plugdev.patch - - # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) - # http://www.spinics.net/lists/linux-bluetooth/msg58739.html - "${FILESDIR}"/bluez-udevadm-path.patch - - # build: Quote systemd variable names, bug #527432 - # http://article.gmane.org/gmane.linux.bluez.kernel/67230 - "${FILESDIR}"/bluez-5.39-systemd-quote.patch - - # Fedora patches - # http://www.spinics.net/lists/linux-bluetooth/msg40136.html - "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch - - # ??? - "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch -) - -pkg_setup() { - enewgroup plugdev - - 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 - - # http://www.spinics.net/lists/linux-bluetooth/msg38490.html - ! use user-session && eapply "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch - - if use cups; then - sed -i \ - -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \ - Makefile.{in,tools} || die - fi - - # Broken test https://bugzilla.kernel.org/show_bug.cgi?id=196621 - sed -i -e '/unit_tests += unit\/test-gatt\b/d' Makefile.am || die - - eautoreconf - - multilib_copy_sources -} - -multilib_src_configure() { - 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 - - # btpclient disabled because we don't have ell library in the tree - econf \ - --localstatedir=/var \ - --disable-android \ - --disable-btpclient \ - --enable-datafiles \ - --enable-experimental \ - --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 alsa midi) \ - $(multilib_native_use_enable cups) \ - $(multilib_native_use_enable deprecated) \ - $(multilib_native_use_enable experimental) \ - $(multilib_native_use_enable mesh) \ - $(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 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 that tools can break" - ewarn "without 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 - # gatttool is only built with readline, bug #530776 - dobin attrib/gatttool - dobin tools/btmgmt - fi - - # Unittests are not that useful once installed, so make them optional - if use test-programs; then - # example-gatt-client is the only one needing - # python3, the others are python2 only. Remove - # until we see how to pull in python2 and python3 - # for runtime - rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-server || die - rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-client || 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-includeHEADERS \ - 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 - use user-session && ln -s "${ED}"/usr/lib/systemd/user/obex.service "${ED}"/usr/lib/systemd/user/dbus-org.bluez.obex.service - - find "${D}" -name '*.la' -delete || die - - keepdir /var/lib/bluetooth - - # Upstream don't want people to play with them - # But we keep installing them due to 'historical' reasons - insinto /etc/bluetooth - local d - for d in input network; do - doins profiles/${d}/${d}.conf - done - doins src/main.conf - - newinitd "${FILESDIR}"/bluetooth-init.d-r4 bluetooth - - einstalldocs - use doc && dodoc doc/*.txt - ! use systemd && readme.gentoo_create_doc -} - -pkg_postinst() { - ! use systemd && readme.gentoo_print_elog - - 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." -} diff --git a/net-wireless/bss/Manifest b/net-wireless/bss/Manifest index 1582baac8b08..d8c531b08737 100644 --- a/net-wireless/bss/Manifest +++ b/net-wireless/bss/Manifest @@ -1,3 +1,3 @@ DIST bss-0.8.tar.gz 25128 BLAKE2B 3d62b48c796e0f820f6f607dcb49d52210545334f9d0066e2e5d3cbf4f86fbf04dbbf44e0cceca706c49109fd3e1cbf5eb26506a59255add818f4ac0a55d3d83 SHA512 274b7184837502f1f861dede5ee3a992006054e56704bace894b1eaa44b1a7449e188014e1675e3e5126a7bef8bcaf3799043537ce3b80967f15cb239bb6e894 -EBUILD bss-0.8.ebuild 680 BLAKE2B 09274c0539d06829b0a474babcc681fc34a4c29f86e3bbdec62eb0caa8033e24887630b958e96d6931d3467f276ccfd86f894b90f1e72a7f73b055f709356686 SHA512 91a20d543d6e5513710a5c27a04d1d2b47ad4a15d3d715959875b1c8580c39628cf42a8d59d4d1e00d726b48e74d43330a24e6a16492463b2e878be55c298df0 +EBUILD bss-0.8-r1.ebuild 676 BLAKE2B f93d860be85f99b2d78e03c84fcde82fe829c916a01036624e9880fdbf520a1bdac469de37d6e3c8a8dac8d7e8bd1d69f83ded191141645f59bb31a078519344 SHA512 43d6ff62472a306fec0bd2729cd1be8aca8e832d20b7c6ac4e6fc6522c72859368211f91393498322564fdf217121be7171a05937743d87f10fd3091b2d3bed0 MISC metadata.xml 216 BLAKE2B 20531789dc11e43feee7ec315a0c1c7249fdf73764e29cb7d6db439826e9ff72f24a5cdb8eb7f1ab99bbb41fb6e4226874a1d1fa4185de52598602bb3b0479a3 SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd diff --git a/net-wireless/bss/bss-0.8.ebuild b/net-wireless/bss/bss-0.8-r1.ebuild index eb974fe4614a..8747d82157c1 100644 --- a/net-wireless/bss/bss-0.8.ebuild +++ b/net-wireless/bss/bss-0.8-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 +EAPI=7 + inherit toolchain-funcs DESCRIPTION="Bluetooth stack smasher / fuzzer" @@ -16,6 +17,7 @@ IUSE="" DEPEND="net-wireless/bluez" src_prepare() { + default sed -i -e 's:/local::' Makefile || die } @@ -23,11 +25,11 @@ src_compile() { emake \ CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ - BSS_FLAGS="${LDFLAGS}" || die + BSS_FLAGS="${LDFLAGS}" } src_install() { - dosbin bss || die + dosbin bss dodoc AUTHOR BUGS CHANGELOG CONTRIB NOTES README TODO \ replay_packet/replay_l2cap_packet.c } diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest index 0f78ac4e1efc..5df2a361baed 100644 --- a/net-wireless/iwd/Manifest +++ b/net-wireless/iwd/Manifest @@ -1,5 +1,7 @@ AUX iwd.initd 246 BLAKE2B 02a422e96de99256e55f2ed86cfd9ed43bf93130021c523d0e4600ab1b7e34212a56def5ab2819c79e2d60cd63e70de4d7c31ae349326b9a15c35a025da4df29 SHA512 699f51082cb44d5ce52ea9dbb9adc4b0eeff945461c66ec4bfcb9d8f26fcc13aee3e7fe69b406d0a7e1ca89af24e655e830c7a61e028a1c0fff1ef8a2b3e153a DIST iwd-0.3.tar.xz 642012 BLAKE2B 9bd43a13760cb32c2ead0e54b5e4389159a6a9a9780651435c8fb3d09859606a89aed6f163183a1027c8afefe05ef848c00104bf87cc223d25408f5405dffd33 SHA512 9c34d98ecae18955cc39cb7a58c0724b500902e2070ebbc1967fa4e2ed3633e01052a6bcb592b8bbb806307d8f0db8271a0ac7ad105f8a8f42915b8627e429f6 +DIST iwd-0.4.tar.xz 649484 BLAKE2B 7af09a39a6c19b6ebb466d1fba857a6b7acd00d47feefe7e5053ddcdb0a64e74b7bd96a777e46ebd188af7ff5b3c1ed24ff383d11612dcffcef1aa5f210e78f7 SHA512 55c469b4e675f0c47c91bc46f0a93b704d9f2893393262aca8fd983aee16a7a13a112e9df15a31561fe72a806439a9a93fcbe1721648f3eed9ef277f9339b770 EBUILD iwd-0.3.ebuild 2533 BLAKE2B 464db65d7668436bda8af9b909a3a77ebe8add30430a50675873d2ca4367fabffe90d01a307dc150656d0827d509a3a59bd52652dace14c149794d916a9e6fd9 SHA512 b0b997df430397fbd8639c412d761bfcbd57722f216821eb9619ebdbeac9275be9aed0a21d6d9616079908c39e0a308d8e8d602dedaeabebfe578e3e7863e3ba +EBUILD iwd-0.4.ebuild 2533 BLAKE2B 464db65d7668436bda8af9b909a3a77ebe8add30430a50675873d2ca4367fabffe90d01a307dc150656d0827d509a3a59bd52652dace14c149794d916a9e6fd9 SHA512 b0b997df430397fbd8639c412d761bfcbd57722f216821eb9619ebdbeac9275be9aed0a21d6d9616079908c39e0a308d8e8d602dedaeabebfe578e3e7863e3ba EBUILD iwd-9999.ebuild 2533 BLAKE2B 464db65d7668436bda8af9b909a3a77ebe8add30430a50675873d2ca4367fabffe90d01a307dc150656d0827d509a3a59bd52652dace14c149794d916a9e6fd9 SHA512 b0b997df430397fbd8639c412d761bfcbd57722f216821eb9619ebdbeac9275be9aed0a21d6d9616079908c39e0a308d8e8d602dedaeabebfe578e3e7863e3ba MISC metadata.xml 369 BLAKE2B ea1b7bead9ec1e6973bb454f6112bdf0edd7a325d0100debbc107e142d017696e4833c541ce8370bbce249429662668940d664d935eb8b2f7a84a1869b7da2f6 SHA512 665188c4c174fee98b91cbc21923d2e7c31d6ace4229d51808157eb2ca0cc9f51ac9c12f461047ef5c3b3dafd7cdccb6410835e9471b5da0c5bbffd6e651aa3e diff --git a/net-wireless/iwd/iwd-0.4.ebuild b/net-wireless/iwd/iwd-0.4.ebuild new file mode 100644 index 000000000000..fa3d32f34fab --- /dev/null +++ b/net-wireless/iwd/iwd-0.4.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools linux-info systemd + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" + inherit git-r3 +else + SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Wireless daemon for linux" +HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+client +monitor cpu_flags_x86_aes cpu_flags_x86_ssse3" + +RDEPEND="sys-apps/dbus + client? ( sys-libs/readline:0= )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_pretend() { + CONFIG_CHECK=" + ~ASYMMETRIC_KEY_TYPE + ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE + ~CRYPTO_AES + ~CRYPTO_ARC4 + ~CRYPTO_CBC + ~CRYPTO_CMAC + ~CRYPTO_DES + ~CRYPTO_ECB + ~CRYPTO_HMAC + ~CRYPTO_MD4 + ~CRYPTO_MD5 + ~CRYPTO_RSA + ~CRYPTO_SHA1 + ~CRYPTO_SHA256 + ~CRYPTO_SHA512 + ~CRYPTO_USER_API_HASH + ~CRYPTO_USER_API_SKCIPHER + ~KEY_DH_OPERATIONS + ~PKCS7_MESSAGE_PARSER + ~X509_CERTIFICATE_PARSER + " + if use amd64;then + CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" + WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" + WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" + fi + + if use cpu_flags_x86_aes;then + CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" + WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" + fi + + if use cpu_flags_x86_ssse3; then + CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" + WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" + WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" + WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" + fi + + check_extra_config +} + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git-r3_src_unpack + git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell + else + default + fi +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --sysconfdir=/etc/iwd --localstatedir=/var \ + $(use_enable client) \ + $(use_enable monitor) \ + --enable-systemd-service \ + --with-systemd-unitdir="$(systemd_get_systemunitdir)" +} + +src_install() { + default + keepdir /var/lib/${PN} + + newinitd "${FILESDIR}/iwd.initd" iwd + + if [[ ${PV} == "9999" ]] ; then + exeinto /usr/share/iwd/scripts/ + doexe test/* + fi +} diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest index 51e7312afc88..eeb86fc84697 100644 --- a/net-wireless/kismet/Manifest +++ b/net-wireless/kismet/Manifest @@ -3,6 +3,8 @@ AUX kismet-2016.07.1-ruby-fixes.patch 1808 BLAKE2B e66937e71488affc6b3fe377ec27e AUX kismet.confd 403 BLAKE2B 2c286c0731489fd069f6fd5e0bd2ff92d16bac89175ebeffcb4f313553043475d030b88de1c580244767f40b60a4d8d70eb25180463b24b84b9ea7064cff742d SHA512 232801f085980d464df831af8c73fa9c4274b44dd45118938cdf9048e0d54cdcc386aec6749e7a1b2c00b73739ab8bb51ff5dadf8cc1866ce2207e28c4e25b71 AUX kismet.initd 629 BLAKE2B 5dd54d0f05c65d65682be73f15388e82dc45881d4704b04835e36f587956a0953d822557bb0baf685846a0d2bfd90db0995793f6d46a2adc5aa07dbc525df846 SHA512 864f79715b35595a19f370c2382c3a3383d06245cca7a65b88a35b9ceafb2f4953044e6b3c5c71748ed68d890043ab69a2c47d630c14c51542ba3f86699a11db DIST kismet-2016-07-R1.tar.xz 709364 BLAKE2B 5b667a02b517bd413d569f40df1f2a2e1158357c602fa807d712870543a7fade25077f449c07c023ad1d2150870352aa754484846d8c2a0d9f027113bb57c1fc SHA512 88891a0cd5ef94a4815d259e433f946f52552c125e05a5d8ac447d04e6090f2bd92f8bd8573440f0dfe446b29233bef81d9889e53170757ad0116ddfc2cb8416 +DIST kismet-2018-08-BETA1.tar.xz 2043136 BLAKE2B f24af4250bb0238073380514413d9501e449cf40507d7a96ac868d76acb34af81b9bf4a49c9b6197b6b903ab33e2318bb5efa22876cc2070e3878ebf030d592c SHA512 09eab9d648f011c95b8632c666990d79f9998465b051a65357f53af19a135a5d58df3025ec60f9ef9a7b7d9b5622d2332bb2defbffd21ca0e25e2e4090ceae2f EBUILD kismet-2016.07.1-r1.ebuild 4191 BLAKE2B 121e49130ad54fc963b011b005fa33ea6d01e71cf699232c744f7a497076b489e8913da9a0341becb21657de947204cd260e95ef46fe111716de1b1b6781b521 SHA512 ceefe51d38f6375629708be15a23a9e382578a8b4474503e2ff61bb912ab3ae313b37f417880f180094439505ea36fdbd9aeab95cbd426cc3f744985615080fc -EBUILD kismet-9999.ebuild 4691 BLAKE2B acc21dc3fc02efd61f4073c37902bcf45b7f264296b71c6315ff800e7c44879a4d565e7286c4667e794e2a997b73c4dc5a110790715c2a7ecd82d0c759e3106a SHA512 2f50cdca13c5626c4bd2353a47c9d4009af440f7376883d42427ea3fdcb891e208aebf43aef5d5d2b1039b50f950c194816272fa9bbf0e729f6eef52c1fe5901 +EBUILD kismet-2018.08_beta1-r1.ebuild 2928 BLAKE2B 9be0cfefabe0b0b69674610a05639360aa50918abd8c3076c215ebb0b85e19e9455bde50c8c881fee2abf824cdc5a4cbc26f1edcd7d651c277e919501d1a875c SHA512 f39423e4130c78335ce6f361315a322fbb5a5c23dcbdcf96055183a995f8a0f255ded74a8fd2cb50f86ce9f8df0694fbe4f91029d7f53000ee703e55e3e42b5f +EBUILD kismet-9999.ebuild 2928 BLAKE2B 9be0cfefabe0b0b69674610a05639360aa50918abd8c3076c215ebb0b85e19e9455bde50c8c881fee2abf824cdc5a4cbc26f1edcd7d651c277e919501d1a875c SHA512 f39423e4130c78335ce6f361315a322fbb5a5c23dcbdcf96055183a995f8a0f255ded74a8fd2cb50f86ce9f8df0694fbe4f91029d7f53000ee703e55e3e42b5f MISC metadata.xml 1159 BLAKE2B 2e72c1c62f31b52445c83b6b0d7695c7f1231de69fbe865e123a18dc0030a0f57586b058a7e738d561f48413e8a6ff0e8ac73428de2c41688e5baa1e4c255af1 SHA512 cf7c0f4c38f0a5e7b9c51c9fc98f5dd49e51159986443687a81d486c8805aea069168832f406a16b36dc6342be063fdbcade74685273fcdd2111ea9a616437d7 diff --git a/net-wireless/kismet/kismet-2018.08_beta1-r1.ebuild b/net-wireless/kismet/kismet-2018.08_beta1-r1.ebuild new file mode 100644 index 000000000000..ddf8e2e5e783 --- /dev/null +++ b/net-wireless/kismet/kismet-2018.08_beta1-r1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils multilib user python-single-r1 + +MY_P=${P/\./-} +MY_P=${MY_P/_beta/-BETA} +MY_P=${MY_P/./-R} +S=${WORKDIR}/${MY_P} + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://www.kismetwireless.net/${PN}.git" + SRC_URI="" + inherit git-r3 + KEYWORDS="" + RESTRICT="strip" +else + SRC_URI="https://www.kismetwireless.net/code/${MY_P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +fi + +DESCRIPTION="IEEE 802.11 wireless LAN sniffer" +HOMEPAGE="https://www.kismetwireless.net" + +LICENSE="GPL-2" +SLOT="0/${PV}" +IUSE="lm_sensors networkmanager +pcre selinux +suid" + +CDEPEND=" + ${PYTHON_DEPS} + net-misc/networkmanager:= + dev-libs/glib:= + dev-libs/elfutils:= + sys-libs/zlib:= + dev-db/sqlite:= + net-libs/libmicrohttpd + kernel_linux? ( sys-libs/libcap + dev-libs/libnl:3 + net-libs/libpcap + ) + dev-libs/protobuf-c:= + sys-libs/ncurses:= + lm_sensors? ( sys-apps/lm_sensors ) + pcre? ( dev-libs/libpcre ) + suid? ( sys-libs/libcap ) + " + +DEPEND="${CDEPEND} + virtual/pkgconfig +" + +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-kismet ) +" + +src_prepare() { + sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ + conf/kismet_logging.conf || die + + # Don't strip and set correct mangrp + sed -i -e 's| -s||g' \ + -e 's|@mangrp@|root|g' Makefile.in + + epatch "${FILESDIR}"/fix-setuptools.patch + eapply_user + + if [[ ${PV} == "9999" ]] ; then + eautoreconf + fi + + if ! use lm_sensors; then + sed -i "s#HAVE_LMSENSORS_H=1#HAVE_LMSENSORS_H=0#" configure + fi + if use networkmanager; then + sed -i "s#havelibnm\=no#havelibnm\=yes#" configure + else + sed -i "s#havelibnm\=yes#havelibnm\=no#" configure + fi + sed -i 's#-O3##' configure +} + +src_configure() { + econf \ + $(use_enable pcre) +} + +src_install() { + emake DESTDIR="${D}" commoninstall + emake DESTDIR="${D}" forceconfigs + + #dodoc CHANGELOG RELEASENOTES.txt README* docs/DEVEL.client docs/README.newcore + dodoc CHANGELOG README* + newinitd "${FILESDIR}"/${PN}.initd kismet + newconfd "${FILESDIR}"/${PN}.confd kismet +} + +pkg_preinst() { + if use suid; then + enewgroup kismet + fowners root:kismet /usr/bin/kismet_cap_linux_bluetooth + fowners root:kismet /usr/bin/kismet_cap_linux_wifi + fowners root:kismet /usr/bin/kismet_cap_pcapfile + # Need to set the permissions after chowning. + # See chown(2) + fperms 4550 /usr/bin/kismet_cap_linux_bluetooth + fperms 4550 /usr/bin/kismet_cap_linux_wifi + fperms 4550 /usr/bin/kismet_cap_pcapfile + elog "Kismet has been installed with a setuid-root helper binary" + elog "to enable minimal-root operation. Users need to be part of" + elog "the 'kismet' group to perform captures from physical devices." + fi + if ! use suid; then + ewarn "It is highly discouraged to run a sniffer as root," + ewarn "Please consider enabling the suid use flag and adding" + ewarn "your user to the kismet group." + fi +} diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild index 2a6321ed5126..ddf8e2e5e783 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -8,6 +8,7 @@ PYTHON_COMPAT=( python2_7 ) inherit autotools eutils multilib user python-single-r1 MY_P=${P/\./-} +MY_P=${MY_P/_beta/-BETA} MY_P=${MY_P/./-R} S=${WORKDIR}/${MY_P} @@ -27,7 +28,7 @@ HOMEPAGE="https://www.kismetwireless.net" LICENSE="GPL-2" SLOT="0/${PV}" -IUSE="+pcre speech selinux +suid" +IUSE="lm_sensors networkmanager +pcre selinux +suid" CDEPEND=" ${PYTHON_DEPS} @@ -43,13 +44,10 @@ CDEPEND=" ) dev-libs/protobuf-c:= sys-libs/ncurses:= + lm_sensors? ( sys-apps/lm_sensors ) pcre? ( dev-libs/libpcre ) suid? ( sys-libs/libcap ) - !arm? ( speech? ( app-accessibility/flite ) ) " - #plugin-btscan? ( net-wireless/bluez ) - #plugin-dot15d4? ( virtual/libusb:0 ) - #plugin-spectools? ( net-wireless/spectools ) DEPEND="${CDEPEND} virtual/pkgconfig @@ -69,95 +67,35 @@ src_prepare() { epatch "${FILESDIR}"/fix-setuptools.patch eapply_user - eautoreconf + + if [[ ${PV} == "9999" ]] ; then + eautoreconf + fi + + if ! use lm_sensors; then + sed -i "s#HAVE_LMSENSORS_H=1#HAVE_LMSENSORS_H=0#" configure + fi + if use networkmanager; then + sed -i "s#havelibnm\=no#havelibnm\=yes#" configure + else + sed -i "s#havelibnm\=yes#havelibnm\=no#" configure + fi + sed -i 's#-O3##' configure } src_configure() { econf \ $(use_enable pcre) - #--disable-python-tools -} - -src_compile() { - emake - - #if use plugin-autowep; then - # cd "${S}"/restricted-plugin-autowep - # KIS_SRC_DIR="${S}" emake - #fi - #if use plugin-btscan; then - # cd "${S}"/plugin-btscan - # KIS_SRC_DIR="${S}" emake - #fi - #if use plugin-dot15d4; then - # cd "${S}"/plugin-dot15d4 - # KIS_SRC_DIR="${S}" emake - #fi - #if use plugin-ptw; then - # cd "${S}"/restricted-plugin-ptw - # KIS_SRC_DIR="${S}" emake - #fi - #if use plugin-spectools; then - # cd "${S}"/plugin-spectools - # KIS_SRC_DIR="${S}" emake - #fi - #if use plugin-syslog; then - # cd "${S}"/plugin-syslog - # KIS_SRC_DIR="${S}" emake - #fi } src_install() { - #if use plugin-autowep; then - # cd "${S}"/restricted-plugin-autowep - # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - #fi - #if use plugin-btscan; then - # cd "${S}"/plugin-btscan - # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - #fi - #if use plugin-dot15d4; then - # cd "${S}"/plugin-dot15d4 - # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - #fi - #if use plugin-ptw; then - # cd "${S}"/restricted-plugin-ptw - # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - #fi - #if use plugin-spectools; then - # cd "${S}"/plugin-spectools - # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - #fi - #if use plugin-syslog; then - # cd "${S}"/plugin-syslog - # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - #fi - #if use ruby; then - # cd "${S}"/ruby - # dobin *.rb - #fi - - #cd "${S}" emake DESTDIR="${D}" commoninstall emake DESTDIR="${D}" forceconfigs - ##dragorn would prefer I set fire to my head than do this, but it works - ##all external kismet plugins (read: kismet-ubertooth) must be rebuilt when kismet is - ##is there an automatic way to force this? - # install headers for external plugins - insinto /usr/include/kismet - doins *.h - doins Makefile.inc - #todo write a plugin finder that tells you what needs to be rebuilt when kismet is updated, etc - #dodoc CHANGELOG RELEASENOTES.txt README* docs/DEVEL.client docs/README.newcore dodoc CHANGELOG README* newinitd "${FILESDIR}"/${PN}.initd kismet newconfd "${FILESDIR}"/${PN}.confd kismet - - #if use suid; then - # dobin kismet_capture - #fi } pkg_preinst() { diff --git a/net-wireless/rtl-sdr/Manifest b/net-wireless/rtl-sdr/Manifest index 2e5c247aac01..efd9bcf66552 100644 --- a/net-wireless/rtl-sdr/Manifest +++ b/net-wireless/rtl-sdr/Manifest @@ -1,4 +1,6 @@ DIST rtl-sdr-0.5.3_p20170919.tar.xz 98972 BLAKE2B fb7d977bd05a2c717897ba58a2242698d1a90cf38a7a8340d7ec8c3aefeeff49bfe9612285253b27c6726ae584172e0b26c8f535bc4bec704958c1296e232f04 SHA512 b1b97c720882ccbe8be8e30af28b8d52c5a27507861bdb9e964e153cd8ece9de977abd271b68861c163a7cf239044f28c8d17ccda5ff5acf60f17d839d782a82 +DIST rtl-sdr-0.5.4.tar.xz 108708 BLAKE2B 12f5f5a913089ec57327621eddab9b74b07cccceeac9d00ab2cbd413bc29d8444633953319e2887ef5e07a766f38b4ea2f5d3cbf73efd63a1886e30e2bed6968 SHA512 6cf3c62e6a56694f90deed64e2761105fdbeb40de8001a378e687d60cc3718ad64065b5d896b3f4b27ff6a5383173b53df52816e24b31c726485364cfd9c1a43 EBUILD rtl-sdr-0.5.3_p20170919.ebuild 1158 BLAKE2B 060c6584b65db1609668b8fe4d00193f4cc449e3cb3eab530200c7e16914fc18169237734039394eacc2abeb790ac73b6dc72d8e6bd630d8f60a96bfcc88d764 SHA512 7fe51f8e935b15509c12382c43bbc17e5db09ce3917e4fc8786fc96276b58781066c6069478d067c91cdb78fabb09e6bf05a6f55776f073f0811264b472a241b +EBUILD rtl-sdr-0.5.4.ebuild 1158 BLAKE2B 060c6584b65db1609668b8fe4d00193f4cc449e3cb3eab530200c7e16914fc18169237734039394eacc2abeb790ac73b6dc72d8e6bd630d8f60a96bfcc88d764 SHA512 7fe51f8e935b15509c12382c43bbc17e5db09ce3917e4fc8786fc96276b58781066c6069478d067c91cdb78fabb09e6bf05a6f55776f073f0811264b472a241b EBUILD rtl-sdr-9999.ebuild 1158 BLAKE2B 060c6584b65db1609668b8fe4d00193f4cc449e3cb3eab530200c7e16914fc18169237734039394eacc2abeb790ac73b6dc72d8e6bd630d8f60a96bfcc88d764 SHA512 7fe51f8e935b15509c12382c43bbc17e5db09ce3917e4fc8786fc96276b58781066c6069478d067c91cdb78fabb09e6bf05a6f55776f073f0811264b472a241b MISC metadata.xml 238 BLAKE2B 34ac0d15fbd529b95d6a8c5656482832843c35f4befaa7bb238eec7634acb09a074de43cbd4d4c0a57d3b2810901bc85c7d2780beee573cd72c37b6244d78dc8 SHA512 b8e525ce325eb8201273f8d0ea320d6ba41a183d7f80b0f44dcca44c48049baec1c3489ebd32a17d3be9d6a31a9427ce40cd1686f12e42ca99b0d7037af9532f diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.5.4.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.5.4.ebuild new file mode 100644 index 000000000000..cb32ad203bb9 --- /dev/null +++ b/net-wireless/rtl-sdr/rtl-sdr-0.5.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils multilib + +DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver" +HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://git.osmocom.org/${PN}" + KEYWORDS="" +else + #git clone https://git.osmocom.org/rtl-sdr + #cd rtl-sdr + #git archive --format=tar --prefix=rtl-sdr-${PV}/ master | xz > ../rtl-sdr-${PV}.tar.xz + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" + +src_unpack() { + if [[ ${PV} == 9999* ]]; then + git-r3_src_unpack + else + default + fi +} + +src_configure() { + #the udev rules are 666, we don't want that + mycmakeargs=( + -DINSTALL_UDEV_RULES=OFF + -DDETACH_KERNEL_DRIVER=ON + -DLIB_INSTALL_DIR=/usr/$(get_libdir) + ) + cmake-utils_src_configure +} + +pkg_postinst() { + elog "Only users in the usb group can capture." + elog "Just run 'gpasswd -a <USER> usb', then have <USER> re-login." +} diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 36b2f8f7f347..b72f8af8b9c3 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -3,13 +3,13 @@ AUX unifi.confd 222 BLAKE2B 3b566a4667b4138f5ad8da53099342708949becfaaa2e5bdb857 AUX unifi.initd-r1 648 BLAKE2B 583d5ad1922c6eb83ba3b1388f6240107b4b0e1a479ebc463c94742f8f76d5c96adc84358e93a3b014fb2fcfc9c227af8c6f57dbfe993e6d7bbf1248ea763fc1 SHA512 d09e1b10bcc94d8459bc842bc6b94e06f8a7876bc3fe45b704e914c46bb66fc5ef03c78d51507f176450a0fbb199a5a2492a7c01cd27edf68de748f43ea1a3d4 AUX unifi.service 435 BLAKE2B d982d8ae1f4bf2fa6affc149e0edf94e8471283b0353b370d9e95934a6d60d6b700cfdc302e489cafe74d128735b0188bfa4422f30295b267d104a455fe4f1aa SHA512 6dc1dd188515c30ad105d839a2112a75f925f3453cc5eb29b727adb2dbf8bdf53be62eab94b01dfdb483f135fef092c7b6235afd63c61a996efe2d87d4fa6995 DIST unifi-5.6.39.zip 63559153 BLAKE2B 377c9cbcb49f3f7fe687c7877ca37b4cf4c62076da1a05ce64599be86b8503b910e941bdaa93b9bf77ed259e46ed5355befb695c0cff41157fe1e43a10643216 SHA512 456407a0fe140ef35718591777fcc1084ca9ee4f70c97deb554318390aa3e530c5dfbbbe57b659f83d52ca44be8ebd57071cfad2bf7f0f180fa5f2fa9100a1d9 -DIST unifi-5.8.24.zip 80086706 BLAKE2B 00530b5e141e9444120efeb6ea5b3106781fb5b15a1ade44b71675a726ae7245221af694b36a922a4d047f78567a7bd9e1354d6dde442dfccd58a49f87079403 SHA512 cf7145eeeed779893c1c9709eef7364154503dd1232f88cce38facc748426d19c5422decbd5e3a80d857a2d82969258045944b491c7b228467d8e4a7c29a0ec1 DIST unifi-5.8.25.zip 80091828 BLAKE2B f675ff304c2e7a87da7ed02bd4873015a1155949e6b3b2b4561db06565197e1660512cbea118a50bd975de7d6268a090fad6742e3a82bb4fdf20f19f39099ae2 SHA512 4572ebe55971d14ca76f39cf298eedf879c4ad597ac87e4fe13167f8219b8f822f3478002ccda7ca1d72daba05efa52932e6d163c1e2b5ac5d289020e351044f -DIST unifi-5.9.12.zip 103000745 BLAKE2B 30613f8ee9bf832f5303d02cc2719cb91358a558afe4f998541b890be6c152a62171ad1711e78fd0f2e011161d03cdb9afa9c8dffc3b553b9c7b637f61f12b10 SHA512 0f8c549dfc390d71e3f8a58c05647b3cd062a55de248128267dda3c079f744a810a0138016616d5be6b2e05ecd34149172efd369c1cf4c1e24735ba982c266cb +DIST unifi-5.8.28.zip 80106124 BLAKE2B 9cf6a433bf22d6946572f277759f032f9c7ac3bcc853deaacf2b858d95609f9cb6bbceb2258224db5a56b5d161daec0ff18320ecf3bc589ce045426d3ca9ed3c SHA512 b76bff822971896d7b0a0837aba6075aaa60a185dc25a8849ec12b34b36a9ffdb84cf3c71ec65ad81bcd068aa9917574eee109582bad341bf2edd0ffca00acd6 DIST unifi-5.9.16.zip 103019203 BLAKE2B 0108626a318a728757b3cebed20f55e6059a7c28ebedd7331d760e2a0b90226656cd5fd919b7759ebd7335f5f58c5cfdcf2775dd1f55bf960e41b136cf867a32 SHA512 dadac87b1f7c4c33b0df2f6593fd8de16d82876777b35df63da273741240e7881559b7ccea5a1dbc05d5d386bfd8fd8e908be09f390f044b2001b1b7d358a49f +DIST unifi-5.9.20.zip 103033996 BLAKE2B 25058eb76580afadcfb0a49ab6cb654afd56084a3b912cc151e78a0b9c571d89d774a0a5fd80c9354a9d4fa80cc32076b67c1e7b1a79102a1eeb4208922e43ff SHA512 cd6c886f14e912abf4d94db8ef6bab63d2c5d70c7116e00457d1c43331f66882a3dd3d8e6b5769d17981bd9d7d3417448c4cdf5cf456b4e035a602431debc578 EBUILD unifi-5.6.39-r1.ebuild 1729 BLAKE2B 77a4fb38b6e82763f83f072d595e3f39306aed4ce39f98bfe6783e85eb1c83ab0fc996e94d25b86cd4bad196ae898dace5eb7469147cb3394cda1699ffec1900 SHA512 4415d13c43c30238c756542f6931c12bb6cbcd0163cb6e2c522b6adef39f0c5d3c069d25facdb12575fc0463a8aa3fd479f3274009083a645139d656ce998ae2 -EBUILD unifi-5.8.24-r1.ebuild 1842 BLAKE2B 8466414f125504262ead905b6d90ac645b3876a5f8bb53b1fb3fed1a221575ca4632b6b3388f8326d92d8c6fae072ad68c21bd85ddf17c0823b2e5db7abda936 SHA512 42bcec2f8f3193bbcaa6569461917fce094135640ea4139b84d9d858d7d992b9fababc4287911cf2d40f322abbf7ea7df2d07a521200e9167f01b98da7fe426d EBUILD unifi-5.8.25.ebuild 1853 BLAKE2B dab351e3ae3b414f81d1b95bdef4d2a1fa406f804dc6d0331169e14138f5436d092803bb8ea86f7000b9d7a9b032dd1995da8130233c3f5db013a0e7bd7e1abf SHA512 cf2b4a2639c1bb4ef8cb73ca9bae37955f3d12e661f2fcf0187b1a880ff3eab67bab41b3292868940f27cf701eedc31a322cd19a0c80686e7bba5a9f7ebf2cc0 -EBUILD unifi-5.9.12.ebuild 1728 BLAKE2B 6ace4dd6ad55debae44bb45cce168c18ed87f15c884c121e19c97369df163fba45dd41b342ea124e7a95d59e6b3258991d6bc948dd474a2f9ee6dff538a1081b SHA512 e4cfb1a314dc146bd6032a6e8f88781653a6f9c41c4c06fb94324955d89076673f868aabed117d0d933c5cc3a839ae2da5f40f1bc4cae66fd395666173074155 +EBUILD unifi-5.8.28.ebuild 1847 BLAKE2B 2165ff736cf596b62291a96d6a7d5967a70fbf3e060c68ed9e21d3658628a93c6f9df441ffd1d75774764a4556f0880dcd3b835767aad87eb2e3c00f9382a76c SHA512 61fc42af8101817953df870a384ce6e156093909f34930c40dcdbb9a3baa402c629ba850a97534384798e8603c33a6b720dec577418c50e039674f8f202515f2 EBUILD unifi-5.9.16.ebuild 1727 BLAKE2B 892541030e230cf1eff9031e07a7ee31901b2d85ad0c21b8009bab3387fab1f84f4eecc2c841b5d36ca5f44e08e0f4b1b90a81a5f124eaeffc45d45e0424f3b1 SHA512 757ba4eee8b8d40af1d1153e7902ee23b5b632b1dc4eec8c92bb3f0800550ce54711c6a3e7881c26582fe16eefea794df735cafb34f4bff01eead51aad783238 +EBUILD unifi-5.9.20.ebuild 1750 BLAKE2B 47a382ab44005600eeefc3edcb9e4e2c06ed28e5da0be7a4ef5461752ce97c6d9ded0f4a194b2c76274d51655bc332c3c8486d28256ebe17a2887ab59501cd44 SHA512 a16c6a7d8d126f26f6272e83f008e33bd7b0969a3697d931a6fd517471ecfd6919a90722971d6c8d385da60727e6868ca11df23aacec8d9c172047028674e48f MISC metadata.xml 803 BLAKE2B 5d50d4d0c8353661b471d243682812f77cc9a969d3117c6cf1fff60ecef4e83767b8e235cb0e010383bf1f754a7f1a1261a73427b3bfc1446f7ef08ba837ab36 SHA512 2588b43cf7049379def1b487815c317377e8e04293e54dd6035c50ce612f0ce3ac2039c3802eb7b9b6be172c49aef68f28a547fec5f565e42acaf0d2fdac8abe diff --git a/net-wireless/unifi/unifi-5.8.24-r1.ebuild b/net-wireless/unifi/unifi-5.8.28.ebuild index 08791533777e..4b0fe9ff80fe 100644 --- a/net-wireless/unifi/unifi-5.8.24-r1.ebuild +++ b/net-wireless/unifi/unifi-5.8.28.ebuild @@ -3,8 +3,8 @@ EAPI=6 -# Used, when it's an unstable, beta or release candidate -RC_SUFFIX="" +# Set this for unstable, beta or release candidate +RC_SUFFIX="-b3460d800c" inherit systemd user diff --git a/net-wireless/unifi/unifi-5.9.12.ebuild b/net-wireless/unifi/unifi-5.9.20.ebuild index ad64b5df30fe..b07e93928b20 100644 --- a/net-wireless/unifi/unifi-5.9.12.ebuild +++ b/net-wireless/unifi/unifi-5.9.20.ebuild @@ -4,7 +4,7 @@ EAPI=6 # Used, when it's an unstable, beta or release candidate -RC_SUFFIX="-ZD3vz8Yw57I" +RC_SUFFIX="-5975c092ea" inherit systemd user @@ -12,6 +12,7 @@ DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" HOMEPAGE="https://www.ubnt.com" SRC_URI="https://dl.ubnt.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" +KEYWORDS="~amd64 ~x86" LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 LGPL-3 MIT ubiquiti" SLOT="0/5.9" |