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 CB3F113835A for ; Mon, 8 Feb 2021 21:07:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2D6EE091B; Mon, 8 Feb 2021 21:07:12 +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 BA446E091B for ; Mon, 8 Feb 2021 21:07:12 +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 1F751340D78 for ; Mon, 8 Feb 2021 21:07:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A4D8495 for ; Mon, 8 Feb 2021 21:07:09 +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: <1612818419.722dd642b24747ceffc328c522887800b656460c.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.1.54.ebuild X-VCS-Directories: net-wireless/unifi/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 722dd642b24747ceffc328c522887800b656460c X-VCS-Branch: master Date: Mon, 8 Feb 2021 21:07:09 +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: 03a0f344-00c8-476f-8468-1e06bca6c83a X-Archives-Hash: 54c0478b12ec0f8107c8af680e212969 commit: 722dd642b24747ceffc328c522887800b656460c Author: Ben Kohler gentoo org> AuthorDate: Mon Feb 8 18:19:36 2021 +0000 Commit: Ben Kohler gentoo org> CommitDate: Mon Feb 8 21:06:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722dd642 net-wireless/unifi: bump to 6.1.54 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Ben Kohler gentoo.org> net-wireless/unifi/Manifest | 1 + net-wireless/unifi/unifi-6.1.54.ebuild | 68 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index d9b5d92339d..c65d090551d 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -2,3 +2,4 @@ DIST unifi-6.0.43.zip 136844666 BLAKE2B fb330f9ba8c2d22dacd5e37fbeccc411101e3885 DIST unifi-6.0.45.zip 147691229 BLAKE2B ad8e34e4934449151b0244bb32e2ce81e2506f228c995e72c2756279ce22f1ce06d44c37f1cfd6156cee0d03066e36d99f98b56d2a1c759ee98ada6569b8309e SHA512 6b2aebf33b6e2114a2b274ce332e2bd88a30406e3a21bc66dc0eddee3ee27ee2e4d3948dea73ff85289cbc2ed0e4f2b646e095091c54120f718b5fb2f0b35943 DIST unifi-6.1.26.zip 243498936 BLAKE2B 72a17f02279ecedd8f876df85167824a03abebb2816e68fcbfff11923b00c1e0b80b7357e48a4e044f0835e3e0054bd0ab034bd8fb3d67289bf61b4804ce9a87 SHA512 9ea5a7307ad507f08e4d39805bdf776eaa50895513e4c086d94527e28ae93b1f97e3d1b23ff314ed03ea560638b8cb44fc16bf4ff8f7746035e8b5de9b31321b DIST unifi-6.1.51.zip 151612025 BLAKE2B 879256deb0da92ba028f956d2ef0d0874fbb05a52b0c9763657c2d2b326512ddf66e711694a09b04d0eebfb7147ca757dc0b1fd85a52eb9bd7e6c402936009e9 SHA512 6303cd66dd88c0ac6d67ddef662ac5a7491d1e5ffc670c08f7d76c1607c4c7617234f40c4572daec82f11a7c4fd4eb12afe7c788e158bb7ffba7856eb9b2aefb +DIST unifi-6.1.54.zip 151673218 BLAKE2B 3d462a5a2edaad9c2ae16e6efc68ef8ef4d6cce98ef2654b08b93b37ae1e8f5b6f69dc330ba410a035f6edaf65673962998eac3167762521e9fd1588992efa41 SHA512 7a5c41b0385fc84cfd580f488579453a474721c297086393dc82ea6a82ebdd36bf2f441fb80879f32617893f6156c5296eb6a5c39723f69d39854ff3a8816eca diff --git a/net-wireless/unifi/unifi-6.1.54.ebuild b/net-wireless/unifi/unifi-6.1.54.ebuild new file mode 100644 index 00000000000..13b34703621 --- /dev/null +++ b/net-wireless/unifi/unifi-6.1.54.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="-f60db383e8" + +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.1" +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 +}