commit:     a7e46d68aa1fc0b22aa5da5f6e7db2031b8ff3d8
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  6 22:14:00 2019 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Feb  6 22:14:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e46d68

media-video/unifi-video: bump to 3.10.1, drop old

Also this version no longer requires the wrapper for mongodb >=3.6
compat.  Upstream says they support 4.0 and beyond (tested locally too).

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 media-video/unifi-video/Manifest                              |  2 +-
 ...fi-video-3.10.0_beta3.ebuild => unifi-video-3.10.1.ebuild} | 11 ++++-------
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index b18b2efca3a..009fd490a7b 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,2 +1,2 @@
-DIST unifi-video.Ubuntu16.04_amd64.v3.10.0-beta.3.deb 162381340 BLAKE2B 
701358a3465c09f234854a217a36e6c2b1d8d7f4a58182c16c2f287587135f25d6941d429e4e1457c325e9fc848ef45b27e5ff6f6cd56255b268167c4b456189
 SHA512 
108c3eaf073ae23efd2b5ebfd4bc0862bdee6598f5a3d6f304efad5e7f6d8dca5864432baa9fff158c244200b4e2e6fc98be5cb169574d39379721a1dc40d2bc
+DIST unifi-video.Ubuntu16.04_amd64.v3.10.1.deb 162379830 BLAKE2B 
8183cf0ea37507059b87f5f51a377a12cb2f5fab31675eac720cffa2f9c60e46e6a8eb68279992703722ba40c3fbe7a9a723596ee20e31ccec0959841851325d
 SHA512 
3ac83e3ff7beb8c765c8908b80c7747807da73e3a9e077a9f5a22aaf3e307c369258c7ea6651e18ca74b570d359fa65b6cbfce0017cb73cb916a2bc8614b374d
 DIST unifi-video.Ubuntu16.04_amd64.v3.9.12.deb 117448948 BLAKE2B 
83769ec07fccbcd955115493510bcd58b88433b7d7204be29d6329674cf4d6dea7fe4b6aedd0e89f852d89ae9a298a9284386aeb4480f43a91dbe6ea958ab10b
 SHA512 
0e2eaefdee74b6b6c5ae54870673591ce4e2d2e4c07e068987f609597c43a12308aebdce705e316555378e04eeb13aaa0c00b496097123960215773cbfa69348

diff --git a/media-video/unifi-video/unifi-video-3.10.0_beta3.ebuild 
b/media-video/unifi-video/unifi-video-3.10.1.ebuild
similarity index 86%
rename from media-video/unifi-video/unifi-video-3.10.0_beta3.ebuild
rename to media-video/unifi-video/unifi-video-3.10.1.ebuild
index f811db81bec..5a297606ef6 100644
--- a/media-video/unifi-video/unifi-video-3.10.0_beta3.ebuild
+++ b/media-video/unifi-video/unifi-video-3.10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,11 +8,11 @@ inherit systemd user
 MY_PV="${PV/_beta/-beta.}"
 DESCRIPTION="UniFi Video Server"
 HOMEPAGE="https://www.ubnt.com/download/unifi-video/";
-SRC_URI="https://dl.ubnt.com/firmwares/ufv/v${MY_PV}/unifi-video.Ubuntu16.04_amd64.v${MY_PV}.deb";
+SRC_URI="https://dl.ubnt.com/firmwares/unifi-video/v${MY_PV}/unifi-video.Ubuntu16.04_amd64.v${MY_PV}.deb";
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64"
 IUSE=""
 RESTRICT="mirror"
 
@@ -54,10 +54,6 @@ src_install() {
        fperms -R +x ${static_dir}/bin
        fowners -R ${PN}:${PN} ${static_dir}/conf/evostream/
 
-       #wrapper to work around mongodb-3.6 compat issue
-       exeinto ${static_dir}/bin/
-       newexe "${FILESDIR}"/mongod-wrapper mongod
-
        #prepare runtime-data dirs which live in /var but are symlinked from 
static
        #data dir, and are writable by non-root user
        dodir /var/log/${PN}
@@ -77,6 +73,7 @@ src_install() {
 
        into /usr
        dosbin usr/sbin/${PN}
+       dosym ../../../bin/mongod ${static_dir}/bin/mongod
 
        newinitd "${FILESDIR}"/${PN}.initd ${PN}
        systemd_dounit "${FILESDIR}"/${PN}.service

Reply via email to