Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
aballier 07/11/19 21:09:03
Modified: ChangeLog
Added: motion-3.2.9.ebuild
Log:
version bump, tune a bit init script to let it run as non root, bug #157913
(Portage version: 2.1.3.19)
Revision Changes Path
1.16 media-video/motion/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/motion/ChangeLog?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/motion/ChangeLog?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/motion/ChangeLog?r1=1.15&r2=1.16
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog 19 Oct 2007 15:37:54 -0000 1.15
+++ ChangeLog 19 Nov 2007 21:09:03 -0000 1.16
@@ -1,6 +1,13 @@
# ChangeLog for media-video/motion
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.15 2007/10/19 15:37:54 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/motion/ChangeLog,v 1.16 2007/11/19 21:09:03 aballier Exp $
+
+*motion-3.2.9 (19 Nov 2007)
+
+ 19 Nov 2007; Alexis Ballier <aballier@g.o>
+ +files/motion-3.2.9-asneeded.patch, +files/motion.confd,
+ +files/motion.init-r1, +motion-3.2.9.ebuild:
+ version bump, tune a bit init script to let it run as non root, bug #157913
19 Oct 2007; Samuli Suominen <drac@g.o> files/motion.init:
Add after mysql statement to init script wrt #168777.
1.1 media-video/motion/motion-3.2.9.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/motion/motion-3.2.9.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/motion/motion-3.2.9.ebuild?rev=1.1&content-type=text/plain
Index: motion-3.2.9.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/motion/motion-3.2.9.ebuild,v 1.1 2007/11/19 21:09:03 aballier Exp $
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 ~ppc ~x86"
IUSE="ffmpeg mysql postgres v4l"
DEPEND="sys-libs/zlib
media-libs/jpeg
media-video/mjpegtools
ffmpeg? ( media-video/ffmpeg )
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql )"
pkg_setup() {
enewuser motion -1 -1 -1 "video" || die "failed to create motion user"
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-asneeded.patch"
}
src_compile() {
econf --without-optimizecpu \
$(use_with v4l) \
$(use_with mysql) \
$(use_with postgres pgsql) \
$(use_with ffmpeg)
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
# Install init script.
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
# Tell it to use a pid file where motion user has the rights to write to
sed -i -e "s:motion.pid:motion/\0:" "${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"
}
--
gentoo-commits@g.o mailing list
|
|