diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
commit | 7c59acba5699c9c58090a7a738669669a7307023 (patch) | |
tree | d51d27d020895a6b7a3298d9d1b9846c1fcb59a0 /net-wireless/unifi | |
parent | e2db47eaae00ec33f8971db44b68645c5d3b9590 (diff) |
gentoo resync : 21.08.2021
Diffstat (limited to 'net-wireless/unifi')
-rw-r--r-- | net-wireless/unifi/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/unifi/unifi-6.4.50.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 5d6298bed29f..4fe695188713 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -4,7 +4,9 @@ AUX unifi.service 435 BLAKE2B d982d8ae1f4bf2fa6affc149e0edf94e8471283b0353b370d9 DIST unifi-6.2.26.zip 152767218 BLAKE2B 8351b9c0b2088006560ca3896df0b05d78cb9ca669ad32b1d1a73ef22f4329618b44585bff9a26a841b3d28997bc345708df9820149de91b3fc1df99693c3a74 SHA512 fccffca9bcb31a1da2c389e83ea9a48e4cde6d958368d4d623d459bae095b57a4d7946086b0ac0e4dff5c4c565961ed2c11f7bc2dfbf8b5c6d590fb32af351e8 DIST unifi-6.3.51.zip 158093467 BLAKE2B d2d2f87edff6b4a1d6e9fffd49e45c062f0e8cc8e8cba82229cecb8fbea847ed92d08ad8362763dd1476f2ba625d3ab3d9e392eca3f87cf2cce4573867985b8d SHA512 87dd0bfddba6716dd3a42f75b17e71253d33864b32b473083b8302f9deeb22f67b310366c0a768d9a2d8648038386bb3df926c333fd6bdd200b90740dd6c7b08 DIST unifi-6.4.47.zip 159107424 BLAKE2B 60edb5b7454abaad94929eb25ace1216bf650f9bd0d089e8259c9e5233b6eae74a6068787a951f7fd424c1c99fc385299ccf0b237b106bac91fd0f308b57a41c SHA512 a0ded5114ffdd69814d2d535e11d6a332de37c00f726858b08ba2764d973c8898d9a621d595c7bce62036afebe0364a1d9ff4cb348cf39fe5fad9f2d6b1a495f +DIST unifi-6.4.50.zip 158881298 BLAKE2B 652110bf3f54322721137c45594b407151ecd7b977795b8ec5d7c84db772342f0b270b868a597210df9f379682eca932a209e3bbd97e2ef2a4ab25c3b9de2b49 SHA512 63ff0e1603ebe3d16d0abce1eeab785a9912730c877ebfafb351e219bf1d449d8c5a61590a7ae5a87faab6ca587782e59b29d02a016202ed2c0a417e452f9af3 EBUILD unifi-6.2.26.ebuild 1576 BLAKE2B 36813058f867c56385f3bae6345e4a743f44d0ec8615bb5091e7ebd1d5d800a19a3b0f6c4bdaabed27d66c22041685565e2866b54148dfff41dafb89d70d4693 SHA512 0b411bc8df77d3cdae4ccc44991e6e5148f2479ae2389991abded23c4d182a8fa42c46c5a1134ba8311478026c86342be20af86767aafa57888c9938f228c6f7 EBUILD unifi-6.3.51.ebuild 1577 BLAKE2B 75be5fa72e7b0b640e15298e657f93650cdb0c456684d66847fb1f1fbfcfe78a5ec27046b7076faa26954dc4d7b76535abac0323e56f8da931ecf3060f7481b2 SHA512 cdb50d024827efe3960dc62686ca022663c7124820813766e21404a5dab36335ab24c6dbe2efd88dd6c105c854764f41a9248de363bc30d1dd33d97f6a98019e EBUILD unifi-6.4.47.ebuild 1577 BLAKE2B ff98111e64a9a133c475d354f2fb7638fb222f09a9fbe0e180fbf6e6def057328b0a909fc403341672786472b1a0f5e36d785b37b40ab3338da430e0062c07ae SHA512 26ab07605435692fd5b3b00b837e2846c4aedd0e00c964de625db1e6be99b99218ce38a064b97690b497c48ba703942aa2334da8df99a1051964dda517698ce7 +EBUILD unifi-6.4.50.ebuild 1577 BLAKE2B fe30f77da7cc9b09359dec7e38aa4cbe606b315cbdc0ad022bf6a6cee6dc6e141a55dc01b2287fe5a8989a2a747e452583a6e72d5cd8fa2a3e35cb1c798e81f1 SHA512 c8d13a7e52df489375cf835b7e6af060be96b64edb683f3b98db842804959290afb591a778c28d0c3fef951d12cb999ffbe8ede45eb3742dd948eeddd7bbfebe MISC metadata.xml 683 BLAKE2B 830f1b290d1836708aebdb1200caed6120df7ca573173584cfac59ec7eb3e8e38be65e237535d722f215ebb69b8739cf900fb79cddb78e60a09d1cbb1ff222f9 SHA512 da328bd64dea83da1f7f2bfe3431701597cc6a9829b0e0a5ec82bb4167f2f57b144b9d9c77656da33dc9b59e0d53ac89e18be6f776ac4356151d331f020c4ae0 diff --git a/net-wireless/unifi/unifi-6.4.50.ebuild b/net-wireless/unifi/unifi-6.4.50.ebuild new file mode 100644 index 000000000000..4053e56e11dd --- /dev/null +++ b/net-wireless/unifi/unifi-6.4.50.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="-00f579cd4c" + +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 +} |