diff options
author | Ben Kohler <bkohler@gentoo.org> | 2020-05-12 08:14:43 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2020-05-12 08:15:14 -0500 |
commit | 9f5047cb3b2081c4122897eb999f394a769a3695 (patch) | |
tree | 7dd6cb1ecccd3e841a85991d9451a6f210eee35e /net-wireless/unifi | |
parent | www-client/pybugz: stable for s390 (diff) | |
download | gentoo-9f5047cb3b2081c4122897eb999f394a769a3695.tar.gz gentoo-9f5047cb3b2081c4122897eb999f394a769a3695.tar.bz2 gentoo-9f5047cb3b2081c4122897eb999f394a769a3695.zip |
net-wireless/unifi: bump to 5.12.72
Package-Manager: Portage-2.3.99, Repoman-2.3.22
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-5.12.72.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index e32f734eb867..32bb9ae660b3 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -1,5 +1,6 @@ DIST unifi-5.12.35.zip 114691419 BLAKE2B 0400f78cbc880f52e8e352a1b8ef925c293b5a51137aaba89c4e26f7b213661e2b9e5caf09cfc6af0f74456e1217f4e2b8f398c11ebe32b1b6a17153cef9e920 SHA512 4e6b3726e5b6e43c1688fbdefe816eedb1cefc671bc9f861cc06f1c4f52a903670e033c2c5b2c66c5ed2c3f42e8f573e6245fe483a32a0df33283d46ccb5d96a DIST unifi-5.12.66.zip 117434749 BLAKE2B 6d48632b7add5f3943574decb66aeb209c570151ee4f1c4dca10feeff924ba1946bc7bd1aae8ce36ac0a20ce2765da9953ded073086a82fd59ed08a57e30965d SHA512 138882bd7a67900ff47e5b02644a7e1941aef98d49ee6e56fa41b462ffd2e92e073e8064bfd846f2c369ef3491b3adc3032dd2ca9b8980058ca88d1925367ca0 +DIST unifi-5.12.72.zip 117402382 BLAKE2B a847982972aecfc344b3054ac8364270f8de38452e818a9a575266550292fbc9fe5554937191cdfb208002a412e3fd7956a85ae9edc12fed65461a95ee801915 SHA512 a3764d4a3b39a16bc08c3206a8ceb37614d9bbd356e2e56f18eb33cc42de5c9cf21ed2a99689d0e5b794356163a0159911916513eed154b6c8ad0aee9db0e01b DIST unifi-5.13.18.zip 150552474 BLAKE2B caec9f360b2db5d7e155ef29c7a6d5851a0c7de8a476a018b33a5423f0052fb46a55deadf74dba2d51763d4a675ea7b6ba2d9195087b9be7a9280ffe5c8b5c27 SHA512 deb08448d48a49be920f8e300117fe4326f8d1bb58117e5fbaddc6db268d514ebce85b605ec26248259e2be51b01605045c56e3f84bd7249bee25a08b4784535 DIST unifi-5.13.22.zip 150546130 BLAKE2B db82f7b95fe3dbda2f19d1361cccd25670325babc61c3d55b4d4e716b0fd2a5cb22e0ac45367b0a5fa975fdef35bfa050bf951bac6c5ce83ae8cf9aa205d5026 SHA512 9a0f5c85d2b4fbdc1f518da95bc5554473cb30e71e1c774e31a82d1579f973667945a3338746288ca98b95c02f3e73450a96295203e62f0e33ae57a7c6ef5d39 DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989 diff --git a/net-wireless/unifi/unifi-5.12.72.ebuild b/net-wireless/unifi/unifi-5.12.72.ebuild new file mode 100644 index 000000000000..338c9edad137 --- /dev/null +++ b/net-wireless/unifi/unifi-5.12.72.ebuild @@ -0,0 +1,73 @@ +# 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="-0bbca4291e" + +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/5.12" +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() { + # Install MongoDB wrapper script, to avoid problems with >= 3.6.0 + # See https://community.ubnt.com/t5/UniFi-Routing-Switching/MongoDB-3-6/td-p/2195435 + exeinto /usr/lib/unifi/bin + newexe "${FILESDIR}"/mongod-wrapper mongod + + insinto /usr/lib/unifi + doins -r 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 +} |