diff options
Diffstat (limited to 'net-wireless/unifi')
-rw-r--r-- | net-wireless/unifi/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/unifi/unifi-6.2.26.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index e717bffd93ce..8c379e4ed40f 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -4,7 +4,9 @@ AUX unifi.service 435 BLAKE2B d982d8ae1f4bf2fa6affc149e0edf94e8471283b0353b370d9 DIST unifi-6.0.45.zip 147691229 BLAKE2B ad8e34e4934449151b0244bb32e2ce81e2506f228c995e72c2756279ce22f1ce06d44c37f1cfd6156cee0d03066e36d99f98b56d2a1c759ee98ada6569b8309e SHA512 6b2aebf33b6e2114a2b274ce332e2bd88a30406e3a21bc66dc0eddee3ee27ee2e4d3948dea73ff85289cbc2ed0e4f2b646e095091c54120f718b5fb2f0b35943 DIST unifi-6.1.71.zip 152149341 BLAKE2B 85b7753aa516e8f44baf8df9c21343c2af33f890e034d373817a41459fed3934abcc4690420307fb743a8096a9b57e027d3809c1e9c7ec45183de4d5ed2364d2 SHA512 eb874ae24a2dd2214a6f1a1f8ad4b9d298edf2ad0f7b1d83b95290ba866b586c92a6ba79f825b2decdb7f298ddc350d994f3af5b72e446e49dd0ddcf4f707f4e DIST unifi-6.2.25.zip 152753893 BLAKE2B 1c597e025e73faae5db524a868cfab49feb5f4b9bbd5d823950bce23981521d6d88135ddfb148e30b7c2e00f89b176b065e0635c3e3b0c6a888d1ea688e148c6 SHA512 fe11aa9bf495cfede03d217f6a7f31ac0a2dc11a72dbec56e8a4e465545858d8524d47e9f5677dd917968c0f316a0fe4ceb049f26c15e2fee428e736929bbd9f +DIST unifi-6.2.26.zip 152767218 BLAKE2B 8351b9c0b2088006560ca3896df0b05d78cb9ca669ad32b1d1a73ef22f4329618b44585bff9a26a841b3d28997bc345708df9820149de91b3fc1df99693c3a74 SHA512 fccffca9bcb31a1da2c389e83ea9a48e4cde6d958368d4d623d459bae095b57a4d7946086b0ac0e4dff5c4c565961ed2c11f7bc2dfbf8b5c6d590fb32af351e8 EBUILD unifi-6.0.45.ebuild 1577 BLAKE2B ebb712e31ade637fbdbd445d8d372bdd5e2340c98a756157dca7de7ee9f458f953e874f319b24cabcbbcd296243c84bd508dc6023d45cec091c7bca7d75338af SHA512 58e932a2579de089f3fdab42fc409528755aa16f3770e26f4e09c941e3368c2702aef779df5f8e44e193a395325704f55f23b80d4b9bf94dc1de2059f1e3550e EBUILD unifi-6.1.71.ebuild 1577 BLAKE2B ef8e790411b63a19def6b2922e1be8fe789417e8cb5a0b4d1cd07313d8682d9bb6670423015ae0b5f7612d3cd5a5ee78500dc3a54221e3f354c0130300956532 SHA512 34b3b5a977a79fbdb587cd5ae2c0b2086933c531cc4a8cfded03ae16d3f8859e7ce988dfb5195ce8a7679f61d1db63969a8c5163bd70a4d2011e963ee27c90bc EBUILD unifi-6.2.25.ebuild 1576 BLAKE2B d92b515fe4595b87c3b203e1d47280915b388c7d8df7cb655bb8c05bfc02ebcf0ce6715707febac2d7fbcc49a1bee9da8abe925166dc1120081021db35b0916a SHA512 cfc783909c0b2ef70acb0fc8fd4d5859cd0c603484cf244a76d7d8d16aa3707a82b173c0f5a42e500b425bcab8e3a359d9c08d3301fd0cf67ac15621851849a6 +EBUILD unifi-6.2.26.ebuild 1577 BLAKE2B 7b1c71b56f5c6d85a08dd876c828dd191af9c766128b3bb7b567726692fd5c7c288e19eb2f69ec6628d6f32e1ee435b55597a2b50a6a57a3e99dbaa6d3edaa31 SHA512 fbae90859e8b6f83d776783345d82f863dc5bc1a758fe783e9e35eb6d6d623aad149a35da2f022d5658b158a3e757de65b6f812dd39794232a77780f55a42c7b MISC metadata.xml 683 BLAKE2B 830f1b290d1836708aebdb1200caed6120df7ca573173584cfac59ec7eb3e8e38be65e237535d722f215ebb69b8739cf900fb79cddb78e60a09d1cbb1ff222f9 SHA512 da328bd64dea83da1f7f2bfe3431701597cc6a9829b0e0a5ec82bb4167f2f57b144b9d9c77656da33dc9b59e0d53ac89e18be6f776ac4356151d331f020c4ae0 diff --git a/net-wireless/unifi/unifi-6.2.26.ebuild b/net-wireless/unifi/unifi-6.2.26.ebuild new file mode 100644 index 000000000000..c9f6735aac6a --- /dev/null +++ b/net-wireless/unifi/unifi-6.2.26.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Set this var for any releases except stable +RC_SUFFIX="-a79cb15f05" + +inherit 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" + +KEYWORDS="~amd64" +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)" +IUSE="systemd" + +RDEPEND=" + acct-group/unifi + acct-user/unifi + dev-db/mongodb + virtual/jre:1.8 +" + +DEPEND="app-arch/unzip" + +RESTRICT="bindist mirror" + +S="${WORKDIR}/UniFi" + +DOCS=( "readme.txt" ) + +QA_PREBUILT="usr/lib/unifi/lib/native/Linux/x86_64/*.so" + +src_prepare() { + # Remove unneeded files Linux, Mac and Windows + rm -r lib/native/Linux/{aarch64,armv7} lib/native/{Mac,Windows} || die + if ! use systemd; then + rm lib/native/Linux/x86_64/libubnt_sdnotify_jni.so || die + fi + + default +} + +src_install() { + insinto /usr/lib/unifi + doins -r bin dl lib webapps + + 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 + + newinitd "${FILESDIR}"/unifi.initd-r1 unifi + systemd_dounit "${FILESDIR}"/unifi.service + + newconfd "${FILESDIR}"/unifi.confd unifi + + echo 'CONFIG_PROTECT="/var/lib/unifi"' > "${T}"/99unifi || die + doenvd "${T}"/99unifi + + einstalldocs +} |