summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-10-23 05:48:40 -0500
committerBen Kohler <bkohler@gentoo.org>2020-10-23 05:49:17 -0500
commit807bfe50417ca6b952a3a33d902df7c695c12158 (patch)
treeb7f551d654116b2141c4f87dd7a109aef5bc3796 /net-wireless/unifi
parentdev-python/importlib_resources: bump to 3.1.0, update HOMEPAGE (diff)
downloadgentoo-807bfe50417ca6b952a3a33d902df7c695c12158.tar.gz
gentoo-807bfe50417ca6b952a3a33d902df7c695c12158.tar.bz2
gentoo-807bfe50417ca6b952a3a33d902df7c695c12158.zip
net-wireless/unifi: bump to 6.0.31
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless/unifi')
-rw-r--r--net-wireless/unifi/Manifest1
-rw-r--r--net-wireless/unifi/unifi-6.0.31.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest
index 7d92584c3527..c9dc9950cb98 100644
--- a/net-wireless/unifi/Manifest
+++ b/net-wireless/unifi/Manifest
@@ -1,5 +1,6 @@
DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989
DIST unifi-6.0.28.zip 227017958 BLAKE2B cf70d5cbcefcf2a89f1a38763898d3f59f4be1b99b5cca7a7393a6e8ef705090aeb60f59c0a67b95ae967ff575da0749bbf327d53247c1a7128f01043145bebc SHA512 edb332ccc6624f73c77976a564c157d37f2a11068c2f8af1fa98209efb3b4e01922ab75309f85e5bd053ec50e9eeb433fcaa22bb2c0a27a6ee4de8946a876d46
DIST unifi-6.0.29.zip 229712522 BLAKE2B cd9df1bbc715983ad1ab709586483cfb4f4e41846bd2096cd444735ec053d7c2fb4fb6bc71bb90e099d9cc6f7078326fa9b817cea456bc43dd1c0ac58df73440 SHA512 e44747b3fc799ec3b47fc1cc5f943e25cfe11063bb9fe5c2d7eb59ede5a0e4effd73c6c33177a3b74409be11cad2e60c5d9f85e937c45dfebb68c3470e60909f
+DIST unifi-6.0.31.zip 216836711 BLAKE2B 09fa9c84c54d8da994018db735f52824c20d7655ad1094f3708e9eab82f82b15f5c12547be4f9b21263b898d0de45bc9b96b16a657f2dd58858c12c024a7b4dd SHA512 b044d58ed759104f445a7b200c6f1ea77eb458d7a6a6e9c4acc73e6e061f75c8a68d81b588ffd2a91fe45539a4adf671af290f9f0a4edb123e85d89fdabe5bca
DIST unifi-6.1.19.zip 222132389 BLAKE2B 6a27fbb8a3a1b2e83fb70932b8409f9cab0632de1442436ff351d01e82228a4bbf0b71de3bef074777db93d0d3bcf58789a6b56e4eb23f1464523294fcd13d7f SHA512 f07d5a10132d5549c332ab9c0a86a4d3edf9178d441c795fd0da87bd00f82598a78a6cb5cedc285f2d20465a52689c7cf7ea3378cf0e84e834c8fa8613868e55
DIST unifi-6.1.20.zip 227784789 BLAKE2B 17322ae0d7d7ab5a9055a6882def83a5624d377f189eb1529fb71a74d6c1930764ecc0e57fce16f0f520691da4abb1b45bc99e186749368f2a7e9597a236bd17 SHA512 0fe04e0c747f757544a087d340e7148f1d6c33764860394c8743be1611c43cac985f174bcdd323c9c7af52ab240199f033bde1adb653a65c9880f4935bea9429
diff --git a/net-wireless/unifi/unifi-6.0.31.ebuild b/net-wireless/unifi/unifi-6.0.31.ebuild
new file mode 100644
index 000000000000..69ffbf26de4b
--- /dev/null
+++ b/net-wireless/unifi/unifi-6.0.31.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 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="-22ac3391b4"
+
+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.0"
+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
+}