From ab3da91fb6c91a9df52fff8f991570f456fd3c7a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 18 Dec 2020 11:06:49 +0000 Subject: gentoo resync : 18.12.2020 --- net-wireless/unifi/Manifest | 2 + net-wireless/unifi/unifi-6.0.43.ebuild | 68 ++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 net-wireless/unifi/unifi-6.0.43.ebuild (limited to 'net-wireless/unifi') diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 4ecf6c8e1d38..a574a668c151 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -5,11 +5,13 @@ AUX unifi.service 435 BLAKE2B d982d8ae1f4bf2fa6affc149e0edf94e8471283b0353b370d9 DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989 DIST unifi-6.0.41.zip 216846940 BLAKE2B 14aaabc6c33fc312ca26cae03eec7bc1a80c26d381735223753eb073baa4141e1791651e724fa6a75d16274abc2299b791d08f1032256ddfd2c6518fc2b3d30f SHA512 9264a322bf78efa38f009e81a7e7fd37534600d859a46221bc8237db159049510279c939fb2294907a94e59c841989b890693fdc800cde05d9f4e7cd6c50c7ab DIST unifi-6.0.42.zip 151690952 BLAKE2B 9f67f1dbb7b85f6bf92414a3d424600d610dc4ae926766e8b71dc5ceabdc1d33bccec3cbec839483aca40b2360c6dd8b31eb3de7dd20077c3d751c01b137cfcb SHA512 548f2d280065259270484e2530d800f829869eb5802939a2f13ba08ae99017f0a2dc5152e1b2f85d940a032326d4cb7d3a1a58649dc96428bea04156c26eab88 +DIST unifi-6.0.43.zip 136844666 BLAKE2B fb330f9ba8c2d22dacd5e37fbeccc411101e388525cdf7ae76fd2ade629c8230d10a5098d01453fcd9e091d581961b556c7f86d1625baff735fa76a2896b2d94 SHA512 16cfec8f12aa31c146ebd38b946a51730f7ca600f36f16058e06ec20d6d3597a34fa8fa8efef1bad1980b73a15c13d5c6458f03d08cee6eda5cedf62ef17a6b8 DIST unifi-6.1.25.zip 235499342 BLAKE2B 77de866d2c04136b32e06698f3c20563dc68cf1bf5d260a23cad46ee208c5d4012d788c67dc3324578d2c944e8eceecf6b5473f4d77304e10ee15a3b14286fc7 SHA512 0eb916f06546a5b33da664ada77391a69d21c9ec4545244a1a6f55ceeb7546fe77a07a121df03ba606e98ddbd23429207f86bb5b2c24ddfb3174eb2d00c5daaf DIST unifi-6.1.26.zip 243498936 BLAKE2B 72a17f02279ecedd8f876df85167824a03abebb2816e68fcbfff11923b00c1e0b80b7357e48a4e044f0835e3e0054bd0ab034bd8fb3d67289bf61b4804ce9a87 SHA512 9ea5a7307ad507f08e4d39805bdf776eaa50895513e4c086d94527e28ae93b1f97e3d1b23ff314ed03ea560638b8cb44fc16bf4ff8f7746035e8b5de9b31321b EBUILD unifi-5.6.42-r1.ebuild 1667 BLAKE2B daea907c2b41f461f707411f8a68dba6cc9ec8dcd7577641d7554539fd5f191eb2684478fd9801bcbaec855e83b765ab4a429cc3bf876e7a42176fdac1eb26ff SHA512 a7001e6fb490e6ad20ea00a080bb76877c85741dd2142f54041afd71d2822684836ed8803bd74b6a8821da7b7e85e0cfb6d10b5294838ae49f08326b6e1141f7 EBUILD unifi-6.0.41.ebuild 1565 BLAKE2B f2c97c8425ddbf3d8e6be92076993feb7da2c1c60802f0ef544c05be197dedec07cf2593e5d998464aeaf299ea13283524570dd1e3ff59c4bc285603e2406b16 SHA512 c9811f60745c408409638b4d334eb91da016a83e77f1b0ab417b7c6da4f0ade8b8883d263e501ef0b32f375ceacf7d4e05b0c515c965adbfdc41c3d47962aa2c EBUILD unifi-6.0.42.ebuild 1566 BLAKE2B ffd3e28a82be97ee19bc0b1e9b233043e188efe974ac66d07da76d6e8404d4d81dcde9f697f0b78e31f9ea1e1e01143bb3d389c59cae75fb8da7b3fe42a7818d SHA512 ca96322294cc453a364d736be4ea5159232612eabf98f16a8486a52a14dab1fb1549ea7601aaca13d1940a1e0d509aed89c29bcdfe9258b5428a3294d88f2109 +EBUILD unifi-6.0.43.ebuild 1566 BLAKE2B 928c0575362660c2e20de6dd7647bbc60d65f70a1b512328ac5926983b23cd11b408db51fcf2d0546b67c0eff38e36600e26ee8175bf050e705d84ef15497a76 SHA512 73bfe70d67d64fcb4d86a46fb3e20c03b2f5a35df13986f17b764cb7cbb9739a13c87a95c62389c087f718ea8dd8986c4f95c1841c2466d9d13905e6e17b739a EBUILD unifi-6.1.25.ebuild 1566 BLAKE2B e59fb68b8f475fe749a31cf89adcc03d52a9de40348f4f62a84a761afa8a883c787f6f4b8254da00ba712fa3adcfb76e901f94525b294b364f47ccfa31ead4f2 SHA512 d1563a980e956e414e414ec1ff544c7a952bbe9bfb8e433be52ea81cf45124ddc75f10d67973b1a940bff593aa0c43b3149215a2b8bc2d1bed5709bc7ee9d497 EBUILD unifi-6.1.26.ebuild 1566 BLAKE2B 1e7c0b6b4dffc76041f23daa3d6523a7e4b088f4cf3be529bf1acc7bf48c94049d51e351c425bf6a488bb253708bcb62983c2918364ac8f0792231e67c486023 SHA512 f1b22181098927c83c0cefd7359c112ea38f1b4c096edbb4eaee97cbc0ef56261292ddc19e5208319bdfa85908d5203dfaf91f4dc9b893052fc6047f6ff73a9a MISC metadata.xml 683 BLAKE2B 830f1b290d1836708aebdb1200caed6120df7ca573173584cfac59ec7eb3e8e38be65e237535d722f215ebb69b8739cf900fb79cddb78e60a09d1cbb1ff222f9 SHA512 da328bd64dea83da1f7f2bfe3431701597cc6a9829b0e0a5ec82bb4167f2f57b144b9d9c77656da33dc9b59e0d53ac89e18be6f776ac4356151d331f020c4ae0 diff --git a/net-wireless/unifi/unifi-6.0.43.ebuild b/net-wireless/unifi/unifi-6.0.43.ebuild new file mode 100644 index 000000000000..398ae438bf38 --- /dev/null +++ b/net-wireless/unifi/unifi-6.0.43.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 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="-a8e04a273f" + +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/6.0" +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 +} -- cgit v1.2.3