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 -}