From 210133bf9e8227b05993806c893cea6de7cb77da Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Thu, 15 Aug 2019 12:27:18 -0500 Subject: net-wireless/unifi: bump to 5.11.39, drop old Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Ben Kohler --- net-wireless/unifi/Manifest | 2 +- net-wireless/unifi/unifi-5.11.34.ebuild | 74 --------------------------------- net-wireless/unifi/unifi-5.11.39.ebuild | 74 +++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 75 deletions(-) delete mode 100644 net-wireless/unifi/unifi-5.11.34.ebuild create mode 100644 net-wireless/unifi/unifi-5.11.39.ebuild (limited to 'net-wireless') diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index b270f78b69f9..d88b4e30dc5f 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -1,6 +1,6 @@ DIST unifi-5.10.25.zip 91781146 BLAKE2B 3a4166f3d96c1fe0e7a9afd7e85266e6dacaa4bad44af1cfd72cd22f8a2f5fae4ca4534c5ae09ca50ddc216e067e5e5598e0cc3ea1bcb96802b7379dca03426b SHA512 2a88c8640b10c2b596c40c3e4594062f9828db3e2be5dd159dcf7275b3796c7ef8714c60c27de980672fb1ccc88e9fa7640fc74e61e6d994e3fb1214d0e0bd48 DIST unifi-5.10.26.zip 91777116 BLAKE2B a07f296aa55204d0c1be055f0c54901824eaf2341548ae3a4de95faa496f5e38e19cd62974da09abfad5756889506db4dda1aa8803e0f87036ebfb3205c47c10 SHA512 3722c83b810e3ddce6c82d8b8119717b00213d5052baf66288299311fe6f7e8c5a5c5dbdae871a166bcfeb1e70c69f2ed4f34dea702d50e69d1a1a8eacea4594 DIST unifi-5.10.27.zip 91782447 BLAKE2B 810170b44dc6ade4e9b3805302f3f17fde104e04f581aacba895dbb41f1c2450a764aeb62841cc93df5d8a0bdcaebe9ab12a9644cacf7ae4261b9a09301cf652 SHA512 f425596e1d8f0ee82d1bb84c1a5f0900d5cbcbbc579b6a9769bd10c7f66e61423c14dcf08028525b12495e144ee2d9452a3e4a5d6bc3331f14f087c27effc5eb -DIST unifi-5.11.34.zip 112196079 BLAKE2B 2d1d691f54edd7ef744f55696cac90f471e5fc6d8c3aeda1ebf54f53c985a81c3e959e6db8942fce70dcecff70aa799948cffb34a50391552501bb9738bd45f6 SHA512 66768c79db741bbab6de608f7c355550dd0db43807d85e3babc0fe921d1e7533548ee4f07dd033309b422ba1c24fa22186d503f6e8ac5785301aac0507e5bfbf DIST unifi-5.11.38.zip 112222011 BLAKE2B 3838452f3bc2abba075a3cce20062f1e3e76f963b374c25489a57839c491567b92d03ef308846c2d2afb3a249717804365c4d928cb9df9d864e1251fd1c5d0d8 SHA512 e7a55181283dc972c3883da2d05ca00e5ddd77516db5109f7a38f1208dbed90c48553fb7cb598d760c90a6978d19fe11f39da8d485a174c6fe7a03b00b61c7f5 +DIST unifi-5.11.39.zip 112221641 BLAKE2B 33acc8ba7e31dc0e4bc768f26dbb9d995d42a5f9bf58b4671c5a3c973c575c3ca232781e6747ad82ff808df44dbbe71a75a340f738461f1e21a069d144440176 SHA512 2c2e5a4216b916905666b6d0585458d2dba8cfe5a60e183b95406361b39a97cd9c7243faaaecb439db77cf7e2751941c729c2d0bc4d0807aad18706e10e696ff DIST unifi-5.6.42.zip 63581448 BLAKE2B dc12149acc56587043b9f6c45a43327a9a067dda86127c60ad62a4681a0c8ba873435b60183989332f561fb52f71c7207480766ec23d9c0e892cc20c521a9819 SHA512 467c0ad284a84795537484f371867d851e67c7e396215d539a9705f17f374b50db4051121a6634d1944474a2474bdd75fca860ab00b48634a5d3e8749a122989 diff --git a/net-wireless/unifi/unifi-5.11.34.ebuild b/net-wireless/unifi/unifi-5.11.34.ebuild deleted file mode 100644 index 9effce3ccae7..000000000000 --- a/net-wireless/unifi/unifi-5.11.34.ebuild +++ /dev/null @@ -1,74 +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="-2def560057" - -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.11.39.ebuild b/net-wireless/unifi/unifi-5.11.39.ebuild new file mode 100644 index 000000000000..832f70fb87c8 --- /dev/null +++ b/net-wireless/unifi/unifi-5.11.39.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="-54b4ab1ed1" + +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 +} -- cgit v1.2.3-65-gdbad