From 60dfab28a1de5df440174fe77b39093f40a5bd4c Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Mon, 10 Dec 2018 17:11:43 -0600 Subject: 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 --- media-video/unifi-video/Manifest | 2 +- .../unifi-video/unifi-video-3.10.0_beta2.ebuild | 83 ---------------------- .../unifi-video/unifi-video-3.10.0_beta3.ebuild | 83 ++++++++++++++++++++++ 3 files changed, 84 insertions(+), 84 deletions(-) delete mode 100644 media-video/unifi-video/unifi-video-3.10.0_beta2.ebuild create mode 100644 media-video/unifi-video/unifi-video-3.10.0_beta3.ebuild (limited to 'media-video/unifi-video') diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest index 31fb74948adf..b18b2efca3a8 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_beta2.ebuild deleted file mode 100644 index f811db81bec7..000000000000 --- a/media-video/unifi-video/unifi-video-3.10.0_beta2.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.10.0_beta3.ebuild b/media-video/unifi-video/unifi-video-3.10.0_beta3.ebuild new file mode 100644 index 000000000000..f811db81bec7 --- /dev/null +++ b/media-video/unifi-video/unifi-video-3.10.0_beta3.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 +} -- cgit v1.2.3-65-gdbad