summaryrefslogtreecommitdiff
path: root/net-wireless/unifi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
commit8d5dbd847cbc704a6a06405856e94b461011afe3 (patch)
tree4d26462d027b14926335894749d2e01d982234d0 /net-wireless/unifi
parent5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff)
gentoo resync : 27.03.2021
Diffstat (limited to 'net-wireless/unifi')
-rw-r--r--net-wireless/unifi/Manifest4
-rw-r--r--net-wireless/unifi/unifi-6.1.71.ebuild68
-rw-r--r--net-wireless/unifi/unifi-6.2.12.ebuild68
3 files changed, 140 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest
index 9139f20b2ccb..3872ff86f4a8 100644
--- a/net-wireless/unifi/Manifest
+++ b/net-wireless/unifi/Manifest
@@ -6,9 +6,13 @@ DIST unifi-6.1.61.zip 152081465 BLAKE2B 821af3772db56eb4ae850302c86b91015a64cf61
DIST unifi-6.1.67.zip 152163973 BLAKE2B 15f25b525f0b1bec4041d69817fcb7ab346e0b90e2c7ffebf390c45fcd7763be8f95b89f4884ce97fe1ffa024c6e8a34b5b731b4cc79f137d3bcfaed8af3fc1a SHA512 339efa414e2c2189b51fe8e8e868533117a6acb513758babb98f9b90b163a6df7034147ac56bee1e872dbff74fe2813183e02e0a13796f43e621b2c1cdef1a1a
DIST unifi-6.1.69.zip 152157626 BLAKE2B 5c94680cbe82e48c09e9b131c2faa5a1dec71553796f38dc33c8ed3e055c9652b6311dd5675affb46b3159392653dde1fe08cf15366f52fdf6a216788f16042a SHA512 a887c18abe07f2ad6b1e472b30935acbf171f52295390c1860bc9ee5eb9e6882a2a1364a30e1e019404c0242a1f63aa1d4031ff60a4a8cf2a4c921ac4565defc
DIST unifi-6.1.70.zip 152163565 BLAKE2B 093cfbd01a0212ac69a826f156a3a5e3b8254848726a30bad042b192ff0860ea608f100a373af9e91084fb46b4a306433533955edf32baa29edd2c6309973a21 SHA512 5a7e0672e164fc709659dc7d6d3bfe410bb3ec54c216ae2a51eda8f14907dcf69099d41f5d0a67fa1fc8fe53f2f64a1f144bc3c1d65eeae051bb8ca4e6b15d86
+DIST unifi-6.1.71.zip 152149341 BLAKE2B 85b7753aa516e8f44baf8df9c21343c2af33f890e034d373817a41459fed3934abcc4690420307fb743a8096a9b57e027d3809c1e9c7ec45183de4d5ed2364d2 SHA512 eb874ae24a2dd2214a6f1a1f8ad4b9d298edf2ad0f7b1d83b95290ba866b586c92a6ba79f825b2decdb7f298ddc350d994f3af5b72e446e49dd0ddcf4f707f4e
+DIST unifi-6.2.12.zip 152747787 BLAKE2B 448d289be2d72c8403d75f34e89534aadb9e12e1a48f087fa78af1b556230aa1a6b8697ca90027100d4f0e7530333ba4152121b2567c4c78cc8310e2f6660530 SHA512 f06e71db954bb794cec44bc207c0544e455066fc8a86765ee0c6764af8fd37975cc8bcc1dd3c248ca557c4e625af32618f1717304062942f36794654984eb00c
EBUILD unifi-6.0.45.ebuild 1565 BLAKE2B 2750bd1a561a8e7bd0287ef38ec7b6fa8a799dcec219493388c009da1d4c2def69d765a86514ff13f647d8148ff060106382030b039755a43dcc69dab38d3f2c SHA512 6c0526d1b855a49aa2a81f6d91d0a514e54c7332012cc114302c5b73956ac7855ce006b08fbcf2c650c9a05910b145e6068bd4562685408e6032ffa71ed6f624
EBUILD unifi-6.1.61.ebuild 1565 BLAKE2B cb11c323af66312060ab88dbcdf29e93b641e9776f4664d84639af6466ed6cfcfc25d863ab1596d174acaa5f2d711d9ce79f6b5304968b50d7ab9b4e801ec552 SHA512 2323ea28c61fe5a9aaa160a5c2016bd6cda9cd2b22ebd5513aee6f943b9e5b459388c067245b44655a9a46c8e8d495cfc9f9491b45112c1254ebd37c47fb9198
EBUILD unifi-6.1.67.ebuild 1566 BLAKE2B a39869c0c6736619f5b2c1a041cff46bed4c6cf07371337f601b2f2fa509d7ec0f85b6ac906cdd50eedc430102eb688612844068a94c9b3dc6b9c7e12201162f SHA512 76702bd4146637385d0a0da32671ecd3f45ca31bcaf77382f351d282b60b997eb6ac74e93db5f4a2cae58d3418c5660e8f7c899b51f6f4a41798edd35188cc9e
EBUILD unifi-6.1.69.ebuild 1566 BLAKE2B 16148233b935bc1c34599b71009dc8c2f0cd168f8775efcc58b9f464d650b98abfb06574fa748020167f78cfeaf57d0b87b8a898e4a5e1870735a738486c1203 SHA512 7517e618f1bb537f58536bdf19baa340983f4957aed0c0c9c6d124922767e636194725f7c6522ece00473aab0dced22f3c6fea4ec87e1efc980c396c8672a082
EBUILD unifi-6.1.70.ebuild 1566 BLAKE2B a78edb42d2ab712e71bfd1f2bcd5222d738a076b92a9627abfb7d6bd34a51a597b9bae191017ef7b8b7c42dd7a29bb6c271832b4d66177e85f64bfe718e4f045 SHA512 a74c3fedbd2fcc1329a58b052992935e68b35dfc0f7cf6ee4426a1ba87aa7ece2baf2b0f051e926eed07467ab7b76da0322f32e770349f53fbc2f845446094e8
+EBUILD unifi-6.1.71.ebuild 1566 BLAKE2B 92814ef60f9f9633b4237969369c34055cb00366f97306c69655893e553dafd8b0c14e47512bde42eaa415210e3faaa24888632b41af729c210c48cc3c437f42 SHA512 b9b4b363e899bfde968859f6a317590d0ce83622fc3d408e6535ae4c7c31bb51e8dd8580b51c54ef0bb72783692486380383d8e551c54920b5953c65a0eec96d
+EBUILD unifi-6.2.12.ebuild 1566 BLAKE2B 728b61055503047a25ff9004d56e65b4234196ddf4a480d83c8c3ab7b08c2f398115a693ced48157eae06db27a82ccb1bb4be59692c440ed9ec778a0298825c4 SHA512 038330cf4b376dffd3aa0a184ec6658f97ec9a0a2e31d032741c25a8af2f311018aeae6d0adaacda356b1e702bd2ba2c3d8eba19d837cfae1b5421c347f7fcae
MISC metadata.xml 683 BLAKE2B 830f1b290d1836708aebdb1200caed6120df7ca573173584cfac59ec7eb3e8e38be65e237535d722f215ebb69b8739cf900fb79cddb78e60a09d1cbb1ff222f9 SHA512 da328bd64dea83da1f7f2bfe3431701597cc6a9829b0e0a5ec82bb4167f2f57b144b9d9c77656da33dc9b59e0d53ac89e18be6f776ac4356151d331f020c4ae0
diff --git a/net-wireless/unifi/unifi-6.1.71.ebuild b/net-wireless/unifi/unifi-6.1.71.ebuild
new file mode 100644
index 000000000000..7dec0d528413
--- /dev/null
+++ b/net-wireless/unifi/unifi-6.1.71.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="-de70ef60fe"
+
+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/6.1"
+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
+}
diff --git a/net-wireless/unifi/unifi-6.2.12.ebuild b/net-wireless/unifi/unifi-6.2.12.ebuild
new file mode 100644
index 000000000000..824e27de88c3
--- /dev/null
+++ b/net-wireless/unifi/unifi-6.2.12.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="-585ff7fdff"
+
+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/6.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
+}