summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-11-14 03:46:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-11-14 03:46:46 +0000
commit2b8681c6dd3aeae0871b95a1d9ffacfc4f8d5f9d (patch)
tree4690c1bd62da9167e7d68fb313121ff1637b03d1 /media-video/motion
parentAdd optional ffmpeg, smartcard, and xv support, and a few more debug options.... (diff)
downloadhistorical-2b8681c6dd3aeae0871b95a1d9ffacfc4f8d5f9d.tar.gz
historical-2b8681c6dd3aeae0871b95a1d9ffacfc4f8d5f9d.tar.bz2
historical-2b8681c6dd3aeae0871b95a1d9ffacfc4f8d5f9d.zip
old
Package-Manager: portage-2.2.0_alpha73/cvs/Linux x86_64
Diffstat (limited to 'media-video/motion')
-rw-r--r--media-video/motion/ChangeLog6
-rw-r--r--media-video/motion/Manifest21
-rw-r--r--media-video/motion/files/motion.init-r129
-rw-r--r--media-video/motion/files/motion.initd39
-rw-r--r--media-video/motion/motion-3.2.11.1.ebuild70
-rw-r--r--media-video/motion/motion-3.2.12.ebuild64
6 files changed, 13 insertions, 216 deletions
diff --git a/media-video/motion/ChangeLog b/media-video/motion/ChangeLog
index 0f26d689d3b4..05533192d539 100644
--- a/media-video/motion/ChangeLog
+++ b/media-video/motion/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/motion
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.35 2011/10/06 08:06:36 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.36 2011/11/14 03:46:46 ssuominen Exp $
+
+ 14 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> -motion-3.2.11.1.ebuild,
+ -motion-3.2.12.ebuild, -files/motion.init-r1, -files/motion.initd:
+ old
06 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> motion-3.2.12-r1.ebuild:
amd64 stable wrt #385359
diff --git a/media-video/motion/Manifest b/media-video/motion/Manifest
index 749d116091cd..2ef354329272 100644
--- a/media-video/motion/Manifest
+++ b/media-video/motion/Manifest
@@ -2,24 +2,19 @@
Hash: SHA1
AUX motion.confd 99 RMD160 e402a6d6873f2267dd1041779b1ef5737305b8f0 SHA1 f66f2f685044e26d5fa61bed8fa47340003c3c24 SHA256 c43ac28bcf76d96b105a03d0d3685688c5f731894bf68a501706681bba76b060
-AUX motion.init-r1 709 RMD160 9f6429be76b9ac47fa157286f1e67d81fffcb35e SHA1 2b5729864ec42bd1504b6932be6e91b6e1e54fde SHA256 84cbbe5b52c1484afb42ef0915f681f3b054adc55677cb6321522a5e3a8fdd34
-AUX motion.initd 891 RMD160 81a3a17c1ae536811699283c2163612962bce3eb SHA1 db373beb37ca6786836e7cfa7205dbcb42e0552a SHA256 4ef71fe2702504820b871a03ffe8827dc4ee0ef0550bda198a2a209254a1dfbe
AUX motion.initd-r2 904 RMD160 b7bf54ceab0848ddb3b04176e0c9f29501004c6e SHA1 b8a27c19e92b2bbc3ec627a70cecac4db877d84f SHA256 a862507d2b0096efca041768a21ebeaac1733211aa008ebacc73fd4c214be6e0
-DIST motion-3.2.11.1.tar.gz 417246 RMD160 dfaa27b73599e375288d9758108c302f3db089a1 SHA1 6e7acea3b27a9e24301e57e066ad5603d41598b2 SHA256 73973e723c39c05cbfc5c2a90357c5dea3078c3162dfc41f303fbf40cda9e403
DIST motion-3.2.12.tar.gz 425729 RMD160 7d53e19524c535075be57776c0a15414e0beeca4 SHA1 dc59b36e45e7626baa65ce62c961af918fea76bd SHA256 a597f8d7ec0bf3c5fb62722c4eead59717fe01c2ae0d256c642027cea74b2f0a
-EBUILD motion-3.2.11.1.ebuild 1798 RMD160 e789b59f323c6d02bd7dc9b322fffa32b45635c4 SHA1 92f588fa03ebb2d0ed768d10cd085c674de60379 SHA256 90528abf3f06d6d8f3fbf3272d4d3716606dc56f351b4a17bf8304890e0edcc4
EBUILD motion-3.2.12-r1.ebuild 1695 RMD160 a67c210e5fad836d28ab17c4db3be7c68980f017 SHA1 6e648338e3339b0a74310db973c1043048e2d21c SHA256 c8eb75028db1ca628cd88bb9b7a45533de392a9eba454ee495160568186e3bd8
-EBUILD motion-3.2.12.ebuild 1563 RMD160 3141f950243a1b1cbf47317c619619c9ed668d9e SHA1 13292939324d1f89d036909a0b28ade69c634355 SHA256 4f50a8b6ed6eb90d9870fd92eaba3fd6a723bb08726ede96b6b99a7c4f053e63
-MISC ChangeLog 5395 RMD160 5502fdf0194bf4a7b9785d88bc79fd6da32925fd SHA1 c7b2c836aeb0a991160b33135a061e2f23916410 SHA256 9e905de297d530cb3f209735d7d8de879fb1924c60b4314b5531bdbbf8e7cdd6
+MISC ChangeLog 5550 RMD160 dd7c837e83c2711f9a7832df659219880583000c SHA1 700046e103a60e3ef0c4d382e287876026051319 SHA256 c0295c2b1e41583773deabc5796d990fee6af290cf1df4a23cf24a0c37dcda5d
MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBAgAGBQJOjWG3AAoJEEdUh39IaPFNgJEH/2lh7+ylL6vy3FWmAriAXyu4
-rPmEsp9+8CuKZwVGMAED9uuHcrpRBDP9oYRhr2qdQOEXbRPnojOaO03wasM22Qky
-5WtYzSZXn/T212nAye+miGDV/eEs+GYJSMp/rLoApweJgms08tOE2ShmHZ3CaBrr
-K2aYnJCD5LXtSHhjyri+kB3xjnSrYJevOfVx56V5SZHoWoOtXeRrTdUNFWDfy7ze
-/pdokTMqMJ5LARe350mJUL5Cvct4V1rNdee46CO8YBxz6r6R0QWITnZjnlVKlPMq
-zbB02FBC2Pg2jy8JE2OHv1JwGPD/bKLD2Xad37ZFVgt/Y0dIMRiqwBs7MqnPsn4=
-=hUBW
+iQEcBAEBAgAGBQJOwI7eAAoJEEdUh39IaPFNCIUH/0k+sVfwtAShJw/V83qoM+Nd
+0ModqzKlfc2+Y1OJ1BcfHrbMofuAhHPm9ZGE/IF35tZPn45JxR60iYoqaOczagaW
+RSH/K0H1XBvYgzlztZjUdO7WPzBe3ve1IunC9nXu8Ze+vTlYmQsVJ9iKV3J+XCG8
+kzYLH1hryft6jcTPdZvGBi+Ju12eRaizgdQX3TP5M6f78jgMUfoUgYqfEM7jFFwu
+0kQJZ1QOCjMXxy7cMZGYUyL43vEZzs2ZFQe5GXUYdxF+xb8or9IuBWPu40b6OStg
+nhAJ8yW+llAeO8pjYkEf4hIbnHEh/NO3MnKzo/Xw6jNBGWT34t/AWZ3TGLvdfyg=
+=IcLT
-----END PGP SIGNATURE-----
diff --git a/media-video/motion/files/motion.init-r1 b/media-video/motion/files/motion.init-r1
deleted file mode 100644
index a45d3ae95501..000000000000
--- a/media-video/motion/files/motion.init-r1
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/motion/files/motion.init-r1,v 1.2 2011/05/19 18:51:26 ssuominen Exp $
-
-opts="${opts} reload"
-
-depend() {
- need modules
- after mysql
-}
-
-start() {
- ebegin "Starting motion detection"
- start-stop-daemon --start -c ${MOTION_USER} -g ${MOTION_GROUP} --quiet --exec /usr/bin/motion
- eend $?
-}
-
-stop() {
- ebegin "Stopping motion detection"
- start-stop-daemon --stop --quiet --exec /usr/bin/motion
- eend $?
-}
-
-reload() {
- ebegin "Reloading motion detection configuration"
- start-stop-daemon --stop --signal HUP --exec /usr/bin/motion
- eend $?
-}
diff --git a/media-video/motion/files/motion.initd b/media-video/motion/files/motion.initd
deleted file mode 100644
index de13ed9243e6..000000000000
--- a/media-video/motion/files/motion.initd
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/motion/files/motion.initd,v 1.1 2011/05/19 18:50:35 ssuominen Exp $
-
-opts="${opts} reload"
-
-_create_motion_run_dir() {
- local dir="/var/run/motion"
- if ! [ -d "$dir" ]; then
- mkdir -p -m750 "$dir"
- chown ${MOTION_USER}:${MOTION_GROUP} "$dir"
- fi
-}
-
-depend() {
- need modules
- after mysql
-}
-
-start() {
- _create_motion_run_dir
-
- ebegin "Starting motion detection"
- start-stop-daemon --start -c ${MOTION_USER} -g ${MOTION_GROUP} --quiet --exec /usr/bin/motion
- eend $?
-}
-
-stop() {
- ebegin "Stopping motion detection"
- start-stop-daemon --stop --quiet --exec /usr/bin/motion
- eend $?
-}
-
-reload() {
- ebegin "Reloading motion detection configuration"
- start-stop-daemon --stop --signal HUP --exec /usr/bin/motion
- eend $?
-}
diff --git a/media-video/motion/motion-3.2.11.1.ebuild b/media-video/motion/motion-3.2.11.1.ebuild
deleted file mode 100644
index 098df2dd0d3c..000000000000
--- a/media-video/motion/motion-3.2.11.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/motion/motion-3.2.11.1.ebuild,v 1.8 2011/05/19 18:50:35 ssuominen Exp $
-
-EAPI=2
-inherit eutils
-
-DESCRIPTION="Motion is a video motion detector with tracking-support for webcams."
-HOMEPAGE="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ppc ~x86"
-IUSE="ffmpeg mysql postgres v4l"
-
-RDEPEND="sys-libs/zlib
- virtual/jpeg
- ffmpeg? ( virtual/ffmpeg )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql-base )"
-DEPEND="${RDEPEND}
- v4l? ( virtual/os-headers )"
-
-pkg_setup() {
- enewuser motion -1 -1 -1 video
-}
-
-src_prepare() {
- sed -i \
- -e 's:jpeg_mem_dest:_jpeg_mem_dest:g' \
- picture.c || die
-}
-
-src_configure() {
- econf \
- $(use_with v4l) \
- $(use_with ffmpeg) \
- $(use_with mysql) \
- $(use_with postgres pgsql) \
- --without-optimizecpu
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- newinitd "${FILESDIR}"/motion.init-r1 motion
- newconfd "${FILESDIR}"/motion.confd motion
-
- # Create correct dir for motion.pid
- dodir /var/run/motion
- fowners motion:video /var/run/motion
- fperms 750 /var/run/motion
- keepdir /var/run/motion
-
- # Rename configuration file.
- mv "${D}"/etc/motion-dist.conf "${D}"/etc/motion.conf
-
- # Remove dummy documentation and install it using ebuild functions.
- rm -rf "${D}"/usr/share/doc/${P}
- dodoc CHANGELOG CODE_STANDARD CREDITS FAQ README README.FreeBSD *.conf
- dohtml *.html
-}
-
-pkg_postinst() {
- elog "You need to setup /etc/motion.conf before running"
- elog "motion for the first time. You can install motion"
- elog "detection as a service, use:"
- elog "rc-update add motion default"
-}
diff --git a/media-video/motion/motion-3.2.12.ebuild b/media-video/motion/motion-3.2.12.ebuild
deleted file mode 100644
index 25331ae99db5..000000000000
--- a/media-video/motion/motion-3.2.12.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/motion/motion-3.2.12.ebuild,v 1.1 2011/05/19 18:50:35 ssuominen Exp $
-
-EAPI=4
-inherit eutils
-
-DESCRIPTION="A software motion detector"
-HOMEPAGE="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
-IUSE="ffmpeg mysql postgres v4l"
-
-RDEPEND="sys-libs/zlib
- virtual/jpeg
- ffmpeg? ( virtual/ffmpeg )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql-base )"
-DEPEND="${RDEPEND}
- v4l? ( virtual/os-headers )"
-
-pkg_setup() {
- enewuser motion -1 -1 -1 video
-}
-
-src_configure() {
- local hack
- has_version '>=sys-kernel/linux-headers-2.6.38' && hack="--without-v4l" #361509
-
- econf \
- $(use_with v4l) \
- $(use_with ffmpeg) \
- $(use_with mysql) \
- $(use_with postgres pgsql) \
- --without-optimizecpu \
- ${hack}
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- DOC='CHANGELOG CODE_STANDARD CREDITS FAQ README' \
- docdir=/usr/share/doc/${PF} \
- EXAMPLES='thread*.conf' \
- examplesdir=/usr/share/doc/${PF}/examples \
- install
-
- dohtml *.html
-
- newinitd "${FILESDIR}"/motion.initd motion
- newconfd "${FILESDIR}"/motion.confd motion
-
- mv -vf "${D}"/etc/motion{-dist,}.conf || die
-}
-
-pkg_postinst() {
- elog "You need to setup /etc/motion.conf before running"
- elog "motion for the first time."
- elog "You can install motion detection as a service, use:"
- elog "rc-update add motion default"
-}