summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-03-08 13:55:29 -0600
committerBen Kohler <bkohler@gentoo.org>2021-03-08 13:55:42 -0600
commite151146ff1a8dfceed760cecd14f58e0be411f54 (patch)
tree88f4408ceea602ef7c9df3b9556e09565e0f4471 /net-wireless
parentsys-kernel/git-sources: Remove potential file corrupting version 5.12-rc1 (diff)
downloadgentoo-e151146ff1a8dfceed760cecd14f58e0be411f54.tar.gz
gentoo-e151146ff1a8dfceed760cecd14f58e0be411f54.tar.bz2
gentoo-e151146ff1a8dfceed760cecd14f58e0be411f54.zip
net-wireless/unifi: bump to 6.1.65
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/unifi/Manifest1
-rw-r--r--net-wireless/unifi/unifi-6.1.65.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest
index b74d66c30d2d..ac1d8b3a7bbb 100644
--- a/net-wireless/unifi/Manifest
+++ b/net-wireless/unifi/Manifest
@@ -1,4 +1,5 @@
DIST unifi-6.0.45.zip 147691229 BLAKE2B ad8e34e4934449151b0244bb32e2ce81e2506f228c995e72c2756279ce22f1ce06d44c37f1cfd6156cee0d03066e36d99f98b56d2a1c759ee98ada6569b8309e SHA512 6b2aebf33b6e2114a2b274ce332e2bd88a30406e3a21bc66dc0eddee3ee27ee2e4d3948dea73ff85289cbc2ed0e4f2b646e095091c54120f718b5fb2f0b35943
DIST unifi-6.1.61.zip 152081465 BLAKE2B 821af3772db56eb4ae850302c86b91015a64cf61b00f3086b2b438579d229c0d5167beb9bda90bf6e26819dd1b334ec80c17b81c2bced16ea0730ffbcc711824 SHA512 a7d9beb789796cebc7a553fcb654c659880c76dc58803044388d6d789b8b4bc193e7a6a3da1bda981e0ea049a8015a70e04ebb2e69371c70f7abb457bebaa54f
DIST unifi-6.1.64.zip 152150220 BLAKE2B bcae2baf9e544bf3ed19e7d71676f46860b592f8e9c0d74507f5c5fb41cb399a5ae47198d06495d1994e7ab94d87c20a7f717511887a69af61d4f930c4980cef SHA512 5a247386667067a3d79983a95f436e84e50db6c60eac13d5214342527507a7c2c427491afedc951c4ea06bbc2eaf417cab4585c2f2959cbaf5d556a5c4a0b16d
+DIST unifi-6.1.65.zip 152156886 BLAKE2B 9194e2962ee3aa3fc04c37652b41bb03a04dd5c3e7d0ced770d0b7feaf9c0b3d86e84b17347ae8c80a98ad417b9d813f2a961600c49cf5fc29510360baedb4cd SHA512 7c0019f74ff53592f6fd34b2e3198ad1468f3493857b93197f05ab48e90a6d77fe3e59821f3345bcabb31bd64f06c6d7308665a515293f6d9ecd295e9a8b97a0
DIST unifi-6.1.67.zip 152163973 BLAKE2B 15f25b525f0b1bec4041d69817fcb7ab346e0b90e2c7ffebf390c45fcd7763be8f95b89f4884ce97fe1ffa024c6e8a34b5b731b4cc79f137d3bcfaed8af3fc1a SHA512 339efa414e2c2189b51fe8e8e868533117a6acb513758babb98f9b90b163a6df7034147ac56bee1e872dbff74fe2813183e02e0a13796f43e621b2c1cdef1a1a
diff --git a/net-wireless/unifi/unifi-6.1.65.ebuild b/net-wireless/unifi/unifi-6.1.65.ebuild
new file mode 100644
index 000000000000..c16f5de63d52
--- /dev/null
+++ b/net-wireless/unifi/unifi-6.1.65.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="-03c0c043b3"
+
+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
+}