1 |
commit: 389b3d146db0951a7ed6bad911fc03c3c4519b3a |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 6 15:47:17 2021 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 6 15:47:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=389b3d14 |
7 |
|
8 |
net-wireless/unifi: drop EOL 5.6 series |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
12 |
|
13 |
net-wireless/unifi/Manifest | 1 - |
14 |
net-wireless/unifi/files/mongod-wrapper | 11 ----- |
15 |
net-wireless/unifi/unifi-5.6.42-r1.ebuild | 69 ------------------------------- |
16 |
3 files changed, 81 deletions(-) |
17 |
|
18 |
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest |
19 |
index 07147f59e95..255ffd401ab 100644 |
20 |
--- a/net-wireless/unifi/Manifest |
21 |
+++ b/net-wireless/unifi/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989 |
24 |
DIST unifi-6.0.43.zip 136844666 BLAKE2B fb330f9ba8c2d22dacd5e37fbeccc411101e388525cdf7ae76fd2ade629c8230d10a5098d01453fcd9e091d581961b556c7f86d1625baff735fa76a2896b2d94 SHA512 16cfec8f12aa31c146ebd38b946a51730f7ca600f36f16058e06ec20d6d3597a34fa8fa8efef1bad1980b73a15c13d5c6458f03d08cee6eda5cedf62ef17a6b8 |
25 |
DIST unifi-6.1.26.zip 243498936 BLAKE2B 72a17f02279ecedd8f876df85167824a03abebb2816e68fcbfff11923b00c1e0b80b7357e48a4e044f0835e3e0054bd0ab034bd8fb3d67289bf61b4804ce9a87 SHA512 9ea5a7307ad507f08e4d39805bdf776eaa50895513e4c086d94527e28ae93b1f97e3d1b23ff314ed03ea560638b8cb44fc16bf4ff8f7746035e8b5de9b31321b |
26 |
|
27 |
diff --git a/net-wireless/unifi/files/mongod-wrapper b/net-wireless/unifi/files/mongod-wrapper |
28 |
deleted file mode 100644 |
29 |
index e8d65bb8aec..00000000000 |
30 |
--- a/net-wireless/unifi/files/mongod-wrapper |
31 |
+++ /dev/null |
32 |
@@ -1,11 +0,0 @@ |
33 |
-#!/bin/sh |
34 |
- |
35 |
-# Remove --nohttpinterface argument, since it does not exist on MongoDB >= 3.6.x anymore |
36 |
-# See https://community.ubnt.com/t5/UniFi-Routing-Switching/MongoDB-3-6/td-p/2195435 |
37 |
-for arg do |
38 |
- shift |
39 |
- [ "${arg}" = "--nohttpinterface" ] && continue |
40 |
- set -- "$@" "${arg}" |
41 |
-done |
42 |
- |
43 |
-exec /usr/bin/mongod "$@" |
44 |
|
45 |
diff --git a/net-wireless/unifi/unifi-5.6.42-r1.ebuild b/net-wireless/unifi/unifi-5.6.42-r1.ebuild |
46 |
deleted file mode 100644 |
47 |
index 33839d8b5a9..00000000000 |
48 |
--- a/net-wireless/unifi/unifi-5.6.42-r1.ebuild |
49 |
+++ /dev/null |
50 |
@@ -1,69 +0,0 @@ |
51 |
-# Copyright 1999-2019 Gentoo Authors |
52 |
-# Distributed under the terms of the GNU General Public License v2 |
53 |
- |
54 |
-EAPI=6 |
55 |
- |
56 |
-# Set this var for any releases except stable |
57 |
-# RC_SUFFIX="" |
58 |
- |
59 |
-inherit systemd |
60 |
- |
61 |
-DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" |
62 |
-HOMEPAGE="https://www.ubnt.com" |
63 |
-SRC_URI="https://dl.ubnt.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" |
64 |
- |
65 |
-KEYWORDS="amd64" |
66 |
-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" |
67 |
-SLOT="0/5.6" |
68 |
- |
69 |
-RDEPEND=" |
70 |
- acct-group/unifi |
71 |
- acct-user/unifi |
72 |
- dev-db/mongodb |
73 |
- virtual/jre:1.8 |
74 |
-" |
75 |
- |
76 |
-DEPEND="app-arch/unzip" |
77 |
- |
78 |
-RESTRICT="bindist mirror" |
79 |
- |
80 |
-S="${WORKDIR}/UniFi" |
81 |
- |
82 |
-DOCS=( "readme.txt" ) |
83 |
- |
84 |
-QA_PREBUILT="usr/lib/unifi/lib/native/Linux/x86_64/*.so" |
85 |
- |
86 |
-src_prepare() { |
87 |
- # Remove unneeded files Linux, Mac and Windows |
88 |
- rm -r lib/native/Linux/armhf lib/native/{Mac,Windows} || die |
89 |
- |
90 |
- default |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- # Install MongoDB wrapper script, to avoid problems with >= 3.6.0 |
95 |
- # See https://community.ubnt.com/t5/UniFi-Routing-Switching/MongoDB-3-6/td-p/2195435 |
96 |
- exeinto /usr/lib/unifi/bin |
97 |
- newexe "${FILESDIR}"/mongod-wrapper mongod |
98 |
- |
99 |
- insinto /usr/lib/unifi |
100 |
- doins -r dl lib webapps |
101 |
- |
102 |
- diropts -o unifi -g unifi |
103 |
- keepdir /var/lib/unifi/{conf,data,run,tmp,work} /var/log/unifi |
104 |
- |
105 |
- for symlink in conf data run tmp work; do |
106 |
- dosym ../../../var/lib/unifi/${symlink} /usr/lib/unifi/${symlink} |
107 |
- done |
108 |
- dosym ../../../var/log/unifi /usr/lib/unifi/logs |
109 |
- |
110 |
- newinitd "${FILESDIR}"/unifi.initd-r1 unifi |
111 |
- systemd_dounit "${FILESDIR}"/unifi.service |
112 |
- |
113 |
- newconfd "${FILESDIR}"/unifi.confd unifi |
114 |
- |
115 |
- echo 'CONFIG_PROTECT="/var/lib/unifi"' > "${T}"/99unifi || die |
116 |
- doenvd "${T}"/99unifi |
117 |
- |
118 |
- einstalldocs |
119 |
-} |