summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-01-06 09:47:17 -0600
committerBen Kohler <bkohler@gentoo.org>2021-01-06 09:47:48 -0600
commit389b3d146db0951a7ed6bad911fc03c3c4519b3a (patch)
tree79364114ead4b86c5fed821ea5a99141382ea6c3 /net-wireless
parentsys-fs/udev: remove old (diff)
downloadgentoo-389b3d146db0951a7ed6bad911fc03c3c4519b3a.tar.gz
gentoo-389b3d146db0951a7ed6bad911fc03c3c4519b3a.tar.bz2
gentoo-389b3d146db0951a7ed6bad911fc03c3c4519b3a.zip
net-wireless/unifi: drop EOL 5.6 series
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/unifi/Manifest1
-rw-r--r--net-wireless/unifi/files/mongod-wrapper11
-rw-r--r--net-wireless/unifi/unifi-5.6.42-r1.ebuild69
3 files changed, 0 insertions, 81 deletions
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest
index 07147f59e953..255ffd401abe 100644
--- a/net-wireless/unifi/Manifest
+++ b/net-wireless/unifi/Manifest
@@ -1,3 +1,2 @@
-DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989
DIST unifi-6.0.43.zip 136844666 BLAKE2B fb330f9ba8c2d22dacd5e37fbeccc411101e388525cdf7ae76fd2ade629c8230d10a5098d01453fcd9e091d581961b556c7f86d1625baff735fa76a2896b2d94 SHA512 16cfec8f12aa31c146ebd38b946a51730f7ca600f36f16058e06ec20d6d3597a34fa8fa8efef1bad1980b73a15c13d5c6458f03d08cee6eda5cedf62ef17a6b8
DIST unifi-6.1.26.zip 243498936 BLAKE2B 72a17f02279ecedd8f876df85167824a03abebb2816e68fcbfff11923b00c1e0b80b7357e48a4e044f0835e3e0054bd0ab034bd8fb3d67289bf61b4804ce9a87 SHA512 9ea5a7307ad507f08e4d39805bdf776eaa50895513e4c086d94527e28ae93b1f97e3d1b23ff314ed03ea560638b8cb44fc16bf4ff8f7746035e8b5de9b31321b
diff --git a/net-wireless/unifi/files/mongod-wrapper b/net-wireless/unifi/files/mongod-wrapper
deleted file mode 100644
index e8d65bb8aec9..000000000000
--- a/net-wireless/unifi/files/mongod-wrapper
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-# Remove --nohttpinterface argument, since it does not exist on MongoDB >= 3.6.x anymore
-# See https://community.ubnt.com/t5/UniFi-Routing-Switching/MongoDB-3-6/td-p/2195435
-for arg do
- shift
- [ "${arg}" = "--nohttpinterface" ] && continue
- set -- "$@" "${arg}"
-done
-
-exec /usr/bin/mongod "$@"
diff --git a/net-wireless/unifi/unifi-5.6.42-r1.ebuild b/net-wireless/unifi/unifi-5.6.42-r1.ebuild
deleted file mode 100644
index 33839d8b5a94..000000000000
--- a/net-wireless/unifi/unifi-5.6.42-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# 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=""
-
-inherit systemd
-
-DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs"
-HOMEPAGE="https://www.ubnt.com"
-SRC_URI="https://dl.ubnt.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.6"
-
-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/armhf lib/native/{Mac,Windows} || die
-
- 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
-}