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 39D85138359 for ; Thu, 16 Jul 2020 13:55:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 530D2E0822; Thu, 16 Jul 2020 13:55:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 27DE8E0822 for ; Thu, 16 Jul 2020 13:55:17 +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 E2A9D34ECE5 for ; Thu, 16 Jul 2020 13:55:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FF792A4 for ; Thu, 16 Jul 2020 13:55:12 +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: <1594907704.84cd8cd778d16592d3cb77dbbaacb5efd19cefb9.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.0.4.ebuild X-VCS-Directories: net-wireless/unifi/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 84cd8cd778d16592d3cb77dbbaacb5efd19cefb9 X-VCS-Branch: master Date: Thu, 16 Jul 2020 13:55:12 +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: 9f992641-60c6-487a-ac17-701dc15d0370 X-Archives-Hash: cf33d264eb6f17444e1d8d23f9d07b29 commit: 84cd8cd778d16592d3cb77dbbaacb5efd19cefb9 Author: Ben Kohler gentoo org> AuthorDate: Wed Jul 15 16:48:27 2020 +0000 Commit: Ben Kohler gentoo org> CommitDate: Thu Jul 16 13:55:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84cd8cd7 net-wireless/unifi: bump to 6.0.4 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Ben Kohler gentoo.org> net-wireless/unifi/Manifest | 1 + net-wireless/unifi/unifi-6.0.4.ebuild | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 9e3882978fe..9aebf2e8085 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -4,3 +4,4 @@ DIST unifi-5.14.15.zip 152267634 BLAKE2B 7c691294d0f359153aab5f0c1df9eb06f15d6d9 DIST unifi-5.14.17.zip 154131925 BLAKE2B fe1adc4f244190b697243498dd542eeb7f13ba209f94d0ddac938e960da9c24ba47cff7a01fbfe0d90eca2bb2b4f43f86bbb765636c5a3267e6b21fff7a919a8 SHA512 1438718e441639fb9cd4112cabfd6e527e1dd401457d1c27c8320152bee289dd8ff2b21e16b63c9ae85ba8b350d396fa9f2f270ed33579f84d027d4962b2ee30 DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989 DIST unifi-6.0.3.zip 222062487 BLAKE2B a411a6a35ca04fc8da4dd1cf4b481ae1205631df4ed4432f3060463564b69d54fc4d9737eda72b7e7a8526e674ca8964395fbefb4959d572cc7ba72398ffa104 SHA512 6442ee27ed0a9ffd29baabba2e87f4d0ec04b47cbdf0f35a23dfe5e50703232865b5c1c21b6136ec52071a1920fb17587034fede19a9f8237d40f6f44b0fe7d3 +DIST unifi-6.0.4.zip 222132269 BLAKE2B 6017c08bed2fe7e67e8963f98087f5547f8b203a9fc36bb5fa9fd2cf4dca872d65fea0314d084067f766cf171a3638be7c8101f5182adea00a78f3b56178b077 SHA512 3654c0b7aa5c60e5f52b731a08d3ae940299a7c4838c620fc8113948c66781d1b2b4ea34a3b32245b79528a5b811ac538591d294cd733b33ecc097b592f90c01 diff --git a/net-wireless/unifi/unifi-6.0.4.ebuild b/net-wireless/unifi/unifi-6.0.4.ebuild new file mode 100644 index 00000000000..4339544fdca --- /dev/null +++ b/net-wireless/unifi/unifi-6.0.4.ebuild @@ -0,0 +1,68 @@ +# 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="-d88cbf373712731c30d0" + +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 +}