diff options
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/Manifest.gz | bin | 13919 -> 13920 bytes | |||
-rw-r--r-- | net-wireless/bluez/Manifest | 5 | ||||
-rw-r--r-- | net-wireless/bluez/bluez-5.78.ebuild (renamed from net-wireless/bluez/bluez-5.76-r1.ebuild) | 9 | ||||
-rw-r--r-- | net-wireless/bluez/files/bluez-5.73-configure-cups.patch | 35 | ||||
-rw-r--r-- | net-wireless/iwd/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/iwd/iwd-2.22.ebuild | 167 | ||||
-rw-r--r-- | net-wireless/unifi/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/unifi/unifi-8.4.62.ebuild | 109 |
8 files changed, 285 insertions, 44 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz Binary files differindex 51709be73e6e..5433cc7506b1 100644 --- a/net-wireless/Manifest.gz +++ b/net-wireless/Manifest.gz diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest index 7767c7c8ad1c..d1c8d82bb350 100644 --- a/net-wireless/bluez/Manifest +++ b/net-wireless/bluez/Manifest @@ -1,10 +1,9 @@ AUX 0001-Allow-using-obexd-without-systemd-in-the-user-session-r3.patch 698 BLAKE2B 41f16a7227518616160aecd016f462f2e636166ddc546aa4fe099e3c6146648b2e0985b97b97eeb3941ebb8666a9ba83803dc773e3d752adc1177c50e7073390 SHA512 144cfa6b1608c59cd49f23871d3fb63fd4b4d08bd0a5fe51ce775218d8d46ef22bd11e2ae3b571d42b7571bbbfe1d5b5e7e49864f1e147242ecddb1c3976b611 AUX bluetooth-conf.d 21 BLAKE2B 7c94e499438f441fc18f0b50178e707982ac91871a74b2e7a35c9930d32441a89f742993e993e3003f9bcb5e3ee9adde2ab1cbe33b27245b1b1e91e7c3dc1a0b SHA512 45befd3fb42ea3462fa6e1ee9f3ee9591e197d4925a4c9df6733bacfe44cf44f54ed3aad6fd7a6a2953da54b93460a1cf0ea1cadf0d7e47f811e4c3182af74d5 AUX bluetooth-init.d-r5 313 BLAKE2B 6bad1b9a75de5927ab22a229d6ce18247b32a79b994078338eff33df7f74a7dc4a5266212f6d0150101600e3a864a9b64ce6a576208218750bfbe88bc5911baa SHA512 95aff192be6207047fc01b42754bcd34d5cd7f82c16486fdd81bb1d14be040e4f3e9bafd8dc2f4e8b87bf1eb50f6634f526feaf2b38c0c6807f40784d84dac96 -AUX bluez-5.73-configure-cups.patch 1245 BLAKE2B f9ce853b68e85b671fd9531700e0556273dcb2f3b16468ba1182f7746d467cced106b47c920be102cb3a1383e7dda8e49fba26e818f098b455d022fd00b9cd71 SHA512 35559f4d67befaa86e149d46e95bc473bc970beb38fab837cb40b5ca6f9de9bbff3fb437138cb165394fd27e48e0869d6f42af07d1eb1f0da3663c4a8f4e74c2 AUX bluez-udevadm-path-r1.patch 564 BLAKE2B 0b4dc12f55ab60d254aa3365baf35186a5913026dbfcbc3da41c113b3c423c81189b87016dabcb2c505b684cad376d10d10df9aa17558b8fd022928995931e0e SHA512 d9b0dd452258e425802cf5ad4980a77796be79e94bf6ce641927c5ab7ea1117ce6589063f3a0b96bf25e81303234279a09d58484fec49cfc6aa1db46f245f9c6 -DIST bluez-5.76.tar.xz 2418848 BLAKE2B 658e67ec3ac568fd4d8bdc434eabfc63fd8cddd287f7cf6a8967771673e79fe95c509be654ae2495d1b3aedb1e23ca710d545f5ded281a64fd44058b0cdf7afe SHA512 30dc3faef74a2225fd6027178376dca4166082d1ed5188021e13d13582db5846aef60b753f173d525bfd0c040f26c3e7dab0283ecafbd34c4a06855d13abb389 DIST bluez-5.77.tar.xz 2432176 BLAKE2B 9c1a8c78ad11a79080af12333338a6b75189ac51f8c49545de9eede8544fea531a7d8f50676f6e26c84289828fe8327bbc3e5b50ad4d9c08822cf0353a82ecaf SHA512 cf0faba4ddbfe6cc3c2d86cbd809483ed82327cbd7e4970ef53cf19053de7b355a505cab88844aebe7a6aa1947ec7a366250d3cbf48cf309db413d287289ff99 -EBUILD bluez-5.76-r1.ebuild 8716 BLAKE2B 3e60db8c15d28986482467668d73be83934caa2f2d433b17977b95755868ca32a5774ac8f8bc17171139ecea54d9d194cc02b981ebabfc08121c66a79ca2299f SHA512 586ad637ca9951c34c7f3c8d5ca460455a6e0456b491eac1c394f38618c08b8fd692f46aa58431c9bd3d597eb0dac3a3abe733e05861cfcf9ef04d13f367d2b2 +DIST bluez-5.78.tar.xz 2441672 BLAKE2B 7fe65e926b2a692fcf96bb9c694c42ad8c0bd2d19bf534427128bfbd1eb4d9e3e63f2bdc4659ee8654967a0ac7866a561bc4bd4656d19e0dcb7cc5ce976eb6b2 SHA512 0c591a42742c167ff51e088d898b751f11cb4808ec2f17d9a85bc247a32d4fe18fa17503d188ffad6d9393ad590574518055abe5beeb788aca07d5ba957e4e4d EBUILD bluez-5.77.ebuild 8589 BLAKE2B 5fe0431297fd7a7ff8439d8097346917c9af21a59b0b133c8be168e15dd0eb74aed6979b7db2ee7b25aa4cd0734f38428d4cd6a2f76213c2391b5d7eed15d3f3 SHA512 209d2fdac38bbee4b055987b591edae4d5f85ba3835b82914ccecde17a1ffb1f1321f1159acc36b39cf341c3c450b716a388c56744ec750c08e1e818cb17a0a1 +EBUILD bluez-5.78.ebuild 8596 BLAKE2B 272764009bae68483b5c59b3869652a7fab94e9c9246c31f302c2b4b210d61fdd3c360eb74a062725852a65a901e8ff975dd572057b1212b462d2dfa51865b0b SHA512 87e2e0ed575b821a029adf41fb57df28a3e55620ad75e91c6868905263598bcc65a146e872ce005f2625d56104d014f8cacff1684f8022389191d01da54900de MISC metadata.xml 1150 BLAKE2B 830a8e0c89fcc18af92e063ceb3632c97eed9f7424ac5214dd4c853b142d03bba6d629b86fc41ecc28a450a9b7989a21faaae1b95654cb8f16ce2ceb3a97e025 SHA512 44e4489f48634d1b1ff300ccba0f7caa74b76ac7325d38d395ee53763906743f7b622b028a01d32e963952a23da560c16b8cd6771a9001ba90845b59293a6101 diff --git a/net-wireless/bluez/bluez-5.76-r1.ebuild b/net-wireless/bluez/bluez-5.78.ebuild index 47eb7a23592b..9caf41f57bcf 100644 --- a/net-wireless/bluez/bluez-5.76-r1.ebuild +++ b/net-wireless/bluez/bluez-5.78.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit autotools flag-o-matic linux-info python-single-r1 systemd udev multilib-minimal #readme.gentoo-r1 @@ -12,7 +12,7 @@ SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz" LICENSE="GPL-2+ LGPL-2.1+" SLOT="0/3" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi +obex +readline selinux systemd test test-programs +udev" # Since this release all remaining extra-tools need readline support, but this could @@ -100,9 +100,6 @@ pkg_setup() { src_prepare() { default - # https://github.com/bluez/bluez/issues/773 - eapply "${FILESDIR}"/${PN}-5.73-configure-cups.patch - # https://github.com/bluez/bluez/issues/806 eapply "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-session-r3.patch @@ -247,7 +244,6 @@ multilib_src_install_all() { # Setup auto enable as Fedora does for allowing to use # keyboards/mouse as soon as possible - sed -i 's/#\[Policy\]$/\[Policy\]/; s/#AutoEnable=false/AutoEnable=true/' src/main.conf || die insinto /etc/bluetooth doins src/main.conf @@ -258,6 +254,7 @@ multilib_src_install_all() { use doc && dodoc doc/*.txt # https://bugs.gentoo.org/929017 + # https://github.com/bluez/bluez/issues/329#issuecomment-1102459104 fperms 0555 /etc/bluetooth # https://bugs.gentoo.org/932172 diff --git a/net-wireless/bluez/files/bluez-5.73-configure-cups.patch b/net-wireless/bluez/files/bluez-5.73-configure-cups.patch deleted file mode 100644 index 1ab1f96915ee..000000000000 --- a/net-wireless/bluez/files/bluez-5.73-configure-cups.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b2237fe8efed9aee25a46934f028373cd0632daa Mon Sep 17 00:00:00 2001 -From: Lars Wendler <polynomial-c@gmx.de> -Date: Fri, 22 Mar 2024 09:08:24 +0100 -Subject: [PATCH] configure.ac: Fix --disable-cups - -or else we get: - configure: error: conditional "CUPS_SERVERBIN" was never defined. - Usually this means the macro was only invoked conditionally. - -Fixes: #773 ---- - configure.ac | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 9ebc250cf..047ec1a7f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -249,12 +249,12 @@ AM_CONDITIONAL(CUPS, test "${enable_cups}" != "no") - if (test "${enable_cups}" != "no"); then - AC_MSG_CHECKING([cups directory]) - cups_serverbin=`$PKG_CONFIG cups --variable=cups_serverbin` -- AM_CONDITIONAL(CUPS_SERVERBIN, test "${cups_serverbin}" != "") -- if (test "${cups_serverbin}" != ""); then -- AC_SUBST(CUPS_SERVERBIN, ${cups_serverbin}) -- fi - AC_MSG_RESULT([${cups_serverbin}]) - fi -+AM_CONDITIONAL(CUPS_SERVERBIN, test "${cups_serverbin}" != "") -+AS_IF([test "${cups_serverbin}" != ""],[ -+ AC_SUBST(CUPS_SERVERBIN, ${cups_serverbin}) -+]) - - AC_ARG_ENABLE(mesh, AS_HELP_STRING([--enable-mesh], - [enable Mesh profile support]), [enable_mesh=${enableval}]) diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest index b88623183ac9..1a901baac4c8 100644 --- a/net-wireless/iwd/Manifest +++ b/net-wireless/iwd/Manifest @@ -4,10 +4,12 @@ DIST iwd-2.17.tar.xz 1083756 BLAKE2B f930c13cafa7bcfe30b481891d2a8a7a439b316aaaf DIST iwd-2.19.tar.xz 1088892 BLAKE2B 0bd332b41b205ed8b396e672fb869c8d78a9b18d94691851ccc63b43602a61e96fb5029797c3fe2863fc4964ae0c51d1395f67a9bdc977dfe4dc2c49111f41be SHA512 e06f1936be25be042f6c48d3ff86db6b3b07a2d9406c234e74258e7bb3df7a7efd1510929851830922006613d02d4904b26c2d8a67bab2daa14c2eae086c2eb6 DIST iwd-2.20.tar.xz 1092832 BLAKE2B 34001bc34c07a40f34bb8a30258d9493a38957fd0d5ea83f5721d4441b78c5c061e2bb84380932422cdd695f37eac4b1c40d6535965b06d5f255fae64734d956 SHA512 ddfcc22539185be8847dedde4d3c8e86af0d71f3d1befd5bfaa57d5e75222676db3f49530f1082b531149164aee0411dcf76e4a78a41c3d878b2920197bfccea DIST iwd-2.21.tar.xz 1095396 BLAKE2B 8681532e7125488750b68f5deb7b2c9fc16ed665a762cabeed5a002424cc474e8e47753e71b42ec22a2c004368b81f0087437e4689c11981df43a92b54eb3db5 SHA512 48c444e653486e86f443588ebc844781ff7aa9ba438f5fa50097c4021a822bb522a326a6e29b11ed2dc0de45230dff210906830746d0bc2fc4dd25479eb48773 +DIST iwd-2.22.tar.xz 1095092 BLAKE2B 69db8bf4d0c5dae0d3b569f7f04f2361b3b3eef0ba5084d5c12684a9d18611611708ac077efe2df2085c7352273d28fe23c7e1145883c513cb4fdfed0f1f835e SHA512 fca6f50b849e6b4fc18a8cf0163e0d532f09b71e593d37f21bdc1b4878bddd7c96b481a3bb45ee6d36f4b1fd2ad76e428f9d1dd1b64ba77545227d3740b1a210 EBUILD iwd-2.17.ebuild 4127 BLAKE2B 3614557ff08bdb23f87bd16cf951e0757a19671937ace368e106e9d7003b1605f2470d191d372a0ea75a11942ffeeca5200ed90a40e8542ec3ce2394da12c828 SHA512 1e51b660a2becc02d69c237327dbd1035872c82fb5c9e9644cfe153e040c070d7a93ebb6c680a0ff3c927c3859f8b96d163eb7846b4d5928f295578b80aa7dd0 EBUILD iwd-2.19-r1.ebuild 4132 BLAKE2B 7871fa8683b6ff214d01f5883183a22adf4a643d8ce7112f847159334c8f4640ba1f373da6a69fcf5d37fc59d85a87276a1778dea7854efec8034099c57504b3 SHA512 3cffb73feb644f2c1afb1f2d953d72b0d05230a1e9e1092d3988f35f272279b42141c2843d35ff72ec604168a5b1522c3c1fdbc7cb6022cb1516cac9a75b7f0a EBUILD iwd-2.19.ebuild 4133 BLAKE2B 836977cfe3b766c61b1ca1c76d7ade35b28f82695caf67bca4af8c1e2bd11bc2c3dbe19ed9aab4600f4655d30d23c95a34fa9cc8698f16e7213658ea5b8c430d SHA512 1074d1b0026fb8b79cf5ba63fb90f42c4ff14c78107bf7844314c4b78f741b69aec886fc43125ca5eaf5380efbd514b0485e83f8f72d562ecdcb4abb8ecbde72 EBUILD iwd-2.20.ebuild 4132 BLAKE2B 72bcba83f267c12320769f6404a9d450d9a80ac8252af7e30e38c5f77e461a7a99fc86777be3a68778db469820a1c1b073bd02550af0d3b16185c9c407c7b6e5 SHA512 ddc75730c7e733782efc526be03b60daacc092ef72bd3021b0e79f14bf278ec155339f4105a7ac8cf1c839f788e9a34eced03f546ce13e41ee0acfac53b7fa8a EBUILD iwd-2.21.ebuild 4132 BLAKE2B 161e800653ec7d026ee242d2ffef2578f02cdce60a3a68bf9a9ddfe655873f91e7ce0d0655bec2c11bf89cc57e12c2b4d35c0270f28956abb8a1c4f6049d9372 SHA512 318c57cb8a4ffbbd4b6f19f49a76446bd4e72b3cc69df422a7e93913d244c4b7436c659457d319e5ae768b3fe04a1fa1dbfebda04cb8e737a9b06310678ba875 +EBUILD iwd-2.22.ebuild 4132 BLAKE2B 161e800653ec7d026ee242d2ffef2578f02cdce60a3a68bf9a9ddfe655873f91e7ce0d0655bec2c11bf89cc57e12c2b4d35c0270f28956abb8a1c4f6049d9372 SHA512 318c57cb8a4ffbbd4b6f19f49a76446bd4e72b3cc69df422a7e93913d244c4b7436c659457d319e5ae768b3fe04a1fa1dbfebda04cb8e737a9b06310678ba875 EBUILD iwd-9999.ebuild 4128 BLAKE2B 87520b1e69bddd0844e79343475a929aa1cac55669949bf60e9602d14bbc8ae4817d6260d2d4a69efcf21face015b1a809d680c1ed5428afc0ed583434159079 SHA512 9ef3d68bc3b0da527364af1aec3dfc0af37965e64f302aa6b830f38c087fe2f73f7cd6ef33f8b6da95ae76ab691dea929b108e4b5c124a188d4af7cb51aaf07a MISC metadata.xml 717 BLAKE2B 4619afbff3a4275ff2307476c044c1a4f7c2a14ec4fbeec0db02cd35d8ec98a5d3febcde34dbc43a358129d02369ee6178e02d3938b7cace99946a963d235d99 SHA512 46809c9157af3809f720d38e71e900bb4ee8418f79030cda45e7c4547dca9f2f3b5932c5b481c44ae6bbfd0b48c0997106ada3be30ef5f2110cc287738f24473 diff --git a/net-wireless/iwd/iwd-2.22.ebuild b/net-wireless/iwd/iwd-2.22.ebuild new file mode 100644 index 000000000000..95ad12b6ce87 --- /dev/null +++ b/net-wireless/iwd/iwd-2.22.ebuild @@ -0,0 +1,167 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit flag-o-matic linux-info systemd + +#Set this variable to the required external ell version +ELL_REQ="0.69" + +if [[ ${PV} == *9999* ]]; then + inherit autotools git-r3 + IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" + ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git" +else + SRC_URI="https://mirrors.edge.kernel.org/pub/linux/network/wireless/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + MYRST2MAN="RST2MAN=:" +fi + +DESCRIPTION="Wireless daemon for linux" +HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+client cpu_flags_x86_aes cpu_flags_x86_ssse3 +monitor ofono selinux standalone systemd wired" + +DEPEND=" + sys-apps/dbus + client? ( sys-libs/readline:0= ) +" + +[[ -z "${ELL_REQ}" ]] || DEPEND+=" ~dev-libs/ell-${ELL_REQ}" + +RDEPEND=" + ${DEPEND} + acct-group/netdev + net-wireless/wireless-regdb + selinux? ( sec-policy/selinux-networkmanager ) + standalone? ( + systemd? ( sys-apps/systemd ) + !systemd? ( virtual/resolvconf ) + ) +" + +BDEPEND=" + virtual/pkgconfig +" + +[[ ${PV} == *9999* ]] && BDEPEND+=" dev-python/docutils" + +pkg_setup() { + CONFIG_CHECK=" + ~ASYMMETRIC_KEY_TYPE + ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE + ~CFG80211 + ~CRYPTO_AES + ~CRYPTO_CBC + ~CRYPTO_CMAC + ~CRYPTO_DES + ~CRYPTO_ECB + ~CRYPTO_HMAC + ~CRYPTO_MD4 + ~CRYPTO_MD5 + ~CRYPTO_RSA + ~CRYPTO_SHA1 + ~CRYPTO_SHA256 + ~CRYPTO_SHA512 + ~CRYPTO_USER_API_HASH + ~CRYPTO_USER_API_SKCIPHER + ~KEY_DH_OPERATIONS + ~PKCS7_MESSAGE_PARSER + ~RFKILL + ~X509_CERTIFICATE_PARSER + " + + if use amd64;then + CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_DES3_EDE_X86_64" + WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" + fi + + if use cpu_flags_x86_aes;then + CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" + WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" + fi + + if use cpu_flags_x86_ssse3 && use amd64; then + CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" + WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" + WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" + WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" + fi + + if use kernel_linux && kernel_is -ge 4 20; then + CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER" + fi + + check_extra_config +} + +src_unpack() { + if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack + EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${WORKDIR}/ell git-r3_src_unpack + else + default + fi +} + +src_prepare() { + default + if [[ ${PV} == *9999* ]] ; then + eautoreconf + fi + + sed -e "s:Exec=/bin/false:Exec=${EPREFIX}/usr/libexec/iwd:g" -i src/net.connman.iwd.service || die +} + +src_configure() { + append-cflags "-fsigned-char" + local myeconfargs=( + --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var + "$(use_enable client)" + "$(use_enable monitor)" + "$(use_enable ofono)" + "$(use_enable wired)" + --enable-systemd-service + --with-systemd-unitdir="$(systemd_get_systemunitdir)" + --with-systemd-modloaddir="${EPREFIX}/usr/lib/modules-load.d" + --with-systemd-networkdir="$(systemd_get_utildir)/network" + ) + [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake "${MYRST2MAN}" +} + +src_install() { + emake DESTDIR="${D}" "${MYRST2MAN}" install + keepdir "/var/lib/${PN}" + + newinitd "${FILESDIR}/iwd.initd-r1" iwd + + if use wired;then + newinitd "${FILESDIR}/ead.initd" ead + fi + + if [[ ${PV} == *9999* ]] ; then + exeinto /usr/share/iwd/scripts/ + doexe test/* + fi + + if use standalone ; then + local iwdconf="${ED}/etc/iwd/main.conf" + dodir /etc/iwd + cat << EOF > "${iwdconf}" +[General] +EnableNetworkConfiguration=true + +[Network] +NameResolvingService=$(usex systemd systemd resolvconf) +EOF + dodir /etc/conf.d + echo "rc_provide=\"net\"" > "${ED}"/etc/conf.d/iwd + fi +} diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 29f5f000945c..da61cf860468 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -7,7 +7,9 @@ AUX unifi.service-r2 233 BLAKE2B 95d87f040be667c5d5817bc9b6eabfa3d2ef454cfcdd60b DIST unifi-6.5.55.zip 157805689 BLAKE2B 09a7b69143478d0b81dd6f7be1746b1a35cd00ee034471c512d04e4f91aa02688871857edf3c0ef538e601aaf8eccdd0c55193a9bde10924ddeff1fd333da355 SHA512 c2f677de819268366d65622238c1b8d6d8abcd5e06d6f1f635d9755573eff5a6aca0c84298a111b0da5e80bade8132e05339035edde3cc5fc08834f2d6c4b26e DIST unifi-7.5.187.zip 172434106 BLAKE2B db54079f30c9f61989ceb70474ea68559189804876000534c2a0165a9ef2324f92d19e7b055eaa31cd77e7bd90db0c29aa9f20953dc17a5c54cc646a5c862990 SHA512 703e29273412c497a5bea74210e8c409c629b81fee2badd3f116bbb31a2ca82942ff0281303c0da57757a85e44f4457ba3730deaba0a1f4cc2adc1eb5ace3276 DIST unifi-8.3.32.zip 169676863 BLAKE2B 337d095e4ea434d22af78c93de1a14ac8ad6800286505242498ad513d424230208cf0e38c5df5185ad6480ff83d695837e8915067aa6026dc3faea49d245571e SHA512 f8ae2712c40957d308cc713b7f75cd9682da0b34f773293428ef6e8931629e5d365c8af4bc5503f96d0b751f4d996a1b8492cc443dc9a043c40105f38d9995c6 +DIST unifi-8.4.62.zip 169232688 BLAKE2B da25337a11ed549dd9bf85b786777327598c7a9f8db69303ee61edc0ae707074f431ed40ea99f154e32202ac5d28aa53dff6d247cc2983493e65b1e8b12713b9 SHA512 9a93db1786b3b6136ffdd46e5c6ed801f2762e81c972d0023de2aac9e3f6c8535e12416cfed9d7320175a39bc5dde9a95990a2251486b1243424af05f551584c EBUILD unifi-6.5.55-r2.ebuild 2535 BLAKE2B 2cfa249e33c6e13be327dd416862070f087e7998ef7219b2903a397c1419676b854576d059396276c03767b90a196fda451826df401525aba19014a54fa919df SHA512 2c15b0ff1eded12d1f2b99891f274d71d6dd9527d23440f8aacef8d76ccf66f6063b2ee136b503bd7b200258c812f648661fc40e54e958fe338ff0730cd2e0e3 EBUILD unifi-7.5.187.ebuild 2673 BLAKE2B 4248580218eb10fc588ec60fea1c41344a84be3d9e464b9b85572afe9b3bc4326a9a13cded7fc20ae6043ab11d9d5b942226b39da9688898c84a323cc43a1a09 SHA512 445193da23f62a5420205c9988baca93ff3bb4e86b4b215b98fe911365fd6a602e606dab3ed1c1e5bffe3f1dde6b2442711b7ef1b5a0e62312ecefb0d90c7404 EBUILD unifi-8.3.32.ebuild 2665 BLAKE2B 3b1815c1286abc5d874eeec60d586b56d574f090ae33f8c67ac03d14cb3c6c92a1fcdbee00e90b8883b6c9eaf816294f236a47d6c907923139b0c919f7538752 SHA512 8742007a954a4f531e3d01ce9a75c8b649547ad10430be416204185d7db24b59590299ae98f70765d85c3533ba1dee4b5d96a29d9c9bd75fdcc89800cc2d6e0d +EBUILD unifi-8.4.62.ebuild 2665 BLAKE2B 3b1815c1286abc5d874eeec60d586b56d574f090ae33f8c67ac03d14cb3c6c92a1fcdbee00e90b8883b6c9eaf816294f236a47d6c907923139b0c919f7538752 SHA512 8742007a954a4f531e3d01ce9a75c8b649547ad10430be416204185d7db24b59590299ae98f70765d85c3533ba1dee4b5d96a29d9c9bd75fdcc89800cc2d6e0d MISC metadata.xml 706 BLAKE2B c089f7ad4712f8ad5ef71f8127686dd13a7d3ead5f31dff6c939b100c18920680d648c4d27af479dc14624b5365fc038998f478ae82222fc2f2d073bbb7b58cb SHA512 8866e9107a41456a238b21316a1b174167b4343a55bcca2964b05e44fcc2d157df113a7867496726fcdc0eabf3e244e14567e03b53e3e1df2b11a2d932fa761c diff --git a/net-wireless/unifi/unifi-8.4.62.ebuild b/net-wireless/unifi/unifi-8.4.62.ebuild new file mode 100644 index 000000000000..2f1936dc19fa --- /dev/null +++ b/net-wireless/unifi/unifi-8.4.62.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Set this var for any releases except stable +# RC_SUFFIX="-" + +inherit java-pkg-2 readme.gentoo-r1 systemd + +DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" +HOMEPAGE="https://www.ubnt.com" +SRC_URI="https://dl.ui.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" +S="${WORKDIR}/UniFi" + +LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 LGPL-3 MIT ubiquiti" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="-* amd64 ~arm64" +IUSE="systemd system-mongodb" +RESTRICT="bindist mirror" + +RDEPEND=" + acct-group/unifi + acct-user/unifi + dev-db/mongodb + virtual/jre:17 +" + +BDEPEND="app-arch/unzip" + +DOCS=( "readme.txt" ) + +QA_PREBUILT=" + usr/lib/unifi/lib/native/Linux/aarch64/*.so + usr/lib/unifi/lib/native/Linux/x86_64/*.so +" + +src_prepare() { + if [[ ${CHOST} != aarch64* ]]; then + rm -r lib/native/Linux/aarch64 || die + fi + if [[ ${CHOST} != x86_64* ]]; then + rm -r lib/native/Linux/x86_64 || die + fi + + if [[ ${CHOST} == aarch64* ]]; then + if ! use systemd; then + rm lib/native/Linux/aarch64/libubnt_sdnotify_jni.so || die + fi + fi + if [[ ${CHOST} == x86_64* ]]; then + if ! use systemd; then + rm lib/native/Linux/x86_64/libubnt_sdnotify_jni.so || die + fi + fi + + default +} + +src_compile() { + :; +} + +src_install() { + insinto /usr/lib/unifi + doins -r dl lib webapps + ! use system-mongodb && doins -r bin + + diropts -o unifi -g unifi + keepdir /var/lib/unifi/{conf,data,run,tmp,work} /var/log/unifi + + for symlink in conf data run tmp work; do + dosym ../../../var/lib/unifi/${symlink} /usr/lib/unifi/${symlink} + done + dosym ../../../var/log/unifi /usr/lib/unifi/logs + + java-pkg_regjar "${D}"/usr/lib/unifi/lib/*.jar + java-pkg_dolauncher \ + unifi \ + --java_args '-Dorg.xerial.snappy.tempdir=/usr/lib/unifi/tmp \ + -Djava.library.path= \ + --add-opens java.base/java.lang=ALL-UNNAMED \ + --add-opens java.base/java.time=ALL-UNNAMED \ + --add-opens java.base/sun.security.util=ALL-UNNAMED \ + --add-opens java.base/java.io=ALL-UNNAMED \ + --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED' \ + --jar ace.jar \ + --pwd '/usr/lib/unifi' + + if use system-mongodb; then + systemd_newunit "${FILESDIR}"/unifi-mongodb.service unifi.service + newinitd "${FILESDIR}"/unifi-mongodb.initd unifi + else + systemd_newunit "${FILESDIR}"/unifi.service-r2 unifi.service + newinitd "${FILESDIR}"/unifi.initd-r2 unifi + fi + + newconfd "${FILESDIR}"/unifi.confd unifi + + echo 'CONFIG_PROTECT="/var/lib/unifi"' > "${T}"/99unifi || die + doenvd "${T}"/99unifi + + einstalldocs + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} |