diff options
Diffstat (limited to 'media-video/unifi-video')
-rw-r--r-- | media-video/unifi-video/Manifest | 6 | ||||
-rw-r--r-- | media-video/unifi-video/files/commons-daemon-move.patch | 12 | ||||
-rw-r--r-- | media-video/unifi-video/files/unifi-video.initd | 20 | ||||
-rw-r--r-- | media-video/unifi-video/files/unifi-video.service | 11 | ||||
-rw-r--r-- | media-video/unifi-video/metadata.xml | 8 | ||||
-rw-r--r-- | media-video/unifi-video/unifi-video-3.10.13-r5.ebuild | 92 |
6 files changed, 0 insertions, 149 deletions
diff --git a/media-video/unifi-video/Manifest b/media-video/unifi-video/Manifest deleted file mode 100644 index bd394157fc89..000000000000 --- a/media-video/unifi-video/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX commons-daemon-move.patch 337 BLAKE2B 79e847ce6e1c32c3cfbe192d8dce33175e2c0ef87b658d5ec8a3e8071bb737e8ea5d67814078d3c7693660879fca1a6c9038a124f19713382b0ded337bbf09ee SHA512 da836d7010769a0a81a959db4bb279418efeac75e2e444471d800889a6f2ff06227a76f04de9857da619af549b76f145263ca4c106d5485edcae679f9cf92ec5 -AUX unifi-video.initd 467 BLAKE2B c68d4b1efc3a2583e8624d306d667585022d27aa0ad4f2becd9569c8086b568e5c84508f2cc71c81605cc124bc17cd42c884d477b15181dba73544fc254610c1 SHA512 1cd4345daf09a27dcb8528abd076e920e30b6ff7a505acad74fdc291164c94569946cd493563331c5e52cb95c45e18522520aee47555db438fa87c46d07e35c5 -AUX unifi-video.service 209 BLAKE2B fd4d96fbd353c795621ec6ad2cb23d8c27132071ebee2843364283da712e46f8fb1d1fcb9ce7b3f042938a55cf3689c7976095ed2f5e72b71bb915ae8a32763d SHA512 ea6eb21bc15c887f4f5e27669bb72eb31db9d8af48d9efdfc32901f1eeff2fb1626ce161dab2bf636eabd4a49c16966cfc55dcd8e572f01a829f491248f7b474 -DIST unifi-video.Ubuntu18.04_amd64.v3.10.13.deb 178800688 BLAKE2B b35f91e77514fcf0165298473be503f6d977cb9f8f53e88f5bb700a2c76a3636e2f475c93c395eab6af4a215074521e47e1dc2d868695c1de83968b64e157cc8 SHA512 58d03b1004ba6da58b52c20720137639167647539c135c71c6abb36b80e37c4f33f0d0ae4092f98858bed8fcb4a3c9f05cc2a0a25e96fee957da176b9b6801d2 -EBUILD unifi-video-3.10.13-r5.ebuild 2167 BLAKE2B f3ac14d9ecad119aad672b07390e0d7783097c30036777efb73b31471fbea952a1b831e14fbf7eabece554868e0f9141159f7f3b7429e13921f7786f53902ae4 SHA512 1d50db8445ddb2fa51b7e3239fe361c8d072c73bdb342f1c548cf42bed1658f2c69ff105500951b565eff17afae39753b0c07be9708cde31590fe6f7232133da -MISC metadata.xml 245 BLAKE2B 4988fa1366a9b8a3769e503545339cdd493a0bdc362ca9237b158b94549de1f061477546b00fd3b21dc9325812423f7207071e22e3234d5c0b88c755197557d2 SHA512 e00be68ab9ad3acfce3d2d48721c47cf50e2c6358c9ceb45a2a23fc5303826ea26b9205ce4f230121c2e40c9c467367f2dc57863680899b21e8005034aa9118c diff --git a/media-video/unifi-video/files/commons-daemon-move.patch b/media-video/unifi-video/files/commons-daemon-move.patch deleted file mode 100644 index 448f77249e82..000000000000 --- a/media-video/unifi-video/files/commons-daemon-move.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/usr/sbin/unifi-video -+++ b/usr/sbin/unifi-video -@@ -271,7 +271,7 @@ - JSVC_OPTS="${JSVC_OPTS} \ - -user ${PKGUSER} \ - -home ${JAVA_HOME} \ -- -cp /usr/share/java/commons-daemon.jar:${MAINJAR} \ -+ -cp /usr/share/commons-daemon/lib/commons-daemon.jar:${MAINJAR} \ - -pidfile ${PIDFILE} \ - -procname ${NAME} \ - ${JSVC_EXTRA_OPTS} \ - diff --git a/media-video/unifi-video/files/unifi-video.initd b/media-video/unifi-video/files/unifi-video.initd deleted file mode 100644 index 55d6e805453d..000000000000 --- a/media-video/unifi-video/files/unifi-video.initd +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PID_FILE="/run/unifi-video.pid" - -start() { - ebegin "Starting unifi-video" - start-stop-daemon --start --quiet -b \ - --pidfile "${PID_FILE}" -m \ - --exec /usr/sbin/unifi-video start - eend $? - #--user nobody --group nobody \ -} - -stop() { - ebegin "Stopping unifi-video" - start-stop-daemon --quiet --stop -R 20 --pidfile "${PID_FILE}" - eend $? -} diff --git a/media-video/unifi-video/files/unifi-video.service b/media-video/unifi-video/files/unifi-video.service deleted file mode 100644 index 6587be4f1cac..000000000000 --- a/media-video/unifi-video/files/unifi-video.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=UniFi Video Server -Requires=network.target -After=network.target - -[Service] -ExecStart=/usr/sbin/unifi-video -D start -ExecStop=/usr/sbin/unifi-video -D stop - -[Install] -WantedBy=network.target diff --git a/media-video/unifi-video/metadata.xml b/media-video/unifi-video/metadata.xml deleted file mode 100644 index aa20bff17b1d..000000000000 --- a/media-video/unifi-video/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>bkohler@gentoo.org</email> - <name>Ben Kohler</name> - </maintainer> -</pkgmetadata> 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 deleted file mode 100644 index 09f2a37096a3..000000000000 --- a/media-video/unifi-video/unifi-video-3.10.13-r5.ebuild +++ /dev/null @@ -1,92 +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 - 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 -} |