From owner-svn-ports-head@FreeBSD.ORG Mon Jan 27 21:50:48 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7D9DB84; Mon, 27 Jan 2014 21:50:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D08D51486; Mon, 27 Jan 2014 21:50:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0RLom6t021885; Mon, 27 Jan 2014 21:50:48 GMT (envelope-from nox@svn.freebsd.org) Received: (from nox@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0RLoj5M021866; Mon, 27 Jan 2014 21:50:45 GMT (envelope-from nox@svn.freebsd.org) Message-Id: <201401272150.s0RLoj5M021866@svn.freebsd.org> From: Juergen Lock Date: Mon, 27 Jan 2014 21:50:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341460 - in head: devel/cxxtools devel/cxxtools/files www/tntnet www/tntnet/files www/vdr-plugin-live www/vdr-plugin-live/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 21:50:49 -0000 Author: nox Date: Mon Jan 27 21:50:45 2014 New Revision: 341460 URL: http://svnweb.freebsd.org/changeset/ports/341460 QAT: https://qat.redports.org/buildarchive/r341460/ Log: - Update devel/cxxtools and www/tntnet to 2.2.1 and stagify them. - Update www/vdr-plugin-live to 0.3.0 with patches merged from the git 0.3.0 branch. (stagifying the vdr ports left for later.) - Use new LIB_DEPENDS syntax. - Rewrite NOPORTDOCS. Added: head/devel/cxxtools/files/patch-clang (contents, props changed) head/www/vdr-plugin-live/files/patch-042724e30d5690ab67a6c04aea48a16b9a3b085b (contents, props changed) head/www/vdr-plugin-live/files/patch-1a1f2e0754b02c5597debbe82f27b759f23cd6fe (contents, props changed) head/www/vdr-plugin-live/files/patch-69f84f95fa875c6f562294b1a6a1ea6f584d3f6c (contents, props changed) Deleted: head/www/tntnet/files/patch-libcxx head/www/vdr-plugin-live/files/patch-tasks.cpp Modified: head/devel/cxxtools/Makefile head/devel/cxxtools/distinfo head/devel/cxxtools/pkg-plist head/www/tntnet/Makefile head/www/tntnet/distinfo head/www/tntnet/files/patch-etc head/www/tntnet/pkg-plist head/www/vdr-plugin-live/Makefile head/www/vdr-plugin-live/distinfo head/www/vdr-plugin-live/files/gen_version_suffix.h head/www/vdr-plugin-live/files/patch-live.cpp head/www/vdr-plugin-live/pkg-plist Modified: head/devel/cxxtools/Makefile ============================================================================== --- head/devel/cxxtools/Makefile Mon Jan 27 21:46:48 2014 (r341459) +++ head/devel/cxxtools/Makefile Mon Jan 27 21:50:45 2014 (r341460) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= cxxtools -PORTVERSION= 2.1.1 +PORTVERSION= 2.2.1 CATEGORIES= devel MASTER_SITES= http://www.tntnet.org/download/ @@ -10,7 +10,7 @@ MAINTAINER= nox@FreeBSD.org COMMENT= Collection of general-purpose C++ classes PATCH_STRIP= -p1 -USES= iconv +USES= iconv pathfix USE_CSTD= gnu89 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include Modified: head/devel/cxxtools/distinfo ============================================================================== --- head/devel/cxxtools/distinfo Mon Jan 27 21:46:48 2014 (r341459) +++ head/devel/cxxtools/distinfo Mon Jan 27 21:50:45 2014 (r341460) @@ -1,2 +1,2 @@ -SHA256 (cxxtools-2.1.1.tar.gz) = 8de01001ab72226444e641c020582d8bd0c7df0966f37073273fee9a66e6054a -SIZE (cxxtools-2.1.1.tar.gz) = 801199 +SHA256 (cxxtools-2.2.1.tar.gz) = 8cebb6d6cda7c93cc4f7c0d552a68d50dd5530b699cf87916bb3b708fdc4e342 +SIZE (cxxtools-2.2.1.tar.gz) = 821324 Added: head/devel/cxxtools/files/patch-clang ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/cxxtools/files/patch-clang Mon Jan 27 21:50:45 2014 (r341460) @@ -0,0 +1,32 @@ +Obtained from: + + https://github.com/maekitalo/cxxtools/commit/645dedf575da32198ac815655e5c6e5cd5cc4461 + +--- a/include/cxxtools/char.h ++++ b/include/cxxtools/char.h +@@ -72,23 +72,8 @@ namespace cxxtools + : _value(0) + {} + +- //! Constructs a character using the given char as base for the character value. +- Char(char ch) +- : _value(value_type(static_cast(ch))) +- {} +- +- //! Constructs a character using the given char as base for the character value. +- Char(unsigned char ch) +- : _value( value_type(ch) ) +- {} +- +- //! Constructs a character using the given char as base for the character value. +- Char(wchar_t ch) +- : _value( value_type(static_cast(ch)) ) +- {} +- +- //! Constructs a character using the given unsigned 32-bit as base for the character value. +- explicit Char(value_type ch) ++ //! Constructs a character using the given value as base for the character value. ++ Char(value_type ch) + : _value(ch) + {} + Modified: head/devel/cxxtools/pkg-plist ============================================================================== --- head/devel/cxxtools/pkg-plist Mon Jan 27 21:46:48 2014 (r341459) +++ head/devel/cxxtools/pkg-plist Mon Jan 27 21:50:45 2014 (r341460) @@ -2,31 +2,27 @@ bin/cxxtools-config lib/libcxxtools-bin.a lib/libcxxtools-bin.la lib/libcxxtools-bin.so -lib/libcxxtools-bin.so.8 +lib/libcxxtools-bin.so.9 lib/libcxxtools-http.a lib/libcxxtools-http.la lib/libcxxtools-http.so -lib/libcxxtools-http.so.8 +lib/libcxxtools-http.so.9 lib/libcxxtools-json.a lib/libcxxtools-json.la lib/libcxxtools-json.so -lib/libcxxtools-json.so.8 +lib/libcxxtools-json.so.9 lib/libcxxtools-unit.a lib/libcxxtools-unit.la lib/libcxxtools-unit.so -lib/libcxxtools-unit.so.8 -lib/libcxxtools-xml.a -lib/libcxxtools-xml.la -lib/libcxxtools-xml.so -lib/libcxxtools-xml.so.8 +lib/libcxxtools-unit.so.9 lib/libcxxtools-xmlrpc.a lib/libcxxtools-xmlrpc.la lib/libcxxtools-xmlrpc.so -lib/libcxxtools-xmlrpc.so.8 +lib/libcxxtools-xmlrpc.so.9 lib/libcxxtools.a lib/libcxxtools.la lib/libcxxtools.so -lib/libcxxtools.so.8 +lib/libcxxtools.so.9 include/cxxtools/allocator.h include/cxxtools/api.h include/cxxtools/application.h @@ -81,6 +77,7 @@ include/cxxtools/eventsource.h include/cxxtools/facets.h include/cxxtools/fdstream.h include/cxxtools/file.h +include/cxxtools/filedevice.h include/cxxtools/fileinfo.h include/cxxtools/formatter.h include/cxxtools/function.h @@ -118,8 +115,7 @@ include/cxxtools/jsonserializer.h include/cxxtools/library.h include/cxxtools/log.h include/cxxtools/log/cxxtools.h -include/cxxtools/log/cxxtools_init.h -include/cxxtools/loginit.h +include/cxxtools/lrucache.h include/cxxtools/main.h include/cxxtools/md5.h include/cxxtools/md5stream.h @@ -150,6 +146,7 @@ include/cxxtools/posix/fork.h include/cxxtools/posix/pipe.h include/cxxtools/posix/pipestream.h include/cxxtools/properties.h +include/cxxtools/propertiesdeserializer.h include/cxxtools/query_params.h include/cxxtools/queue.h include/cxxtools/quotedprintablestream.h @@ -234,6 +231,12 @@ include/cxxtools/xmlrpc/responder.h include/cxxtools/xmlrpc/scanner.h include/cxxtools/xmlrpc/service.h include/cxxtools/xmltag.h +libdata/pkgconfig/cxxtools-bin.pc +libdata/pkgconfig/cxxtools-http.pc +libdata/pkgconfig/cxxtools-json.pc +libdata/pkgconfig/cxxtools-unit.pc +libdata/pkgconfig/cxxtools-xmlrpc.pc +libdata/pkgconfig/cxxtools.pc @dirrm include/cxxtools/xmlrpc @dirrm include/cxxtools/xml @dirrm include/cxxtools/unit Modified: head/www/tntnet/Makefile ============================================================================== --- head/www/tntnet/Makefile Mon Jan 27 21:46:48 2014 (r341459) +++ head/www/tntnet/Makefile Mon Jan 27 21:50:45 2014 (r341460) @@ -2,18 +2,17 @@ # $FreeBSD$ PORTNAME= tntnet -PORTVERSION= 2.1 -PORTREVISION= 1 +PORTVERSION= 2.2.1 CATEGORIES= www devel MASTER_SITES= http://www.tntnet.org/download/ MAINTAINER= nox@FreeBSD.org COMMENT= Webapplicationserver for C++ -LIB_DEPENDS= cxxtools:${PORTSDIR}/devel/cxxtools +LIB_DEPENDS= libcxxtools.so:${PORTSDIR}/devel/cxxtools BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip -USES= iconv +USES= iconv pkgconfig pathfix USE_CSTD= gnu89 PATCH_STRIP= -p1 GNU_CONFIGURE= yes @@ -29,26 +28,10 @@ LIB_DEPENDS+= gnutls:${PORTSDIR}/securit CONFIGURE_ARGS+= --with-ssl=openssl .endif -MAN1= ecppc.1 ecppl.1 ecppll.1 tntnet-config.1 -MAN7= ecpp.7 tntnet.conf.7 tntnet.properties.7 -MAN8= tntnet.8 - USERS= www GROUPS= www -NO_STAGE= yes post-configure: ${REINPLACE_CMD} 's/^\(#define[[:space:]]*HAVE_SENDFILE[[:space:]]*\).*/\1\0/' ${WRKSRC}/framework/common/config.h -post-install: - @if [ ! -f ${ETCDIR}/tntnet.conf ]; then \ - ${CP} -p ${ETCDIR}/tntnet.conf.sample ${ETCDIR}/tntnet.conf ; \ - fi - @if [ ! -f ${ETCDIR}/mime.conf ]; then \ - ${CP} -p ${ETCDIR}/mime.conf.sample ${ETCDIR}/mime.conf ; \ - fi - @if [ ! -f ${ETCDIR}/tntnet.properties ]; then \ - ${CP} -p ${ETCDIR}/tntnet.properties.sample ${ETCDIR}/tntnet.properties ; \ - fi - .include Modified: head/www/tntnet/distinfo ============================================================================== --- head/www/tntnet/distinfo Mon Jan 27 21:46:48 2014 (r341459) +++ head/www/tntnet/distinfo Mon Jan 27 21:50:45 2014 (r341460) @@ -1,2 +1,2 @@ -SHA256 (tntnet-2.1.tar.gz) = 8623275f78e532a16f73a8b49b79a84fbf5eea314c22e8a7f7b8d50b3d081ab6 -SIZE (tntnet-2.1.tar.gz) = 1705181 +SHA256 (tntnet-2.2.1.tar.gz) = c83170d08ef04c5868051e1c28c74b9562fe71e9e8263828e755ad5bd3547521 +SIZE (tntnet-2.2.1.tar.gz) = 1127500 Modified: head/www/tntnet/files/patch-etc ============================================================================== --- head/www/tntnet/files/patch-etc Mon Jan 27 21:46:48 2014 (r341459) +++ head/www/tntnet/files/patch-etc Mon Jan 27 21:50:45 2014 (r341460) @@ -1,37 +1,22 @@ --- a/etc/Makefile.am +++ b/etc/Makefile.am -@@ -1,31 +1,36 @@ - nobase_dist_noinst_DATA = \ - tntnet/tntnet.conf.in \ -- init.d/tntnet.in -+ init.d/tntnet.in \ -+ tntnet/mime.conf +@@ -3,19 +3,20 @@ nobase_dist_noinst_DATA = \ + init.d/tntnet.in nobase_sysconf_DATA = \ -- tntnet/tntnet.conf \ +- tntnet/tntnet.xml \ - init.d/tntnet -+ tntnet/tntnet.conf.sample \ ++ tntnet/tntnet.xml.sample \ + tntnet/tntnet - nobase_dist_sysconf_DATA = \ -- tntnet/mime.conf -+ tntnet/mime.conf.sample - - nobase_nodist_sysconf_DATA = \ -- tntnet/tntnet.properties -+ tntnet/tntnet.properties.sample -+ -+tntnet/mime.conf.sample: tntnet/mime.conf -+ cp tntnet/mime.conf $@ - --tntnet/tntnet.conf: tntnet/tntnet.conf.in -+tntnet/tntnet.conf.sample: tntnet/tntnet.conf.in +-tntnet/tntnet.xml: tntnet/tntnet.xml.in ++tntnet/tntnet.xml.sample: tntnet/tntnet.xml.in sed -e 's,@libdir\@,@libdir@,g;' \ -e 's,@pkglibdir\@,@pkglibdir@,g;' \ -e 's,@sysconfdir\@,@sysconfdir@,g;' \ -e 's,@localstatedir\@,@localstatedir@,g;' \ -- -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet.conf -+ -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet.conf.sample +- -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet.xml ++ -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet.xml.sample -init.d/tntnet: init.d/tntnet.in +tntnet/tntnet: init.d/tntnet.in @@ -42,52 +27,31 @@ - -e 's,@datadir\@,@datadir@,g;' init.d/tntnet + -e 's/^function //;' \ + -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet - --tntnet/tntnet.properties: -+tntnet/tntnet.properties.sample: - ../tntnet-config --properties tntnet | \ - sed -e 's,^#file=tntnet.log,file=@localstatedir@/log/tntnet/tntnet.log,' >$@ --- a/etc/Makefile.in +++ b/etc/Makefile.in -@@ -206,17 +206,18 @@ top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - nobase_dist_noinst_DATA = \ - tntnet/tntnet.conf.in \ -- init.d/tntnet.in -+ init.d/tntnet.in \ -+ tntnet/mime.conf +@@ -246,8 +246,8 @@ nobase_dist_noinst_DATA = \ + init.d/tntnet.in nobase_sysconf_DATA = \ -- tntnet/tntnet.conf \ +- tntnet/tntnet.xml \ - init.d/tntnet -+ tntnet/tntnet.conf.sample \ ++ tntnet/tntnet.xml.sample \ + tntnet/tntnet - nobase_dist_sysconf_DATA = \ -- tntnet/mime.conf -+ tntnet/mime.conf.sample - - nobase_nodist_sysconf_DATA = \ -- tntnet/tntnet.properties -+ tntnet/tntnet.properties.sample - all: all-am -@@ -483,21 +484,25 @@ uninstall-am: uninstall-nobase_dist_sysc +@@ -470,19 +470,20 @@ uninstall-am: uninstall-nobase_sysconfDA uninstall-nobase_sysconfDATA --tntnet/tntnet.conf: tntnet/tntnet.conf.in -+tntnet/mime.conf.sample: tntnet/mime.conf -+ cp tntnet/mime.conf $@ -+ -+tntnet/tntnet.conf.sample: tntnet/tntnet.conf.in +-tntnet/tntnet.xml: tntnet/tntnet.xml.in ++tntnet/tntnet.xml.sample: tntnet/tntnet.xml.in sed -e 's,@libdir\@,@libdir@,g;' \ -e 's,@pkglibdir\@,@pkglibdir@,g;' \ -e 's,@sysconfdir\@,@sysconfdir@,g;' \ -e 's,@localstatedir\@,@localstatedir@,g;' \ -- -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet.conf -+ -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet.conf.sample +- -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet.xml ++ -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet.xml.sample -init.d/tntnet: init.d/tntnet.in +tntnet/tntnet: init.d/tntnet.in @@ -99,29 +63,25 @@ + -e 's/^function //;' \ + -e 's,@datadir\@,@datadir@,g;' tntnet/tntnet --tntnet/tntnet.properties: -+tntnet/tntnet.properties.sample: - ../tntnet-config --properties tntnet | \ - sed -e 's,^#file=tntnet.log,file=@localstatedir@/log/tntnet/tntnet.log,' >$@ - ---- a/etc/tntnet/tntnet.conf.in -+++ b/etc/tntnet/tntnet.conf.in -@@ -2,12 +2,15 @@ - # - - PropertyFile @sysconfdir@/tntnet/tntnet.properties --Listen 0.0.0.0 80 -+#Listen 0.0.0.0 80 -+Listen 127.1 80 - #SslListen 0.0.0.0 443 @sysconfdir@/tntnet/tntnet.pem - - Daemon 1 --User www-data --Group www-data -+#User www-data -+#Group www-data -+User www -+Group www - CompPath @libdir@/tntnet - - # set some limit to prevent DoS-attacks + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. +--- a/etc/tntnet/tntnet.xml.in ++++ b/etc/tntnet/tntnet.xml.in +@@ -47,14 +47,14 @@ + + + +- ++ 127.0.0.1 + 80 + + + + 1 +- www-data +- www-data ++ www ++ www + @localstatedir@/run/tntnet.pid + /var/www + Modified: head/www/tntnet/pkg-plist ============================================================================== --- head/www/tntnet/pkg-plist Mon Jan 27 21:46:48 2014 (r341459) +++ head/www/tntnet/pkg-plist Mon Jan 27 21:50:45 2014 (r341460) @@ -4,15 +4,9 @@ bin/ecppll bin/tntnet bin/tntnet-config %%ETCDIR%%/tntnet -@unexec if cmp -s %D/etc/tntnet/mime.conf.sample %D/etc/tntnet/mime.conf; then rm -f %D/etc/tntnet/mime.conf; fi -%%ETCDIR%%/mime.conf.sample -@exec if [ ! -f %D/etc/tntnet/mime.conf ] ; then cp -p %D/%F %B/mime.conf; fi -@unexec if cmp -s %D/etc/tntnet/tntnet.conf.sample %D/etc/tntnet/tntnet.conf; then rm -f %D/etc/tntnet/tntnet.conf; fi -%%ETCDIR%%/tntnet.conf.sample -@exec if [ ! -f %D/etc/tntnet/tntnet.conf ] ; then cp -p %D/%F %B/tntnet.conf; fi -@unexec if cmp -s %D/etc/tntnet/tntnet.properties.sample %D/etc/tntnet/tntnet.properties; then rm -f %D/etc/tntnet/tntnet.properties; fi -%%ETCDIR%%/tntnet.properties.sample -@exec if [ ! -f %D/etc/tntnet/tntnet.properties ] ; then cp -p %D/%F %B/tntnet.properties; fi +@unexec if cmp -s %D/%%ETCDIR%%/tntnet.xml.sample %D/%%ETCDIR%%/tntnet.xml; then rm -f %D/%%ETCDIR%%/tntnet.xml; fi +%%ETCDIR%%/tntnet.xml.sample +@exec if [ ! -f %D/%%ETCDIR%%/tntnet.xml ] ; then cp -p %D/%F %B/tntnet.xml; fi include/tnt/applicationunlocker.h include/tnt/backgroundworker.h include/tnt/cmd.h @@ -69,14 +63,10 @@ include/tnt/worker.h include/tnt/zdata.h lib/libtntnet.la lib/libtntnet.so -lib/libtntnet.so.10 -lib/libtntnet_cgi.a -lib/libtntnet_cgi.la -lib/libtntnet_cgi.so -lib/libtntnet_cgi.so.10 +lib/libtntnet.so.12 lib/libtntnet_sdk.la lib/libtntnet_sdk.so -lib/libtntnet_sdk.so.10 +lib/libtntnet_sdk.so.12 lib/tntnet/alldemos.la lib/tntnet/alldemos.so lib/tntnet/alldemos.so.0 @@ -134,10 +124,20 @@ lib/tntnet/strings.so lib/tntnet/strings.so.0 lib/tntnet/tntnet.la lib/tntnet/tntnet.so -lib/tntnet/tntnet.so.10 +lib/tntnet/tntnet.so.12 lib/tntnet/upload.la lib/tntnet/upload.so lib/tntnet/upload.so.0 +man/man1/ecppc.1.gz +man/man1/ecppl.1.gz +man/man1/ecppll.1.gz +man/man1/tntnet-config.1.gz +man/man7/ecpp.7.gz +man/man7/tntnet.properties.7.gz +man/man7/tntnet.xml.7.gz +man/man8/tntnet.8.gz +%%DATADIR%%/tntnet-conf2xml.pl +@dirrm %%DATADIR%% @dirrm lib/tntnet @dirrm include/tnt -@dirrm %%ETCDIR%% +@dirrmtry %%ETCDIR%% Modified: head/www/vdr-plugin-live/Makefile ============================================================================== --- head/www/vdr-plugin-live/Makefile Mon Jan 27 21:46:48 2014 (r341459) +++ head/www/vdr-plugin-live/Makefile Mon Jan 27 21:50:45 2014 (r341460) @@ -2,24 +2,22 @@ # $FreeBSD$ PORTNAME= vdr-plugin-live -PORTVERSION= 0.2.0s20120325 -PORTREVISION= 2 +PORTVERSION= 0.3.0 CATEGORIES= www multimedia MASTER_SITES= http://live.vdr-developer.org/downloads/:release \ LOCAL/nox/:snapshot DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release MAINTAINER= nox@FreeBSD.org COMMENT= Video Disk Recorder - live web plugin -LIB_DEPENDS+= tntnet:${PORTSDIR}/www/tntnet \ - pcre:${PORTSDIR}/devel/pcre +LIB_DEPENDS+= libtntnet.so:${PORTSDIR}/www/tntnet \ + libpcre.so:${PORTSDIR}/devel/pcre -USE_BZIP2= yes PATCH_STRIP= -p1 PORTDOCS= COPYING README HISTORY -WRKSRC= ${WRKDIR}/vdr-plugin-${PLUGIN} +WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION} VDR_PLUGIN_MAKEFILES= ${WRKSRC}/httpd/Makefile ${WRKSRC}/pages/Makefile MAKE_ARGS+= INCLUDES="-I$(LOCALBASE)/include -I${WRKSRC}" MAKE_ARGS+= PREFIX="${PREFIX}" @@ -46,7 +44,7 @@ post-install: post-install-pluginlocales (cd ${WRKSRC}/${PLUGIN} && \ ${COPYTREE_SHARE} \* ${PREFIX}/etc/vdr/plugins/${PLUGIN} ) ${CHOWN} -R ${VDR_USER}:${VDR_GROUP} ${PREFIX}/etc/vdr/plugins/${PLUGIN} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) .endif Modified: head/www/vdr-plugin-live/distinfo ============================================================================== --- head/www/vdr-plugin-live/distinfo Mon Jan 27 21:46:48 2014 (r341459) +++ head/www/vdr-plugin-live/distinfo Mon Jan 27 21:50:45 2014 (r341460) @@ -1,2 +1,2 @@ -SHA256 (vdr/vdr-live-0.2.0s20120325.tar.bz2) = 1c6d226a87930832cd836635214e1fecc6527ddbfd67d5d0ec1c974b12da2733 -SIZE (vdr/vdr-live-0.2.0s20120325.tar.bz2) = 2010190 +SHA256 (vdr/vdr-live-0.3.0.tar.gz) = c200042e51393c247be97e7f4667a1f3f06319d5c8e538adca32fdfac8d178da +SIZE (vdr/vdr-live-0.3.0.tar.gz) = 786859 Modified: head/www/vdr-plugin-live/files/gen_version_suffix.h ============================================================================== --- head/www/vdr-plugin-live/files/gen_version_suffix.h Mon Jan 27 21:46:48 2014 (r341459) +++ head/www/vdr-plugin-live/files/gen_version_suffix.h Mon Jan 27 21:50:45 2014 (r341460) @@ -3,5 +3,5 @@ */ #ifndef GEN_VERSION_SUFFIX_H #define GEN_VERSION_SUFFIX_H -#define VERSION_SUFFIX "_git_master_94a0a21_20120325164212+0200" +#define VERSION_SUFFIX "_git_release/0.3.x+0200" #endif Added: head/www/vdr-plugin-live/files/patch-042724e30d5690ab67a6c04aea48a16b9a3b085b ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/vdr-plugin-live/files/patch-042724e30d5690ab67a6c04aea48a16b9a3b085b Mon Jan 27 21:50:45 2014 (r341460) @@ -0,0 +1,292 @@ +From 042724e30d5690ab67a6c04aea48a16b9a3b085b Mon Sep 17 00:00:00 2001 +From: Dieter Hametner +Date: Thu, 02 May 2013 23:37:41 +0000 +Subject: Make LIVE compile and work with Tntnet and cxxtools version 2.2. + +Thanks to Tommi Mäkitalo for his help on resolving the issues. +This problem was reported by Martin Gansser and by the user 'varas' in +the bugtracker as bug #1351. This commit fixes that bug. +--- +diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp +index 51018bb..80f145b 100644 +--- a/pages/recordings.ecpp ++++ b/pages/recordings.ecpp +@@ -205,7 +205,11 @@ for (recIter = recItems.begin(); recIter != recItems.end(); ++recIter) { + <& rec_item_dir name=(recItem->Name()) level=(level) &> + <%cpp> + #if TNT_HAS_QUERYPARAMS ++#if TNT_QUERYPARAMS_NO_BOOL ++ tnt::QueryParams recItemParams(qparam); ++#else + tnt::QueryParams recItemParams(qparam, false); ++#endif + #else + cxxtools::QueryParams recItemParams(qparam, false); + #endif +diff --git a/tntconfig.cpp b/tntconfig.cpp +index 3a1fd14..3325776 100644 +--- a/tntconfig.cpp ++++ b/tntconfig.cpp +@@ -3,7 +3,13 @@ + #include + #include + #include ++#include "tntfeatures.h" ++#if TNT_LOG_SERINFO ++#include ++#include ++#else + #include ++#endif + #include + #include + #include +@@ -181,19 +187,67 @@ namespace vdrlive { + #endif + + #if TNT_CONFIG_INTERNAL ++ namespace { ++ std::string GetResourcePath() ++ { ++#if APIVERSNUM > 10729 ++ string resourceDir(Plugin::GetResourceDirectory()); ++ return resourceDir; ++#else ++ string configDir(Plugin::GetConfigDirectory()); ++ return configDir; ++#endif ++ } ++ ++ void MapUrl(tnt::Tntnet & app, const char *rule, const char * component, std::string const & instPath, const char * pathInfo, const char * mime_type) ++ { ++#if TNT_MAPURL_NAMED_ARGS ++ tnt::Mapping::args_type argMap; ++ argMap.insert(std::make_pair("mime-type", mime_type)); ++#endif ++ app.mapUrl(rule, component) ++ .setPathInfo(instPath + pathInfo) ++#if TNT_MAPURL_NAMED_ARGS ++ .setArgs(argMap); ++#else ++ .pushArg(mime_type); ++#endif ++ } ++ } ++ + void TntConfig::Configure(tnt::Tntnet& app) const + { + string const configDir(Plugin::GetConfigDirectory()); +-#if APIVERSNUM > 10729 +- string const resourceDir(Plugin::GetResourceDirectory()); +-#endif + ++#if TNT_LOG_SERINFO ++ cxxtools::SerializationInfo si; ++ std::istringstream logXmlConf( ++ "\n" ++ " " + LiveSetup().GetTntnetLogLevel() + "\n" ++ " \n" ++ " \n" ++ " cxxtools\n" ++ " " + LiveSetup().GetTntnetLogLevel() + "\n" ++ " \n" ++ " \n" ++ " tntnet\n" ++ " " + LiveSetup().GetTntnetLogLevel() + "\n" ++ " \n" ++ " \n" ++ "\n" ++ ); ++ cxxtools::xml::XmlDeserializer d(logXmlConf); ++ d.deserialize(si); ++ log_init(si); ++#else + std::istringstream logConf( + "rootLogger=" + LiveSetup().GetTntnetLogLevel() + "\n" + "logger.tntnet=" + LiveSetup().GetTntnetLogLevel() + "\n" + "logger.cxxtools=" + LiveSetup().GetTntnetLogLevel() + "\n" + ); ++ + log_init(logConf); ++#endif + + // +++ CAUTION +++ CAUTION +++ CAUTION +++ CAUTION +++ CAUTION +++ + // ------------------------------------------------------------------------ +@@ -229,13 +283,12 @@ namespace vdrlive { + + // the following selects the theme specific 'theme.css' file + // inserted by 'tadi' -- verified with above, but not counterchecked yet! +- app.mapUrl("^/themes/([^/]*)/css.*/(.+\\.css)", "content") +-#if APIVERSNUM > 10729 +- .setPathInfo(resourceDir + "/themes/$1/css/$2") +-#else +- .setPathInfo(configDir + "/themes/$1/css/$2") +-#endif +- .pushArg("text/css"); ++ MapUrl(app, ++ "^/themes/([^/]*)/css.*/(.+\\.css)", ++ "content", ++ GetResourcePath(), ++ "/themes/$1/css/$2", ++ "text/css"); + + // the following rules provide a search scheme for images. The first + // rule where a image is found, terminates the search. +@@ -243,79 +296,82 @@ namespace vdrlive { + // 2. /img/. + // deprecated: 3. . (builtin images) + // inserted by 'tadi' -- verified with above, but not counterchecked yet! +- app.mapUrl("^/themes/([^/]*)/img.*/(.+)\\.(.+)", "content") +-#if APIVERSNUM > 10729 +- .setPathInfo(resourceDir + "/themes/$1/img/$2.$3") +-#else +- .setPathInfo(configDir + "/themes/$1/img/$2.$3") +-#endif +- .pushArg("image/$3"); +- app.mapUrl("^/themes/([^/]*)/img.*/(.+)\\.(.+)", "content") +-#if APIVERSNUM > 10729 +- .setPathInfo(resourceDir + "/img/$2.$3") +-#else +- .setPathInfo(configDir + "/img/$2.$3") +-#endif +- .pushArg("image/$3"); ++ MapUrl(app, ++ "^/themes/([^/]*)/img.*/(.+)\\.(.+)", ++ "content", ++ GetResourcePath(), ++ "/themes/$1/img/$2.$3", ++ "image/$3"); ++ ++ MapUrl(app, ++ "^/themes/([^/]*)/img.*/(.+)\\.(.+)", ++ "content", ++ GetResourcePath(), ++ "/img/$2.$3", ++ "image/$3"); + // deprecated: file << "MapUrl ^/themes/([^/]*)/img.*/(.+)\\.(.+) $2@" << endl; + + // Epg images + string const epgImgPath(LiveSetup().GetEpgImageDir()); + if (!epgImgPath.empty()) { + // inserted by 'tadi' -- verified with above, but not counterchecked yet! +- app.mapUrl("^/epgimages/([^/]*)\\.([^./]+)", "content") +- .setPathInfo(epgImgPath + "/$1.$2") +- .pushArg("image/$2"); ++ MapUrl(app, ++ "^/epgimages/([^/]*)\\.([^./]+)", ++ "content", ++ epgImgPath, ++ "/$1.$2", ++ "image/$2"); + } + + // select additional (not build in) javascript. + // WARNING: no path components with '.' in the name are allowed. Only + // the basename may contain dots and must end with '.js' + // inserted by 'tadi' -- verified with above, but not counterchecked yet! +- app.mapUrl("^/js(/[^.]*)([^/]*\\.js)", "content") +-#if APIVERSNUM > 10729 +- .setPathInfo(resourceDir + "/js$1$2") +-#else +- .setPathInfo(configDir + "/js$1$2") +-#endif +- .pushArg("text/javascript"); ++ MapUrl(app, ++ "^/js(/[^.]*)([^/]*\\.js)", ++ "content", ++ GetResourcePath(), ++ "/js$1$2", ++ "text/javascript"); + + // map to 'css/basename(uri)' + // inserted by 'tadi' -- verified with above, but not counterchecked yet! +- app.mapUrl("^/css.*/(.+)", "content") +-#if APIVERSNUM > 10729 +- .setPathInfo(resourceDir + "/css/$1") +-#else +- .setPathInfo(configDir + "/css/$1") +-#endif +- .pushArg("text/css"); ++ MapUrl(app, ++ "^/css.*/(.+)", ++ "content", ++ GetResourcePath(), ++ "/css/$1", ++ "text/css"); + + // map to 'img/basename(uri)' + // inserted by 'tadi' -- verified with above, but not counterchecked yet! +- app.mapUrl("^/img.*/(.+)\\.([^.]+)", "content") +-#if APIVERSNUM > 10729 +- .setPathInfo(resourceDir + "/img/$1.$2") +-#else +- .setPathInfo(configDir + "/img/$1.$2") +-#endif +- .pushArg("image/$2"); ++ MapUrl(app, ++ "^/img.*/(.+)\\.([^.]+)", ++ "content", ++ GetResourcePath(), ++ "/img/$1.$2", ++ "image/$2"); + + // Map favicon.ico into img directory +- app.mapUrl("^/favicon.ico$", "content") +-#if APIVERSNUM > 10729 +- .setPathInfo(resourceDir + "/img/favicon.ico") +-#else +- .setPathInfo(configDir + "/img/favicon.ico") +-#endif +- .pushArg("image/x-icon"); ++ MapUrl(app, ++ "^/favicon.ico$", ++ "content", ++ GetResourcePath(), ++ "/img/favicon.ico", ++ "image/x-icon"); + + // takes first path components without 'extension' when it does not + // contain '.' + // modified by 'tadi' -- verified with above, but not counterchecked yet! + app.mapUrl("^/([^./]+)(.*)?", "$1"); + ++#if TNT_GLOBAL_TNTCONFIG ++ tnt::TntConfig::it().sessionTimeout = 86400; ++ tnt::TntConfig::it().defaultContentType = string("text/html; charset=") + LiveI18n().CharacterEncoding(); ++#else + tnt::Sessionscope::setDefaultTimeout(86400); + tnt::HttpReply::setDefaultContentType(string("text/html; charset=") + LiveI18n().CharacterEncoding()); ++#endif + + Setup::IpList const& ips = LiveSetup().GetServerIps(); + int port = LiveSetup().GetServerPort(); +diff --git a/tntfeatures.h b/tntfeatures.h +index 6de1f88..76d3757 100644 +--- a/tntfeatures.h ++++ b/tntfeatures.h +@@ -17,6 +17,9 @@ + // Query params are now in tntnet and not in cxxtools + #define TNT_HAS_QUERYPARAMS (TNTVERSION >= 16060) + ++// Query params without boolean parameter ++#define TNT_QUERYPARAMS_NO_BOOL (TNTVERSION >= 22000) ++ + // One can request the host part of the request url + #define TNT_HAS_GETHOST (TNTVERSION >= 16060) + +@@ -26,4 +29,13 @@ + // version of TNTNET that binds ipv6 addresses with IPV6_V6ONLY flag set to true + #define TNT_IPV6_V6ONLY (CXXTOOLVER >= 21000) + ++// version of TNTNET with properties deserializer for logger configuration args. ++#define TNT_LOG_SERINFO (CXXTOOLVER >= 22000) ++ ++// version of TNTNET wich expects name, value mappings for Url-Mapper arguments. ++#define TNT_MAPURL_NAMED_ARGS (TNTVERSION >= 22000) ++ ++// version of TNTNET where configuration is global ++#define TNT_GLOBAL_TNTCONFIG (TNTVERSION >= 22000) ++ + #endif // VDR_LIVE_TNTFEATURES_H +-- +cgit v0.9.0.2-40-g7c79 Added: head/www/vdr-plugin-live/files/patch-1a1f2e0754b02c5597debbe82f27b759f23cd6fe ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/vdr-plugin-live/files/patch-1a1f2e0754b02c5597debbe82f27b759f23cd6fe Mon Jan 27 21:50:45 2014 (r341460) @@ -0,0 +1,66 @@ +From 1a1f2e0754b02c5597debbe82f27b759f23cd6fe Mon Sep 17 00:00:00 2001 +From: Dieter Hametner +Date: Fri, 12 Apr 2013 23:02:02 +0000 +Subject: Fixed status toggle of timers, via the edit_timer dialog. + +This bug was reported by user 'mhanu' in bug #1332. +--- +diff --git a/pages/edit_timer.ecpp b/pages/edit_timer.ecpp +index 299f35a..0fe253c 100644 +--- a/pages/edit_timer.ecpp ++++ b/pages/edit_timer.ecpp +@@ -26,7 +26,7 @@ using namespace vdrlive; + string async; + // form parameters + tChannelID channel; +- bool active = true; ++ int active = 1; + string title = ""; + string date = ""; + bool wday_mon = false; +@@ -44,7 +44,7 @@ using namespace vdrlive; + int priority = 0; + int lifetime = 0; + string aux = ""; +- string directory = ""; ++ string directory = ""; + + <%session scope="global"> + bool logged_in(false); +@@ -141,7 +141,7 @@ cTimer* timer; + title = title.substr(directory.size()+1); + } + } +- // TRANSLATORS: only adjust the ordering and separators, don't translate the m's, d's and y's ++ // TRANSLATORS: only adjust the ordering and separators, don't translate the m's, d's and y's + date = timer->Day() ? DatePickerToC(timer->Day(), tr("mm/dd/yyyy")) : ""; + wday_mon = timer->WeekDays() & 0x01; + wday_tue = timer->WeekDays() & 0x02; +@@ -226,7 +226,7 @@ cTimer* timer; + for (RecordingDirs::iterator rdir = recordingdirs.begin(); rdir != recordingdirs.end(); ++rdir) { + std::string dir = *rdir; + +-