From aac5e1b02ac846f5e1ce85f4f66fdec46aa9b0d1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Nov 2024 03:04:34 +0000 Subject: gentoo auto-resync : 01:11:2024 - 03:04:33 --- net-misc/Manifest.gz | Bin 54328 -> 54321 bytes net-misc/connman/Manifest | 2 - net-misc/connman/connman-1.42.ebuild | 132 ------ net-misc/curl/Manifest | 2 +- net-misc/curl/curl-8.9.1-r1.ebuild | 2 +- net-misc/dropbox/Manifest | 2 + net-misc/dropbox/dropbox-211.4.6008.ebuild | 109 +++++ net-misc/geckodriver/Manifest | 2 +- net-misc/geckodriver/geckodriver-0.35.0.ebuild | 2 +- net-misc/kio-zeroconf-common/Manifest | 2 - .../kio-zeroconf-common-24.05.2-r1.ebuild | 24 -- net-misc/kio-zeroconf/Manifest | 2 - .../kio-zeroconf/kio-zeroconf-24.05.2-r2.ebuild | 39 -- net-misc/nextcloud-client/Manifest | 2 + .../nextcloud-client-3.14.4.ebuild | 118 +++++ net-misc/tigervnc/Manifest | 2 +- net-misc/tigervnc/tigervnc-1.14.0-r2.ebuild | 2 +- net-misc/zerotier/Manifest | 266 ++++-------- net-misc/zerotier/zerotier-1.14.0.ebuild | 466 -------------------- net-misc/zerotier/zerotier-1.14.2.ebuild | 480 +++++++++++++++++++++ 20 files changed, 809 insertions(+), 847 deletions(-) delete mode 100644 net-misc/connman/connman-1.42.ebuild create mode 100644 net-misc/dropbox/dropbox-211.4.6008.ebuild delete mode 100644 net-misc/kio-zeroconf-common/kio-zeroconf-common-24.05.2-r1.ebuild delete mode 100644 net-misc/kio-zeroconf/kio-zeroconf-24.05.2-r2.ebuild create mode 100644 net-misc/nextcloud-client/nextcloud-client-3.14.4.ebuild delete mode 100644 net-misc/zerotier/zerotier-1.14.0.ebuild create mode 100644 net-misc/zerotier/zerotier-1.14.2.ebuild (limited to 'net-misc') diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz index 9bbb66af07c0..9cf6239dbc3a 100644 Binary files a/net-misc/Manifest.gz and b/net-misc/Manifest.gz differ diff --git a/net-misc/connman/Manifest b/net-misc/connman/Manifest index 23a09e143c71..e3887e3e0d1b 100644 --- a/net-misc/connman/Manifest +++ b/net-misc/connman/Manifest @@ -1,9 +1,7 @@ AUX connman.confd 728 BLAKE2B c4ee3b02bddaaa99af6aab2ecb0300cc7d67cfc73114d948638c783fe8b1ce5b63edb32c387f96444e793939d64888550b37839c29147fc2b0f0c4208a363f7b SHA512 820511a1fa04ff2c07a26dd3c74c846e3a710e6d6b44c4adaa782f55c9818afd3b935ed30bf2dc287e54e924128c2c1d02b6c4c89b5b5b7d07a7f590d9963969 AUX connman.initd2 479 BLAKE2B 4ef210f405b196fe2fe0fa2e95188cded69d3da37e9f368f500f95db48e1e51e881a5f04479e501283c70712f99a20569b9bf2c6793dc36fb37c68bafb9ff8c3 SHA512 6b636b53f1bede22f04d7107c0e5032dbd425032f317692b2ba39f810371eb89a840ced5f8988d26d384eb6e61ea967d1088c4f0ba6cff42782d9d39300b2a40 AUX libresolv-musl-fix.patch 1554 BLAKE2B 496cae4e748089c6f2fe46850a4940660bcaff8289f477e1c4b019f2a854d33022a171d7f16e2b8193c94964806542560e00fbf54e63deea9038845201120aa8 SHA512 c258e747e13b86c81ae96ac1743abf0c1461b9053c5b386d594a49f0b1890f10d89bea92610762ff609a4cc5fea04a43fab83894702f552b05af400f01cb011e -DIST connman-1.42.tar.gz 743965 BLAKE2B 1d9eeb4c917978df502de684128a3464bbc7f3960878842a3ac27295dc5d049641cd5218a9542055b5d9ab2b6114fb773fc8a173f54dca3afe37109ab58bde35 SHA512 98ede28854e5948c8b67c5ba03b156ed9966e9fcda2d39168062873b194a192d12af885c63d9a2cb0b7b5b882b69fdbb0e09c4eb0c6772a76db06de7b9e363d7 DIST connman-1.43.tar.gz 800363 BLAKE2B f7d906df55e89ffe58fe4c684577be94468d24e6934f82f6461c93969743c44c227cc1caa1dc5123ffb8e521385a08bc7e59c733619c39beae34a2e8ca0b495f SHA512 60fef8fb5ac0679068794c84af7eefbc051c4fff12c86a02574d3225e5729ae9ff38d4223f72f03621db9b05624843165fee5692dc12d493676d987b9433174a -EBUILD connman-1.42.ebuild 3508 BLAKE2B 10e1bc360fa9a17a454302e30cdd601333aa33ab8d53f9cef1124c7063828892d292e18ad66ce60cfad926ce45fe7f50f0e45b2caa7b615dfdde13a5dd1152b3 SHA512 28ed3c6136d59153b5542bd2ee7d57b8ae2a7cbda635c0beac121edec61fcb3fc90d4eea90b4bc026ab41b2e07f2a0f0a250f9ed5a7fe49c511c513e432ef841 EBUILD connman-1.43.ebuild 3508 BLAKE2B d0cacaabec3b6bbe8ea386bcb77ef313a80f125f0502bb573ec33f4cefaf56f6c93e1abc6989a340a75347420be5999fbf3f375eb60a2820f9f78ea61bf66a59 SHA512 32eea0489502ea52ee9f641c55460e3b7f51da80d2133ac4dfc90898a1813d405fef6e9397db112e15500cbee69ff8069109bff23f87908c19109fdd4727e6d1 EBUILD connman-9999.ebuild 3532 BLAKE2B 1af7dd81bb71adb568072d0b2e817c99b96fa2b2fea6be7a35ddface9169564787b9a79fa8f4fce64612b4d3e1efcd4c6aa92f064e9a521e3eb2d251790337ed SHA512 c6da057d5c9a3bee4b203c9c5c3bbcdca8f5f5d0d44ffb4cb3674ddeb317474a89e980fd2248c3ffdfff758ad0957ae9003f6468b49334bd508241cecd708761 MISC metadata.xml 1314 BLAKE2B 8ac27df91b77d2da814c0f35368359f2c55c9cf9c9b8db56748ca9a6128f59514dbcba5c966777a1dda27ed37ccdc6e7e37b57724f7bac83e383c3f8e5b427ce SHA512 98dcfc78d0d4a7abab5282efc2cd10419ab067d6f52f9743f7b72dc446f6e0cc0c5a63266ffa3b9cdb4df3935fc5e7f96faa143bf796ccd90e709c26e7a652b7 diff --git a/net-misc/connman/connman-1.42.ebuild b/net-misc/connman/connman-1.42.ebuild deleted file mode 100644 index 55a168136695..000000000000 --- a/net-misc/connman/connman-1.42.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -inherit autotools systemd tmpfiles - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/connman/connman.git" -else - SRC_URI="https://git.kernel.org/pub/scm/network/connman/connman.git/snapshot/${P}.tar.gz" - KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" -fi - -DESCRIPTION="Provides a daemon for managing internet connections" -HOMEPAGE="https://git.kernel.org/pub/scm/network/connman/connman.git/" - -LICENSE="GPL-2" -SLOT="0" - -IUSE="bluetooth debug doc +ethernet examples iptables iwd l2tp networkmanager -+nftables ofono openconnect openvpn policykit pptp tools vpnc +wifi wireguard -wispr" - -REQUIRED_USE="^^ ( iptables nftables )" -BDEPEND="virtual/pkgconfig" -COMMON_DEPEND=">=dev-libs/glib-2.16 - net-libs/gnutls - >=sys-apps/dbus-1.2.24 - sys-libs/readline:0= - nftables? ( - >=net-libs/libnftnl-1.0.4:0= - >=net-libs/libmnl-1.0.0:0= - ) - openconnect? ( net-vpn/openconnect ) - openvpn? ( net-vpn/openvpn ) - pptp? ( net-dialup/pptpclient ) - vpnc? ( net-vpn/vpnc ) - wireguard? ( >=net-libs/libmnl-1.0.0:0= )" -RDEPEND="${COMMON_DEPEND} - bluetooth? ( net-wireless/bluez ) - iptables? ( >=net-firewall/iptables-1.4.8 ) - l2tp? ( net-dialup/xl2tpd ) - ofono? ( net-misc/ofono ) - policykit? ( sys-auth/polkit ) - wifi? ( - !iwd? ( >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] ) - iwd? ( net-wireless/iwd ) - )" -DEPEND="${COMMON_DEPEND} - >=sys-kernel/linux-headers-2.6.39" - -PATCHES=( "${FILESDIR}/libresolv-musl-fix.patch" ) - -if [ ! -z ${COMMIT} ]; then - S=${WORKDIR}/${PN}-${COMMIT} -fi - -src_prepare() { - default - eautoreconf - - cp "${FILESDIR}"/connman.initd2 "${T}" - if use iwd; then - sed -i \ - -e "s/need dbus/need dbus iwd/" \ - -e '/start-stop-daemon --start/ s/ -- / -- --wifi=iwd_agent /' \ - "${T}"/connman.initd2 || die - sed -i \ - -e "/^ExecStart/ s/$/ --wifi=iwd_agent/" \ - src/connman.service.in || die - fi -} - -src_configure() { - local myeconfargs=( - --localstatedir=/var \ - --runstatedir=/run \ - --with-systemdunitdir=$(systemd_get_systemunitdir) \ - --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \ - --enable-client \ - --enable-datafiles \ - --enable-loopback=builtin \ - $(use_enable bluetooth bluetooth builtin) \ - $(use_enable debug) \ - $(use_enable ethernet ethernet builtin) \ - $(use_enable examples test) \ - $(use_enable l2tp l2tp builtin) \ - $(use_enable networkmanager nmcompat) \ - $(use_enable ofono ofono builtin) \ - $(use_enable openconnect openconnect builtin) \ - $(use_enable openvpn openvpn builtin) \ - $(use_enable policykit polkit builtin) \ - $(use_enable pptp pptp builtin) \ - $(use_enable tools) \ - $(use_enable vpnc vpnc builtin) \ - $(use_enable wireguard) \ - $(use_enable wispr wispr builtin) \ - --with-firewall=$(usex iptables "iptables" "nftables" ) \ - --disable-iospm \ - --disable-hh2serial-gps - ) - # wifi USE logic to match networkmanager ebuild behavior - if use wifi; then - if use iwd; then - myeconfargs+=( --enable-iwd --disable-wifi ) - else - myeconfargs+=( --disable-iwd --enable-wifi=builtin ) - fi - else - myeconfargs+=( --disable-iwd --disable-wifi ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - default - dobin client/connmanctl - - if use doc; then - dodoc doc/*.txt - fi - keepdir /usr/lib/${PN}/scripts - keepdir /var/lib/${PN} - newinitd "${T}"/${PN}.initd2 ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} - -pkg_postinst() { - tmpfiles_process connman_resolvconf.conf -} diff --git a/net-misc/curl/Manifest b/net-misc/curl/Manifest index de90259e7c65..f94bea8d0046 100644 --- a/net-misc/curl/Manifest +++ b/net-misc/curl/Manifest @@ -20,6 +20,6 @@ DIST curl-8.9.1.tar.xz.asc 488 BLAKE2B 437268f6e5ba5db73f205fd87f3ded1e5fc200e8b EBUILD curl-8.10.1.ebuild 11392 BLAKE2B c62287914b25282543b8000a8a82f2ff82e65cc274ce2aa38837d4b919dd7f5f19d5da5330155731a431398e2bab5058fbfcfad3b0965f77943244719899619f SHA512 f08d3e6f150ec8efb2e155248a895b68c3295034f3362f114fbae4937d0c404fb2007ed0cecbf8a3fab137b2c53cccdee509fae179271b5120f79f248cf26ff6 EBUILD curl-8.7.1-r4.ebuild 11261 BLAKE2B 0d1acdce1b58e97d83ee0e67ac0e145894a1bd19e23635649bec06bcd6a45e6487954b497992a7039243ca6860393d2b5115caf2d9edab1a3fbefc46451e2c6f SHA512 687aa43ec10a118f2d53d8532423bf3ffc6eb1ee60f509c3677cc4afcfe1f871b87e18fa5bd045fa86570ae4285432da59adb5f0b548e7da6ed46c9d8a9ad3e5 EBUILD curl-8.8.0-r1.ebuild 11487 BLAKE2B e97f24d529bd6d41556d0584f3bc296754d9ec04b9080bd8ca1dfdce1e12ddf7c50683f2a9c6249b85392f9fd988a3707c04e2ef2bf4a7956390a394cbca6831 SHA512 8c8b3b2ffc3a4c2bb8d83f0da258e3bb664a365c9fc29af387b33df079658c0ec6cd148a93fc36c34c990bf98637125db1826415d3c34887e60f9a6458e2bba4 -EBUILD curl-8.9.1-r1.ebuild 11436 BLAKE2B 337069288e50cd94f75b2a749e26fb3ff294a1ec61030e19539bbfea814ac0f6bf94225aa299596ef5edc4003336a2eb89fdcb6f3f30a4602a51bc30ddde6d67 SHA512 c8ed815844fcfccb3b22b548a59ede8eaf06a49ab3b55754c499d0a5c7bf165a49d30cf50eaae6996ff3b308c5086aa95a890612fc6716b1ea19a2f67ed84b99 +EBUILD curl-8.9.1-r1.ebuild 11435 BLAKE2B c54e700dbd603d459b7ec54da874c0fa9f27ad6192caa4057d83858599e1b9c0f8744268e689fc98942aff850b65d6638fa2081c43be19fb6018cc31c4c54f8c SHA512 bf5211f859acfc46b7903df7ca0edc2b88c10efb1343f55d2c21ef30c5e2f1844657babb9efb81ea28960c2b69174992c903181d9cf6d213f0ea72db14343b24 EBUILD curl-9999.ebuild 11392 BLAKE2B c62287914b25282543b8000a8a82f2ff82e65cc274ce2aa38837d4b919dd7f5f19d5da5330155731a431398e2bab5058fbfcfad3b0965f77943244719899619f SHA512 f08d3e6f150ec8efb2e155248a895b68c3295034f3362f114fbae4937d0c404fb2007ed0cecbf8a3fab137b2c53cccdee509fae179271b5120f79f248cf26ff6 MISC metadata.xml 2215 BLAKE2B aa0851849ffda831aeec7a6315d23892c35680ab42c0bc9a5662238e7b8289d5f48d5f2a60ab0bacba06f71271bf60d14958bfec029a048f732d22fdc60faded SHA512 7da9247a1bbb533ae0bdc919f5bd2ad7ed298a7f9e986dce6d2471cedeee9f1542a8ef79b1fdbca5a1a0d33194b99ff3d3f5c27054ac01a3f1e40a1e94d6c1b2 diff --git a/net-misc/curl/curl-8.9.1-r1.ebuild b/net-misc/curl/curl-8.9.1-r1.ebuild index cb175aa92671..6f36295d7391 100644 --- a/net-misc/curl/curl-8.9.1-r1.ebuild +++ b/net-misc/curl/curl-8.9.1-r1.ebuild @@ -21,7 +21,7 @@ else https://curl.se/download/${P}.tar.xz verify-sig? ( https://curl.se/download/${P}.tar.xz.asc ) " - KEYWORDS="~alpha amd64 ~arm arm64 hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi LICENSE="BSD curl ISC test? ( BSD-4 )" diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index 726fc76c23ad..5e7fde18dd17 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -4,6 +4,8 @@ AUX dropbox_at.service-r2 1582 BLAKE2B 7a5d8eb1e99d6a9f6cc7d903d8d2cb6b124b4a521 DIST dropbox-icon.svg 574 BLAKE2B a73a0906b5b03dc3214010736164fcdbceb6d91463ed95133b5117277cd635c8a77ec3e7ca8338538e5a6a2c4a23f3ef0186184bc1dc770b3c7f3a219f00faa6 SHA512 cd7ad8fea652f0713a00e7fbd88d6c22949dde216040f2ba7c903db70cb6c5c9ec85202831c0863c3bb2cf339b4ea0c6731d7b2d56750b63a4f36160815e4346 DIST dropbox-lnx.x86_64-209.4.3661.tar.gz 117384855 BLAKE2B 509c1e3b8eab3e44b6b713988b7bebc83f9ee62c94100fceb163496d5b419c4caaf933f9646e21ad996a303140639b7de44b2a52fac942adc23a1973a86149ab SHA512 769c3063f87732ecc82e44e1de7ffa581d313fbdecf2230304730ab58da0e4a0bf284e3188897d066c961a5e25316c481b47d46e6dc015a5b974ade7074a4b54 DIST dropbox-lnx.x86_64-210.4.4854.tar.gz 117607664 BLAKE2B 402717c16c063de5b506826cdf2862eab009e3b8c28eda64deebc7dc9637947c1d46dec183a99bab3353257e1ca118e4fe72f390537175038a0b25eb7adc8a6a SHA512 4331999d87e7326dd6a60bb1aebce94326e776a595f6222bd9238a4225139b84324bde6215162aece0eb87868e1e6320092ba40d6fff684dbdc39535dc5426b4 +DIST dropbox-lnx.x86_64-211.4.6008.tar.gz 113807403 BLAKE2B 893e8e7480b44551b79581172d908f7caa76fe8df54704f0fff3bb02bd0885ca07f0feb3a8cb70f7f21abdc9534204acf95d9ffa62b72bda3ca17ef9b9a271ac SHA512 e734581117dcc78c72cb925316a88def7d094b04058b6753d498fc258a82bddb9a920e546c92ddd441d9ed0e9b8e6109c4924e2a14da1414166dec7c26a651ce EBUILD dropbox-209.4.3661.ebuild 2714 BLAKE2B 96ce9edca9c1a5b5242fdecc74d1a84db77643d9bc179a6f123149326311b28e8e146d4aa7a76099e5642dc4b925669ecb16810bdfe9564c0e6d6fddf326988e SHA512 fa06510dc66a2e54d1b2c8f86b1ebecab259e6381eb78cb1ec24fb5a04c370455fdc783fea5c4e3f46d98c7a70f156df80394d8317b3855405142f864ae93d7f EBUILD dropbox-210.4.4854.ebuild 2715 BLAKE2B 7e8e784d7698892ae3ef7b7baabeb6a8e89f96545b65a69702c1ed4389db96c3681aaf17c8338f7fdc0aec38cd89cfd03735ba2ad92fedd7ed0bc97a3f3d4c3f SHA512 1d03fbd01bdc7999d39ad8b5737cd0967f71242ec16dc5c9e3feff84a1481743db62ebc0f13065383521ed46cd511fc29dba8fb17b5606586f1be94bb475472f +EBUILD dropbox-211.4.6008.ebuild 2715 BLAKE2B 7e8e784d7698892ae3ef7b7baabeb6a8e89f96545b65a69702c1ed4389db96c3681aaf17c8338f7fdc0aec38cd89cfd03735ba2ad92fedd7ed0bc97a3f3d4c3f SHA512 1d03fbd01bdc7999d39ad8b5737cd0967f71242ec16dc5c9e3feff84a1481743db62ebc0f13065383521ed46cd511fc29dba8fb17b5606586f1be94bb475472f MISC metadata.xml 336 BLAKE2B 0932d5cb97ca50abfbfd49b3b209733da73c94ed41ef1087e6c43c4e65f3a09186f74c507cf0db5d64a1c5231d3560a7d6a8bb6130e95e1d5dbb7f3974801df3 SHA512 25bee9aa1ab64f01bb4544dec14b4b98bcb3877714ec33c6cbed4cdd3362d2a4cab58f425cad3723398e4ee0a2ba16a550ab38ff9f974cd0c5046df1b34b5eb0 diff --git a/net-misc/dropbox/dropbox-211.4.6008.ebuild b/net-misc/dropbox/dropbox-211.4.6008.ebuild new file mode 100644 index 000000000000..9aafe425d4d6 --- /dev/null +++ b/net-misc/dropbox/dropbox-211.4.6008.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils systemd xdg + +DESCRIPTION="Dropbox daemon (pretends to be GUI-less)" +HOMEPAGE="https://www.dropbox.com/" +SRC_URI=" + https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz + https://uxwing.com/wp-content/themes/uxwing/download/brands-and-social-media/dropbox-icon.svg +" + +LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="selinux X" + +RESTRICT="mirror strip" + +QA_PREBUILT="opt/.*" +QA_EXECSTACK="opt/dropbox/dropbox" + +BDEPEND="dev-util/patchelf" + +# Be sure to have GLIBCXX_3.4.9, #393125 +RDEPEND=" + X? ( + x11-themes/hicolor-icon-theme + ) + selinux? ( sec-policy/selinux-dropbox ) + app-arch/bzip2 + dev-libs/glib:2 + dev-libs/libffi-compat:6 + media-libs/fontconfig + media-libs/freetype + net-misc/wget + sys-libs/zlib + sys-libs/ncurses-compat:5 + virtual/opengl + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + x11-libs/libxcb +" + +src_unpack() { + unpack ${A} + mkdir -p "${S}" || die + mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die + mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die + rmdir "${S}"/dropbox-lnx.*-${PV}/ || die + rmdir .dropbox-dist || die +} + +src_prepare() { + default + # we supply all of these in RDEPEND + rm -vf libGL.so.1 libX11* libffi.so.6 || die + # some of these do not appear to be used + rm -vf libQt5{OpenGL,PrintSupport,Qml,Quick,Sql,WebKit,WebKitWidgets}.so.5 \ + PyQt5.QtPrintSupport.* PyQt5.QtQml.* PyQt5.QtQuick.* \ + wmctrl libdrm.so.2 libpopt.so.0 || die + if use X ; then + mv images/hicolor/16x16/status "${T}" || die + else + rm -vrf images || die + fi + patchelf --set-rpath '$ORIGIN' \ + apex._apex.*.so \ + nucleus_python.*.so \ + tprt.*.so \ + || die + pax-mark cm dropbox + mv README ACKNOWLEDGEMENTS "${T}" || die +} + +src_install() { + local targetdir="/opt/dropbox" + + insinto "${targetdir}" + doins -r * + fperms a+x "${targetdir}"/{dropbox,dropboxd} + dosym "${targetdir}/dropboxd" "/opt/bin/dropbox" + + if use X; then + doicon -s 16 -c status "${T}"/status + newicon -s scalable "${DISTDIR}/dropbox-icon.svg" dropbox.svg + fi + + make_desktop_entry "${PN}" "Dropbox" "dropbox" + + newinitd "${FILESDIR}"/dropbox.initd dropbox + newconfd "${FILESDIR}"/dropbox.conf dropbox + systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service" + + dodoc "${T}"/{README,ACKNOWLEDGEMENTS} +} + +pkg_postinst() { + einfo "Warning: while running, dropbox may attempt to autoupdate itself in" + einfo " your user's home directory. To prevent this, run the following as" + einfo " each user who will run dropbox:" + einfo "" + einfo "install -dm0 ~/.dropbox-dist" +} diff --git a/net-misc/geckodriver/Manifest b/net-misc/geckodriver/Manifest index 5ebb76260724..0b7ac488cf1b 100644 --- a/net-misc/geckodriver/Manifest +++ b/net-misc/geckodriver/Manifest @@ -210,5 +210,5 @@ DIST zerofrom-derive-0.1.4.crate 8232 BLAKE2B 98f69cdeff7df52822b982e3c089ccfa3a DIST zerovec-0.10.4.crate 126398 BLAKE2B b078784d6f178bbb9de1c3c1b6c7ef996f00bdd7dfd2924bda921e62f3e09e953fbf50f8d0da99ac6ff6d134f146253846f5663549dcf8df08eaf34b9d4016b3 SHA512 db12bba1d7476ddead92e6dfcdcc30e2e0defff4f263a740244eabee265a2cab265473a663d3dc3210f48e113b66d951da496dfab7965ce1bc792e5f2db422a0 DIST zerovec-derive-0.10.3.crate 19438 BLAKE2B 9f7df8a4e4a0b62ab25aed967b26509db4bcc5d5b10b3bd73305099a4c49a60be8921484ced1a34d9b7ae30ffa5abe789686f432416a8f1cfc07de1db1dff594 SHA512 caefbffeb35265db9f74933bf07109d57f0da48156cafd4f330af78a5c7eb9ab0831a80789ad4fb119875ebc6cfd7e3de68c9984b77dca5151f9be41f1ae6e09 DIST zip-2.1.6.crate 107876 BLAKE2B 2e1f3f5dd3ec3911361e0b32227a0622fc40e12a84d1eec51b1cc6ce8b402e6530fb7c3a3d5b4ebe19a975a698ef3acde895d009e660cddb27c4d87c2d01b777 SHA512 f0c7ca518faa8b353a83e485c1522247e1e2054ae2b480c188ae0b80192223b1ea89b3163efe87ee8cb2912f20748ea6e835c1abbe67ef426f1a7a31bb967f95 -EBUILD geckodriver-0.35.0.ebuild 5428 BLAKE2B be20ce1aefedbc3dc1c8de7aefb8b22138c7c9a7e7cc9c0c6addbdee53954ee47eb06bdc0f87ee404a5a1a8aa0a19baa1b82c3a42265dd9535e93db7e05e953f SHA512 7ea7b6858453ea7dffd62b8d9b17ab20d1db182adc16fcf18fecad99d7ebdcd8237c912f27255acc70bbf0aa7b5bdcd856d422a3320444bb251592eda0402105 +EBUILD geckodriver-0.35.0.ebuild 5427 BLAKE2B 8cd6c720090f922fcf76d88aeade6100c868161dd1ecbbe21073a1140e615d6d957ad11c037235be71f1222aadb4b9355f4281b7b19e8af2bf65a2b71fcb980b SHA512 4c4b2dfa4ec856615262c93248a703d4d072130ebd259d8bab7495e8893487f37f5afbc2c3b31b5950216116eccee979e3e3e131ed5fce8ae19c021724bc4fc7 MISC metadata.xml 479 BLAKE2B d8873dd58258292e0db7802d9c0d6be4a40654ce468ec4069dd2bcbd6e3abeae5f1bd771f7a8f952dd5983f809b9833d1dee8745419cb74bf29312a4bef16967 SHA512 128cb6884d2c4a1f92c5914715cbc3ad75fe2085cd67f4f506d92432999c524c76e8df9aec4f9b6c001942335edd2b707a1b946d09c3cec471ae9ee45085b413 diff --git a/net-misc/geckodriver/geckodriver-0.35.0.ebuild b/net-misc/geckodriver/geckodriver-0.35.0.ebuild index 5df6e5256714..53a9994179ab 100644 --- a/net-misc/geckodriver/geckodriver-0.35.0.ebuild +++ b/net-misc/geckodriver/geckodriver-0.35.0.ebuild @@ -232,7 +232,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="amd64 ~arm64 ppc64 ~riscv x86" +KEYWORDS="amd64 arm64 ppc64 ~riscv x86" IUSE="unchained" diff --git a/net-misc/kio-zeroconf-common/Manifest b/net-misc/kio-zeroconf-common/Manifest index 7a7be5171c3a..8e25121b9fff 100644 --- a/net-misc/kio-zeroconf-common/Manifest +++ b/net-misc/kio-zeroconf-common/Manifest @@ -1,7 +1,5 @@ -DIST kio-zeroconf-24.05.2.tar.xz 44392 BLAKE2B 6ef8fc100cae8256b8a77ea0d11715df420bfa41fd09ebcb9f72b898981c1a0cd6067e14f4f01977f3d0314a5e0c0bac9a8864183a509652c37e8e3a2bfdb304 SHA512 ce85f0ef9ea1cf1efb58ea63f25ea50d141fe7756c06eaea55d44fa64b66831c80b54cec2d2d61d748807eb8c04cdb8dbd531ca69efa1874f58b0057c45c5f9f DIST kio-zeroconf-24.08.1.tar.xz 44896 BLAKE2B b49fbb9c8b4ccce222196470cbb80cd70398beb7e46ab5782925f59bbbaff61618ef32b243d9fa17f8e7e6ef984080029ed313fdeefc1a230cf51a6fc7e3ff07 SHA512 8d20bc685a5746073e8ee34c1b9546e86315e9cbe614837e03980a67df51a6d27edabbb5ada9ebe5e750a9d21621339c49b06de8ac714f821780debfd1bc0e28 DIST kio-zeroconf-24.08.2.tar.xz 44900 BLAKE2B 7fc482aade8d9ecb9b0dfa47005132e82ebf0cdbd898d87fda6ed4cae04c566decc0fe5122195a38596f7b39e2ae42c7b705d0ede9e8d36b2870d680a10541b6 SHA512 d08da9dd8bfa7a457f20c0f43cc0015c0f30344469b3631ccff610aaed6bac7710086a62fed7fee8ea9cbfa11c5b122d2c8b8fd98667690c84d0c7e96f88e57b -EBUILD kio-zeroconf-common-24.05.2-r1.ebuild 573 BLAKE2B c679f4f7ada6c6b0d79c25828ee48517cf3d44e5a40793f0483a217e358598fdb0389e74e5794967be3c5791a48c3043903477fcf3820992e7b85416e711f55b SHA512 3dd53dae22d62829e51fd28280b02c5febd03fa446afa247a5f61864eafbfdfff4f8526e8d9c667302b9db114cb48aaf5909fb28493e5c18e800a362f06b5285 EBUILD kio-zeroconf-common-24.08.1.ebuild 573 BLAKE2B 9d34c10ef15bf0d402ca47193688b6b264b5f017ce3558f3069e8cdc1838a0e95ffd076b9e3da3d84a0584ed757627891bc3693e6efe18541988cb1474bb7bc9 SHA512 5b044dcd7b474e1856c66be7fc69bdce4ccfb36c439696bc8ed2f81c5441113c01195c9bbb06355d61a6381bd4f58f14cb0e19d336fc6f64bdd2507cc21574d6 EBUILD kio-zeroconf-common-24.08.2.ebuild 576 BLAKE2B 37bf7e5c06b94934c88dbde5c6de4c25b70a750b9564b690f68d4a39a90aea49acb6d3936e9a036651ccf2832351dd237f8f31c70ceb3940a89589387220101c SHA512 fa88fa458b701e256180f03165de38579e849e494b8a389cbb7933541a619ce5c70873299146a5d7f74f072eb22184e71cd32b6397620b3ba21e3d29ee5c91ca MISC metadata.xml 382 BLAKE2B 19f8c78ccf78582ea7cae867c450dc668813811f0429fedbad2fdae7a6f4ca7c0e7e5e2fe4d4e8987471fc52d816e6e31c6f30961f6f247f3b124c3a20a57db4 SHA512 b65cfb16894cfff9500b62d90c04b25693b85de026d2637834befb117daa4a7744ae033aa10b4aaf9ef04349f442a199be598e250e05e53253f6d30c6e37eb2c diff --git a/net-misc/kio-zeroconf-common/kio-zeroconf-common-24.05.2-r1.ebuild b/net-misc/kio-zeroconf-common/kio-zeroconf-common-24.05.2-r1.ebuild deleted file mode 100644 index f1f40621d14d..000000000000 --- a/net-misc/kio-zeroconf-common/kio-zeroconf-common-24.05.2-r1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="false" -KDE_ORG_NAME="${PN/-common/}" -KFMIN=5.115.0 -inherit ecm-common gear.kde.org - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 x86" - -RDEPEND=" - ! /dev/null || die - use sso && cargo_src_compile - popd > /dev/null || die - - emake "${myemakeargs[@]}" one -} - -src_test() { - emake "${myemakeargs[@]}" selftest - ./zerotier-selftest || die -} - -src_install() { - default - - newinitd "${FILESDIR}/${PN}".init-r1 "${PN}" - systemd_dounit "${FILESDIR}/${PN}".service - - doman doc/zerotier-{cli.1,idtool.1,one.8} -} diff --git a/net-misc/zerotier/zerotier-1.14.2.ebuild b/net-misc/zerotier/zerotier-1.14.2.ebuild new file mode 100644 index 000000000000..16179d08188e --- /dev/null +++ b/net-misc/zerotier/zerotier-1.14.2.ebuild @@ -0,0 +1,480 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=1 + +CRATES=" + addr2line@0.24.2 + adler2@2.0.0 + aho-corasick@1.1.3 + allocator-api2@0.2.18 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + ansi_term@0.12.1 + anstyle@1.0.8 + anyhow@1.0.91 + async-stream-impl@0.3.6 + async-stream@0.3.6 + async-trait@0.1.83 + atomic-waker@1.1.2 + atty@0.2.14 + autocfg@1.4.0 + axum-core@0.4.5 + axum@0.7.7 + backoff@0.4.0 + backtrace@0.3.74 + base16ct@0.2.0 + base64@0.13.1 + base64@0.21.7 + base64@0.22.1 + base64ct@1.6.0 + bitflags@1.3.2 + bitflags@2.6.0 + block-buffer@0.10.4 + bumpalo@3.16.0 + byteorder@1.5.0 + bytes@1.8.0 + cbindgen@0.20.0 + cc@1.1.31 + cfg-if@1.0.0 + chrono@0.4.38 + clap@2.34.0 + const-oid@0.9.6 + core-foundation-sys@0.8.7 + core-foundation@0.9.4 + cpufeatures@0.2.14 + crossbeam-channel@0.5.13 + crossbeam-queue@0.3.11 + crossbeam-utils@0.8.20 + crypto-bigint@0.5.5 + crypto-common@0.1.6 + curve25519-dalek-derive@0.1.1 + curve25519-dalek@4.1.3 + darling@0.20.10 + darling_core@0.20.10 + darling_macro@0.20.10 + dashmap@5.5.3 + dashmap@6.1.0 + der@0.7.9 + deranged@0.3.11 + derive_builder@0.20.2 + derive_builder_core@0.20.2 + derive_builder_macro@0.20.2 + derive_more-impl@1.0.0 + derive_more@1.0.0 + digest@0.10.7 + downcast@0.11.0 + dyn-clone@1.0.17 + ecdsa@0.16.9 + ed25519-dalek@2.1.1 + ed25519@2.2.3 + either@1.13.0 + elliptic-curve@0.13.8 + encoding_rs@0.8.34 + enum-iterator-derive@1.4.0 + enum-iterator@2.1.0 + enum_dispatch@0.3.13 + equivalent@1.0.1 + erased-serde@0.4.5 + errno@0.3.9 + fastrand@2.1.1 + ff@0.13.0 + fiat-crypto@0.2.9 + fixedbitset@0.4.2 + fnv@1.0.7 + foldhash@0.1.3 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + form_urlencoded@1.2.1 + fragile@2.0.0 + futures-channel@0.3.31 + futures-core@0.3.31 + futures-executor@0.3.31 + futures-io@0.3.31 + futures-macro@0.3.31 + futures-retry@0.6.0 + futures-sink@0.3.31 + futures-task@0.3.31 + futures-timer@3.0.3 + futures-util@0.3.31 + futures@0.3.31 + generic-array@0.14.7 + getrandom@0.2.15 + gimli@0.31.1 + governor@0.6.3 + group@0.13.0 + h2@0.3.26 + h2@0.4.6 + hashbrown@0.12.3 + hashbrown@0.14.5 + hashbrown@0.15.0 + heck@0.3.3 + heck@0.5.0 + hermit-abi@0.1.19 + hermit-abi@0.3.9 + hex@0.4.3 + hkdf@0.12.4 + hmac@0.12.1 + http-body-util@0.1.2 + http-body@0.4.6 + http-body@1.0.1 + http@0.2.12 + http@1.1.0 + httparse@1.9.5 + httpdate@1.0.3 + hyper-timeout@0.5.1 + hyper-tls@0.5.0 + hyper-util@0.1.9 + hyper@0.14.31 + hyper@1.5.0 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.61 + ident_case@1.0.1 + idna@0.5.0 + indexmap@1.9.3 + indexmap@2.6.0 + instant@0.1.13 + inventory@0.3.15 + ipnet@2.10.1 + itertools@0.10.5 + itertools@0.13.0 + itoa@1.0.11 + js-sys@0.3.72 + lazy_static@1.5.0 + libc@0.2.161 + libm@0.2.8 + linux-raw-sys@0.4.14 + lock_api@0.4.12 + log@0.4.22 + lru@0.12.5 + matchers@0.1.0 + matchit@0.7.3 + memchr@2.7.4 + mime@0.3.17 + miniz_oxide@0.8.0 + mio@1.0.2 + mockall@0.13.0 + mockall_derive@0.13.0 + multimap@0.10.0 + native-tls@0.2.12 + no-std-compat@0.4.1 + nonzero_ext@0.3.0 + ntapi@0.4.1 + nu-ansi-term@0.46.0 + num-bigint-dig@0.8.4 + num-conv@0.1.0 + num-integer@0.1.46 + num-iter@0.1.45 + num-traits@0.2.19 + oauth2@4.4.2 + object@0.36.5 + once_cell@1.20.2 + openidconnect@3.5.0 + openssl-macros@0.1.1 + openssl-probe@0.1.5 + openssl-sys@0.9.104 + openssl@0.10.68 + opentelemetry@0.24.0 + ordered-float@2.10.1 + overload@0.1.1 + p256@0.13.2 + p384@0.13.0 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + pem-rfc7468@0.7.0 + percent-encoding@2.3.1 + petgraph@0.6.5 + pid@4.0.0 + pin-project-internal@1.1.6 + pin-project-lite@0.2.14 + pin-project@1.1.6 + pin-utils@0.1.0 + pkcs1@0.7.5 + pkcs8@0.10.2 + pkg-config@0.3.31 + portable-atomic@1.9.0 + powerfmt@0.2.0 + ppv-lite86@0.2.20 + predicates-core@1.0.8 + predicates-tree@1.0.11 + predicates@3.1.2 + prettyplease@0.2.24 + primeorder@0.13.6 + proc-macro2@1.0.89 + prometheus@0.13.4 + prost-build@0.13.3 + prost-derive@0.13.3 + prost-types@0.13.3 + prost-wkt-build@0.6.0 + prost-wkt-types@0.6.0 + prost-wkt@0.6.0 + prost@0.13.3 + protobuf@2.28.0 + quanta@0.12.3 + quote@1.0.37 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + raw-cpuid@11.2.0 + redox_syscall@0.5.7 + regex-automata@0.1.10 + regex-automata@0.4.8 + regex-syntax@0.6.29 + regex-syntax@0.8.5 + regex@1.11.0 + reqwest@0.11.27 + rfc6979@0.4.0 + ring@0.17.8 + ringbuf@0.4.7 + rsa@0.9.6 + rustc-demangle@0.1.24 + rustc_version@0.4.1 + rustix@0.38.37 + rustls-native-certs@0.8.0 + rustls-pemfile@1.0.4 + rustls-pemfile@2.2.0 + rustls-pki-types@1.10.0 + rustls-webpki@0.102.8 + rustls@0.23.15 + rustversion@1.0.18 + ryu@1.0.18 + schannel@0.1.26 + scopeguard@1.2.0 + sec1@0.7.3 + security-framework-sys@2.12.0 + security-framework@2.11.1 + semver@1.0.23 + serde-value@0.7.0 + serde@1.0.213 + serde_derive@1.0.213 + serde_json@1.0.132 + serde_path_to_error@0.1.16 + serde_plain@1.0.2 + serde_urlencoded@0.7.1 + serde_with@3.11.0 + serde_with_macros@3.11.0 + sha2@0.10.8 + sharded-slab@0.1.7 + shlex@1.3.0 + signal-hook-registry@1.4.2 + signature@2.2.0 + siphasher@1.0.1 + slab@0.4.9 + slotmap@1.0.7 + smallvec@1.13.2 + socket2@0.5.7 + spin@0.9.8 + spinning_top@0.3.0 + spki@0.7.3 + strsim@0.11.1 + strsim@0.8.0 + subtle@2.6.1 + syn@1.0.109 + syn@2.0.82 + sync_wrapper@0.1.2 + sync_wrapper@1.0.1 + sysinfo@0.32.0 + system-configuration-sys@0.5.0 + system-configuration@0.5.1 + tempfile@3.13.0 + termtree@0.4.1 + textwrap@0.11.0 + thiserror-impl@1.0.65 + thiserror@1.0.65 + thread_local@1.1.8 + time-core@0.1.2 + time-macros@0.2.18 + time@0.3.36 + tinyvec@1.8.0 + tinyvec_macros@0.1.1 + tokio-macros@2.4.0 + tokio-native-tls@0.3.1 + tokio-rustls@0.26.0 + tokio-stream@0.1.16 + tokio-util@0.7.12 + tokio@1.41.0 + toml@0.5.11 + tonic-build@0.12.3 + tonic@0.12.3 + tower-layer@0.3.3 + tower-service@0.3.3 + tower@0.4.13 + tower@0.5.1 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing-log@0.2.0 + tracing-subscriber@0.3.18 + tracing@0.1.40 + try-lock@0.2.5 + typeid@1.0.2 + typenum@1.17.0 + typetag-impl@0.2.18 + typetag@0.2.18 + unicode-bidi@0.3.17 + unicode-ident@1.0.13 + unicode-normalization@0.1.24 + unicode-segmentation@1.12.0 + unicode-width@0.1.14 + unicode-xid@0.2.6 + untrusted@0.9.0 + url@2.5.2 + uuid@1.11.0 + valuable@0.1.0 + vcpkg@0.2.15 + vec_map@0.8.2 + version_check@0.9.5 + want@0.3.1 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.95 + wasm-bindgen-futures@0.4.45 + wasm-bindgen-macro-support@0.2.95 + wasm-bindgen-macro@0.2.95 + wasm-bindgen-shared@0.2.95 + wasm-bindgen@0.2.95 + web-sys@0.3.72 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-core@0.52.0 + windows-core@0.57.0 + windows-implement@0.57.0 + windows-interface@0.57.0 + windows-result@0.1.2 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.48.5 + windows-targets@0.52.6 + windows@0.57.0 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.6 + winreg@0.50.0 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 + zeroize@1.8.1 +" + +declare -A GIT_CRATES=( + [jwt]='https://github.com/glimberg/rust-jwt;61a9291fdeec747c6edf14f4fa0caf235136c168;rust-jwt-%commit%' + [rustfsm]='https://github.com/temporalio/sdk-core;730aadcc02767ae630e88f8f8c788a85d6bc81e6;sdk-core-%commit%/fsm' + [rustfsm_procmacro]='https://github.com/temporalio/sdk-core;730aadcc02767ae630e88f8f8c788a85d6bc81e6;sdk-core-%commit%/fsm/rustfsm_procmacro' + [rustfsm_trait]='https://github.com/temporalio/sdk-core;730aadcc02767ae630e88f8f8c788a85d6bc81e6;sdk-core-%commit%/fsm/rustfsm_trait' + [temporal-client]='https://github.com/temporalio/sdk-core;730aadcc02767ae630e88f8f8c788a85d6bc81e6;sdk-core-%commit%/client' + [temporal-sdk-core-api]='https://github.com/temporalio/sdk-core;730aadcc02767ae630e88f8f8c788a85d6bc81e6;sdk-core-%commit%/core-api' + [temporal-sdk-core-protos]='https://github.com/temporalio/sdk-core;730aadcc02767ae630e88f8f8c788a85d6bc81e6;sdk-core-%commit%/sdk-core-protos' + [temporal-sdk-core]='https://github.com/temporalio/sdk-core;730aadcc02767ae630e88f8f8c788a85d6bc81e6;sdk-core-%commit%/core' + [temporal-sdk]='https://github.com/temporalio/sdk-core;730aadcc02767ae630e88f8f8c788a85d6bc81e6;sdk-core-%commit%/sdk' +) + +inherit cargo systemd toolchain-funcs + +DESCRIPTION="A software-based managed Ethernet switch for planet Earth" +HOMEPAGE="https://www.zerotier.com/" +SRC_URI=" + https://github.com/zerotier/ZeroTierOne/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + sso? ( + ${CARGO_CRATE_URIS} + ) +" +S="${WORKDIR}"/ZeroTierOne-${PV} + +LICENSE="BUSL-1.1" +# Dependent crate licenses +LICENSE+=" sso? ( 0BSD Apache-2.0 BSD ISC MIT MPL-2.0 Unicode-DFS-2016 ZLIB )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="cpu_flags_arm_neon debug sso" + +RDEPEND=" + dev-libs/openssl:= + net-libs/libnatpmp + >=net-libs/miniupnpc-2:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + sso? ( + virtual/rust + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.10.1-add-armv7a-support.patch +) + +DOCS=( README.md AUTHORS.md ) + +src_unpack() { + unpack ${P}.tar.gz + use sso && cargo_src_unpack +} + +src_prepare() { + default + + #1. Dont call cargo, we'll run it with cargo eclass functions + #2. Remove man page compression and install, we'll handle it with ebuild functions + #3. Gentoo generates target specific build dirs now bug #937782 + sed -i \ + -e '/ifeq ($(ZT_SSO_SUPPORTED)/,/endif/ { /cargo build/d }' \ + -e '/install:/,/^$/ { /man[0-9]/d }' \ + -e "s|rustybits/target/$(usex debug debug release)|rustybits/$(cargo_target_dir)|" \ + make-linux.mk || die +} + +src_configure() { + tc-export CXX CC + + use cpu_flags_arm_neon || export ZT_DISABLE_NEON=1 + + use sso && cargo_src_configure +} + +src_compile() { + #TODO: New rusty bit smeeclient isnt built + myemakeargs=( + CXX="${CXX}" + STRIP=: + + # Debug doesnt do more than add preprocessor arguments normally, + # but when rust is used it sets the correct rust directory to link against. + # It would be added by cargo eclass eitherway, so instead of adding REQUIRED_USE + # and patching the makefile its just easier to have it. + ZT_DEBUG="$(usex debug 1 0)" + ZT_SSO_SUPPORTED="$(usex sso 1 0)" + ) + + pushd rustybits/zeroidc > /dev/null || die + use sso && cargo_src_compile + popd > /dev/null || die + + emake "${myemakeargs[@]}" one +} + +src_test() { + emake "${myemakeargs[@]}" selftest + ./zerotier-selftest || die +} + +src_install() { + default + + newinitd "${FILESDIR}/${PN}".init-r1 "${PN}" + systemd_dounit "${FILESDIR}/${PN}".service + + doman doc/zerotier-{cli.1,idtool.1,one.8} +} -- cgit v1.2.3