summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-03-06 06:50:10 -0600
committerBen Kohler <bkohler@gentoo.org>2020-03-06 06:56:58 -0600
commite3d34d28ae3834b4b16a7b80c75002216b0d134f (patch)
tree6195afc815bfce316b99a78ecc52948457183a01 /net-wireless
parentsys-process/procps: Revbump for toprc backwards compatibility (diff)
downloadgentoo-e3d34d28ae3834b4b16a7b80c75002216b0d134f.tar.gz
gentoo-e3d34d28ae3834b4b16a7b80c75002216b0d134f.tar.bz2
gentoo-e3d34d28ae3834b4b16a7b80c75002216b0d134f.zip
net-wireless/unifi: bump to 5.13.10
Package-Manager: Portage-2.3.92, Repoman-2.3.20 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-5.13.10.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest
index ead3460b56b3..cb7a87e45e47 100644
--- a/net-wireless/unifi/Manifest
+++ b/net-wireless/unifi/Manifest
@@ -2,5 +2,6 @@ DIST unifi-5.12.35.zip 114691419 BLAKE2B 0400f78cbc880f52e8e352a1b8ef925c293b5a5
DIST unifi-5.12.46.zip 115612217 BLAKE2B 86facd4f21cf66091acfb4bfa5155188b30b1a33848ff0c24c393abf53f5efb114aca86b43b6040961fd9afe6ba1e1a42280f20f48c21772f884edd52b10b25c SHA512 05135f75bf6484810ff66b58452ea8bca1c4e47d5fa7a955bdf9653777f80a7fa355bdaa6586e3a0d98bdcf69cce4e28cf3d14cf8204b82591ba6a08307deef3
DIST unifi-5.12.60.zip 117404012 BLAKE2B 2ef8fbbf3c6be963929678e1e563ec4e8716e385a61ae770fdf275d166a8b0db3bdbbd043a61bf9aca347a2383712733de5b80712f2ce9201772956f1e6fd2a1 SHA512 d6c172f69b13941fa1c6a69dc1a21111995a94f9a42024c8814cbda6e68796a2244a08e6acd00dc5af45b68164157d1cd5d04b343aeb4086cbd71b72c5af2904
DIST unifi-5.12.66.zip 117434749 BLAKE2B 6d48632b7add5f3943574decb66aeb209c570151ee4f1c4dca10feeff924ba1946bc7bd1aae8ce36ac0a20ce2765da9953ded073086a82fd59ed08a57e30965d SHA512 138882bd7a67900ff47e5b02644a7e1941aef98d49ee6e56fa41b462ffd2e92e073e8064bfd846f2c369ef3491b3adc3032dd2ca9b8980058ca88d1925367ca0
+DIST unifi-5.13.10.zip 126198214 BLAKE2B 168baabd0523091ee41b75809c9bbe9941ea0dd9fa97807c826ad1be3afee868ac0932b5068ddcbfd8cfd9c6e3c7838c663c7b248e9cd21ea90cac59e99ed99d SHA512 08d4053201671380c152597ed6a795f593a03b67488d3d21c1f1320bc2ca980e9985e86e45eb6ef5582184c371a33eedbecfc867aac6c9129f653b84c1a87fcc
DIST unifi-5.13.9.zip 117147673 BLAKE2B d05f0e6d0bdada8e1e02f78f99d59f02e259f9c6f6e78827a7288520e393e0811f37501004b3914f5df4ec2065728b28d5a9eb3a376d1f83b174ab7e07215bea SHA512 363b8019ba0854c289b2ec375739d0a86353fd876f3b59c7d8dd191da40866433e2222d98c1888d5d45a5def1209c1c0d7be733a71c3f5749c7b4def682d195e
DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989
diff --git a/net-wireless/unifi/unifi-5.13.10.ebuild b/net-wireless/unifi/unifi-5.13.10.ebuild
new file mode 100644
index 000000000000..800112ef51b8
--- /dev/null
+++ b/net-wireless/unifi/unifi-5.13.10.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# Set this var for any releases except stable
+RC_SUFFIX="-202b4c03d0"
+
+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/5.13"
+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() {
+ # Install MongoDB wrapper script, to avoid problems with >= 3.6.0
+ # See https://community.ubnt.com/t5/UniFi-Routing-Switching/MongoDB-3-6/td-p/2195435
+ exeinto /usr/lib/unifi/bin
+ newexe "${FILESDIR}"/mongod-wrapper mongod
+
+ insinto /usr/lib/unifi
+ doins -r 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
+}