diff options
author | Ben Kohler <bkohler@gentoo.org> | 2021-04-28 07:15:11 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2021-04-28 07:15:55 -0500 |
commit | 41187e7d4363f176da138325970281caf489a447 (patch) | |
tree | 2cdd31d39ca18752946a78323a4198fbecd525f6 /net-wireless | |
parent | dev-java/jbitcollider-core: removed obsolete 0.8 (diff) | |
download | gentoo-41187e7d4363f176da138325970281caf489a447.tar.gz gentoo-41187e7d4363f176da138325970281caf489a447.tar.bz2 gentoo-41187e7d4363f176da138325970281caf489a447.zip |
net-wireless/unifi: bump to 6.2.23
Package-Manager: Portage-3.0.18, 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.2.23.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 429659139aa8..709541c4d99e 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.17.zip 152744197 BLAKE2B 25f569ba80a03572b0d66cb92788b1161c7556ab507e9373e8c1ecd30813968bd2163d82bfb18e8ff3978307e079e9221f6afc23db8e13ee5ba883a17dd89fdd SHA512 13fa2e3120ac70ef9c4414052713bb91a27ac8a4e8f5f168dd8517a1b2e42fb3334db7f6f4c7bbe10579662555d3a43198fa2dc1e47fb07ca51a869cab2ed12e DIST unifi-6.2.19.zip 152749185 BLAKE2B 39c8b169d6f4ae3ee82ff398611cd1eb219551f8f5095c6543e43d291940d6139f6bab3c60c4a48ebb8054682193ec5f49a5e793b2ea21be3076f79732a69f96 SHA512 46f30588450f99a1fa739eadd7b201e42b047596e5a25f77bde3da811f818695142bcf2c851d4c27d14b498fe557432c7e43e9c246501be0d7026d069d32f23b +DIST unifi-6.2.23.zip 152757410 BLAKE2B 52b8ec76869175359a7a31e64c6cb61ba21eae00105e2d83ca025306416a2c39a01570dfb2e1024d81c9cb7b4c5aa076d6e8a54dfaabceb2d761f25ee3f0d7b8 SHA512 e86c658aa8d0a6f3e3795d85a4d1e66b9ffa006a2a5380750f5e97184630cf033180ad9ef6352232ab8f2e8090a5f239884b0731b09623179216db4a0508d146 diff --git a/net-wireless/unifi/unifi-6.2.23.ebuild b/net-wireless/unifi/unifi-6.2.23.ebuild new file mode 100644 index 000000000000..ded0e6febddc --- /dev/null +++ b/net-wireless/unifi/unifi-6.2.23.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="-d3a253013f" + +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 +} |