diff options
author | Ben Kohler <bkohler@gentoo.org> | 2019-08-06 10:53:31 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2019-08-06 10:53:47 -0500 |
commit | 08835e4b296a36e300d4f6c8ada45bfe72ec9f59 (patch) | |
tree | 07002faa1906b6238f1982bc14960b8e8c716fd5 /net-wireless | |
parent | app-admin/sudo: alpha stable wrt bug #691410 (diff) | |
download | gentoo-08835e4b296a36e300d4f6c8ada45bfe72ec9f59.tar.gz gentoo-08835e4b296a36e300d4f6c8ada45bfe72ec9f59.tar.bz2 gentoo-08835e4b296a36e300d4f6c8ada45bfe72ec9f59.zip |
net-wireless/unifi: bump to 5.10.27
Package-Manager: Portage-2.3.71, Repoman-2.3.17
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-5.10.27.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index cc99b00ba47e..623209f5714c 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -1,5 +1,6 @@ DIST unifi-5.10.25.zip 91781146 BLAKE2B 3a4166f3d96c1fe0e7a9afd7e85266e6dacaa4bad44af1cfd72cd22f8a2f5fae4ca4534c5ae09ca50ddc216e067e5e5598e0cc3ea1bcb96802b7379dca03426b SHA512 2a88c8640b10c2b596c40c3e4594062f9828db3e2be5dd159dcf7275b3796c7ef8714c60c27de980672fb1ccc88e9fa7640fc74e61e6d994e3fb1214d0e0bd48 DIST unifi-5.10.26.zip 91777116 BLAKE2B a07f296aa55204d0c1be055f0c54901824eaf2341548ae3a4de95faa496f5e38e19cd62974da09abfad5756889506db4dda1aa8803e0f87036ebfb3205c47c10 SHA512 3722c83b810e3ddce6c82d8b8119717b00213d5052baf66288299311fe6f7e8c5a5c5dbdae871a166bcfeb1e70c69f2ed4f34dea702d50e69d1a1a8eacea4594 +DIST unifi-5.10.27.zip 91782447 BLAKE2B 810170b44dc6ade4e9b3805302f3f17fde104e04f581aacba895dbb41f1c2450a764aeb62841cc93df5d8a0bdcaebe9ab12a9644cacf7ae4261b9a09301cf652 SHA512 f425596e1d8f0ee82d1bb84c1a5f0900d5cbcbbc579b6a9769bd10c7f66e61423c14dcf08028525b12495e144ee2d9452a3e4a5d6bc3331f14f087c27effc5eb DIST unifi-5.11.29.zip 111460891 BLAKE2B 5740b760570d8bc94c54c679e846cefcaff6e36a5c07921e997df0bfc8b994803c35c3d486d2130cae21c8731156728e2a95cc62e033bf4c28ef485347ba1a35 SHA512 73ddf723e9e6de8dc95c33a54eaa82bcc11304488fe2e6dfadb2eaf906f34997b7815def8ec765f460fab6a77a311aaf617aba27bbee5636205ca45c3d4bd486 DIST unifi-5.11.34.zip 112196079 BLAKE2B 2d1d691f54edd7ef744f55696cac90f471e5fc6d8c3aeda1ebf54f53c985a81c3e959e6db8942fce70dcecff70aa799948cffb34a50391552501bb9738bd45f6 SHA512 66768c79db741bbab6de608f7c355550dd0db43807d85e3babc0fe921d1e7533548ee4f07dd033309b422ba1c24fa22186d503f6e8ac5785301aac0507e5bfbf DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989 diff --git a/net-wireless/unifi/unifi-5.10.27.ebuild b/net-wireless/unifi/unifi-5.10.27.ebuild new file mode 100644 index 000000000000..05255d5cc70b --- /dev/null +++ b/net-wireless/unifi/unifi-5.10.27.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Used when it's an unstable, beta or release candidate +RC_SUFFIX="-2ad6590363" + +inherit systemd user + +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.10" +IUSE="systemd" + +RDEPEND="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" + +pkg_setup() { + enewgroup unifi + enewuser unifi -1 -1 /var/lib/unifi unifi +} + +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 +} |