diff options
author | Ben Kohler <bkohler@gentoo.org> | 2021-09-01 13:17:22 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2021-09-01 13:17:38 -0500 |
commit | 515f0dc8cd58d0db5a1ca41ddc038b01bbd840c7 (patch) | |
tree | 99ab9311d5c896512c4cd4f459ee91121ee7d51f /net-wireless | |
parent | net-misc/dropbox: drop old (diff) | |
download | gentoo-515f0dc8cd58d0db5a1ca41ddc038b01bbd840c7.tar.gz gentoo-515f0dc8cd58d0db5a1ca41ddc038b01bbd840c7.tar.bz2 gentoo-515f0dc8cd58d0db5a1ca41ddc038b01bbd840c7.zip |
net-wireless/unifi: bump to 6.4.52
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/unifi/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/unifi/unifi-6.4.52.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 981f892bb8ed..b4c22791fadc 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -2,3 +2,4 @@ DIST unifi-6.2.26.zip 152767218 BLAKE2B 8351b9c0b2088006560ca3896df0b05d78cb9ca6 DIST unifi-6.3.51.zip 158093467 BLAKE2B d2d2f87edff6b4a1d6e9fffd49e45c062f0e8cc8e8cba82229cecb8fbea847ed92d08ad8362763dd1476f2ba625d3ab3d9e392eca3f87cf2cce4573867985b8d SHA512 87dd0bfddba6716dd3a42f75b17e71253d33864b32b473083b8302f9deeb22f67b310366c0a768d9a2d8648038386bb3df926c333fd6bdd200b90740dd6c7b08 DIST unifi-6.4.50.zip 158881298 BLAKE2B 652110bf3f54322721137c45594b407151ecd7b977795b8ec5d7c84db772342f0b270b868a597210df9f379682eca932a209e3bbd97e2ef2a4ab25c3b9de2b49 SHA512 63ff0e1603ebe3d16d0abce1eeab785a9912730c877ebfafb351e219bf1d449d8c5a61590a7ae5a87faab6ca587782e59b29d02a016202ed2c0a417e452f9af3 DIST unifi-6.4.51.zip 158897176 BLAKE2B 9d3acdf5e0ba25bac4e701906519faf82c754a489c5fdec64f63a11b161ef99f223e2b2b4637208f85d9a2026472bb02356f6a008822b66fac0174936e7e533a SHA512 1ba504d96b604947021d42cde6cd0c9bad8e11ed499dbc11ceca59c0da449ac4d5ed6d80cfc1e1d48edbad0fa1921feccaf9ff57986a41ec39039e987e729120 +DIST unifi-6.4.52.zip 158970954 BLAKE2B bda454073e2a75e4f1789431a7e6e1c6585b5cd1eab04a6ff79d4487a276924e66dc5a048d0c2f729690e414191b71aaff846943adb84a9a7f409f66bb498b8f SHA512 169ae984b41325a4685eb21384b9f6e0035b74c4d02e53b357086e466584b2b2d3f98db5d431de4492c2917b60f5b51c0ad9dab248d4f42b07271349de9a2442 diff --git a/net-wireless/unifi/unifi-6.4.52.ebuild b/net-wireless/unifi/unifi-6.4.52.ebuild new file mode 100644 index 000000000000..d1b9e56cf0fa --- /dev/null +++ b/net-wireless/unifi/unifi-6.4.52.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="-25b73d69e0" + +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/$(ver_cut 1-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 +} |