Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
Date: Wed, 06 Feb 2019 22:15:57
Message-Id: 1549491254.a7e46d68aa1fc0b22aa5da5f6e7db2031b8ff3d8.bkohler@gentoo
1 commit: a7e46d68aa1fc0b22aa5da5f6e7db2031b8ff3d8
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 6 22:14:00 2019 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 6 22:14:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e46d68
7
8 media-video/unifi-video: bump to 3.10.1, drop old
9
10 Also this version no longer requires the wrapper for mongodb >=3.6
11 compat. Upstream says they support 4.0 and beyond (tested locally too).
12
13 Package-Manager: Portage-2.3.59, Repoman-2.3.12
14 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
15
16 media-video/unifi-video/Manifest | 2 +-
17 ...fi-video-3.10.0_beta3.ebuild => unifi-video-3.10.1.ebuild} | 11 ++++-------
18 2 files changed, 5 insertions(+), 8 deletions(-)
19
20 diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
21 index b18b2efca3a..009fd490a7b 100644
22 --- a/media-video/unifi-video/Manifest
23 +++ b/media-video/unifi-video/Manifest
24 @@ -1,2 +1,2 @@
25 -DIST unifi-video.Ubuntu16.04_amd64.v3.10.0-beta.3.deb 162381340 BLAKE2B 701358a3465c09f234854a217a36e6c2b1d8d7f4a58182c16c2f287587135f25d6941d429e4e1457c325e9fc848ef45b27e5ff6f6cd56255b268167c4b456189 SHA512 108c3eaf073ae23efd2b5ebfd4bc0862bdee6598f5a3d6f304efad5e7f6d8dca5864432baa9fff158c244200b4e2e6fc98be5cb169574d39379721a1dc40d2bc
26 +DIST unifi-video.Ubuntu16.04_amd64.v3.10.1.deb 162379830 BLAKE2B 8183cf0ea37507059b87f5f51a377a12cb2f5fab31675eac720cffa2f9c60e46e6a8eb68279992703722ba40c3fbe7a9a723596ee20e31ccec0959841851325d SHA512 3ac83e3ff7beb8c765c8908b80c7747807da73e3a9e077a9f5a22aaf3e307c369258c7ea6651e18ca74b570d359fa65b6cbfce0017cb73cb916a2bc8614b374d
27 DIST unifi-video.Ubuntu16.04_amd64.v3.9.12.deb 117448948 BLAKE2B 83769ec07fccbcd955115493510bcd58b88433b7d7204be29d6329674cf4d6dea7fe4b6aedd0e89f852d89ae9a298a9284386aeb4480f43a91dbe6ea958ab10b SHA512 0e2eaefdee74b6b6c5ae54870673591ce4e2d2e4c07e068987f609597c43a12308aebdce705e316555378e04eeb13aaa0c00b496097123960215773cbfa69348
28
29 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
30 similarity index 86%
31 rename from media-video/unifi-video/unifi-video-3.10.0_beta3.ebuild
32 rename to media-video/unifi-video/unifi-video-3.10.1.ebuild
33 index f811db81bec..5a297606ef6 100644
34 --- a/media-video/unifi-video/unifi-video-3.10.0_beta3.ebuild
35 +++ b/media-video/unifi-video/unifi-video-3.10.1.ebuild
36 @@ -1,4 +1,4 @@
37 -# Copyright 1999-2018 Gentoo Authors
38 +# Copyright 1999-2019 Gentoo Authors
39 # Distributed under the terms of the GNU General Public License v2
40
41 EAPI=6
42 @@ -8,11 +8,11 @@ inherit systemd user
43 MY_PV="${PV/_beta/-beta.}"
44 DESCRIPTION="UniFi Video Server"
45 HOMEPAGE="https://www.ubnt.com/download/unifi-video/"
46 -SRC_URI="https://dl.ubnt.com/firmwares/ufv/v${MY_PV}/unifi-video.Ubuntu16.04_amd64.v${MY_PV}.deb"
47 +SRC_URI="https://dl.ubnt.com/firmwares/unifi-video/v${MY_PV}/unifi-video.Ubuntu16.04_amd64.v${MY_PV}.deb"
48
49 LICENSE="GPL-3"
50 SLOT="0"
51 -KEYWORDS=""
52 +KEYWORDS="~amd64"
53 IUSE=""
54 RESTRICT="mirror"
55
56 @@ -54,10 +54,6 @@ src_install() {
57 fperms -R +x ${static_dir}/bin
58 fowners -R ${PN}:${PN} ${static_dir}/conf/evostream/
59
60 - #wrapper to work around mongodb-3.6 compat issue
61 - exeinto ${static_dir}/bin/
62 - newexe "${FILESDIR}"/mongod-wrapper mongod
63 -
64 #prepare runtime-data dirs which live in /var but are symlinked from static
65 #data dir, and are writable by non-root user
66 dodir /var/log/${PN}
67 @@ -77,6 +73,7 @@ src_install() {
68
69 into /usr
70 dosbin usr/sbin/${PN}
71 + dosym ../../../bin/mongod ${static_dir}/bin/mongod
72
73 newinitd "${FILESDIR}"/${PN}.initd ${PN}
74 systemd_dounit "${FILESDIR}"/${PN}.service