From 959575d1af06bc64016d62d064143faba68a4c43 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 Nov 2022 13:12:41 +0000 Subject: gentoo auto-resync : 25:11:2022 - 13:12:41 --- net-wireless/unifi/Manifest | 2 +- net-wireless/unifi/unifi-7.3.76-r1.ebuild | 107 ++++++++++++++++++++++++++++++ net-wireless/unifi/unifi-7.3.76.ebuild | 107 ------------------------------ 3 files changed, 108 insertions(+), 108 deletions(-) create mode 100644 net-wireless/unifi/unifi-7.3.76-r1.ebuild delete mode 100644 net-wireless/unifi/unifi-7.3.76.ebuild (limited to 'net-wireless/unifi') diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest index 7fc1b29baa18..03662299f11d 100644 --- a/net-wireless/unifi/Manifest +++ b/net-wireless/unifi/Manifest @@ -11,5 +11,5 @@ DIST unifi-7.3.76.zip 184297973 BLAKE2B 3cbb257c2f9b763c521a66270483fbabf2751870 EBUILD unifi-6.5.55-r2.ebuild 2471 BLAKE2B 85ea582f14c30db8c8fa3f02057f8ed8c506338860b1c549ce7e2192423c4be8a087c19cdec05079731b8bfa045c63edc094e740b5ad7b0fe987635319aac7b5 SHA512 395d780fa97045cadebc193ef391576c5def6f06413940857902e792b5a39dceb93f7ee8a8b2d8162df395c132bdb89490460d2fa69191f6b87cf9282b6e7f7b EBUILD unifi-7.1.68.ebuild 2769 BLAKE2B d5ec76f424bf98feea111f913d1f894b0a241c89cc38dd44ed4af1420ad222969f687dc83d2e736b8348a31f5dd3e9c3ced815b1aac3ba04dab52450e1dfce97 SHA512 460c447df2c68275e5dbd965bcc594401a4ce91c0ef322155e801eaac54838116a2bb73647ffa32552613817b36a642a6a721b90e37b8a27e5156e07d5d55054 EBUILD unifi-7.2.95.ebuild 2769 BLAKE2B d5f7c6ed45a8d215722392d3492ac6b747c281d0c81cfb7ec8da3db480de85213c70970edf05a1bb8862ab2c9317fdf25c7f342b3efedd744bfe510d06d54066 SHA512 4d7a2d9ad64bb6271590534c906ebaeede72b19786b565d6efdb31a3388907ed0d9a9a05ba54e5634678b5d4ca0d606bafa8518f179e1d505ebe70535ea384ec -EBUILD unifi-7.3.76.ebuild 2770 BLAKE2B 1f44bdf80ed970a0b2978ca4ee9a572fe5363605e7fad951a52c85a7fcc52496615ad247e8b8b94166ce3df70619301df2c8795dd3d067f6471e6cbbe1b01fb5 SHA512 d1805ca1db03d6d6969520f1d0c00340e65294712b186d1f436a3b7140e945f017097866eeb3159bf2ade6aaceff215523e83cf2c2e075bb2c3bf9e113655648 +EBUILD unifi-7.3.76-r1.ebuild 2769 BLAKE2B 849aaf1542a943ef9db17e4041b570d0d9eb69350c4a34fe900a1926ca1fcc80e83cc8511b5cfd4bd9c4df75d204e67e147af96868bcb33a67ad4d692d706978 SHA512 9c5c4e1f6e986ff5c09b133127fc95cb7fb5d6ddb87b8b62c726ef258237f3190acc5dafa79eb14b65840071f4d194783afc748cfd2692a74c9a3607bc2db2d1 MISC metadata.xml 706 BLAKE2B c089f7ad4712f8ad5ef71f8127686dd13a7d3ead5f31dff6c939b100c18920680d648c4d27af479dc14624b5365fc038998f478ae82222fc2f2d073bbb7b58cb SHA512 8866e9107a41456a238b21316a1b174167b4343a55bcca2964b05e44fcc2d157df113a7867496726fcdc0eabf3e244e14567e03b53e3e1df2b11a2d932fa761c diff --git a/net-wireless/unifi/unifi-7.3.76-r1.ebuild b/net-wireless/unifi/unifi-7.3.76-r1.ebuild new file mode 100644 index 000000000000..d7a2a267702e --- /dev/null +++ b/net-wireless/unifi/unifi-7.3.76-r1.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="-4bee620529" + +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:11 +" + +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 +} diff --git a/net-wireless/unifi/unifi-7.3.76.ebuild b/net-wireless/unifi/unifi-7.3.76.ebuild deleted file mode 100644 index 6c8f3455e5e1..000000000000 --- a/net-wireless/unifi/unifi-7.3.76.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# 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="-4bee620529" - -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 -} -- cgit v1.2.3