diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
commit | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch) | |
tree | c44943ee0563a3fa957716de909fed683117fcb9 /net-wireless/unifi | |
parent | 69051588e2f955485fe5d45d45e616bc60a2de57 (diff) |
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'net-wireless/unifi')
-rw-r--r-- | net-wireless/unifi/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/unifi/unifi-6.1.54.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 246175166142..b1ee7653b024 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -5,8 +5,10 @@ DIST unifi-6.0.43.zip 136844666 BLAKE2B fb330f9ba8c2d22dacd5e37fbeccc411101e3885 DIST unifi-6.0.45.zip 147691229 BLAKE2B ad8e34e4934449151b0244bb32e2ce81e2506f228c995e72c2756279ce22f1ce06d44c37f1cfd6156cee0d03066e36d99f98b56d2a1c759ee98ada6569b8309e SHA512 6b2aebf33b6e2114a2b274ce332e2bd88a30406e3a21bc66dc0eddee3ee27ee2e4d3948dea73ff85289cbc2ed0e4f2b646e095091c54120f718b5fb2f0b35943 DIST unifi-6.1.26.zip 243498936 BLAKE2B 72a17f02279ecedd8f876df85167824a03abebb2816e68fcbfff11923b00c1e0b80b7357e48a4e044f0835e3e0054bd0ab034bd8fb3d67289bf61b4804ce9a87 SHA512 9ea5a7307ad507f08e4d39805bdf776eaa50895513e4c086d94527e28ae93b1f97e3d1b23ff314ed03ea560638b8cb44fc16bf4ff8f7746035e8b5de9b31321b DIST unifi-6.1.51.zip 151612025 BLAKE2B 879256deb0da92ba028f956d2ef0d0874fbb05a52b0c9763657c2d2b326512ddf66e711694a09b04d0eebfb7147ca757dc0b1fd85a52eb9bd7e6c402936009e9 SHA512 6303cd66dd88c0ac6d67ddef662ac5a7491d1e5ffc670c08f7d76c1607c4c7617234f40c4572daec82f11a7c4fd4eb12afe7c788e158bb7ffba7856eb9b2aefb +DIST unifi-6.1.54.zip 151673218 BLAKE2B 3d462a5a2edaad9c2ae16e6efc68ef8ef4d6cce98ef2654b08b93b37ae1e8f5b6f69dc330ba410a035f6edaf65673962998eac3167762521e9fd1588992efa41 SHA512 7a5c41b0385fc84cfd580f488579453a474721c297086393dc82ea6a82ebdd36bf2f441fb80879f32617893f6156c5296eb6a5c39723f69d39854ff3a8816eca EBUILD unifi-6.0.43.ebuild 1565 BLAKE2B 8b55f4c16cd19b6e34d86c8efae53bff61d80c55e2dc351927d6f5860e6e0db8ebcfd02cf1aff2c1c5998f41da165a53f6e71ba184d705fa6c178c62140726ae SHA512 1fc10fb07c246c9d5b7f6d22dca402c6a79af60c6f450b4ada3b724855092a5eb9af94a1077a2e64cd4d3623ada7d1ba26fff131e04bdfa834e6b6e8c70f331a EBUILD unifi-6.0.45.ebuild 1565 BLAKE2B 2750bd1a561a8e7bd0287ef38ec7b6fa8a799dcec219493388c009da1d4c2def69d765a86514ff13f647d8148ff060106382030b039755a43dcc69dab38d3f2c SHA512 6c0526d1b855a49aa2a81f6d91d0a514e54c7332012cc114302c5b73956ac7855ce006b08fbcf2c650c9a05910b145e6068bd4562685408e6032ffa71ed6f624 EBUILD unifi-6.1.26.ebuild 1566 BLAKE2B 1e7c0b6b4dffc76041f23daa3d6523a7e4b088f4cf3be529bf1acc7bf48c94049d51e351c425bf6a488bb253708bcb62983c2918364ac8f0792231e67c486023 SHA512 f1b22181098927c83c0cefd7359c112ea38f1b4c096edbb4eaee97cbc0ef56261292ddc19e5208319bdfa85908d5203dfaf91f4dc9b893052fc6047f6ff73a9a EBUILD unifi-6.1.51.ebuild 1566 BLAKE2B 6845e00e5d5b3042fa22443a994f4cb611a88ef252d0e5c3073962db71d47cb0a5deadadd6f8eb8f396e5632a5656ec61e11e251b9b7699afca3c641b05d5436 SHA512 33e1003dc5d86fac2a5e8fe4d4faccf1ee6be77d07314c5affbd34da7d264e273737d067e7861706f35400687c18a8fa22e7e53ff2895d6b9bff7f892294e05e +EBUILD unifi-6.1.54.ebuild 1566 BLAKE2B 3fada94def23e868769b4533187060d16805b64f97ed964376fd9c41d145b8a5be4682807bed5e51a6e785367f2b2834399c467dad15fbed4473ecadeb5afff9 SHA512 e44de747c37359ef1cc1df65a6b6798d751274bd6566bd7885c78f0d1377bcd2f1d0942a36ce56bbae95260292479175b33742ea385554afef750aa0b31500b8 MISC metadata.xml 683 BLAKE2B 830f1b290d1836708aebdb1200caed6120df7ca573173584cfac59ec7eb3e8e38be65e237535d722f215ebb69b8739cf900fb79cddb78e60a09d1cbb1ff222f9 SHA512 da328bd64dea83da1f7f2bfe3431701597cc6a9829b0e0a5ec82bb4167f2f57b144b9d9c77656da33dc9b59e0d53ac89e18be6f776ac4356151d331f020c4ae0 diff --git a/net-wireless/unifi/unifi-6.1.54.ebuild b/net-wireless/unifi/unifi-6.1.54.ebuild new file mode 100644 index 000000000000..13b347036217 --- /dev/null +++ b/net-wireless/unifi/unifi-6.1.54.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="-f60db383e8" + +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.1" +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 +} |