Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2011 12:01:55 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Minor webcamd update v0.1.24
Message-ID:  <201104181201.56366.hselasky@c2i.net>

next in thread | raw e-mail | index | archive | help
--Boundary-00=_UwArNAy3UVwJsEc
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

This release fixes remote controls due to some wrong initialistaion order and 
makes all character devices created by webcamd be chowned to webcamd:webcamd 
by default. See the new -U and -G options. Else there are no significant 
changes.

This update could also fix some reported regression issues.

See attached patch file:

cd /usr/ports

cat webcamd.diff | patch

--HPS

BTW: Happy easter everyone!

--Boundary-00=_UwArNAy3UVwJsEc
Content-Type: text/x-patch;
  charset="us-ascii";
  name="webcamd.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename="webcamd.diff"

--- GIDs.orig	2011-04-18 11:31:59.000000000 +0200
+++ GIDs	2011-04-18 11:32:21.000000000 +0200
@@ -75,6 +75,7 @@
 ladvd:*:142:
 dovecot:*:143:
 dovenull:*:144:
+webcamd:*:145:
 rbldns:*:153:
 sfs:*:171:
 agk:*:172:
--- UIDs.orig	2011-04-18 10:49:46.000000000 +0200
+++ UIDs	2011-04-18 10:50:39.000000000 +0200
@@ -84,6 +84,7 @@
 ladvd:*:142:142::0:0:Ladvd User:/var/empty:/usr/sbin/nologin
 dovecot:*:143:143::0:0:Dovecot User:/var/empty:/usr/sbin/nologin
 dovenull:*:144:144::0:0:Dovecot login User:/var/empty:/usr/sbin/nologin
+webcamd:*:145:145::0:0:Webcamd user:/var/empty:/usr/sbin/nologin
 rbldns:*:153:153::0:0:rbldnsd pseudo-user:/nonexistent:/usr/sbin/nologin
 sfs:*:171:171::0:0:Self-Certifying File System:/nonexistent:/usr/sbin/nologin
 agk:*:172:172::0:0:AquaGateKeeper:/nonexistent:/nonexistent
diff -ru multimedia/webcamd.orig/Makefile multimedia/webcamd/Makefile
--- multimedia/webcamd.orig/Makefile	2011-04-18 10:38:48.000000000 +0200
+++ multimedia/webcamd/Makefile	2011-04-18 10:42:29.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	webcamd
-PORTVERSION=	0.1.23
+PORTVERSION=	0.1.24
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.selasky.org/hans_petter/video4bsd/releases/
 
@@ -43,6 +43,9 @@
 OPTIONS=	HAL "Build with HAL and DBUS support" On \
 		DEBUG "Build with debugging support" Off
 
+USERS=		webcamd
+GROUPS=		webcamd
+
 .include <bsd.port.pre.mk>
 
 LIBCUSE=${LIBDIR}/libcuse4bsd.so
diff -ru multimedia/webcamd.orig/distinfo multimedia/webcamd/distinfo
--- multimedia/webcamd.orig/distinfo	2011-04-18 10:38:48.000000000 +0200
+++ multimedia/webcamd/distinfo	2011-04-18 11:51:46.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (webcamd-0.1.23.tar.bz2) = 570199b408162ba594564aead80fce5282cbf6d1e14f98893d1989b3119d973f
-SIZE (webcamd-0.1.23.tar.bz2) = 3615716
+SHA256 (webcamd-0.1.24.tar.bz2) = 070233586e458d6fb9b28db36436f1f04086558155e6fbb962967d45a5a74483
+SIZE (webcamd-0.1.24.tar.bz2) = 3616911
diff -ru multimedia/webcamd.orig/files/webcamd.in multimedia/webcamd/files/webcamd.in
--- multimedia/webcamd.orig/files/webcamd.in	2011-04-18 10:38:48.000000000 +0200
+++ multimedia/webcamd/files/webcamd.in	2011-04-18 11:29:32.000000000 +0200
@@ -17,7 +17,7 @@
 name=webcamd
 rcvar=`set_rcvar`
 command=%%PREFIX%%/sbin/webcamd
-command_args="-B"
+command_args="-B -U webcamd -G webcamd"
 
 start_precmd="${name}_prestart"
 

--Boundary-00=_UwArNAy3UVwJsEc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104181201.56366.hselasky>