Upgrade minidlan to 1.1.4 Changes since 1.0.24: 1.1.4 - Released 26-Aug-2014 -------------------------------- - Add magic container infrastructure. - Add magic containers for 50 recent items for each category. - Fix bad null termination in AAC parsing. - Fix requests for the last byte of a file, which affected MKV playback on Philips TV's. - Support 64-bit time_t values. 1.1.3 - Released 05-June-2014 -------------------------------- - Enhance log level settings. - Fix Samsung browsing when root_container is set. - Add Clang compiling support. - Fix compiling on systems without iconv. - Add merge_media_dirs option, to revert to the old behavior. - Add Asus O!Play client support. - Fix Broken SSDP multicast membership addition. - Fix crash bug with an emtpy filter argument. - Accept SMI subtitles in addition to SRT. - Add BubbleUPnP detection and enable subtitle support. - Allow the user to specify an arbitrary root container. - Add libavcodec > 54 / libav 10 compatibility. - Get embedded cover art from video files with recent libavformat versions. - Disable Samsung DCM10 capability, as it breaks compatibility with new models. - Add subtitle support for NetFront™ Living Connect middleware-based clients. 1.1.2 - Released 06-Mar-2014 -------------------------------- - Show client status on our basic presentation page. - Add a new force_sort_criteria option, to globally override the SortCriteria value sent by the client. - Fix a couple resource leaks. - Add configuration include file support. - Support DLNA/UPnP-AV searches issued by clients using the Grilo framework. - Fix some clients playing artwork instead of movie. - Fix bookmarks on Samsung Series E clients. - Add an extra folder level if there are multiple media locations. - Fix some multicast membership issues with changing network settings. - Make max number of children (connections) configurable. - Fix choppy playback with some file types on Panasonic clients by increasing the max connection limit. 1.1.1 - Released 01-Nov-2013 -------------------------------- - Add network interface monitoring support on Linux. - Don't require a configured network interface to start up. - Fix some minor spec compliance issues. 1.1.0 - Released 04-April-2013 -------------------------------- - Add support for other operating systems. - Switch to autoconf from our handcrafted genconfig.sh. - Add configuration option for UUID. - Add configuration option to specify the user to run as. - Add support for limiting a media dir to multiple media types. - Force a rescan if we detect a new or missing media_dir entry. - Fix crash caused by certain TiVo clients. - Fix crash bug on video files with some ffmpeg library versions. - Add support for TiVo MPEG-TS files. - Add some logging and forking tweaks to work better with systemd. - Validate or escape user input to prevent SQL injection. - Add forced sorting support for Panasonic devices. 1.0.25 - Released 13-July-2012 -------------------------------- - Fix a couple crash bugs on malformed WAV files. - Forcibly tweak the model number for Xbox360 clients, or they might ignore us. - Enable all network interfaces by default if none were specified. - Add flag to force downscaled thumbnails rather than using embedded ones. - Add DirecTV client detection, and fix image resolution issue. - Add support for the latest ffmpeg/libav library versions. - Fix a potential crash on requests for a resize of a non-existent image. - Make DeviceID checking more permissive for Sagem Radio.diff -r1.9 -r1.10 pkgsrc/multimedia/minidlna/Makefile
(degroote)
@@ -1,48 +1,33 @@ | @@ -1,48 +1,33 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2014/10/07 16:47:31 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.10 2015/01/14 21:32:20 degroote Exp $ | |
2 | 2 | |||
3 | DISTNAME= minidlna_1.0.25_src | 3 | DISTNAME= minidlna-1.1.4 | |
4 | PKGNAME= minidlna-1.0.25 | |||
5 | PKGREVISION= 7 | |||
6 | CATEGORIES= multimedia | 4 | CATEGORIES= multimedia | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=minidlna/1.0.25/} | 5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=minidlna/} | |
8 | 6 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://minidlna.sourceforge.net/ | 8 | HOMEPAGE= http://minidlna.sourceforge.net/ | |
11 | COMMENT= DLNA server | 9 | COMMENT= DLNA server | |
12 | LICENSE= gnu-gpl-v2 | 10 | LICENSE= gnu-gpl-v2 | |
13 | 11 | |||
14 | WRKSRC= ${WRKDIR}/minidlna-1.0.25 | 12 | GNU_CONFIGURE= yes | |
15 | MAKE_FILE= BSDmakefile | |||
16 | EGDIR= ${PREFIX}/share/examples/minidlna | 13 | EGDIR= ${PREFIX}/share/examples/minidlna | |
17 | 14 | USE_TOOLS+= msgfmt | ||
18 | SUBST_CLASSES+= confdir | |||
19 | SUBST_STAGE.confdir= pre-build | |||
20 | SUBST_FILES.confdir= minidlna.c | |||
21 | SUBST_VARS.confdir= PKG_SYSCONFDIR | |||
22 | 15 | |||
23 | CONF_FILES= ${EGDIR}/minidlna.conf \ | 16 | CONF_FILES= ${EGDIR}/minidlna.conf \ | |
24 | ${PKG_SYSCONFDIR}/minidlna.conf | 17 | ${PKG_SYSCONFDIR}/minidlna.conf | |
25 | RCD_SCRIPTS= minidlna | 18 | RCD_SCRIPTS= minidlna | |
26 | 19 | |||
27 | INSTALLATION_DIRS= sbin share/examples/minidlna | 20 | INSTALLATION_DIRS= share/examples/minidlna | |
28 | ||||
29 | post-patch: | |||
30 | ${CP} \ | |||
31 | ${FILESDIR}/BSDmakefile \ | |||
32 | ${FILESDIR}/config.h \ | |||
33 | ${FILESDIR}/getifaddr.c \ | |||
34 | ${WRKSRC} | |||
35 | 21 | |||
36 | do-install: | 22 | pre-install: | |
37 | ${INSTALL_PROGRAM} ${WRKSRC}/minidlna ${DESTDIR}${PREFIX}/sbin | |||
38 | ${INSTALL_DATA} ${WRKSRC}/minidlna.conf ${DESTDIR}${EGDIR} | 23 | ${INSTALL_DATA} ${WRKSRC}/minidlna.conf ${DESTDIR}${EGDIR} | |
39 | 24 | |||
40 | .include "../../multimedia/ffmpeg1/buildlink3.mk" | 25 | .include "../../multimedia/ffmpeg1/buildlink3.mk" | |
41 | .include "../../audio/flac/buildlink3.mk" | 26 | .include "../../audio/flac/buildlink3.mk" | |
42 | .include "../../audio/libvorbis/buildlink3.mk" | 27 | .include "../../audio/libvorbis/buildlink3.mk" | |
43 | .include "../../multimedia/libogg/buildlink3.mk" | 28 | .include "../../multimedia/libogg/buildlink3.mk" | |
44 | .include "../../audio/libid3tag/buildlink3.mk" | 29 | .include "../../audio/libid3tag/buildlink3.mk" | |
45 | .include "../../graphics/libexif/buildlink3.mk" | 30 | .include "../../graphics/libexif/buildlink3.mk" | |
46 | .include "../../mk/jpeg.buildlink3.mk" | 31 | .include "../../mk/jpeg.buildlink3.mk" | |
47 | .include "../../databases/sqlite3/buildlink3.mk" | 32 | .include "../../databases/sqlite3/buildlink3.mk" | |
48 | .include "../../mk/bsd.pkg.mk" | 33 | .include "../../mk/bsd.pkg.mk" |
@@ -1,3 +1,15 @@ | @@ -1,3 +1,15 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2014/03/11 14:05:06 jperkin Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2015/01/14 21:32:20 degroote Exp $ | |
2 | sbin/minidlna | 2 | sbin/minidlnad | |
3 | share/examples/minidlna/minidlna.conf | 3 | share/examples/minidlna/minidlna.conf | |
4 | share/locale/da/LC_MESSAGES/minidlna.mo | |||
5 | share/locale/de/LC_MESSAGES/minidlna.mo | |||
6 | share/locale/es/LC_MESSAGES/minidlna.mo | |||
7 | share/locale/fr/LC_MESSAGES/minidlna.mo | |||
8 | share/locale/it/LC_MESSAGES/minidlna.mo | |||
9 | share/locale/ja/LC_MESSAGES/minidlna.mo | |||
10 | share/locale/nb/LC_MESSAGES/minidlna.mo | |||
11 | share/locale/nl/LC_MESSAGES/minidlna.mo | |||
12 | share/locale/pl/LC_MESSAGES/minidlna.mo | |||
13 | share/locale/ru/LC_MESSAGES/minidlna.mo | |||
14 | share/locale/sl/LC_MESSAGES/minidlna.mo | |||
15 | share/locale/sv/LC_MESSAGES/minidlna.mo |
@@ -1,22 +1,5 @@ | @@ -1,22 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2012/12/17 12:51:32 drochner Exp $ | 1 | $NetBSD: distinfo,v 1.4 2015/01/14 21:32:20 degroote Exp $ | |
2 | 2 | |||
3 | SHA1 (minidlna_1.0.25_src.tar.gz) = 33742f02367006c6e4af7128b91c830026e59b9f | 3 | SHA1 (minidlna-1.1.4.tar.gz) = 56f333f8af91105ce5f0861d1f1918ebf5b0a028 | |
4 | RMD160 (minidlna_1.0.25_src.tar.gz) = 7008ef98c03f820d9200c1b1db2ec2f7995ece6d | 4 | RMD160 (minidlna-1.1.4.tar.gz) = 45ab4371f17efcca5e5693d46f787cff180dadea | |
5 | Size (minidlna_1.0.25_src.tar.gz) = 211756 bytes | 5 | Size (minidlna-1.1.4.tar.gz) = 494478 bytes | |
6 | SHA1 (patch-aa) = 7eade704068ea67e8ced43453976aa2ef24b3ef8 | |||
7 | SHA1 (patch-ab) = 7e62ef89c7bf2029cacda3e43cfe41800b90201f | |||
8 | SHA1 (patch-conf) = f02d87c245efd80ca43158b172c13e10c2130610 | |||
9 | SHA1 (patch-icons) = f9bdf47cd8cd6ee67a3e011655fd0ce7d8a1dcc2 | |||
10 | SHA1 (patch-image_utils.c) = 1f8a5d31aef9fa7182ac5ee40f9b9ad374a2772c | |||
11 | SHA1 (patch-inline) = 3bab5f706124d96492f6fd017b671e34c3f2bd59 | |||
12 | SHA1 (patch-lg) = 3889c03ca8118a7769266bb25687945701f3d29e | |||
13 | SHA1 (patch-minidlna.c) = 4c8de50a3de506cb6f34b43e60504a930f6f5282 | |||
14 | SHA1 (patch-other-subnets) = 3739394543005a658c73a62bd150a161d43253e1 | |||
15 | SHA1 (patch-replace-glob3) = 08f9676870e4143bdadbd68c8c09cf39aa504d89 | |||
16 | SHA1 (patch-scanner.c) = d07998a31ec8b890baa7cccc58d211af69953625 | |||
17 | SHA1 (patch-tagutils.c) = 0010283c8a538024abf1dddd64e9b5446ec7ee02 | |||
18 | SHA1 (patch-tagutils_asf.h) = 855b7e59b657f1e6ea8d07b48c0ca261cd9ddacd | |||
19 | SHA1 (patch-tagutils_misc.c) = b49931d9a3d338576a8fb9911da1664085475aa6 | |||
20 | SHA1 (patch-upnpglobalvars.c) = fbe22ff08d1462bf6a3cc36c456cf41624bcbd4e | |||
21 | SHA1 (patch-upnphttp) = deeda56b30f06bbacdf9190ca18d65b2ae93e863 | |||
22 | SHA1 (patch-utils-mpo) = 8f94873331d2d87f2b2652d131f506a12cf171b8 |
@@ -1,20 +1,23 @@ | @@ -1,20 +1,23 @@ | |||
1 | #!@RCD_SCRIPTS_SHELL@ | 1 | #!@RCD_SCRIPTS_SHELL@ | |
2 | # | 2 | # | |
3 | # $NetBSD: minidlna.sh,v 1.1 2012/10/25 10:25:27 drochner Exp $ | 3 | # $NetBSD: minidlna.sh,v 1.2 2015/01/14 21:32:20 degroote Exp $ | |
4 | # | 4 | # | |
5 | # PROVIDE: minidlna | 5 | # PROVIDE: minidlna | |
6 | # REQUIRE: DAEMON | 6 | # REQUIRE: DAEMON | |
7 | # | 7 | # | |
8 | 8 | |||
9 | . /etc/rc.subr | 9 | . /etc/rc.subr | |
10 | 10 | |||
11 | name="minidlna" | 11 | name="minidlna" | |
12 | rcvar=${name} | 12 | rcvar=${name} | |
13 | command="@PREFIX@/sbin/${name}" | 13 | start_cmd="start_minidlna" | |
14 | requre_files="@PKG_SYSCONFDIR@/${name}.conf" | 14 | required_files="@PKG_SYSCONFDIR@/${name}.conf" | |
15 | pidfile="/var/run/minidlna/minidlna.pid" | |||
15 | 16 | |||
16 | load_rc_config ${name} | 17 | start_minidlna() | |
17 | 18 | { | ||
18 | pidfile="/var/run/minidlna.pid" | 19 | @PREFIX@/sbin/minidlnad -f ${required_files} | |
20 | } | |||
19 | 21 | |||
20 | run_rc_command $1 | 22 | load_rc_config ${name} | |
23 | run_rc_command "$1" |