From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/unifi/
Date: Sun, 24 Jul 2022 17:45:59 +0000 (UTC) [thread overview]
Message-ID: <1658684741.666c36027415251bd9acf4b3e6e438535ea206fe.conikost@gentoo> (raw)
commit: 666c36027415251bd9acf4b3e6e438535ea206fe
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 24 17:44:54 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 24 17:45:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=666c3602
net-wireless/unifi: add 7.1.68
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-wireless/unifi/Manifest | 1 +
net-wireless/unifi/unifi-7.1.68.ebuild | 107 +++++++++++++++++++++++++++++++++
2 files changed, 108 insertions(+)
diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest
index 942318329594..b2e5157ea017 100644
--- a/net-wireless/unifi/Manifest
+++ b/net-wireless/unifi/Manifest
@@ -1,3 +1,4 @@
DIST unifi-6.5.55.zip 157805689 BLAKE2B 09a7b69143478d0b81dd6f7be1746b1a35cd00ee034471c512d04e4f91aa02688871857edf3c0ef538e601aaf8eccdd0c55193a9bde10924ddeff1fd333da355 SHA512 c2f677de819268366d65622238c1b8d6d8abcd5e06d6f1f635d9755573eff5a6aca0c84298a111b0da5e80bade8132e05339035edde3cc5fc08834f2d6c4b26e
DIST unifi-7.1.66.zip 202065717 BLAKE2B afab055746e961b648405519f3ebd339e103e212e552843f453923237408a5e19f4d7041576eb0eb7ffa6fbdbd929975e54984f70bb037bca8c5ea4229c34677 SHA512 3e3cef3a2bde99f6172ae17499d2ce2ca69143ebaefc22d91129f2fb61a44d620485008763de3775a125dfb1244891e704b4b265bf7db36491700c0b5b47ba70
DIST unifi-7.1.67.zip 202078626 BLAKE2B 3fb7c2fa877ea61e44d2a455494d47099282c91e9bb515a9995d526ea5624d893e09534f305c5c72e011a98075990fcf1323e6bf1fc1949ef0d663c94f019a59 SHA512 3926d0c56f6b5e16f8da98fc1b049e0382c0cc785158955ca2b5ffed0fd464985bbc551694dc2b037b3fccc2867f2e875842791e541daf51b9f52678594ff359
+DIST unifi-7.1.68.zip 202099045 BLAKE2B f84a579c01ec0494e0e8b67a126947cd7bb0625c60d5f5026232e563ee84a4c0fdef827e5f8044de4e5d7fd970a50846dc91d7467196fc2f53bb27655bbb5212 SHA512 b4e71dd28bb645d7fb085546fc29019aa6f33780e559ed284216b7f330eaf5f41f5177e839a5a277d4d41a2242ffe16a44b582c51e74e469bacf96502d187a55
diff --git a/net-wireless/unifi/unifi-7.1.68.ebuild b/net-wireless/unifi/unifi-7.1.68.ebuild
new file mode 100644
index 000000000000..d2aab56813ba
--- /dev/null
+++ b/net-wireless/unifi/unifi-7.1.68.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Set this var for any releases except stable
+RC_SUFFIX="-124045abd4"
+
+inherit java-pkg-2 readme.gentoo-r1 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"
+S="${WORKDIR}/UniFi"
+
+KEYWORDS="-* ~amd64 ~arm64"
+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/$(ver_cut 1-2)"
+IUSE="systemd system-mongodb"
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ acct-group/unifi
+ acct-user/unifi
+ dev-db/mongodb
+ virtual/jre:1.8
+"
+
+BDEPEND="app-arch/unzip"
+
+DOCS=( "readme.txt" )
+
+QA_PREBUILT="usr/lib/unifi/lib/native/Linux/x86_64/*.so"
+
+src_prepare() {
+ # Remove unneeded files Mac and Windows
+ rm -r lib/native/{Mac,Windows} || die
+
+ if [[ ${CHOST} != aarch64* ]]; then
+ rm -r lib/native/Linux/aarch64 || die "Failed in removing aarch64 native libraries"
+ fi
+ if [[ ${CHOST} != armv7* ]]; then
+ rm -r lib/native/Linux/armv7 || die "Failed in removing armv7 native libraries"
+ fi
+ if [[ ${CHOST} != x86_64* ]]; then
+ rm -r lib/native/Linux/x86_64 || die "Failed in removing x86_64 native libraries"
+ fi
+
+ if [[ ${CHOST} == aarch64* ]]; then
+ if ! use systemd; then
+ rm lib/native/Linux/aarch64/libubnt_sdnotify_jni.so || die
+ fi
+ fi
+ if [[ ${CHOST} == armv7* ]]; then
+ if ! use systemd; then
+ rm lib/native/Linux/armv7/libubnt_sdnotify_jni.so || die
+ fi
+ fi
+ if [[ ${CHOST} == x86_64* ]]; then
+ if ! use systemd; then
+ rm lib/native/Linux/x86_64/libubnt_sdnotify_jni.so || die
+ fi
+ fi
+
+ default
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ insinto /usr/lib/unifi
+ doins -r dl lib webapps
+ ! use system-mongodb && doins -r bin
+
+ 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
+
+ java-pkg_regjar "${D}"/usr/lib/unifi/lib/*.jar
+ java-pkg_dolauncher unifi --java_args '-Dorg.xerial.snappy.tempdir=/usr/lib/unifi/tmp -Djava.library.path=' --jar ace.jar --pwd '/usr/lib/unifi'
+
+ if use system-mongodb; then
+ systemd_newunit "${FILESDIR}"/unifi-mongodb.service unifi.service
+ newinitd "${FILESDIR}"/unifi-mongodb.initd unifi
+ else
+ systemd_newunit "${FILESDIR}"/unifi.service-r2 unifi.service
+ newinitd "${FILESDIR}"/unifi.initd-r2 unifi
+ fi
+
+ newconfd "${FILESDIR}"/unifi.confd unifi
+
+ echo 'CONFIG_PROTECT="/var/lib/unifi"' > "${T}"/99unifi || die
+ doenvd "${T}"/99unifi
+
+ einstalldocs
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
next reply other threads:[~2022-07-24 17:46 UTC|newest]
Thread overview: 268+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-24 17:45 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-09 1:41 [gentoo-commits] repo/gentoo:master commit in: net-wireless/unifi/ Conrad Kostecki
2024-10-21 10:59 Conrad Kostecki
2024-10-21 10:59 Conrad Kostecki
2024-09-15 13:35 Conrad Kostecki
2024-07-21 15:02 Conrad Kostecki
2024-07-17 22:15 Conrad Kostecki
2024-06-17 22:31 Conrad Kostecki
2024-06-17 22:31 Conrad Kostecki
2024-06-17 22:31 Conrad Kostecki
2024-05-05 18:56 Conrad Kostecki
2024-04-17 20:45 Conrad Kostecki
2024-04-17 20:45 Conrad Kostecki
2024-03-18 19:06 Conrad Kostecki
2024-03-18 19:06 Conrad Kostecki
2024-02-22 19:59 Conrad Kostecki
2024-01-25 22:15 Conrad Kostecki
2024-01-25 22:15 Conrad Kostecki
2024-01-14 2:39 Conrad Kostecki
2024-01-14 2:39 Conrad Kostecki
2024-01-04 1:27 Conrad Kostecki
2023-12-13 23:37 Conrad Kostecki
2023-11-24 23:58 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-10-15 0:00 Conrad Kostecki
2023-10-09 22:00 Conrad Kostecki
2023-10-02 18:40 Conrad Kostecki
2023-09-09 19:54 Conrad Kostecki
2023-09-08 23:31 Conrad Kostecki
2023-09-08 16:04 Conrad Kostecki
2023-08-05 22:41 Conrad Kostecki
2023-08-05 20:32 Conrad Kostecki
2023-08-05 20:32 Conrad Kostecki
2023-07-05 20:41 Conrad Kostecki
2023-07-02 1:18 Conrad Kostecki
2023-05-31 15:44 Conrad Kostecki
2023-05-26 22:53 Conrad Kostecki
2023-03-19 22:12 Conrad Kostecki
2023-03-19 22:12 Conrad Kostecki
2023-02-13 9:29 Conrad Kostecki
2022-12-25 19:45 Conrad Kostecki
2022-11-25 9:01 Conrad Kostecki
2022-11-24 8:57 Conrad Kostecki
2022-11-24 8:57 Conrad Kostecki
2022-11-24 8:57 Conrad Kostecki
2022-10-26 19:43 Conrad Kostecki
2022-10-10 21:00 Conrad Kostecki
2022-09-07 20:34 Conrad Kostecki
2022-09-07 20:34 Conrad Kostecki
2022-08-24 21:51 Conrad Kostecki
2022-08-24 21:51 Conrad Kostecki
2022-08-24 21:51 Conrad Kostecki
2022-08-24 21:51 Conrad Kostecki
2022-08-09 20:07 Conrad Kostecki
2022-08-02 21:03 Conrad Kostecki
2022-07-29 19:06 Conrad Kostecki
2022-07-29 19:06 Conrad Kostecki
2022-06-27 19:44 Conrad Kostecki
2022-06-27 19:44 Conrad Kostecki
2022-06-27 19:44 Conrad Kostecki
2022-05-28 11:04 Conrad Kostecki
2022-05-24 20:37 Conrad Kostecki
2022-05-24 20:37 Conrad Kostecki
2022-04-23 22:36 Conrad Kostecki
2022-04-23 21:24 Conrad Kostecki
2022-04-06 20:19 Conrad Kostecki
2022-03-30 20:49 Conrad Kostecki
2022-03-18 19:34 Conrad Kostecki
2022-02-28 0:09 Conrad Kostecki
2022-02-28 0:09 Conrad Kostecki
2022-02-17 1:33 Conrad Kostecki
2022-02-17 1:33 Conrad Kostecki
2022-02-16 15:53 Conrad Kostecki
2022-02-09 22:57 Conrad Kostecki
2022-02-09 12:29 Conrad Kostecki
2022-01-14 12:10 Ben Kohler
2021-12-16 10:01 Conrad Kostecki
2021-12-16 10:00 Conrad Kostecki
2021-12-11 13:02 Conrad Kostecki
2021-12-10 23:42 Conrad Kostecki
2021-12-10 23:42 Conrad Kostecki
2021-12-10 23:42 Conrad Kostecki
2021-12-10 16:24 Ben Kohler
2021-11-27 13:41 Conrad Kostecki
2021-11-10 12:23 Ben Kohler
2021-11-10 12:23 Ben Kohler
2021-11-08 15:41 Ben Kohler
2021-10-23 12:27 Conrad Kostecki
2021-10-17 14:38 Conrad Kostecki
2021-10-05 11:28 Ben Kohler
2021-10-05 11:28 Ben Kohler
2021-09-21 10:27 Ben Kohler
2021-09-21 10:27 Ben Kohler
2021-09-14 17:57 Ben Kohler
2021-09-14 11:51 Ben Kohler
2021-09-14 11:51 Ben Kohler
2021-09-01 18:17 Ben Kohler
2021-08-24 19:10 Ben Kohler
2021-08-18 10:24 Ben Kohler
2021-08-09 13:22 Ben Kohler
2021-06-24 16:05 Ben Kohler
2021-06-24 16:05 Ben Kohler
2021-06-24 16:05 Ben Kohler
2021-06-01 14:58 Ben Kohler
2021-05-26 14:25 Ben Kohler
2021-05-26 14:25 Ben Kohler
2021-05-14 14:44 Ben Kohler
2021-04-28 12:16 Ben Kohler
2021-04-16 19:15 Ben Kohler
2021-04-13 12:27 Ben Kohler
2021-04-13 12:27 Ben Kohler
2021-04-12 13:38 Ben Kohler
2021-04-09 16:04 Ben Kohler
2021-04-02 13:53 Ben Kohler
2021-03-31 12:51 Ben Kohler
2021-03-31 12:51 Ben Kohler
2021-03-26 12:15 Ben Kohler
2021-03-25 13:43 Ben Kohler
2021-03-16 14:18 Ben Kohler
2021-03-12 20:29 Ben Kohler
2021-03-08 19:55 Ben Kohler
2021-03-08 16:22 Ben Kohler
2021-03-04 18:31 Ben Kohler
2021-03-01 20:58 Ben Kohler
2021-02-26 17:46 Ben Kohler
2021-02-25 16:57 Ben Kohler
2021-02-22 15:11 Ben Kohler
2021-02-18 13:33 Ben Kohler
2021-02-15 13:46 Ben Kohler
2021-02-08 21:07 Ben Kohler
2021-01-29 1:24 Ben Kohler
2021-01-27 14:41 Ben Kohler
2021-01-25 21:07 Ben Kohler
2021-01-03 20:52 Conrad Kostecki
2020-12-20 15:42 Ben Kohler
2020-12-17 14:08 Ben Kohler
2020-12-08 19:26 Ben Kohler
2020-12-03 14:40 Ben Kohler
2020-12-02 13:19 Ben Kohler
2020-11-30 13:20 Ben Kohler
2020-11-30 13:20 Ben Kohler
2020-11-19 18:53 Ben Kohler
2020-11-19 18:53 Ben Kohler
2020-11-19 14:19 Ben Kohler
2020-11-17 16:07 Ben Kohler
2020-11-13 15:25 Ben Kohler
2020-11-06 19:45 Ben Kohler
2020-11-04 12:33 Ben Kohler
2020-11-03 13:41 Ben Kohler
2020-10-30 13:08 Ben Kohler
2020-10-28 10:59 Ben Kohler
2020-10-23 10:49 Ben Kohler
2020-10-22 11:18 Ben Kohler
2020-10-19 11:47 Ben Kohler
2020-10-19 11:47 Ben Kohler
2020-10-19 11:47 Ben Kohler
2020-10-19 11:47 Ben Kohler
2020-10-16 0:36 Ben Kohler
2020-10-14 11:12 Ben Kohler
2020-10-07 15:24 Ben Kohler
2020-10-02 11:53 Ben Kohler
2020-09-30 18:25 Ben Kohler
2020-09-28 12:28 Ben Kohler
2020-09-24 12:07 Ben Kohler
2020-09-24 12:07 Ben Kohler
2020-09-18 12:09 Ben Kohler
2020-09-16 21:54 Ben Kohler
2020-09-16 17:13 Ben Kohler
2020-09-11 12:21 Ben Kohler
2020-09-03 12:53 Ben Kohler
2020-08-25 17:27 Ben Kohler
2020-08-24 14:28 Ben Kohler
2020-08-14 15:05 Ben Kohler
2020-08-11 14:19 Ben Kohler
2020-08-04 15:57 Ben Kohler
2020-07-16 13:55 Ben Kohler
2020-07-16 13:55 Ben Kohler
2020-07-09 18:20 Ben Kohler
2020-07-03 12:13 Ben Kohler
2020-06-23 17:53 Ben Kohler
2020-06-22 18:46 Ben Kohler
2020-06-17 18:57 Ben Kohler
2020-05-28 11:20 Ben Kohler
2020-05-27 17:17 Ben Kohler
2020-05-20 11:24 Ben Kohler
2020-05-18 11:34 Ben Kohler
2020-05-15 14:04 Ben Kohler
2020-05-14 12:16 Ben Kohler
2020-05-12 13:15 Ben Kohler
2020-05-06 15:43 Ben Kohler
2020-04-21 14:42 Ben Kohler
2020-04-21 14:42 Ben Kohler
2020-03-06 12:57 Ben Kohler
2020-02-25 17:53 Ben Kohler
2020-02-11 13:03 Ben Kohler
2020-01-20 15:49 Ben Kohler
2019-12-21 13:43 Ben Kohler
2019-12-02 23:22 Conrad Kostecki
2019-12-02 14:29 Ben Kohler
2019-11-27 12:23 Ben Kohler
2019-11-20 20:45 Ben Kohler
2019-11-19 15:10 Ben Kohler
2019-11-14 22:56 Ben Kohler
2019-11-08 13:22 Ben Kohler
2019-10-24 14:55 Ben Kohler
2019-10-22 13:03 Ben Kohler
2019-10-16 17:44 Ben Kohler
2019-10-13 20:12 Ben Kohler
2019-10-09 19:29 Ben Kohler
2019-09-30 20:24 Ben Kohler
2019-09-25 20:46 Ben Kohler
2019-09-20 14:00 Ben Kohler
2019-09-17 18:39 Ben Kohler
2019-09-17 18:39 Ben Kohler
2019-09-11 15:37 Ben Kohler
2019-09-10 18:23 Ben Kohler
2019-09-04 22:22 Ben Kohler
2019-08-29 15:08 Ben Kohler
2019-08-15 17:27 Ben Kohler
2019-08-12 17:33 Ben Kohler
2019-08-06 15:53 Ben Kohler
2019-08-04 22:26 Louis Sautier
2019-07-24 14:14 Ben Kohler
2019-07-24 14:14 Ben Kohler
2019-06-10 13:58 Ben Kohler
2019-05-26 23:29 Ben Kohler
2019-05-21 14:41 Ben Kohler
2019-05-05 17:53 Ben Kohler
2019-05-01 12:12 Ben Kohler
2019-05-01 12:12 Ben Kohler
2019-04-27 13:27 Ben Kohler
2019-04-24 21:35 Ben Kohler
2019-04-23 2:03 Ben Kohler
2019-03-29 22:13 Ben Kohler
2019-03-28 13:48 Ben Kohler
2019-03-15 17:46 Ben Kohler
2019-03-08 16:47 Ben Kohler
2019-03-01 18:08 Ben Kohler
2019-02-16 14:34 Ben Kohler
2019-02-16 14:34 Ben Kohler
2019-02-13 19:42 Ben Kohler
2019-02-13 18:14 Ben Kohler
2019-02-13 17:53 Ben Kohler
2019-02-13 14:41 Ben Kohler
2019-02-12 21:56 Ben Kohler
2019-02-04 22:09 Ben Kohler
2019-01-30 15:50 Ben Kohler
2019-01-26 17:08 Ben Kohler
2019-01-18 15:39 Ben Kohler
2019-01-10 21:26 Ben Kohler
2018-11-06 18:41 Ben Kohler
2018-10-24 18:50 Ben Kohler
2018-09-26 1:37 Ben Kohler
2018-09-12 13:07 Ben Kohler
2018-09-10 19:02 Ben Kohler
2018-09-06 16:07 Ben Kohler
2018-08-22 13:08 Ben Kohler
2018-08-08 19:15 Ben Kohler
2018-08-04 12:24 Ben Kohler
2018-08-03 16:16 Ben Kohler
2018-07-20 18:41 Ben Kohler
2018-07-13 0:25 Ben Kohler
2018-07-12 14:18 Ben Kohler
2018-07-01 17:27 Ben Kohler
2018-06-29 22:27 Ben Kohler
2018-06-29 14:13 Ben Kohler
2018-06-26 22:00 Ben Kohler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1658684741.666c36027415251bd9acf4b3e6e438535ea206fe.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox