diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:56:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:56:30 +0100 |
commit | 948d557b4a61dc14722668b6b11a4cf3cee07b01 (patch) | |
tree | b28b6cb077ae6b2457e30d49028fc978d8e2b59b /net-wireless/unifi | |
parent | e3cf2c86fca1750343c1885311f857f185ee4f2d (diff) |
gentoo resync : 13.09.2019
Diffstat (limited to 'net-wireless/unifi')
-rw-r--r-- | net-wireless/unifi/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/unifi/unifi-5.11.46.ebuild | 74 | ||||
-rw-r--r-- | net-wireless/unifi/unifi-5.12.5.ebuild | 74 |
3 files changed, 152 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index d61c00dfc105..48a2661bcdb6 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -4,8 +4,12 @@ AUX unifi.initd-r1 648 BLAKE2B 583d5ad1922c6eb83ba3b1388f6240107b4b0e1a479ebc463 AUX unifi.service 435 BLAKE2B d982d8ae1f4bf2fa6affc149e0edf94e8471283b0353b370d9e95934a6d60d6b700cfdc302e489cafe74d128735b0188bfa4422f30295b267d104a455fe4f1aa SHA512 6dc1dd188515c30ad105d839a2112a75f925f3453cc5eb29b727adb2dbf8bdf53be62eab94b01dfdb483f135fef092c7b6235afd63c61a996efe2d87d4fa6995 DIST unifi-5.11.39.zip 112221641 BLAKE2B 33acc8ba7e31dc0e4bc768f26dbb9d995d42a5f9bf58b4671c5a3c973c575c3ca232781e6747ad82ff808df44dbbe71a75a340f738461f1e21a069d144440176 SHA512 2c2e5a4216b916905666b6d0585458d2dba8cfe5a60e183b95406361b39a97cd9c7243faaaecb439db77cf7e2751941c729c2d0bc4d0807aad18706e10e696ff DIST unifi-5.11.45.zip 112350672 BLAKE2B add0446bb39c169d988395f47e418ea63428bee8c5effa98d021128219f313572ac8763f26ffea7d5b051f9c7e4e0e2b6848d499fb2c68a8869e195d99d35e67 SHA512 e5a72a784ae7f6e829204fb39f7f7daef00dd30b59e7d8c2ddd7a20a302ad43c45bf7ad680cd824cf8a28d7017a05dbbc11c0c24a65d6a8980f86739785121c9 +DIST unifi-5.11.46.zip 112381219 BLAKE2B 7f73cf5db1d132af85fd54dda36cb82cedddae1d3c8e84282f9dcfe0766a839f165d17a8292096bfe976ccced1e29173476de9042f96cdc2c15c4edf24ee9c65 SHA512 41b03ebbbb49089bd40e3e715d7c9a447b42a6df61a2d3551175ae55b85010fd896318909f394bb166bd7a8e9fd7611439158a8141df349acf3b4980bbe9dd6b +DIST unifi-5.12.5.zip 113544662 BLAKE2B 7b79a1b107927fbb6ee2c7bb531901b5cedef0768146b369e8653e0e34e41758914b5108a01681e806c117dd80561091b6064bffe779e913774d61ff2fba369d SHA512 ff3ab833ce13889f1f6c2d1ee71f28bf8d48789c053c84b1f427e95e09aedb4d9f66a640a1891262f31300af50859581dc874a613f5f92b3bcf18b05c0140052 DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989 EBUILD unifi-5.11.39.ebuild 1832 BLAKE2B 7c40929311169e488fca0f551e8636222bf15e8f7e180bca177fe7b1e3e1d217071689951676a7cc90fe106de74b08be430ac9731843390eedef700bfb2d0445 SHA512 aa414683457d916af76f22ae2004bccc79610f8522005202d0c43367227f5a6d46e1fbdf506993c7c20098a4b6d697824fab7d23088e73ba929727067465caca EBUILD unifi-5.11.45.ebuild 1833 BLAKE2B adf52bdbd0c09b41feedaa66635b7ae771c784efae0615f5adb40a03e7a3c5defdcbcbe40282ac91b4905f3a85825288a9914d6a773830ba515b406b3f257ca9 SHA512 ff34c8cbebc2ecf0307d459c551900b771b3ab452bdc9ab5fb9189aa612667116f47c40b1797a402200f7dbae7d465b74b68c069029975151aa8b2f1ff1ec42c +EBUILD unifi-5.11.46.ebuild 1833 BLAKE2B b92cabb1ef13bb7070df55fc6a5d89864debed1f988124d0553644358ad11fea51b90bba105b89d1aedfd203ae309fbaf7f660b2121fbeb813238b0e72c3c00e SHA512 410792f35aff9d6569d1e53c94a2cac7646348dd0b5f554f7b53640d6e311fadf602d09cdcee57e2430acda10ee9d2b99a37fccea8bb2e3a3cf905119b27d9a0 +EBUILD unifi-5.12.5.ebuild 1833 BLAKE2B f9e7cae98e23b3525c628d0e987884f2e211d806073a97824bed45e4fb43dd131a849489d5c0bbb64cd7b865db71e600b9926a7b8ab38c70f2aa7e37e90dbb01 SHA512 46c149a06ee68e3e89a2ec3404c8eb501299649c2fd58a33a053d72caa85fc66cb1c6334e338d4aedcc3c3bee4bb18ae6468a2cdd882e46a213bb578cfc05d8d EBUILD unifi-5.6.42.ebuild 1721 BLAKE2B 04efda4b528074a4b01f11d9cdb45237d64ec6af9846f8d30e2c5fe1564990467f6e0e6c4fa76e77e06007239f1f338d509f5759ed9baccd93ee8f2f70b39a63 SHA512 6e1b3ae4df8cb47c142ee14e5bb92a3c21dd5a97caeaa665bba0e201a9ffefb913f24420967944c09e3dcf516c667af566ecbd7404a254146fa2022a496f6788 MISC metadata.xml 802 BLAKE2B cf4248b03b6b0f5ecee40ab09e9d7fe718c8a3478aeb5814faa489b74080b19fa20b0db05b7910523c68297d2fc00a56d4b16822367811b52fbdbd2cf707962a SHA512 8071155df75634be1db52068b17960b194f47c8a1ca38f23fe4397df8c3156123c6023cab0d33db4dce1b0763beaa096ba6f745671c3078be637dad6ef63abf5 diff --git a/net-wireless/unifi/unifi-5.11.46.ebuild b/net-wireless/unifi/unifi-5.11.46.ebuild new file mode 100644 index 000000000000..221ef9e70a72 --- /dev/null +++ b/net-wireless/unifi/unifi-5.11.46.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 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="-a5113ebc10" + +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.11" +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 +} diff --git a/net-wireless/unifi/unifi-5.12.5.ebuild b/net-wireless/unifi/unifi-5.12.5.ebuild new file mode 100644 index 000000000000..545a8e5589ea --- /dev/null +++ b/net-wireless/unifi/unifi-5.12.5.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 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="-802c4da1a2" + +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.12" +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 +} |