From owner-freebsd-ports@FreeBSD.ORG Wed Jun 23 15:39:17 2010 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3F15106566B for ; Wed, 23 Jun 2010 15:39:17 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from mail2.timeinc.net (mail2.timeinc.net [64.236.74.30]) by mx1.freebsd.org (Postfix) with ESMTP id 86DE28FC08 for ; Wed, 23 Jun 2010 15:39:16 +0000 (UTC) Received: from mail.timeinc.net (mail.timeinc.net [64.12.55.166]) by mail2.timeinc.net (8.13.8/8.13.8) with ESMTP id o5NFdFYL027959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Jun 2010 11:39:16 -0400 Received: from ws-mteterin.dev.pathfinder.com (ws-mteterin.dev.pathfinder.com [209.251.223.173]) by mail.timeinc.net (8.13.8/8.13.8) with SMTP id o5NFdFVw006800; Wed, 23 Jun 2010 11:39:15 -0400 Message-ID: <4C222AA3.2060108@aldan.algebra.com> Date: Wed, 23 Jun 2010 11:39:15 -0400 From: "Mikhail T." Organization: Virtual Estates, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; uk; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: ports@FreeBSD.org, multimedia@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: votdev@gmx.de, leo@mediatomb.cc Subject: minidlna: a new port needs testers, start-up script X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2010 15:39:17 -0000 Hello! "Digital Life Network Alliance " is a standard newer than UPnP -- some devices on the market are not satisfied with plain UPnP-servers like mediatomb ... As far as I understand, the only DLNA-capable server ported to FreeBSD right now is ushare , but it seems to require a full rescan of one's media-collection upon every startup... I (almost) ported a promising little DLNA-server (which uses SQLite3 database to store the collection data between restarts), but I need help with the start-up script -- the server should run as its own unprivileged user:group (dlna:dlna), send stderr/stdout to /var/log/minidlna.log (I may later patch it to use syslog instead), and maintain PID-file in /var/run/minidlna.pid. The port can be downloaded from: http://aldan.algebra.com/~mi/minidlna-port.shar Both my Bravia TV and Onkyo receiver are able to play MP3 files served by it (although Onkyo can't decode the Cyrillics in the titles)... The TV can also show pictures (except for /progressive/ JPEGs, which Sony's JPEG implementation infamously rejects ). I'm yet to figure out, what video-file format the TV would accept -- minidlna does not offer on-the-fly transcoding... Also, some bug in avformat breaks it for certain .m2ts files I have (both ushare and ffplay suffer from the same). Please, report any problems by private e-mail. As soon as the start-up script is contributed, I'll commit the port. Thanks! -mi P.S. Before installing the port, remember to add the dlna user and group to /usr/ports/UIDs and /usr/ports/GIDs: --- UIDs 12 Jun 2010 17:43:50 -0000 1.115 +++ UIDs 23 Jun 2010 15:07:54 -0000 @@ -173,2 +173,3 @@ nslcd:*:928:928::0:0:nslcd daemon:/nonexistent:/usr/sbin/nologin activemq:*:929:929::0:0:ActiveMQ Daemon:/nonexistent:/sbin/nologin +dlna:*:930:930::0:0:DLNA server:/nonexistent:/sbin/nologin --- GIDs 12 Jun 2010 01:05:53 -0000 1.99 +++ GIDs 23 Jun 2010 15:07:54 -0000 @@ -163,2 +163,3 @@ nslcd:*:928: activemq:*:929: +dlna:*:930: