* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2018-07-30 12:34 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2018-07-30 12:34 UTC (permalink / raw
To: gentoo-commits
commit: 860427f97bf7fd81a897008bb0bed630ea5fee6a
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 30 12:33:18 2018 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Jul 30 12:33:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=860427f9
media-video/unifi-video: revbump for conf permission issue
Also restrict jre dep to :1.8
Package-Manager: Portage-2.3.44, Repoman-2.3.10
.../unifi-video/unifi-video-3.9.7-r1.ebuild | 83 ++++++++++++++++++++++
1 file changed, 83 insertions(+)
diff --git a/media-video/unifi-video/unifi-video-3.9.7-r1.ebuild b/media-video/unifi-video/unifi-video-3.9.7-r1.ebuild
new file mode 100644
index 00000000000..c186c92adee
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.9.7-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="/usr/lib*/${PN}/lib/*.so /usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ static_dir="/usr/$(get_libdir)/${PN}"
+ #install static data
+ insinto ${static_dir}
+ doins -r usr/lib/${PN}/*
+ 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}
+ fowners ${PN}:${PN} /var/log/${PN}
+ dosym ../../../var/log/${PN} ${static_dir}/logs
+
+ dodir /var/lib/${PN}/work
+ fowners ${PN}:${PN} /var/lib/${PN}/work
+ dosym ../../../var/lib/${PN}/work ${static_dir}/work
+
+ keepdir /var/lib/${PN}/data
+ fowners ${PN}:${PN} /var/lib/${PN}/data
+ dosym ../../../var/lib/${PN}/data ${static_dir}/data
+
+ echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ into /usr
+ dosbin usr/sbin/${PN}
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2018-07-30 20:43 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2018-07-30 20:43 UTC (permalink / raw
To: gentoo-commits
commit: 773bb96d00b9df35adf0ec5c9d534d34218a8076
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 30 20:42:34 2018 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Jul 30 20:43:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773bb96d
media-video/unifi-video: bump to 3.9.8_beta1 (unkeyworded)
Package-Manager: Portage-2.3.44, Repoman-2.3.10
media-video/unifi-video/Manifest | 1 +
.../unifi-video/unifi-video-3.9.8_beta1.ebuild | 83 ++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index db2ca191aa8..b28563ef483 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1 +1,2 @@
DIST unifi-video.Ubuntu16.04_amd64.v3.9.7.deb 117374890 BLAKE2B b0f274da3052471472cd2405ec0a5d79fd97cbc30f014ede42a004dcffc4d27b9b5ecc36f32b4f60f8c47ba73b85795d2851345f5472b85192cf836bfb929173 SHA512 9a0f48d81f3935baad4004681cabe2ff46f4f86f8770c260c98fbd724de2949427de8ec706d86d612a9ccbcda69ca227aa4a123c3208e0a4ab7c0a51540c06f8
+DIST unifi-video.Ubuntu16.04_amd64.v3.9.8-beta.1.deb 117380976 BLAKE2B 7fea704c3b780d51c3d0fc1de24b74654ba438b5223b368bbd6b42110b98fb22f0aa29816b6acec9961a9fa4f6dbace54361c64c4c12ae6a39b855c9e91702a1 SHA512 a4782c3b5319d7bc54d5df3dc64fdfec86e729636cc2e5479d7ca3a8f5112c57c83c0ac421be3cc0ce88975d6f47dd7bb57743d6802164531fdafed2bbe484bb
diff --git a/media-video/unifi-video/unifi-video-3.9.8_beta1.ebuild b/media-video/unifi-video/unifi-video-3.9.8_beta1.ebuild
new file mode 100644
index 00000000000..3b4c14cd3ad
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.9.8_beta1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="/usr/lib*/${PN}/lib/*.so /usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ static_dir="/usr/$(get_libdir)/${PN}"
+ #install static data
+ insinto ${static_dir}
+ doins -r usr/lib/${PN}/*
+ 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}
+ fowners ${PN}:${PN} /var/log/${PN}
+ dosym ../../../var/log/${PN} ${static_dir}/logs
+
+ dodir /var/lib/${PN}/work
+ fowners ${PN}:${PN} /var/lib/${PN}/work
+ dosym ../../../var/lib/${PN}/work ${static_dir}/work
+
+ keepdir /var/lib/${PN}/data
+ fowners ${PN}:${PN} /var/lib/${PN}/data
+ dosym ../../../var/lib/${PN}/data ${static_dir}/data
+
+ echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ into /usr
+ dosbin usr/sbin/${PN}
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2018-08-02 17:31 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2018-08-02 17:31 UTC (permalink / raw
To: gentoo-commits
commit: 4500774982ea5aa2e1a15d80a54c11f89767d8c5
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 2 17:28:55 2018 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Aug 2 17:29:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45007749
media-video/unifi-video: bump to 3.9.8_beta2
Package-Manager: Portage-2.3.44, Repoman-2.3.10
media-video/unifi-video/Manifest | 1 +
.../unifi-video/unifi-video-3.9.8_beta2.ebuild | 83 ++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index b28563ef483..70c8cc596cb 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,2 +1,3 @@
DIST unifi-video.Ubuntu16.04_amd64.v3.9.7.deb 117374890 BLAKE2B b0f274da3052471472cd2405ec0a5d79fd97cbc30f014ede42a004dcffc4d27b9b5ecc36f32b4f60f8c47ba73b85795d2851345f5472b85192cf836bfb929173 SHA512 9a0f48d81f3935baad4004681cabe2ff46f4f86f8770c260c98fbd724de2949427de8ec706d86d612a9ccbcda69ca227aa4a123c3208e0a4ab7c0a51540c06f8
DIST unifi-video.Ubuntu16.04_amd64.v3.9.8-beta.1.deb 117380976 BLAKE2B 7fea704c3b780d51c3d0fc1de24b74654ba438b5223b368bbd6b42110b98fb22f0aa29816b6acec9961a9fa4f6dbace54361c64c4c12ae6a39b855c9e91702a1 SHA512 a4782c3b5319d7bc54d5df3dc64fdfec86e729636cc2e5479d7ca3a8f5112c57c83c0ac421be3cc0ce88975d6f47dd7bb57743d6802164531fdafed2bbe484bb
+DIST unifi-video.Ubuntu16.04_amd64.v3.9.8-beta.2.deb 117447150 BLAKE2B f42a916e6ce78d02306559f9bb5c09e2a065facbe3abe3055a921b0a11dd7826f36c119eebda3495c8410560b6d5134e8cbbfb5c5a019e575e6fc4cc803e76b2 SHA512 0d9fc72a45fb0e87c7fc98c389c02336d12263d69ce96f17e255e354781ba84882f1f9cf4a4baa14e2638646491273407ccce93e020e75e3703405b48a2a13dc
diff --git a/media-video/unifi-video/unifi-video-3.9.8_beta2.ebuild b/media-video/unifi-video/unifi-video-3.9.8_beta2.ebuild
new file mode 100644
index 00000000000..23414586dcf
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.9.8_beta2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ static_dir="/usr/$(get_libdir)/${PN}"
+ #install static data
+ insinto ${static_dir}
+ doins -r usr/lib/${PN}/*
+ 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}
+ fowners ${PN}:${PN} /var/log/${PN}
+ dosym ../../../var/log/${PN} ${static_dir}/logs
+
+ dodir /var/lib/${PN}/work
+ fowners ${PN}:${PN} /var/lib/${PN}/work
+ dosym ../../../var/lib/${PN}/work ${static_dir}/work
+
+ keepdir /var/lib/${PN}/data
+ fowners ${PN}:${PN} /var/lib/${PN}/data
+ dosym ../../../var/lib/${PN}/data ${static_dir}/data
+
+ echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ into /usr
+ dosbin usr/sbin/${PN}
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2018-10-24 18:30 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2018-10-24 18:30 UTC (permalink / raw
To: gentoo-commits
commit: 9039c137128ccec355e8e27efca6622c461797ce
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 18:30:10 2018 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 18:30:27 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9039c137
media-video/unifi-video: bump to 3.9.9 & 3.9.10_beta1
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
media-video/unifi-video/Manifest | 2 +
.../unifi-video/unifi-video-3.9.10_beta1.ebuild | 83 ++++++++++++++++++++++
media-video/unifi-video/unifi-video-3.9.9.ebuild | 83 ++++++++++++++++++++++
3 files changed, 168 insertions(+)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index 70c8cc596cb..8f9e8ce366d 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,3 +1,5 @@
+DIST unifi-video.Ubuntu16.04_amd64.v3.9.10-beta.1.deb 116146196 BLAKE2B 5becd4bfe7e94066a34e809dd3485b906e39d0d79bb81a302ae9168147ef9f1517df5345ba521175b05847299abc556304f75801cd188c7868211217ef3dad59 SHA512 d5b5f9fb458a463f177212c157fdd2293b6bc696f28539347d64ed8c540408321a2683ac7cb350f4a665d1d83dc216b7f849214b6c51ee392b85451a4c9b33c2
DIST unifi-video.Ubuntu16.04_amd64.v3.9.7.deb 117374890 BLAKE2B b0f274da3052471472cd2405ec0a5d79fd97cbc30f014ede42a004dcffc4d27b9b5ecc36f32b4f60f8c47ba73b85795d2851345f5472b85192cf836bfb929173 SHA512 9a0f48d81f3935baad4004681cabe2ff46f4f86f8770c260c98fbd724de2949427de8ec706d86d612a9ccbcda69ca227aa4a123c3208e0a4ab7c0a51540c06f8
DIST unifi-video.Ubuntu16.04_amd64.v3.9.8-beta.1.deb 117380976 BLAKE2B 7fea704c3b780d51c3d0fc1de24b74654ba438b5223b368bbd6b42110b98fb22f0aa29816b6acec9961a9fa4f6dbace54361c64c4c12ae6a39b855c9e91702a1 SHA512 a4782c3b5319d7bc54d5df3dc64fdfec86e729636cc2e5479d7ca3a8f5112c57c83c0ac421be3cc0ce88975d6f47dd7bb57743d6802164531fdafed2bbe484bb
DIST unifi-video.Ubuntu16.04_amd64.v3.9.8-beta.2.deb 117447150 BLAKE2B f42a916e6ce78d02306559f9bb5c09e2a065facbe3abe3055a921b0a11dd7826f36c119eebda3495c8410560b6d5134e8cbbfb5c5a019e575e6fc4cc803e76b2 SHA512 0d9fc72a45fb0e87c7fc98c389c02336d12263d69ce96f17e255e354781ba84882f1f9cf4a4baa14e2638646491273407ccce93e020e75e3703405b48a2a13dc
+DIST unifi-video.Ubuntu16.04_amd64.v3.9.9.deb 117449304 BLAKE2B 0d3805481d587ee4b96265b69c82e27a35867895ae0a5d6496fd81eea4da946928ae2c7fd8d4184e5fb330d7ea6c94a835eaf17deb4e9598b784bb48d29494e3 SHA512 fc5023377c26484589680c3e4496e6b7c05d16b5c167a587dc026f6d9797d6974fe22eec164afbc62ecaf980f1e51ab828f85e9dd8b0dd31214fe54a93e97f4f
diff --git a/media-video/unifi-video/unifi-video-3.9.10_beta1.ebuild b/media-video/unifi-video/unifi-video-3.9.10_beta1.ebuild
new file mode 100644
index 00000000000..f811db81bec
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.9.10_beta1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ static_dir="/usr/$(get_libdir)/${PN}"
+ #install static data
+ insinto ${static_dir}
+ doins -r usr/lib/${PN}/*
+ 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}
+ fowners ${PN}:${PN} /var/log/${PN}
+ dosym ../../../var/log/${PN} ${static_dir}/logs
+
+ dodir /var/lib/${PN}/work
+ fowners ${PN}:${PN} /var/lib/${PN}/work
+ dosym ../../../var/lib/${PN}/work ${static_dir}/work
+
+ keepdir /var/lib/${PN}/data
+ fowners ${PN}:${PN} /var/lib/${PN}/data
+ dosym ../../../var/lib/${PN}/data ${static_dir}/data
+
+ echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ into /usr
+ dosbin usr/sbin/${PN}
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
diff --git a/media-video/unifi-video/unifi-video-3.9.9.ebuild b/media-video/unifi-video/unifi-video-3.9.9.ebuild
new file mode 100644
index 00000000000..c90d0eb2957
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.9.9.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ static_dir="/usr/$(get_libdir)/${PN}"
+ #install static data
+ insinto ${static_dir}
+ doins -r usr/lib/${PN}/*
+ 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}
+ fowners ${PN}:${PN} /var/log/${PN}
+ dosym ../../../var/log/${PN} ${static_dir}/logs
+
+ dodir /var/lib/${PN}/work
+ fowners ${PN}:${PN} /var/lib/${PN}/work
+ dosym ../../../var/lib/${PN}/work ${static_dir}/work
+
+ keepdir /var/lib/${PN}/data
+ fowners ${PN}:${PN} /var/lib/${PN}/data
+ dosym ../../../var/lib/${PN}/data ${static_dir}/data
+
+ echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ into /usr
+ dosbin usr/sbin/${PN}
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2018-10-24 18:50 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2018-10-24 18:50 UTC (permalink / raw
To: gentoo-commits
commit: b38e91e9d5eba7a2536877aa7354a1b2b101f67c
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 18:48:11 2018 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 18:48:11 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38e91e9
media-video/unifi-video: bump to 3.10.0_beta1
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
media-video/unifi-video/Manifest | 1 +
.../unifi-video/unifi-video-3.10.0_beta1.ebuild | 83 ++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index 8f9e8ce366d..15a970713f9 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,3 +1,4 @@
+DIST unifi-video.Ubuntu16.04_amd64.v3.10.0-beta.1.deb 151614954 BLAKE2B 2c43a9f7d497164ed8bace7cd19c6ed88a8b066669ea85af2dcc3bfd7d6eb23140d32c695b48a7793b76822024190d934d651b38dbccb4cfe4de6e8f0ce5114d SHA512 c84fd0477d42fcb79a6e24f11bca593da6862987cce9e213099695a75a63930928c009ceb99c7921b1db1499a2e617a82400e941c1c069b454a9301e8e295f8f
DIST unifi-video.Ubuntu16.04_amd64.v3.9.10-beta.1.deb 116146196 BLAKE2B 5becd4bfe7e94066a34e809dd3485b906e39d0d79bb81a302ae9168147ef9f1517df5345ba521175b05847299abc556304f75801cd188c7868211217ef3dad59 SHA512 d5b5f9fb458a463f177212c157fdd2293b6bc696f28539347d64ed8c540408321a2683ac7cb350f4a665d1d83dc216b7f849214b6c51ee392b85451a4c9b33c2
DIST unifi-video.Ubuntu16.04_amd64.v3.9.7.deb 117374890 BLAKE2B b0f274da3052471472cd2405ec0a5d79fd97cbc30f014ede42a004dcffc4d27b9b5ecc36f32b4f60f8c47ba73b85795d2851345f5472b85192cf836bfb929173 SHA512 9a0f48d81f3935baad4004681cabe2ff46f4f86f8770c260c98fbd724de2949427de8ec706d86d612a9ccbcda69ca227aa4a123c3208e0a4ab7c0a51540c06f8
DIST unifi-video.Ubuntu16.04_amd64.v3.9.8-beta.1.deb 117380976 BLAKE2B 7fea704c3b780d51c3d0fc1de24b74654ba438b5223b368bbd6b42110b98fb22f0aa29816b6acec9961a9fa4f6dbace54361c64c4c12ae6a39b855c9e91702a1 SHA512 a4782c3b5319d7bc54d5df3dc64fdfec86e729636cc2e5479d7ca3a8f5112c57c83c0ac421be3cc0ce88975d6f47dd7bb57743d6802164531fdafed2bbe484bb
diff --git a/media-video/unifi-video/unifi-video-3.10.0_beta1.ebuild b/media-video/unifi-video/unifi-video-3.10.0_beta1.ebuild
new file mode 100644
index 00000000000..f811db81bec
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.0_beta1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ static_dir="/usr/$(get_libdir)/${PN}"
+ #install static data
+ insinto ${static_dir}
+ doins -r usr/lib/${PN}/*
+ 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}
+ fowners ${PN}:${PN} /var/log/${PN}
+ dosym ../../../var/log/${PN} ${static_dir}/logs
+
+ dodir /var/lib/${PN}/work
+ fowners ${PN}:${PN} /var/lib/${PN}/work
+ dosym ../../../var/lib/${PN}/work ${static_dir}/work
+
+ keepdir /var/lib/${PN}/data
+ fowners ${PN}:${PN} /var/lib/${PN}/data
+ dosym ../../../var/lib/${PN}/data ${static_dir}/data
+
+ echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ into /usr
+ dosbin usr/sbin/${PN}
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2018-12-10 22:37 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2018-12-10 22:37 UTC (permalink / raw
To: gentoo-commits
commit: 33619fec46abfe56786249ec9ea32f2d9b66bc92
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 10 22:37:12 2018 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Dec 10 22:37:26 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33619fec
media-video/unifi-video: bump 3.9.12 & 3.10.0_beta2, drop old
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-video/unifi-video/Manifest | 8 +--
...eta1.ebuild => unifi-video-3.10.0_beta2.ebuild} | 0
.../unifi-video/unifi-video-3.9.10_beta1.ebuild | 83 ----------------------
...ideo-3.9.9.ebuild => unifi-video-3.9.12.ebuild} | 0
.../unifi-video/unifi-video-3.9.7-r1.ebuild | 83 ----------------------
media-video/unifi-video/unifi-video-3.9.7.ebuild | 82 ---------------------
.../unifi-video/unifi-video-3.9.8_beta1.ebuild | 83 ----------------------
.../unifi-video/unifi-video-3.9.8_beta2.ebuild | 83 ----------------------
8 files changed, 2 insertions(+), 420 deletions(-)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index 15a970713f9..31fb74948ad 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,6 +1,2 @@
-DIST unifi-video.Ubuntu16.04_amd64.v3.10.0-beta.1.deb 151614954 BLAKE2B 2c43a9f7d497164ed8bace7cd19c6ed88a8b066669ea85af2dcc3bfd7d6eb23140d32c695b48a7793b76822024190d934d651b38dbccb4cfe4de6e8f0ce5114d SHA512 c84fd0477d42fcb79a6e24f11bca593da6862987cce9e213099695a75a63930928c009ceb99c7921b1db1499a2e617a82400e941c1c069b454a9301e8e295f8f
-DIST unifi-video.Ubuntu16.04_amd64.v3.9.10-beta.1.deb 116146196 BLAKE2B 5becd4bfe7e94066a34e809dd3485b906e39d0d79bb81a302ae9168147ef9f1517df5345ba521175b05847299abc556304f75801cd188c7868211217ef3dad59 SHA512 d5b5f9fb458a463f177212c157fdd2293b6bc696f28539347d64ed8c540408321a2683ac7cb350f4a665d1d83dc216b7f849214b6c51ee392b85451a4c9b33c2
-DIST unifi-video.Ubuntu16.04_amd64.v3.9.7.deb 117374890 BLAKE2B b0f274da3052471472cd2405ec0a5d79fd97cbc30f014ede42a004dcffc4d27b9b5ecc36f32b4f60f8c47ba73b85795d2851345f5472b85192cf836bfb929173 SHA512 9a0f48d81f3935baad4004681cabe2ff46f4f86f8770c260c98fbd724de2949427de8ec706d86d612a9ccbcda69ca227aa4a123c3208e0a4ab7c0a51540c06f8
-DIST unifi-video.Ubuntu16.04_amd64.v3.9.8-beta.1.deb 117380976 BLAKE2B 7fea704c3b780d51c3d0fc1de24b74654ba438b5223b368bbd6b42110b98fb22f0aa29816b6acec9961a9fa4f6dbace54361c64c4c12ae6a39b855c9e91702a1 SHA512 a4782c3b5319d7bc54d5df3dc64fdfec86e729636cc2e5479d7ca3a8f5112c57c83c0ac421be3cc0ce88975d6f47dd7bb57743d6802164531fdafed2bbe484bb
-DIST unifi-video.Ubuntu16.04_amd64.v3.9.8-beta.2.deb 117447150 BLAKE2B f42a916e6ce78d02306559f9bb5c09e2a065facbe3abe3055a921b0a11dd7826f36c119eebda3495c8410560b6d5134e8cbbfb5c5a019e575e6fc4cc803e76b2 SHA512 0d9fc72a45fb0e87c7fc98c389c02336d12263d69ce96f17e255e354781ba84882f1f9cf4a4baa14e2638646491273407ccce93e020e75e3703405b48a2a13dc
-DIST unifi-video.Ubuntu16.04_amd64.v3.9.9.deb 117449304 BLAKE2B 0d3805481d587ee4b96265b69c82e27a35867895ae0a5d6496fd81eea4da946928ae2c7fd8d4184e5fb330d7ea6c94a835eaf17deb4e9598b784bb48d29494e3 SHA512 fc5023377c26484589680c3e4496e6b7c05d16b5c167a587dc026f6d9797d6974fe22eec164afbc62ecaf980f1e51ab828f85e9dd8b0dd31214fe54a93e97f4f
+DIST unifi-video.Ubuntu16.04_amd64.v3.10.0-beta.2.deb 169439370 BLAKE2B f2fbec8d1a95932d2df93f244317096778fb1d539565a3606a3803289f999319f640e30ad457e2b92d34997136baf83d436dca275924f90e68ed43607d55d866 SHA512 7ad7bb37360713caaa198889a923e46b492d1ef729ff18437d5804684b8062818429b59f4f9a3d8c6cc3c5ffec78ab6acc146e8f38ffce12be87f667428d9351
+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_beta1.ebuild b/media-video/unifi-video/unifi-video-3.10.0_beta2.ebuild
similarity index 100%
rename from media-video/unifi-video/unifi-video-3.10.0_beta1.ebuild
rename to media-video/unifi-video/unifi-video-3.10.0_beta2.ebuild
diff --git a/media-video/unifi-video/unifi-video-3.9.10_beta1.ebuild b/media-video/unifi-video/unifi-video-3.9.10_beta1.ebuild
deleted file mode 100644
index f811db81bec..00000000000
--- a/media-video/unifi-video/unifi-video-3.9.10_beta1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- static_dir="/usr/$(get_libdir)/${PN}"
- #install static data
- insinto ${static_dir}
- doins -r usr/lib/${PN}/*
- 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}
- fowners ${PN}:${PN} /var/log/${PN}
- dosym ../../../var/log/${PN} ${static_dir}/logs
-
- dodir /var/lib/${PN}/work
- fowners ${PN}:${PN} /var/lib/${PN}/work
- dosym ../../../var/lib/${PN}/work ${static_dir}/work
-
- keepdir /var/lib/${PN}/data
- fowners ${PN}:${PN} /var/lib/${PN}/data
- dosym ../../../var/lib/${PN}/data ${static_dir}/data
-
- echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- into /usr
- dosbin usr/sbin/${PN}
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
diff --git a/media-video/unifi-video/unifi-video-3.9.9.ebuild b/media-video/unifi-video/unifi-video-3.9.12.ebuild
similarity index 100%
rename from media-video/unifi-video/unifi-video-3.9.9.ebuild
rename to media-video/unifi-video/unifi-video-3.9.12.ebuild
diff --git a/media-video/unifi-video/unifi-video-3.9.7-r1.ebuild b/media-video/unifi-video/unifi-video-3.9.7-r1.ebuild
deleted file mode 100644
index c186c92adee..00000000000
--- a/media-video/unifi-video/unifi-video-3.9.7-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="/usr/lib*/${PN}/lib/*.so /usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- static_dir="/usr/$(get_libdir)/${PN}"
- #install static data
- insinto ${static_dir}
- doins -r usr/lib/${PN}/*
- 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}
- fowners ${PN}:${PN} /var/log/${PN}
- dosym ../../../var/log/${PN} ${static_dir}/logs
-
- dodir /var/lib/${PN}/work
- fowners ${PN}:${PN} /var/lib/${PN}/work
- dosym ../../../var/lib/${PN}/work ${static_dir}/work
-
- keepdir /var/lib/${PN}/data
- fowners ${PN}:${PN} /var/lib/${PN}/data
- dosym ../../../var/lib/${PN}/data ${static_dir}/data
-
- echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- into /usr
- dosbin usr/sbin/${PN}
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
diff --git a/media-video/unifi-video/unifi-video-3.9.7.ebuild b/media-video/unifi-video/unifi-video-3.9.7.ebuild
deleted file mode 100644
index 8526a98d1ea..00000000000
--- a/media-video/unifi-video/unifi-video-3.9.7.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-libs/libcap
- virtual/jre"
-
-S=${WORKDIR}
-QA_PREBUILT="/usr/lib*/${PN}/lib/*.so /usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- static_dir="/usr/$(get_libdir)/${PN}"
- #install static data
- insinto ${static_dir}
- doins -r usr/lib/${PN}/*
- fperms -R +x ${static_dir}/bin
-
- #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}
- fowners ${PN}:${PN} /var/log/${PN}
- dosym ../../../var/log/${PN} ${static_dir}/logs
-
- dodir /var/lib/${PN}/work
- fowners ${PN}:${PN} /var/lib/${PN}/work
- dosym ../../../var/lib/${PN}/work ${static_dir}/work
-
- keepdir /var/lib/${PN}/data
- fowners ${PN}:${PN} /var/lib/${PN}/data
- dosym ../../../var/lib/${PN}/data ${static_dir}/data
-
- echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- into /usr
- dosbin usr/sbin/${PN}
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
diff --git a/media-video/unifi-video/unifi-video-3.9.8_beta1.ebuild b/media-video/unifi-video/unifi-video-3.9.8_beta1.ebuild
deleted file mode 100644
index 3b4c14cd3ad..00000000000
--- a/media-video/unifi-video/unifi-video-3.9.8_beta1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="/usr/lib*/${PN}/lib/*.so /usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- static_dir="/usr/$(get_libdir)/${PN}"
- #install static data
- insinto ${static_dir}
- doins -r usr/lib/${PN}/*
- 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}
- fowners ${PN}:${PN} /var/log/${PN}
- dosym ../../../var/log/${PN} ${static_dir}/logs
-
- dodir /var/lib/${PN}/work
- fowners ${PN}:${PN} /var/lib/${PN}/work
- dosym ../../../var/lib/${PN}/work ${static_dir}/work
-
- keepdir /var/lib/${PN}/data
- fowners ${PN}:${PN} /var/lib/${PN}/data
- dosym ../../../var/lib/${PN}/data ${static_dir}/data
-
- echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- into /usr
- dosbin usr/sbin/${PN}
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
diff --git a/media-video/unifi-video/unifi-video-3.9.8_beta2.ebuild b/media-video/unifi-video/unifi-video-3.9.8_beta2.ebuild
deleted file mode 100644
index 23414586dcf..00000000000
--- a/media-video/unifi-video/unifi-video-3.9.8_beta2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- static_dir="/usr/$(get_libdir)/${PN}"
- #install static data
- insinto ${static_dir}
- doins -r usr/lib/${PN}/*
- 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}
- fowners ${PN}:${PN} /var/log/${PN}
- dosym ../../../var/log/${PN} ${static_dir}/logs
-
- dodir /var/lib/${PN}/work
- fowners ${PN}:${PN} /var/lib/${PN}/work
- dosym ../../../var/lib/${PN}/work ${static_dir}/work
-
- keepdir /var/lib/${PN}/data
- fowners ${PN}:${PN} /var/lib/${PN}/data
- dosym ../../../var/lib/${PN}/data ${static_dir}/data
-
- echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- into /usr
- dosbin usr/sbin/${PN}
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2018-12-10 23:12 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2018-12-10 23:12 UTC (permalink / raw
To: gentoo-commits
commit: 60dfab28a1de5df440174fe77b39093f40a5bd4c
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 10 23:11:43 2018 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Dec 10 23:11:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60dfab28
media-video/unifi-video: bump to 3.10.0_beta3, drop old
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-video/unifi-video/Manifest | 2 +-
...{unifi-video-3.10.0_beta2.ebuild => unifi-video-3.10.0_beta3.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index 31fb74948ad..b18b2efca3a 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.2.deb 169439370 BLAKE2B f2fbec8d1a95932d2df93f244317096778fb1d539565a3606a3803289f999319f640e30ad457e2b92d34997136baf83d436dca275924f90e68ed43607d55d866 SHA512 7ad7bb37360713caaa198889a923e46b492d1ef729ff18437d5804684b8062818429b59f4f9a3d8c6cc3c5ffec78ab6acc146e8f38ffce12be87f667428d9351
+DIST unifi-video.Ubuntu16.04_amd64.v3.10.0-beta.3.deb 162381340 BLAKE2B 701358a3465c09f234854a217a36e6c2b1d8d7f4a58182c16c2f287587135f25d6941d429e4e1457c325e9fc848ef45b27e5ff6f6cd56255b268167c4b456189 SHA512 108c3eaf073ae23efd2b5ebfd4bc0862bdee6598f5a3d6f304efad5e7f6d8dca5864432baa9fff158c244200b4e2e6fc98be5cb169574d39379721a1dc40d2bc
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_beta2.ebuild b/media-video/unifi-video/unifi-video-3.10.0_beta3.ebuild
similarity index 100%
rename from media-video/unifi-video/unifi-video-3.10.0_beta2.ebuild
rename to media-video/unifi-video/unifi-video-3.10.0_beta3.ebuild
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2019-02-06 22:15 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2019-02-06 22:15 UTC (permalink / raw
To: gentoo-commits
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
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2019-05-31 19:51 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2019-05-31 19:51 UTC (permalink / raw
To: gentoo-commits
commit: 5f3abbe6bb1cd3a8b89b88aeff6be469281b6902
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri May 31 19:50:50 2019 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri May 31 19:51:08 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3abbe6
media-video/unifi-video: bump to 3.10.4
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-video/unifi-video/Manifest | 1 +
media-video/unifi-video/unifi-video-3.10.4.ebuild | 80 +++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index 009fd490a7b..7c232e6ec4d 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,2 +1,3 @@
DIST unifi-video.Ubuntu16.04_amd64.v3.10.1.deb 162379830 BLAKE2B 8183cf0ea37507059b87f5f51a377a12cb2f5fab31675eac720cffa2f9c60e46e6a8eb68279992703722ba40c3fbe7a9a723596ee20e31ccec0959841851325d SHA512 3ac83e3ff7beb8c765c8908b80c7747807da73e3a9e077a9f5a22aaf3e307c369258c7ea6651e18ca74b570d359fa65b6cbfce0017cb73cb916a2bc8614b374d
+DIST unifi-video.Ubuntu16.04_amd64.v3.10.4.deb 161279504 BLAKE2B a9bac456218a1908e67bcebeadd06672ce6de4a24e62cd99dedc6de4e36774047531e8b00429e0dc8eb536e6ad77de236d89da83edfbaef8d7a7feb04df6c482 SHA512 d45f97905078ee6f9911bbea239d72432dda849c5fa16a11c2576e1dac78a0b612e420ae59f11ff7bdfec3c7eca9396a72d249d4fc90f93f9e92c57571f19093
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.4.ebuild b/media-video/unifi-video/unifi-video-3.10.4.ebuild
new file mode 100644
index 00000000000..c975418c3dc
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ static_dir="/usr/$(get_libdir)/${PN}"
+ #install static data
+ insinto ${static_dir}
+ doins -r usr/lib/${PN}/*
+ fperms -R +x ${static_dir}/bin
+ fowners -R ${PN}:${PN} ${static_dir}/conf/evostream/
+
+ #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}
+ fowners ${PN}:${PN} /var/log/${PN}
+ dosym ../../../var/log/${PN} ${static_dir}/logs
+
+ dodir /var/lib/${PN}/work
+ fowners ${PN}:${PN} /var/lib/${PN}/work
+ dosym ../../../var/lib/${PN}/work ${static_dir}/work
+
+ keepdir /var/lib/${PN}/data
+ fowners ${PN}:${PN} /var/lib/${PN}/data
+ dosym ../../../var/lib/${PN}/data ${static_dir}/data
+
+ echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ into /usr
+ dosbin usr/sbin/${PN}
+ dosym ../../../bin/mongod ${static_dir}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2019-06-18 16:21 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2019-06-18 16:21 UTC (permalink / raw
To: gentoo-commits
commit: 6718e44daf26588b1424e7ae01d46e4be1d25859
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 19:25:16 2019 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 16:21:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6718e44d
media-video/unifi-video: bump to 3.10.5
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-video/unifi-video/Manifest | 1 +
media-video/unifi-video/unifi-video-3.10.5.ebuild | 80 +++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index 7c232e6ec4d..fe07e1f360a 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,3 +1,4 @@
DIST unifi-video.Ubuntu16.04_amd64.v3.10.1.deb 162379830 BLAKE2B 8183cf0ea37507059b87f5f51a377a12cb2f5fab31675eac720cffa2f9c60e46e6a8eb68279992703722ba40c3fbe7a9a723596ee20e31ccec0959841851325d SHA512 3ac83e3ff7beb8c765c8908b80c7747807da73e3a9e077a9f5a22aaf3e307c369258c7ea6651e18ca74b570d359fa65b6cbfce0017cb73cb916a2bc8614b374d
DIST unifi-video.Ubuntu16.04_amd64.v3.10.4.deb 161279504 BLAKE2B a9bac456218a1908e67bcebeadd06672ce6de4a24e62cd99dedc6de4e36774047531e8b00429e0dc8eb536e6ad77de236d89da83edfbaef8d7a7feb04df6c482 SHA512 d45f97905078ee6f9911bbea239d72432dda849c5fa16a11c2576e1dac78a0b612e420ae59f11ff7bdfec3c7eca9396a72d249d4fc90f93f9e92c57571f19093
+DIST unifi-video.Ubuntu16.04_amd64.v3.10.5.deb 161280194 BLAKE2B ae326fe818261124fb8bd1939e55cc2dfa1bb8bfd3350bb5b94ec74fe9a7ec57853548dfbf8ddf33699e0281a5cb918926a6fb93b6de07339072bca51bab2a46 SHA512 4e431f72e5c51952bb7a1e97d6cab407e03d7a42cfaaed97cbf65dbc0b7ebec2a04675783bebed6d0a3d69b1ef5988f6af4770a9ce680258999c481ccefd0bd2
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.5.ebuild b/media-video/unifi-video/unifi-video-3.10.5.ebuild
new file mode 100644
index 00000000000..c975418c3dc
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.5.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ static_dir="/usr/$(get_libdir)/${PN}"
+ #install static data
+ insinto ${static_dir}
+ doins -r usr/lib/${PN}/*
+ fperms -R +x ${static_dir}/bin
+ fowners -R ${PN}:${PN} ${static_dir}/conf/evostream/
+
+ #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}
+ fowners ${PN}:${PN} /var/log/${PN}
+ dosym ../../../var/log/${PN} ${static_dir}/logs
+
+ dodir /var/lib/${PN}/work
+ fowners ${PN}:${PN} /var/lib/${PN}/work
+ dosym ../../../var/lib/${PN}/work ${static_dir}/work
+
+ keepdir /var/lib/${PN}/data
+ fowners ${PN}:${PN} /var/lib/${PN}/data
+ dosym ../../../var/lib/${PN}/data ${static_dir}/data
+
+ echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ into /usr
+ dosbin usr/sbin/${PN}
+ dosym ../../../bin/mongod ${static_dir}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2019-10-22 13:03 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2019-10-22 13:03 UTC (permalink / raw
To: gentoo-commits
commit: 2ba563619b77dc665184e13a7a10883ad3e48586
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 22 12:57:01 2019 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Oct 22 12:57:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba56361
media-video/unifi-video: bump to 3.10.10, drop old
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-video/unifi-video/Manifest | 4 +-
media-video/unifi-video/unifi-video-3.10.1.ebuild | 80 ---------------------
...eo-3.10.4.ebuild => unifi-video-3.10.10.ebuild} | 65 ++++++++++-------
media-video/unifi-video/unifi-video-3.9.12.ebuild | 83 ----------------------
4 files changed, 40 insertions(+), 192 deletions(-)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index fe07e1f360a..c6b2b5c720d 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,4 +1,2 @@
-DIST unifi-video.Ubuntu16.04_amd64.v3.10.1.deb 162379830 BLAKE2B 8183cf0ea37507059b87f5f51a377a12cb2f5fab31675eac720cffa2f9c60e46e6a8eb68279992703722ba40c3fbe7a9a723596ee20e31ccec0959841851325d SHA512 3ac83e3ff7beb8c765c8908b80c7747807da73e3a9e077a9f5a22aaf3e307c369258c7ea6651e18ca74b570d359fa65b6cbfce0017cb73cb916a2bc8614b374d
-DIST unifi-video.Ubuntu16.04_amd64.v3.10.4.deb 161279504 BLAKE2B a9bac456218a1908e67bcebeadd06672ce6de4a24e62cd99dedc6de4e36774047531e8b00429e0dc8eb536e6ad77de236d89da83edfbaef8d7a7feb04df6c482 SHA512 d45f97905078ee6f9911bbea239d72432dda849c5fa16a11c2576e1dac78a0b612e420ae59f11ff7bdfec3c7eca9396a72d249d4fc90f93f9e92c57571f19093
DIST unifi-video.Ubuntu16.04_amd64.v3.10.5.deb 161280194 BLAKE2B ae326fe818261124fb8bd1939e55cc2dfa1bb8bfd3350bb5b94ec74fe9a7ec57853548dfbf8ddf33699e0281a5cb918926a6fb93b6de07339072bca51bab2a46 SHA512 4e431f72e5c51952bb7a1e97d6cab407e03d7a42cfaaed97cbf65dbc0b7ebec2a04675783bebed6d0a3d69b1ef5988f6af4770a9ce680258999c481ccefd0bd2
-DIST unifi-video.Ubuntu16.04_amd64.v3.9.12.deb 117448948 BLAKE2B 83769ec07fccbcd955115493510bcd58b88433b7d7204be29d6329674cf4d6dea7fe4b6aedd0e89f852d89ae9a298a9284386aeb4480f43a91dbe6ea958ab10b SHA512 0e2eaefdee74b6b6c5ae54870673591ce4e2d2e4c07e068987f609597c43a12308aebdce705e316555378e04eeb13aaa0c00b496097123960215773cbfa69348
+DIST unifi-video.Ubuntu18.04_amd64.v3.10.10.deb 162697298 BLAKE2B 6cf3d93916830f781ba075abf222402609c8e9935149fc5729767ff05333c61db22709762a992ff510d4898d9b4860f3d61bd50fe0e2d55522a7eb8be7fc378a SHA512 01927d893e7d258641d38daa3018670cb8913d371a984d8f7595322ea0bb7d1879d9ba16125c8dca927d0a274e52922a5a3d1df60f31f7fc3a09de0cc7cc3766
diff --git a/media-video/unifi-video/unifi-video-3.10.1.ebuild b/media-video/unifi-video/unifi-video-3.10.1.ebuild
deleted file mode 100644
index 5a297606ef6..00000000000
--- a/media-video/unifi-video/unifi-video-3.10.1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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/unifi-video/v${MY_PV}/unifi-video.Ubuntu16.04_amd64.v${MY_PV}.deb"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- static_dir="/usr/$(get_libdir)/${PN}"
- #install static data
- insinto ${static_dir}
- doins -r usr/lib/${PN}/*
- fperms -R +x ${static_dir}/bin
- fowners -R ${PN}:${PN} ${static_dir}/conf/evostream/
-
- #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}
- fowners ${PN}:${PN} /var/log/${PN}
- dosym ../../../var/log/${PN} ${static_dir}/logs
-
- dodir /var/lib/${PN}/work
- fowners ${PN}:${PN} /var/lib/${PN}/work
- dosym ../../../var/lib/${PN}/work ${static_dir}/work
-
- keepdir /var/lib/${PN}/data
- fowners ${PN}:${PN} /var/lib/${PN}/data
- dosym ../../../var/lib/${PN}/data ${static_dir}/data
-
- echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- into /usr
- dosbin usr/sbin/${PN}
- dosym ../../../bin/mongod ${static_dir}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
diff --git a/media-video/unifi-video/unifi-video-3.10.4.ebuild b/media-video/unifi-video/unifi-video-3.10.10.ebuild
similarity index 50%
rename from media-video/unifi-video/unifi-video-3.10.4.ebuild
rename to media-video/unifi-video/unifi-video-3.10.10.ebuild
index c975418c3dc..3bcb6327156 100644
--- a/media-video/unifi-video/unifi-video-3.10.4.ebuild
+++ b/media-video/unifi-video/unifi-video-3.10.10.ebuild
@@ -8,7 +8,7 @@ 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/ufv/v${MY_PV}/unifi-video.Ubuntu18.04_amd64.v${MY_PV}.deb"
LICENSE="GPL-3"
SLOT="0"
@@ -20,6 +20,7 @@ DEPEND=""
RDEPEND="dev-db/mongodb
dev-java/commons-daemon
sys-apps/lsb-release
+ sys-apps/util-linux
sys-libs/libcap
virtual/jre:1.8"
@@ -47,34 +48,46 @@ src_prepare() {
}
src_install() {
- static_dir="/usr/$(get_libdir)/${PN}"
- #install static data
- insinto ${static_dir}
- doins -r usr/lib/${PN}/*
- fperms -R +x ${static_dir}/bin
- fowners -R ${PN}:${PN} ${static_dir}/conf/evostream/
-
- #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}
- fowners ${PN}:${PN} /var/log/${PN}
- dosym ../../../var/log/${PN} ${static_dir}/logs
-
- dodir /var/lib/${PN}/work
- fowners ${PN}:${PN} /var/lib/${PN}/work
- dosym ../../../var/lib/${PN}/work ${static_dir}/work
-
- keepdir /var/lib/${PN}/data
- fowners ${PN}:${PN} /var/lib/${PN}/data
- dosym ../../../var/lib/${PN}/data ${static_dir}/data
-
- echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
+ export CODEPATH=/usr/lib/${PN}
+ export DATAPATH=/var/lib/${PN}
+ LOGPATH=${DATAPATH}/logs
+ VARLOGPATH=/var/log/${PN}
+
+ rm .${CODEPATH}/bin/ubnt.updater
+ rm .${CODEPATH}/tools/updater
+ insinto /usr/lib
+ doins -r .${CODEPATH}
into /usr
- dosbin usr/sbin/${PN}
- dosym ../../../bin/mongod ${static_dir}/bin/mongod
+ dosbin usr/sbin/unifi-video
+
+ dodir ${LOGPATH}
+ fowners -R ${PN}:${PN} ${DATAPATH}
+ dosym ${LOGPATH} ${VARLOGPATH}
+ dosym ${LOGPATH} ${CODEPATH}/logs
+
+ dosym ${DATAPATH} ${CODEPATH}/data
+
+ fperms 500 ${CODEPATH}/bin/ubnt.avtool
+ fperms 500 ${CODEPATH}/bin/evostreamms
+ fperms 500 /usr/sbin/${PN}
+ fperms 500 ${CODEPATH}/tools/ufvtools
+ fowners -R ${PN}:${PN} ${CODEPATH}
+ fperms -R 0400 ${CODEPATH}/lib/
+ fperms 500 ${CODEPATH}/lib/
+
+ echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ dosym /usr/bin/mongod ${CODEPATH}/bin/mongod
newinitd "${FILESDIR}"/${PN}.initd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}
+
+pkg_postinst() {
+ if [[ ! -f ${DATAPATH}/system.properties ]]; then
+ cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
+ echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
+ fi
+}
diff --git a/media-video/unifi-video/unifi-video-3.9.12.ebuild b/media-video/unifi-video/unifi-video-3.9.12.ebuild
deleted file mode 100644
index c90d0eb2957..00000000000
--- a/media-video/unifi-video/unifi-video-3.9.12.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- static_dir="/usr/$(get_libdir)/${PN}"
- #install static data
- insinto ${static_dir}
- doins -r usr/lib/${PN}/*
- 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}
- fowners ${PN}:${PN} /var/log/${PN}
- dosym ../../../var/log/${PN} ${static_dir}/logs
-
- dodir /var/lib/${PN}/work
- fowners ${PN}:${PN} /var/lib/${PN}/work
- dosym ../../../var/lib/${PN}/work ${static_dir}/work
-
- keepdir /var/lib/${PN}/data
- fowners ${PN}:${PN} /var/lib/${PN}/data
- dosym ../../../var/lib/${PN}/data ${static_dir}/data
-
- echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- into /usr
- dosbin usr/sbin/${PN}
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2020-03-11 20:14 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2020-03-11 20:14 UTC (permalink / raw
To: gentoo-commits
commit: 18f58896812370ebe408a92be5e85c4a08a3b752
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 20:14:25 2020 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 20:14:44 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f58896
media-video/unifi-video: bump to 3.10.11
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-video/unifi-video/Manifest | 2 +-
media-video/unifi-video/unifi-video-3.10.11.ebuild | 93 ++++++++++++++++++++++
media-video/unifi-video/unifi-video-3.10.5.ebuild | 80 -------------------
3 files changed, 94 insertions(+), 81 deletions(-)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index c6b2b5c720d..113a94c8d97 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.5.deb 161280194 BLAKE2B ae326fe818261124fb8bd1939e55cc2dfa1bb8bfd3350bb5b94ec74fe9a7ec57853548dfbf8ddf33699e0281a5cb918926a6fb93b6de07339072bca51bab2a46 SHA512 4e431f72e5c51952bb7a1e97d6cab407e03d7a42cfaaed97cbf65dbc0b7ebec2a04675783bebed6d0a3d69b1ef5988f6af4770a9ce680258999c481ccefd0bd2
DIST unifi-video.Ubuntu18.04_amd64.v3.10.10.deb 162697298 BLAKE2B 6cf3d93916830f781ba075abf222402609c8e9935149fc5729767ff05333c61db22709762a992ff510d4898d9b4860f3d61bd50fe0e2d55522a7eb8be7fc378a SHA512 01927d893e7d258641d38daa3018670cb8913d371a984d8f7595322ea0bb7d1879d9ba16125c8dca927d0a274e52922a5a3d1df60f31f7fc3a09de0cc7cc3766
+DIST unifi-video.Ubuntu18.04_amd64.v3.10.11.deb 163522410 BLAKE2B b6a81fc0cf04a5bdd15c5e8e58b2df35718a990faccda103e3600fe79a333904522047fce2a0acf92c53679fe39ca48f6982e5473536bfc308df99f02219c2c8 SHA512 6af7f87d6011021395ca420a89d213feefabc8547cef620231f58a9a419c404ecb9650c88b7ef48bcc9a10f685d8b897f3d6781d47f92166dd453fecd6ff7912
diff --git a/media-video/unifi-video/unifi-video-3.10.11.ebuild b/media-video/unifi-video/unifi-video-3.10.11.ebuild
new file mode 100644
index 00000000000..adc9830fd4e
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.11.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.Ubuntu18.04_amd64.v${MY_PV}.deb"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-apps/util-linux
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ export CODEPATH=/usr/lib/${PN}
+ export DATAPATH=/var/lib/${PN}
+ LOGPATH=${DATAPATH}/logs
+ VARLOGPATH=/var/log/${PN}
+
+ rm .${CODEPATH}/bin/ubnt.updater
+ rm .${CODEPATH}/tools/updater
+
+ insinto /usr/lib
+ doins -r .${CODEPATH}
+ into /usr
+ dosbin usr/sbin/unifi-video
+
+ dodir ${LOGPATH}
+ fowners -R ${PN}:${PN} ${DATAPATH}
+ dosym ${LOGPATH} ${VARLOGPATH}
+ dosym ${LOGPATH} ${CODEPATH}/logs
+
+ dosym ${DATAPATH} ${CODEPATH}/data
+
+ fperms 500 ${CODEPATH}/bin/ubnt.avtool
+ fperms 500 ${CODEPATH}/bin/evostreamms
+ fperms 500 /usr/sbin/${PN}
+ fperms 500 ${CODEPATH}/tools/ufvtools
+ fowners -R ${PN}:${PN} ${CODEPATH}
+ fperms -R 0400 ${CODEPATH}/lib/
+ fperms 500 ${CODEPATH}/lib/
+
+ echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ dosym /usr/bin/mongod ${CODEPATH}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_postinst() {
+ if [[ ! -f ${DATAPATH}/system.properties ]]; then
+ cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
+ echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
+ fi
+}
diff --git a/media-video/unifi-video/unifi-video-3.10.5.ebuild b/media-video/unifi-video/unifi-video-3.10.5.ebuild
deleted file mode 100644
index c975418c3dc..00000000000
--- a/media-video/unifi-video/unifi-video-3.10.5.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- static_dir="/usr/$(get_libdir)/${PN}"
- #install static data
- insinto ${static_dir}
- doins -r usr/lib/${PN}/*
- fperms -R +x ${static_dir}/bin
- fowners -R ${PN}:${PN} ${static_dir}/conf/evostream/
-
- #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}
- fowners ${PN}:${PN} /var/log/${PN}
- dosym ../../../var/log/${PN} ${static_dir}/logs
-
- dodir /var/lib/${PN}/work
- fowners ${PN}:${PN} /var/lib/${PN}/work
- dosym ../../../var/lib/${PN}/work ${static_dir}/work
-
- keepdir /var/lib/${PN}/data
- fowners ${PN}:${PN} /var/lib/${PN}/data
- dosym ../../../var/lib/${PN}/data ${static_dir}/data
-
- echo "CONFIG_PROTECT=\"/var/lib/${PN}/data/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- into /usr
- dosbin usr/sbin/${PN}
- dosym ../../../bin/mongod ${static_dir}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2020-05-20 11:24 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2020-05-20 11:24 UTC (permalink / raw
To: gentoo-commits
commit: eb25b293bdc4ca1bca95fb55b12c448e2822cecb
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue May 19 19:48:36 2020 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed May 20 11:24:13 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb25b293
media-video/unifi-video: bump to 3.10.12
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-video/unifi-video/Manifest | 1 +
media-video/unifi-video/unifi-video-3.10.12.ebuild | 93 ++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index 113a94c8d97..49631d1b7a3 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,2 +1,3 @@
DIST unifi-video.Ubuntu18.04_amd64.v3.10.10.deb 162697298 BLAKE2B 6cf3d93916830f781ba075abf222402609c8e9935149fc5729767ff05333c61db22709762a992ff510d4898d9b4860f3d61bd50fe0e2d55522a7eb8be7fc378a SHA512 01927d893e7d258641d38daa3018670cb8913d371a984d8f7595322ea0bb7d1879d9ba16125c8dca927d0a274e52922a5a3d1df60f31f7fc3a09de0cc7cc3766
DIST unifi-video.Ubuntu18.04_amd64.v3.10.11.deb 163522410 BLAKE2B b6a81fc0cf04a5bdd15c5e8e58b2df35718a990faccda103e3600fe79a333904522047fce2a0acf92c53679fe39ca48f6982e5473536bfc308df99f02219c2c8 SHA512 6af7f87d6011021395ca420a89d213feefabc8547cef620231f58a9a419c404ecb9650c88b7ef48bcc9a10f685d8b897f3d6781d47f92166dd453fecd6ff7912
+DIST unifi-video.Ubuntu18.04_amd64.v3.10.12.deb 190853456 BLAKE2B db6286274f31d35a70eff1c311f27accf5bb6d2def29c2662d4b5585b62e06d2b883a1145af6ac21dda548cab18fc187359acc72b0ffc56876fb64cffb9d9023 SHA512 9f63e96b0dca35d8ac28a642bd03bcfc680c4f7b3278845cbeadf8f21779e67aa24773888f9e82f6a9eed23747c5f24fafa75fa556c6f91211fa26a1b25d9c2c
diff --git a/media-video/unifi-video/unifi-video-3.10.12.ebuild b/media-video/unifi-video/unifi-video-3.10.12.ebuild
new file mode 100644
index 00000000000..adc9830fd4e
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.12.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.Ubuntu18.04_amd64.v${MY_PV}.deb"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-apps/util-linux
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ export CODEPATH=/usr/lib/${PN}
+ export DATAPATH=/var/lib/${PN}
+ LOGPATH=${DATAPATH}/logs
+ VARLOGPATH=/var/log/${PN}
+
+ rm .${CODEPATH}/bin/ubnt.updater
+ rm .${CODEPATH}/tools/updater
+
+ insinto /usr/lib
+ doins -r .${CODEPATH}
+ into /usr
+ dosbin usr/sbin/unifi-video
+
+ dodir ${LOGPATH}
+ fowners -R ${PN}:${PN} ${DATAPATH}
+ dosym ${LOGPATH} ${VARLOGPATH}
+ dosym ${LOGPATH} ${CODEPATH}/logs
+
+ dosym ${DATAPATH} ${CODEPATH}/data
+
+ fperms 500 ${CODEPATH}/bin/ubnt.avtool
+ fperms 500 ${CODEPATH}/bin/evostreamms
+ fperms 500 /usr/sbin/${PN}
+ fperms 500 ${CODEPATH}/tools/ufvtools
+ fowners -R ${PN}:${PN} ${CODEPATH}
+ fperms -R 0400 ${CODEPATH}/lib/
+ fperms 500 ${CODEPATH}/lib/
+
+ echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ dosym /usr/bin/mongod ${CODEPATH}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_postinst() {
+ if [[ ! -f ${DATAPATH}/system.properties ]]; then
+ cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
+ echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
+ fi
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2020-09-03 11:21 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2020-09-03 11:21 UTC (permalink / raw
To: gentoo-commits
commit: 83d261683ac5f31317af51f2b55239a4a30d3454
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 3 11:20:50 2020 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Sep 3 11:21:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83d26168
media-video/unifi-video: bump to 3.10.13
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-video/unifi-video/Manifest | 1 +
media-video/unifi-video/unifi-video-3.10.13.ebuild | 89 ++++++++++++++++++++++
2 files changed, 90 insertions(+)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index 49631d1b7a3..b45aa2f4876 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,3 +1,4 @@
DIST unifi-video.Ubuntu18.04_amd64.v3.10.10.deb 162697298 BLAKE2B 6cf3d93916830f781ba075abf222402609c8e9935149fc5729767ff05333c61db22709762a992ff510d4898d9b4860f3d61bd50fe0e2d55522a7eb8be7fc378a SHA512 01927d893e7d258641d38daa3018670cb8913d371a984d8f7595322ea0bb7d1879d9ba16125c8dca927d0a274e52922a5a3d1df60f31f7fc3a09de0cc7cc3766
DIST unifi-video.Ubuntu18.04_amd64.v3.10.11.deb 163522410 BLAKE2B b6a81fc0cf04a5bdd15c5e8e58b2df35718a990faccda103e3600fe79a333904522047fce2a0acf92c53679fe39ca48f6982e5473536bfc308df99f02219c2c8 SHA512 6af7f87d6011021395ca420a89d213feefabc8547cef620231f58a9a419c404ecb9650c88b7ef48bcc9a10f685d8b897f3d6781d47f92166dd453fecd6ff7912
DIST unifi-video.Ubuntu18.04_amd64.v3.10.12.deb 190853456 BLAKE2B db6286274f31d35a70eff1c311f27accf5bb6d2def29c2662d4b5585b62e06d2b883a1145af6ac21dda548cab18fc187359acc72b0ffc56876fb64cffb9d9023 SHA512 9f63e96b0dca35d8ac28a642bd03bcfc680c4f7b3278845cbeadf8f21779e67aa24773888f9e82f6a9eed23747c5f24fafa75fa556c6f91211fa26a1b25d9c2c
+DIST unifi-video.Ubuntu18.04_amd64.v3.10.13.deb 178800688 BLAKE2B b35f91e77514fcf0165298473be503f6d977cb9f8f53e88f5bb700a2c76a3636e2f475c93c395eab6af4a215074521e47e1dc2d868695c1de83968b64e157cc8 SHA512 58d03b1004ba6da58b52c20720137639167647539c135c71c6abb36b80e37c4f33f0d0ae4092f98858bed8fcb4a3c9f05cc2a0a25e96fee957da176b9b6801d2
diff --git a/media-video/unifi-video/unifi-video-3.10.13.ebuild b/media-video/unifi-video/unifi-video-3.10.13.ebuild
new file mode 100644
index 00000000000..957103a94d4
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.13.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.Ubuntu18.04_amd64.v${MY_PV}.deb"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-apps/util-linux
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ export CODEPATH=/usr/lib/${PN}
+ export DATAPATH=/var/lib/${PN}
+ LOGPATH=${DATAPATH}/logs
+ VARLOGPATH=/var/log/${PN}
+
+ insinto /usr/lib
+ doins -r .${CODEPATH}
+ into /usr
+ dosbin usr/sbin/unifi-video
+
+ dodir ${LOGPATH}
+ fowners -R ${PN}:${PN} ${DATAPATH}
+ dosym ${LOGPATH} ${VARLOGPATH}
+ dosym ${LOGPATH} ${CODEPATH}/logs
+
+ dosym ${DATAPATH} ${CODEPATH}/data
+
+ fperms 500 ${CODEPATH}/bin/ubnt.avtool
+ fperms 500 ${CODEPATH}/bin/evostreamms
+ fperms 500 /usr/sbin/${PN}
+ fowners -R ${PN}:${PN} ${CODEPATH}
+ fperms -R 0400 ${CODEPATH}/lib/
+ fperms 500 ${CODEPATH}/lib/
+
+ echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ dosym /usr/bin/mongod ${CODEPATH}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_postinst() {
+ if [[ ! -f ${DATAPATH}/system.properties ]]; then
+ cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
+ echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
+ fi
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2020-11-15 15:30 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2020-11-15 15:30 UTC (permalink / raw
To: gentoo-commits
commit: d70d5b6ef3090c629f450115d445e1c02b2617f4
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 15 15:30:18 2020 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Sun Nov 15 15:30:34 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d70d5b6e
media-video/unifi-video: fix absolute symlink warning
Bug: https://bugs.gentoo.org/754693
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
.../unifi-video/unifi-video-3.10.13-r1.ebuild | 89 ++++++++++++++++++++++
1 file changed, 89 insertions(+)
diff --git a/media-video/unifi-video/unifi-video-3.10.13-r1.ebuild b/media-video/unifi-video/unifi-video-3.10.13-r1.ebuild
new file mode 100644
index 00000000000..69e9754686e
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.13-r1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.Ubuntu18.04_amd64.v${MY_PV}.deb"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-apps/util-linux
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+pkg_setup() {
+ enewuser ${PN}
+ enewgroup ${PN}
+}
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ export CODEPATH=/usr/lib/${PN}
+ export DATAPATH=/var/lib/${PN}
+ LOGPATH=${DATAPATH}/logs
+ VARLOGPATH=/var/log/${PN}
+
+ insinto /usr/lib
+ doins -r .${CODEPATH}
+ into /usr
+ dosbin usr/sbin/unifi-video
+
+ dodir ${LOGPATH}
+ fowners -R ${PN}:${PN} ${DATAPATH}
+ dosym ${LOGPATH} ${VARLOGPATH}
+ dosym ${LOGPATH} ${CODEPATH}/logs
+
+ dosym ${DATAPATH} ${CODEPATH}/data
+
+ fperms 500 ${CODEPATH}/bin/ubnt.avtool
+ fperms 500 ${CODEPATH}/bin/evostreamms
+ fperms 500 /usr/sbin/${PN}
+ fowners -R ${PN}:${PN} ${CODEPATH}
+ fperms -R 0400 ${CODEPATH}/lib/
+ fperms 500 ${CODEPATH}/lib/
+
+ echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ dosym ../../../bin/mongod ${CODEPATH}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_postinst() {
+ if [[ ! -f ${DATAPATH}/system.properties ]]; then
+ cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
+ echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
+ fi
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2020-12-28 14:47 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2020-12-28 14:47 UTC (permalink / raw
To: gentoo-commits
commit: 679225aefeaebaaaca91529b6748ebb9796e410b
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 14:46:13 2020 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 14:47:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679225ae
media-video/unifi-video: drop old
Closes: https://bugs.gentoo.org/754693
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
media-video/unifi-video/Manifest | 3 -
media-video/unifi-video/unifi-video-3.10.10.ebuild | 93 ----------------------
media-video/unifi-video/unifi-video-3.10.11.ebuild | 93 ----------------------
media-video/unifi-video/unifi-video-3.10.12.ebuild | 93 ----------------------
.../unifi-video/unifi-video-3.10.13-r1.ebuild | 89 ---------------------
media-video/unifi-video/unifi-video-3.10.13.ebuild | 89 ---------------------
6 files changed, 460 deletions(-)
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest
index b45aa2f4876..2604e02e7ae 100644
--- a/media-video/unifi-video/Manifest
+++ b/media-video/unifi-video/Manifest
@@ -1,4 +1 @@
-DIST unifi-video.Ubuntu18.04_amd64.v3.10.10.deb 162697298 BLAKE2B 6cf3d93916830f781ba075abf222402609c8e9935149fc5729767ff05333c61db22709762a992ff510d4898d9b4860f3d61bd50fe0e2d55522a7eb8be7fc378a SHA512 01927d893e7d258641d38daa3018670cb8913d371a984d8f7595322ea0bb7d1879d9ba16125c8dca927d0a274e52922a5a3d1df60f31f7fc3a09de0cc7cc3766
-DIST unifi-video.Ubuntu18.04_amd64.v3.10.11.deb 163522410 BLAKE2B b6a81fc0cf04a5bdd15c5e8e58b2df35718a990faccda103e3600fe79a333904522047fce2a0acf92c53679fe39ca48f6982e5473536bfc308df99f02219c2c8 SHA512 6af7f87d6011021395ca420a89d213feefabc8547cef620231f58a9a419c404ecb9650c88b7ef48bcc9a10f685d8b897f3d6781d47f92166dd453fecd6ff7912
-DIST unifi-video.Ubuntu18.04_amd64.v3.10.12.deb 190853456 BLAKE2B db6286274f31d35a70eff1c311f27accf5bb6d2def29c2662d4b5585b62e06d2b883a1145af6ac21dda548cab18fc187359acc72b0ffc56876fb64cffb9d9023 SHA512 9f63e96b0dca35d8ac28a642bd03bcfc680c4f7b3278845cbeadf8f21779e67aa24773888f9e82f6a9eed23747c5f24fafa75fa556c6f91211fa26a1b25d9c2c
DIST unifi-video.Ubuntu18.04_amd64.v3.10.13.deb 178800688 BLAKE2B b35f91e77514fcf0165298473be503f6d977cb9f8f53e88f5bb700a2c76a3636e2f475c93c395eab6af4a215074521e47e1dc2d868695c1de83968b64e157cc8 SHA512 58d03b1004ba6da58b52c20720137639167647539c135c71c6abb36b80e37c4f33f0d0ae4092f98858bed8fcb4a3c9f05cc2a0a25e96fee957da176b9b6801d2
diff --git a/media-video/unifi-video/unifi-video-3.10.10.ebuild b/media-video/unifi-video/unifi-video-3.10.10.ebuild
deleted file mode 100644
index 3bcb6327156..00000000000
--- a/media-video/unifi-video/unifi-video-3.10.10.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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.Ubuntu18.04_amd64.v${MY_PV}.deb"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-apps/util-linux
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- export CODEPATH=/usr/lib/${PN}
- export DATAPATH=/var/lib/${PN}
- LOGPATH=${DATAPATH}/logs
- VARLOGPATH=/var/log/${PN}
-
- rm .${CODEPATH}/bin/ubnt.updater
- rm .${CODEPATH}/tools/updater
-
- insinto /usr/lib
- doins -r .${CODEPATH}
- into /usr
- dosbin usr/sbin/unifi-video
-
- dodir ${LOGPATH}
- fowners -R ${PN}:${PN} ${DATAPATH}
- dosym ${LOGPATH} ${VARLOGPATH}
- dosym ${LOGPATH} ${CODEPATH}/logs
-
- dosym ${DATAPATH} ${CODEPATH}/data
-
- fperms 500 ${CODEPATH}/bin/ubnt.avtool
- fperms 500 ${CODEPATH}/bin/evostreamms
- fperms 500 /usr/sbin/${PN}
- fperms 500 ${CODEPATH}/tools/ufvtools
- fowners -R ${PN}:${PN} ${CODEPATH}
- fperms -R 0400 ${CODEPATH}/lib/
- fperms 500 ${CODEPATH}/lib/
-
- echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- dosym /usr/bin/mongod ${CODEPATH}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- if [[ ! -f ${DATAPATH}/system.properties ]]; then
- cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
- echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
- fi
-}
diff --git a/media-video/unifi-video/unifi-video-3.10.11.ebuild b/media-video/unifi-video/unifi-video-3.10.11.ebuild
deleted file mode 100644
index adc9830fd4e..00000000000
--- a/media-video/unifi-video/unifi-video-3.10.11.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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.Ubuntu18.04_amd64.v${MY_PV}.deb"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-apps/util-linux
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- export CODEPATH=/usr/lib/${PN}
- export DATAPATH=/var/lib/${PN}
- LOGPATH=${DATAPATH}/logs
- VARLOGPATH=/var/log/${PN}
-
- rm .${CODEPATH}/bin/ubnt.updater
- rm .${CODEPATH}/tools/updater
-
- insinto /usr/lib
- doins -r .${CODEPATH}
- into /usr
- dosbin usr/sbin/unifi-video
-
- dodir ${LOGPATH}
- fowners -R ${PN}:${PN} ${DATAPATH}
- dosym ${LOGPATH} ${VARLOGPATH}
- dosym ${LOGPATH} ${CODEPATH}/logs
-
- dosym ${DATAPATH} ${CODEPATH}/data
-
- fperms 500 ${CODEPATH}/bin/ubnt.avtool
- fperms 500 ${CODEPATH}/bin/evostreamms
- fperms 500 /usr/sbin/${PN}
- fperms 500 ${CODEPATH}/tools/ufvtools
- fowners -R ${PN}:${PN} ${CODEPATH}
- fperms -R 0400 ${CODEPATH}/lib/
- fperms 500 ${CODEPATH}/lib/
-
- echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- dosym /usr/bin/mongod ${CODEPATH}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- if [[ ! -f ${DATAPATH}/system.properties ]]; then
- cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
- echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
- fi
-}
diff --git a/media-video/unifi-video/unifi-video-3.10.12.ebuild b/media-video/unifi-video/unifi-video-3.10.12.ebuild
deleted file mode 100644
index adc9830fd4e..00000000000
--- a/media-video/unifi-video/unifi-video-3.10.12.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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.Ubuntu18.04_amd64.v${MY_PV}.deb"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-apps/util-linux
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- export CODEPATH=/usr/lib/${PN}
- export DATAPATH=/var/lib/${PN}
- LOGPATH=${DATAPATH}/logs
- VARLOGPATH=/var/log/${PN}
-
- rm .${CODEPATH}/bin/ubnt.updater
- rm .${CODEPATH}/tools/updater
-
- insinto /usr/lib
- doins -r .${CODEPATH}
- into /usr
- dosbin usr/sbin/unifi-video
-
- dodir ${LOGPATH}
- fowners -R ${PN}:${PN} ${DATAPATH}
- dosym ${LOGPATH} ${VARLOGPATH}
- dosym ${LOGPATH} ${CODEPATH}/logs
-
- dosym ${DATAPATH} ${CODEPATH}/data
-
- fperms 500 ${CODEPATH}/bin/ubnt.avtool
- fperms 500 ${CODEPATH}/bin/evostreamms
- fperms 500 /usr/sbin/${PN}
- fperms 500 ${CODEPATH}/tools/ufvtools
- fowners -R ${PN}:${PN} ${CODEPATH}
- fperms -R 0400 ${CODEPATH}/lib/
- fperms 500 ${CODEPATH}/lib/
-
- echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- dosym /usr/bin/mongod ${CODEPATH}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- if [[ ! -f ${DATAPATH}/system.properties ]]; then
- cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
- echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
- fi
-}
diff --git a/media-video/unifi-video/unifi-video-3.10.13-r1.ebuild b/media-video/unifi-video/unifi-video-3.10.13-r1.ebuild
deleted file mode 100644
index 69e9754686e..00000000000
--- a/media-video/unifi-video/unifi-video-3.10.13-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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.Ubuntu18.04_amd64.v${MY_PV}.deb"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-apps/util-linux
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- export CODEPATH=/usr/lib/${PN}
- export DATAPATH=/var/lib/${PN}
- LOGPATH=${DATAPATH}/logs
- VARLOGPATH=/var/log/${PN}
-
- insinto /usr/lib
- doins -r .${CODEPATH}
- into /usr
- dosbin usr/sbin/unifi-video
-
- dodir ${LOGPATH}
- fowners -R ${PN}:${PN} ${DATAPATH}
- dosym ${LOGPATH} ${VARLOGPATH}
- dosym ${LOGPATH} ${CODEPATH}/logs
-
- dosym ${DATAPATH} ${CODEPATH}/data
-
- fperms 500 ${CODEPATH}/bin/ubnt.avtool
- fperms 500 ${CODEPATH}/bin/evostreamms
- fperms 500 /usr/sbin/${PN}
- fowners -R ${PN}:${PN} ${CODEPATH}
- fperms -R 0400 ${CODEPATH}/lib/
- fperms 500 ${CODEPATH}/lib/
-
- echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- dosym ../../../bin/mongod ${CODEPATH}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- if [[ ! -f ${DATAPATH}/system.properties ]]; then
- cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
- echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
- fi
-}
diff --git a/media-video/unifi-video/unifi-video-3.10.13.ebuild b/media-video/unifi-video/unifi-video-3.10.13.ebuild
deleted file mode 100644
index 957103a94d4..00000000000
--- a/media-video/unifi-video/unifi-video-3.10.13.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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.Ubuntu18.04_amd64.v${MY_PV}.deb"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-apps/util-linux
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-pkg_setup() {
- enewuser ${PN}
- enewgroup ${PN}
-}
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- export CODEPATH=/usr/lib/${PN}
- export DATAPATH=/var/lib/${PN}
- LOGPATH=${DATAPATH}/logs
- VARLOGPATH=/var/log/${PN}
-
- insinto /usr/lib
- doins -r .${CODEPATH}
- into /usr
- dosbin usr/sbin/unifi-video
-
- dodir ${LOGPATH}
- fowners -R ${PN}:${PN} ${DATAPATH}
- dosym ${LOGPATH} ${VARLOGPATH}
- dosym ${LOGPATH} ${CODEPATH}/logs
-
- dosym ${DATAPATH} ${CODEPATH}/data
-
- fperms 500 ${CODEPATH}/bin/ubnt.avtool
- fperms 500 ${CODEPATH}/bin/evostreamms
- fperms 500 /usr/sbin/${PN}
- fowners -R ${PN}:${PN} ${CODEPATH}
- fperms -R 0400 ${CODEPATH}/lib/
- fperms 500 ${CODEPATH}/lib/
-
- echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- dosym /usr/bin/mongod ${CODEPATH}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- if [[ ! -f ${DATAPATH}/system.properties ]]; then
- cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
- echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
- fi
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2020-12-28 14:47 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2020-12-28 14:47 UTC (permalink / raw
To: gentoo-commits
commit: d968c9d97461def3f56fafcb083e787a03a5c990
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 14:45:14 2020 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 14:47:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d968c9d9
media-video/unifi-video: revbump for GLEP81 conversion
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
.../unifi-video/unifi-video-3.10.13-r2.ebuild | 86 ++++++++++++++++++++++
1 file changed, 86 insertions(+)
diff --git a/media-video/unifi-video/unifi-video-3.10.13-r2.ebuild b/media-video/unifi-video/unifi-video-3.10.13-r2.ebuild
new file mode 100644
index 00000000000..683e20a1c53
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.13-r2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd
+
+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.Ubuntu18.04_amd64.v${MY_PV}.deb"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND="acct-group/unifi-video
+ acct-user/unifi-video"
+RDEPEND="${DEPEND}
+ dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-apps/util-linux
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ export CODEPATH=/usr/lib/${PN}
+ export DATAPATH=/var/lib/${PN}
+ LOGPATH=${DATAPATH}/logs
+ VARLOGPATH=/var/log/${PN}
+
+ insinto /usr/lib
+ doins -r .${CODEPATH}
+ into /usr
+ dosbin usr/sbin/unifi-video
+
+ dodir ${LOGPATH}
+ fowners -R ${PN}:${PN} ${DATAPATH}
+ dosym ${LOGPATH} ${VARLOGPATH}
+ dosym ${LOGPATH} ${CODEPATH}/logs
+
+ dosym ${DATAPATH} ${CODEPATH}/data
+
+ fperms 500 ${CODEPATH}/bin/ubnt.avtool
+ fperms 500 ${CODEPATH}/bin/evostreamms
+ fperms 500 /usr/sbin/${PN}
+ fowners -R ${PN}:${PN} ${CODEPATH}
+ fperms -R 0400 ${CODEPATH}/lib/
+ fperms 500 ${CODEPATH}/lib/
+
+ echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ dosym ../../../bin/mongod ${CODEPATH}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_postinst() {
+ if [[ ! -f ${DATAPATH}/system.properties ]]; then
+ cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
+ echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
+ fi
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2021-07-13 14:28 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2021-07-13 14:28 UTC (permalink / raw
To: gentoo-commits
commit: dd9488ab6df9911be63cfb5c739c9d6c2c28e98f
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 13 14:27:59 2021 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Jul 13 14:27:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9488ab
media-video/unifi-video: bump to EAPI=8
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
.../unifi-video/unifi-video-3.10.13-r3.ebuild | 86 ++++++++++++++++++++++
1 file changed, 86 insertions(+)
diff --git a/media-video/unifi-video/unifi-video-3.10.13-r3.ebuild b/media-video/unifi-video/unifi-video-3.10.13-r3.ebuild
new file mode 100644
index 00000000000..a86ef7450eb
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.13-r3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+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.Ubuntu18.04_amd64.v${MY_PV}.deb"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND="acct-group/unifi-video
+ acct-user/unifi-video"
+RDEPEND="${DEPEND}
+ dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-apps/util-linux
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ export CODEPATH=/usr/lib/${PN}
+ export DATAPATH=/var/lib/${PN}
+ LOGPATH=${DATAPATH}/logs
+ VARLOGPATH=/var/log/${PN}
+
+ insinto /usr/lib
+ doins -r .${CODEPATH}
+ into /usr
+ dosbin usr/sbin/unifi-video
+
+ dodir ${LOGPATH}
+ fowners -R ${PN}:${PN} ${DATAPATH}
+ dosym ${LOGPATH} ${VARLOGPATH}
+ dosym ${LOGPATH} ${CODEPATH}/logs
+
+ dosym ${DATAPATH} ${CODEPATH}/data
+
+ fperms 500 ${CODEPATH}/bin/ubnt.avtool
+ fperms 500 ${CODEPATH}/bin/evostreamms
+ fperms 500 /usr/sbin/${PN}
+ fowners -R ${PN}:${PN} ${CODEPATH}
+ fperms -R 0400 ${CODEPATH}/lib/
+ fperms 500 ${CODEPATH}/lib/
+
+ echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ dosym ../../../bin/mongod ${CODEPATH}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_postinst() {
+ if [[ ! -f ${DATAPATH}/system.properties ]]; then
+ cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
+ echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
+ fi
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2021-08-18 14:02 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2021-08-18 14:02 UTC (permalink / raw
To: gentoo-commits
commit: 8b1ba2f3a7a1133dce56adaad315c95b142e25bd
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 18 14:02:11 2021 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Aug 18 14:02:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1ba2f3
media-video/unifi-video: fix EAPI=8 fallout
Somehow $DATAPATH was automatically being created before this EAPI=8
bump.
Closes: https://bugs.gentoo.org/808869
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
.../unifi-video/unifi-video-3.10.13-r4.ebuild | 87 ++++++++++++++++++++++
1 file changed, 87 insertions(+)
diff --git a/media-video/unifi-video/unifi-video-3.10.13-r4.ebuild b/media-video/unifi-video/unifi-video-3.10.13-r4.ebuild
new file mode 100644
index 00000000000..0ca08a362e9
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.13-r4.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+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.Ubuntu18.04_amd64.v${MY_PV}.deb"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND="acct-group/unifi-video
+ acct-user/unifi-video"
+RDEPEND="${DEPEND}
+ dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-apps/util-linux
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+}
+
+src_install() {
+ export CODEPATH=/usr/lib/${PN}
+ export DATAPATH=/var/lib/${PN}
+ LOGPATH=${DATAPATH}/logs
+ VARLOGPATH=/var/log/${PN}
+
+ insinto /usr/lib
+ doins -r .${CODEPATH}
+ into /usr
+ dosbin usr/sbin/unifi-video
+
+ keepdir ${LOGPATH}
+ dodir ${DATAPATH}
+ fowners -R ${PN}:${PN} ${DATAPATH}
+ dosym ${LOGPATH} ${VARLOGPATH}
+ dosym ${LOGPATH} ${CODEPATH}/logs
+
+ dosym ${DATAPATH} ${CODEPATH}/data
+
+ fperms 500 ${CODEPATH}/bin/ubnt.avtool
+ fperms 500 ${CODEPATH}/bin/evostreamms
+ fperms 500 /usr/sbin/${PN}
+ fowners -R ${PN}:${PN} ${CODEPATH}
+ fperms -R 0400 ${CODEPATH}/lib/
+ fperms 500 ${CODEPATH}/lib/
+
+ echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ dosym ../../../bin/mongod ${CODEPATH}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_postinst() {
+ if [[ ! -f ${DATAPATH}/system.properties ]]; then
+ cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
+ echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
+ fi
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2021-12-16 12:54 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2021-12-16 12:54 UTC (permalink / raw
To: gentoo-commits
commit: 1aef8a06d8be597d39ea0c2e0e63ad93f4a7d303
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 12:52:02 2021 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 12:52:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aef8a06
media-video/unifi-video: revbump for log4j "fix"
Upstream community forums suggested this fix
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
.../unifi-video/unifi-video-3.10.13-r5.ebuild | 92 ++++++++++++++++++++++
1 file changed, 92 insertions(+)
diff --git a/media-video/unifi-video/unifi-video-3.10.13-r5.ebuild b/media-video/unifi-video/unifi-video-3.10.13-r5.ebuild
new file mode 100644
index 000000000000..09f2a37096a3
--- /dev/null
+++ b/media-video/unifi-video/unifi-video-3.10.13-r5.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+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.Ubuntu18.04_amd64.v${MY_PV}.deb"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND="acct-group/unifi-video
+ acct-user/unifi-video
+ app-arch/zip"
+RDEPEND="${DEPEND}
+ dev-db/mongodb
+ dev-java/commons-daemon
+ sys-apps/lsb-release
+ sys-apps/util-linux
+ sys-libs/libcap
+ virtual/jre:1.8"
+
+S=${WORKDIR}
+QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
+
+src_unpack() {
+ default
+ unpack "${WORKDIR}"/data.tar.gz
+}
+
+src_prepare() {
+ eapply "${FILESDIR}"/commons-daemon-move.patch
+ sed -i usr/sbin/${PN} \
+ -e '/require_root$/d' \
+ -e '/update_limits$/d' \
+ -e '/ulimit/d' \
+ -e '/coredump_filter/d' || die
+ default
+ #delete problematic class in bundled log4j
+ zip -q -d \
+ usr/lib/unifi-video/lib/log4j-core-2.1.jar \
+ org/apache/logging/log4j/core/lookup/JndiLookup.class || die
+}
+
+src_install() {
+ export CODEPATH=/usr/lib/${PN}
+ export DATAPATH=/var/lib/${PN}
+ LOGPATH=${DATAPATH}/logs
+ VARLOGPATH=/var/log/${PN}
+
+ insinto /usr/lib
+ doins -r .${CODEPATH}
+ into /usr
+ dosbin usr/sbin/unifi-video
+
+ keepdir ${LOGPATH}
+ dodir ${DATAPATH}
+ fowners -R ${PN}:${PN} ${DATAPATH}
+ dosym ${LOGPATH} ${VARLOGPATH}
+ dosym ${LOGPATH} ${CODEPATH}/logs
+
+ dosym ${DATAPATH} ${CODEPATH}/data
+
+ fperms 500 ${CODEPATH}/bin/ubnt.avtool
+ fperms 500 ${CODEPATH}/bin/evostreamms
+ fperms 500 /usr/sbin/${PN}
+ fowners -R ${PN}:${PN} ${CODEPATH}
+ fperms -R 0400 ${CODEPATH}/lib/
+ fperms 500 ${CODEPATH}/lib/
+
+ echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
+ doenvd "${T}"/99${PN}
+
+ dosym ../../../bin/mongod ${CODEPATH}/bin/mongod
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+}
+
+pkg_postinst() {
+ if [[ ! -f ${DATAPATH}/system.properties ]]; then
+ cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
+ echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
+ fi
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/
@ 2021-12-16 12:54 Ben Kohler
0 siblings, 0 replies; 21+ messages in thread
From: Ben Kohler @ 2021-12-16 12:54 UTC (permalink / raw
To: gentoo-commits
commit: 71907da315b6a0e7a00154f12edde788c2609b2f
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 12:52:34 2021 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 12:52:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71907da3
media-video/unifi-video: drop old
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
.../unifi-video/unifi-video-3.10.13-r2.ebuild | 86 ---------------------
.../unifi-video/unifi-video-3.10.13-r3.ebuild | 86 ---------------------
.../unifi-video/unifi-video-3.10.13-r4.ebuild | 87 ----------------------
3 files changed, 259 deletions(-)
diff --git a/media-video/unifi-video/unifi-video-3.10.13-r2.ebuild b/media-video/unifi-video/unifi-video-3.10.13-r2.ebuild
deleted file mode 100644
index 683e20a1c53e..000000000000
--- a/media-video/unifi-video/unifi-video-3.10.13-r2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd
-
-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.Ubuntu18.04_amd64.v${MY_PV}.deb"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND="acct-group/unifi-video
- acct-user/unifi-video"
-RDEPEND="${DEPEND}
- dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-apps/util-linux
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- export CODEPATH=/usr/lib/${PN}
- export DATAPATH=/var/lib/${PN}
- LOGPATH=${DATAPATH}/logs
- VARLOGPATH=/var/log/${PN}
-
- insinto /usr/lib
- doins -r .${CODEPATH}
- into /usr
- dosbin usr/sbin/unifi-video
-
- dodir ${LOGPATH}
- fowners -R ${PN}:${PN} ${DATAPATH}
- dosym ${LOGPATH} ${VARLOGPATH}
- dosym ${LOGPATH} ${CODEPATH}/logs
-
- dosym ${DATAPATH} ${CODEPATH}/data
-
- fperms 500 ${CODEPATH}/bin/ubnt.avtool
- fperms 500 ${CODEPATH}/bin/evostreamms
- fperms 500 /usr/sbin/${PN}
- fowners -R ${PN}:${PN} ${CODEPATH}
- fperms -R 0400 ${CODEPATH}/lib/
- fperms 500 ${CODEPATH}/lib/
-
- echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- dosym ../../../bin/mongod ${CODEPATH}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- if [[ ! -f ${DATAPATH}/system.properties ]]; then
- cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
- echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
- fi
-}
diff --git a/media-video/unifi-video/unifi-video-3.10.13-r3.ebuild b/media-video/unifi-video/unifi-video-3.10.13-r3.ebuild
deleted file mode 100644
index a86ef7450ebd..000000000000
--- a/media-video/unifi-video/unifi-video-3.10.13-r3.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-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.Ubuntu18.04_amd64.v${MY_PV}.deb"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND="acct-group/unifi-video
- acct-user/unifi-video"
-RDEPEND="${DEPEND}
- dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-apps/util-linux
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- export CODEPATH=/usr/lib/${PN}
- export DATAPATH=/var/lib/${PN}
- LOGPATH=${DATAPATH}/logs
- VARLOGPATH=/var/log/${PN}
-
- insinto /usr/lib
- doins -r .${CODEPATH}
- into /usr
- dosbin usr/sbin/unifi-video
-
- dodir ${LOGPATH}
- fowners -R ${PN}:${PN} ${DATAPATH}
- dosym ${LOGPATH} ${VARLOGPATH}
- dosym ${LOGPATH} ${CODEPATH}/logs
-
- dosym ${DATAPATH} ${CODEPATH}/data
-
- fperms 500 ${CODEPATH}/bin/ubnt.avtool
- fperms 500 ${CODEPATH}/bin/evostreamms
- fperms 500 /usr/sbin/${PN}
- fowners -R ${PN}:${PN} ${CODEPATH}
- fperms -R 0400 ${CODEPATH}/lib/
- fperms 500 ${CODEPATH}/lib/
-
- echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- dosym ../../../bin/mongod ${CODEPATH}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- if [[ ! -f ${DATAPATH}/system.properties ]]; then
- cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
- echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
- fi
-}
diff --git a/media-video/unifi-video/unifi-video-3.10.13-r4.ebuild b/media-video/unifi-video/unifi-video-3.10.13-r4.ebuild
deleted file mode 100644
index 0ca08a362e9c..000000000000
--- a/media-video/unifi-video/unifi-video-3.10.13-r4.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-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.Ubuntu18.04_amd64.v${MY_PV}.deb"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-RESTRICT="mirror"
-
-DEPEND="acct-group/unifi-video
- acct-user/unifi-video"
-RDEPEND="${DEPEND}
- dev-db/mongodb
- dev-java/commons-daemon
- sys-apps/lsb-release
- sys-apps/util-linux
- sys-libs/libcap
- virtual/jre:1.8"
-
-S=${WORKDIR}
-QA_PREBUILT="usr/lib*/${PN}/lib/*.so usr/lib*/${PN}/bin/*"
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/data.tar.gz
-}
-
-src_prepare() {
- eapply "${FILESDIR}"/commons-daemon-move.patch
- sed -i usr/sbin/${PN} \
- -e '/require_root$/d' \
- -e '/update_limits$/d' \
- -e '/ulimit/d' \
- -e '/coredump_filter/d' || die
- default
-}
-
-src_install() {
- export CODEPATH=/usr/lib/${PN}
- export DATAPATH=/var/lib/${PN}
- LOGPATH=${DATAPATH}/logs
- VARLOGPATH=/var/log/${PN}
-
- insinto /usr/lib
- doins -r .${CODEPATH}
- into /usr
- dosbin usr/sbin/unifi-video
-
- keepdir ${LOGPATH}
- dodir ${DATAPATH}
- fowners -R ${PN}:${PN} ${DATAPATH}
- dosym ${LOGPATH} ${VARLOGPATH}
- dosym ${LOGPATH} ${CODEPATH}/logs
-
- dosym ${DATAPATH} ${CODEPATH}/data
-
- fperms 500 ${CODEPATH}/bin/ubnt.avtool
- fperms 500 ${CODEPATH}/bin/evostreamms
- fperms 500 /usr/sbin/${PN}
- fowners -R ${PN}:${PN} ${CODEPATH}
- fperms -R 0400 ${CODEPATH}/lib/
- fperms 500 ${CODEPATH}/lib/
-
- echo "CONFIG_PROTECT=\"${DATAPATH}/system.properties\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
-
- dosym ../../../bin/mongod ${CODEPATH}/bin/mongod
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- if [[ ! -f ${DATAPATH}/system.properties ]]; then
- cp ${CODEPATH}/etc/system.properties ${DATAPATH}/system.properties
- echo uuid=$(uuidgen) >> ${DATAPATH}/system.properties
- fi
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
end of thread, other threads:[~2021-12-16 12:54 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30 12:34 [gentoo-commits] repo/gentoo:master commit in: media-video/unifi-video/ Ben Kohler
-- strict thread matches above, loose matches on Subject: below --
2018-07-30 20:43 Ben Kohler
2018-08-02 17:31 Ben Kohler
2018-10-24 18:30 Ben Kohler
2018-10-24 18:50 Ben Kohler
2018-12-10 22:37 Ben Kohler
2018-12-10 23:12 Ben Kohler
2019-02-06 22:15 Ben Kohler
2019-05-31 19:51 Ben Kohler
2019-06-18 16:21 Ben Kohler
2019-10-22 13:03 Ben Kohler
2020-03-11 20:14 Ben Kohler
2020-05-20 11:24 Ben Kohler
2020-09-03 11:21 Ben Kohler
2020-11-15 15:30 Ben Kohler
2020-12-28 14:47 Ben Kohler
2020-12-28 14:47 Ben Kohler
2021-07-13 14:28 Ben Kohler
2021-08-18 14:02 Ben Kohler
2021-12-16 12:54 Ben Kohler
2021-12-16 12:54 Ben Kohler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox