From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2F9F61382C5 for ; Fri, 9 Apr 2021 16:04:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 041BFE0858; Fri, 9 Apr 2021 16:04:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7CACE0858 for ; Fri, 9 Apr 2021 16:04:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33253335D29 for ; Fri, 9 Apr 2021 16:04:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFE3063E for ; Fri, 9 Apr 2021 16:04:39 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1617984270.759611387a38bfcfafd759656c3b1684e6650d1d.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/unifi/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/unifi/Manifest net-wireless/unifi/unifi-6.2.16.ebuild X-VCS-Directories: net-wireless/unifi/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 759611387a38bfcfafd759656c3b1684e6650d1d X-VCS-Branch: master Date: Fri, 9 Apr 2021 16:04:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5c313e4-1559-4cab-87bc-680c36b3685a X-Archives-Hash: 185a34f6f061d3bd1f4dc7f0f4a896f4 commit: 759611387a38bfcfafd759656c3b1684e6650d1d Author: Ben Kohler gentoo org> AuthorDate: Fri Apr 9 16:04:08 2021 +0000 Commit: Ben Kohler gentoo org> CommitDate: Fri Apr 9 16:04:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75961138 net-wireless/unifi: bump to 6.2.16 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ben Kohler gentoo.org> net-wireless/unifi/Manifest | 1 + net-wireless/unifi/unifi-6.2.16.ebuild | 68 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 2baf4f77f61..4d5847082fa 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -2,3 +2,4 @@ DIST unifi-6.0.45.zip 147691229 BLAKE2B ad8e34e4934449151b0244bb32e2ce81e2506f22 DIST unifi-6.1.71.zip 152149341 BLAKE2B 85b7753aa516e8f44baf8df9c21343c2af33f890e034d373817a41459fed3934abcc4690420307fb743a8096a9b57e027d3809c1e9c7ec45183de4d5ed2364d2 SHA512 eb874ae24a2dd2214a6f1a1f8ad4b9d298edf2ad0f7b1d83b95290ba866b586c92a6ba79f825b2decdb7f298ddc350d994f3af5b72e446e49dd0ddcf4f707f4e DIST unifi-6.2.12.zip 152747787 BLAKE2B 448d289be2d72c8403d75f34e89534aadb9e12e1a48f087fa78af1b556230aa1a6b8697ca90027100d4f0e7530333ba4152121b2567c4c78cc8310e2f6660530 SHA512 f06e71db954bb794cec44bc207c0544e455066fc8a86765ee0c6764af8fd37975cc8bcc1dd3c248ca557c4e625af32618f1717304062942f36794654984eb00c DIST unifi-6.2.13.zip 152753586 BLAKE2B 032fc76ff507d5f7057079fd9efaf4af6d7c54c8f3877ce0126fa6fb6bf351701407bd760aaed060c371462d58447c44f5bc31b11181906d95e1da5e044a38ab SHA512 fc0ad76ac1fa848103e1e31c53bc10f8f9df5ef1c92312cab558864d0664e62d2dcdeb8126be566f5a9ccaacbac1435b0a0133bd86892fa13e0131c140ad8062 +DIST unifi-6.2.16.zip 152737821 BLAKE2B 70b411b849c349310344c33eae43a42545c5ba7c755ae1e8f622df8e947db9c4a98a0ffd8436818c25020b087b19efe8a940273d11901b94291ed5baf9c65cde SHA512 2a1a81d185f2fc0356909436ffdeaa7381848c6664a84735aaf079d20516f2c898ae844d4144d28710f7629be553aa59371c3c15ae05d6d3776ab112e9a527eb diff --git a/net-wireless/unifi/unifi-6.2.16.ebuild b/net-wireless/unifi/unifi-6.2.16.ebuild new file mode 100644 index 00000000000..db940710830 --- /dev/null +++ b/net-wireless/unifi/unifi-6.2.16.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="-5e841c18e7" + +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 +}