summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2018-09-06 11:07:03 -0500
committerBen Kohler <bkohler@gentoo.org>2018-09-06 11:07:34 -0500
commit6b0abadbd4e011a13853bb11ffa40baae83fe440 (patch)
tree0647eea67313d4c610b57eae85984b223f416a25 /net-wireless
parentsys-process/glances: drop 3.0 (diff)
downloadgentoo-6b0abadbd4e011a13853bb11ffa40baae83fe440.tar.gz
gentoo-6b0abadbd4e011a13853bb11ffa40baae83fe440.tar.bz2
gentoo-6b0abadbd4e011a13853bb11ffa40baae83fe440.zip
net-wireless/unifi: bump 5.6.40 & 5.8.29, drop old
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/unifi/Manifest3
-rw-r--r--net-wireless/unifi/unifi-5.6.40.ebuild70
-rw-r--r--net-wireless/unifi/unifi-5.8.29.ebuild (renamed from net-wireless/unifi/unifi-5.8.25.ebuild)4
3 files changed, 74 insertions, 3 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest
index 032984d33659..bc4139f2b1b0 100644
--- a/net-wireless/unifi/Manifest
+++ b/net-wireless/unifi/Manifest
@@ -1,5 +1,6 @@
DIST unifi-5.6.39.zip 63559153 BLAKE2B 377c9cbcb49f3f7fe687c7877ca37b4cf4c62076da1a05ce64599be86b8503b910e941bdaa93b9bf77ed259e46ed5355befb695c0cff41157fe1e43a10643216 SHA512 456407a0fe140ef35718591777fcc1084ca9ee4f70c97deb554318390aa3e530c5dfbbbe57b659f83d52ca44be8ebd57071cfad2bf7f0f180fa5f2fa9100a1d9
-DIST unifi-5.8.25.zip 80091828 BLAKE2B f675ff304c2e7a87da7ed02bd4873015a1155949e6b3b2b4561db06565197e1660512cbea118a50bd975de7d6268a090fad6742e3a82bb4fdf20f19f39099ae2 SHA512 4572ebe55971d14ca76f39cf298eedf879c4ad597ac87e4fe13167f8219b8f822f3478002ccda7ca1d72daba05efa52932e6d163c1e2b5ac5d289020e351044f
+DIST unifi-5.6.40.zip 63584069 BLAKE2B 9c241c7ef335b6e4d9ce1d53d8bf6a9b2e6a0c5b91d60f321100e67cc6201f1dc060398dc7af1ee014c47df194f64ddf1eb56a6c7ce53691251b4fd2937c5603 SHA512 d2e154ec6bdf24cfcb0e5154512a91dc0e601a2bfe7fcdda4c22b329b304b50315a42485daee8495a5076136055c2cf59ebe42b083221683168199e437589e9a
DIST unifi-5.8.28.zip 80106124 BLAKE2B 9cf6a433bf22d6946572f277759f032f9c7ac3bcc853deaacf2b858d95609f9cb6bbceb2258224db5a56b5d161daec0ff18320ecf3bc589ce045426d3ca9ed3c SHA512 b76bff822971896d7b0a0837aba6075aaa60a185dc25a8849ec12b34b36a9ffdb84cf3c71ec65ad81bcd068aa9917574eee109582bad341bf2edd0ffca00acd6
+DIST unifi-5.8.29.zip 80125147 BLAKE2B d7fcfd8ea5c29c79803f4ee715136a82fb69b3e69802a9a9c4b92e9d4c52d5a72eaeaa3b10405a4eb10df35f1a926c4fb51dcd0c30816d3e58efd15f48b2ea51 SHA512 8c69f406c632661fe713251304910016bed25c2bbabb3aef355626cf6ea6475ba9348d0bec4d2e0f64824190db4deff669ab748cb17cc289112ac07421b56128
DIST unifi-5.9.22.zip 103036220 BLAKE2B 1f9df10787a9b5c52ddf786a478dc6a1a08be8f1cb36e4112906294510c2e7f85f5288f9a1bb1796b9902b40b17036ef5051dc4e7d0c970647d0cdab1362ad1b SHA512 9287cfee865aff9cb5612b8559a318d288253206da3a16f7f490146be63886fdd84d686f9e3cfd7c150af3aebcc9fbf3ef99102ca427717742e770578cbc3b47
DIST unifi-5.9.24.zip 105267574 BLAKE2B 340805389023b0c487aa0b77b4ba1abe92fe12482015eed20c2a77d900324d95686c237d63082507747b6efdaf7904a4b052d1dc332f6d2b9b303d671c0cf5d0 SHA512 630a8410f49741ea00e663907a40979005e71dda0f64767fb5e64107e4a20fba6ba127c0c8a0e7f184d7e417fd5799cf4d6bf00edae9280386a03080db8ced64
diff --git a/net-wireless/unifi/unifi-5.6.40.ebuild b/net-wireless/unifi/unifi-5.6.40.ebuild
new file mode 100644
index 000000000000..2662c1775fdc
--- /dev/null
+++ b/net-wireless/unifi/unifi-5.6.40.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# Used, when it's an unstable, beta or release candidate
+RC_SUFFIX="-508ed3ce93"
+
+inherit systemd user
+
+DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs"
+HOMEPAGE="https://www.ubnt.com"
+SRC_URI="https://dl.ubnt.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip"
+
+KEYWORDS="~amd64 ~x86"
+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.6"
+
+RDEPEND="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"
+
+pkg_setup() {
+ enewgroup unifi
+ enewuser unifi -1 -1 /var/lib/unifi unifi
+}
+
+src_prepare() {
+ # Remove unneeded files Linux, Mac and Windows
+ rm -r lib/native/Linux/armhf lib/native/{Mac,Windows} || die
+
+ 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
+}
diff --git a/net-wireless/unifi/unifi-5.8.25.ebuild b/net-wireless/unifi/unifi-5.8.29.ebuild
index 5e504bcbf6c9..f5a0a0ce0a0c 100644
--- a/net-wireless/unifi/unifi-5.8.25.ebuild
+++ b/net-wireless/unifi/unifi-5.8.29.ebuild
@@ -3,8 +3,8 @@
EAPI=6
-# Used, when it's an unstable, beta or release candidate
-RC_SUFFIX="-34502471b9"
+# Set this for unstable, beta or release candidate
+RC_SUFFIX="-ff003bb0ce"
inherit systemd user