diff options
author | Ben Kohler <bkohler@gentoo.org> | 2020-10-14 06:11:44 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2020-10-14 06:12:10 -0500 |
commit | 85200e9e801dd113ca4670984d5d41f40529c733 (patch) | |
tree | 408182be28638f4325b2e8ffeb44eea0860d5afe /net-wireless/unifi | |
parent | dev-ros/mavros: bump mavlink dep (diff) | |
download | gentoo-85200e9e801dd113ca4670984d5d41f40529c733.tar.gz gentoo-85200e9e801dd113ca4670984d5d41f40529c733.tar.bz2 gentoo-85200e9e801dd113ca4670984d5d41f40529c733.zip |
net-wireless/unifi: bump to 6.1.19
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless/unifi')
-rw-r--r-- | net-wireless/unifi/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/unifi/unifi-6.1.19.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 350f6579314e..d8b969ec27fb 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -3,3 +3,4 @@ DIST unifi-6.0.23.zip 183386177 BLAKE2B ee0300c9595bab469e63c8c523f75507e5b4ef88 DIST unifi-6.0.26.zip 226932393 BLAKE2B f5c42eccbcfea45af30cf10da69dccbb9b8ddccef53c7c35db059e53ddf5800fecdde84be88dd80320c265c655dc71d18cf25851090e29209204d39552200466 SHA512 3f221035dd27c38cd59b3a1202ce526143eb9bc6253e1e157a82e0cbb765445c8264c09177593830493598a8ef65cce2406bf25b84c242674b35c66db341743e DIST unifi-6.0.27.zip 214476444 BLAKE2B e13f5255d46c07fa9973cde14ad62bffa955a8a3ad84b3652d3cc4979d2280965166009fac6f8dacb68e94886d1e5680bd6e3bd3cf5caf611738d90e738a023f SHA512 b511011f424281dc9fd50ddca708daeb22f76743cb02df3cbb32be238bc477828f9720b798ac79067c1e315c17db9d73f7fe47930053637d39d61d3583e90901 DIST unifi-6.1.16.zip 220033149 BLAKE2B 4e965c1577ef35d3dd28357aa884f8234f3cc9c45783dd261153ecc87bda24fc4b58ea4f49096304331bd11896251c29eaaa8e8b44046e50ee7e9d54d997223a SHA512 d1b241d5a47ee34c66a08b847405f615f83782fc67a38fe5fc4c281bac6335bc2ab8b021774cafb98753759b9924e773a2c4883a1ed2b30cb2e58ab56b3c07f3 +DIST unifi-6.1.19.zip 222132389 BLAKE2B 6a27fbb8a3a1b2e83fb70932b8409f9cab0632de1442436ff351d01e82228a4bbf0b71de3bef074777db93d0d3bcf58789a6b56e4eb23f1464523294fcd13d7f SHA512 f07d5a10132d5549c332ab9c0a86a4d3edf9178d441c795fd0da87bd00f82598a78a6cb5cedc285f2d20465a52689c7cf7ea3378cf0e84e834c8fa8613868e55 diff --git a/net-wireless/unifi/unifi-6.1.19.ebuild b/net-wireless/unifi/unifi-6.1.19.ebuild new file mode 100644 index 000000000000..daa786331289 --- /dev/null +++ b/net-wireless/unifi/unifi-6.1.19.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="-c13306eeee" + +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 +} |