From owner-svn-ports-head@freebsd.org Sun Feb 25 23:54:06 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD5FDF33EF1; Sun, 25 Feb 2018 23:54:06 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F50477816; Sun, 25 Feb 2018 23:54:06 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 692A513D49; Sun, 25 Feb 2018 23:54:06 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1PNs6VE022395; Sun, 25 Feb 2018 23:54:06 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1PNs6KD022393; Sun, 25 Feb 2018 23:54:06 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201802252354.w1PNs6KD022393@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Sun, 25 Feb 2018 23:54:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462986 - head/www/mythplugin-mythweb X-SVN-Group: ports-head X-SVN-Commit-Author: jhale X-SVN-Commit-Paths: head/www/mythplugin-mythweb X-SVN-Commit-Revision: 462986 X-SVN-Commit-Repository: ports 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.25 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: Sun, 25 Feb 2018 23:54:07 -0000 Author: jhale Date: Sun Feb 25 23:54:06 2018 New Revision: 462986 URL: https://svnweb.freebsd.org/changeset/ports/462986 Log: Fix owner/group/permissions to stave off execution (working on update, see: [1]) Install LICENSE_FILE via framework Pet portlint PR: 225652 [1] Modified: head/www/mythplugin-mythweb/Makefile head/www/mythplugin-mythweb/pkg-plist Modified: head/www/mythplugin-mythweb/Makefile ============================================================================== --- head/www/mythplugin-mythweb/Makefile Sun Feb 25 23:43:34 2018 (r462985) +++ head/www/mythplugin-mythweb/Makefile Sun Feb 25 23:54:06 2018 (r462986) @@ -4,6 +4,7 @@ PORTNAME= mythweb PORTVERSION= 0.28.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= mythplugin- @@ -11,33 +12,30 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Frontend for scheduling and managing recordings on your MythTV Box LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE -EXPIRATION_DATE= 2018-03-07 -DEPRECATED= Unmaintained, all www files wrongly belongs to www user. - IGNORE_WITH_PHP= 70 71 72 RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +USES= php shebangfix USE_GITHUB= yes GH_ACCOUNT= MythTV - -USES= php shebangfix -USE_PHP= spl session mysql pcre posix json +USE_PHP= json mysql pcre posix session spl SHEBANG_FILES= mythweb.pl modules/_shared/lang/build_translation.pl \ modules/coverart/handler.pl modules/stream/*.pl + NO_BUILD= yes NO_ARCH= yes - +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message REINPLACE_ARGS= -i "" -PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" -OPTIONS_DEFINE= APACHE LIGHTTPD +OPTIONS_DEFINE= APACHE LIGHTTPD OPTIONS_DEFAULT= APACHE +APACHE_USE= APACHE_RUN=22+ LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd -APACHE_USE= APACHE_RUN=22+ post-patch: @${REINPLACE_CMD} -e 's|/var/www/html|${WWWDIR}|' \ @@ -46,6 +44,7 @@ post-patch: ${WRKSRC}/mythweb.conf.lighttpd do-install: - (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} "! -name *.orig") + (cd ${WRKSRC} && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \ + "! -name *.orig -and ! -name LICENSE") .include Modified: head/www/mythplugin-mythweb/pkg-plist ============================================================================== --- head/www/mythplugin-mythweb/pkg-plist Sun Feb 25 23:43:34 2018 (r462985) +++ head/www/mythplugin-mythweb/pkg-plist Sun Feb 25 23:54:06 2018 (r462986) @@ -1,10 +1,6 @@ -@owner %%WWWOWN%% -@group %%WWWGRP%% +%%WWWDIR%%/Dockerfile %%WWWDIR%%/INSTALL -%%WWWDIR%%/LICENSE %%WWWDIR%%/README -%%WWWDIR%%/%%AP_NAME%%.conf.nginx -%%WWWDIR%%/Dockerfile %%WWWDIR%%/classes/Cache.php %%WWWDIR%%/classes/Cache/APC.php %%WWWDIR%%/classes/Cache/Enabled.php @@ -255,8 +251,8 @@ %%WWWDIR%%/modules/tv/lookup_metadata.php %%WWWDIR%%/modules/tv/opensearch.php %%WWWDIR%%/modules/tv/playerProductInstall.swf -%%WWWDIR%%/modules/tv/recorded.php %%WWWDIR%%/modules/tv/recommended.php +%%WWWDIR%%/modules/tv/recorded.php %%WWWDIR%%/modules/tv/schedules.php %%WWWDIR%%/modules/tv/schedules_custom.php %%WWWDIR%%/modules/tv/schedules_manual.php @@ -274,8 +270,8 @@ %%WWWDIR%%/modules/tv/tmpl/default/list_cell_nodata.php %%WWWDIR%%/modules/tv/tmpl/default/list_cell_program.php %%WWWDIR%%/modules/tv/tmpl/default/list_data.php -%%WWWDIR%%/modules/tv/tmpl/default/recorded.php %%WWWDIR%%/modules/tv/tmpl/default/recommended.php +%%WWWDIR%%/modules/tv/tmpl/default/recorded.php %%WWWDIR%%/modules/tv/tmpl/default/schedules.php %%WWWDIR%%/modules/tv/tmpl/default/schedules_custom.php %%WWWDIR%%/modules/tv/tmpl/default/schedules_manual.php @@ -325,6 +321,7 @@ %%WWWDIR%%/modules/welcome.php %%WWWDIR%%/mythweb.conf.apache %%WWWDIR%%/mythweb.conf.lighttpd +%%WWWDIR%%/mythweb.conf.nginx %%WWWDIR%%/mythweb.php %%WWWDIR%%/mythweb.pl %%WWWDIR%%/skins/clean_blue/backend_log.css @@ -420,9 +417,9 @@ %%WWWDIR%%/skins/default/img/flags/commflagged.png %%WWWDIR%%/skins/default/img/flags/cutlist.png %%WWWDIR%%/skins/default/img/flags/damaged.png +%%WWWDIR%%/skins/default/img/flags/hd.png %%WWWDIR%%/skins/default/img/flags/hd1080.png %%WWWDIR%%/skins/default/img/flags/hd720.png -%%WWWDIR%%/skins/default/img/flags/hd.png %%WWWDIR%%/skins/default/img/flags/no.png %%WWWDIR%%/skins/default/img/flags/no_autoexpire.png %%WWWDIR%%/skins/default/img/flags/processing.png @@ -671,113 +668,6 @@ %%WWWDIR%%/skins/wap/img/spacer.gif %%WWWDIR%%/skins/wap/style.css %%WWWDIR%%/tests/testUPnP.php -@dir %%WWWDIR%%/tests -@dir %%WWWDIR%%/skins/wap/img/apple-touch-icons -@dir %%WWWDIR%%/skins/wap/img -@dir %%WWWDIR%%/skins/wap -@dir %%WWWDIR%%/skins/haze_light/img/apple-touch-icons -@dir %%WWWDIR%%/skins/haze_light/img -@dir %%WWWDIR%%/skins/haze_light -@dir %%WWWDIR%%/skins/haze_dark/img/apple-touch-icons -@dir %%WWWDIR%%/skins/haze_dark/img -@dir %%WWWDIR%%/skins/haze_dark -@dir %%WWWDIR%%/skins/grey/img/flags -@dir %%WWWDIR%%/skins/grey/img/apple-touch-icons -@dir %%WWWDIR%%/skins/grey/img -@dir %%WWWDIR%%/skins/grey -@dir %%WWWDIR%%/skins/elkin/img/music -@dir %%WWWDIR%%/skins/elkin/img/flags -@dir %%WWWDIR%%/skins/elkin/img/apple-touch-icons -@dir %%WWWDIR%%/skins/elkin/img -@dir %%WWWDIR%%/skins/elkin -@dir %%WWWDIR%%/skins/default/img/music -@dir %%WWWDIR%%/skins/default/img/flags -@dir %%WWWDIR%%/skins/default/img/feelings -@dir %%WWWDIR%%/skins/default/img/apple-touch-icons -@dir %%WWWDIR%%/skins/default/img -@dir %%WWWDIR%%/skins/default -@dir %%WWWDIR%%/skins/clean_blue/img/music -@dir %%WWWDIR%%/skins/clean_blue/img/flags -@dir %%WWWDIR%%/skins/clean_blue/img/apple-touch-icons -@dir %%WWWDIR%%/skins/clean_blue/img -@dir %%WWWDIR%%/skins/clean_blue -@dir %%WWWDIR%%/skins -@dir %%WWWDIR%%/modules/video/tmpl/default -@dir %%WWWDIR%%/modules/video/tmpl -@dir %%WWWDIR%%/modules/video -@dir %%WWWDIR%%/modules/tv/tmpl/wap -@dir %%WWWDIR%%/modules/tv/tmpl/rss -@dir %%WWWDIR%%/modules/tv/tmpl/lite -@dir %%WWWDIR%%/modules/tv/tmpl/ical -@dir %%WWWDIR%%/modules/tv/tmpl/default -@dir %%WWWDIR%%/modules/tv/tmpl -@dir %%WWWDIR%%/modules/tv/includes -@dir %%WWWDIR%%/modules/tv/classes -@dir %%WWWDIR%%/modules/tv -@dir %%WWWDIR%%/modules/stream/tmpl/lite -@dir %%WWWDIR%%/modules/stream/tmpl/default -@dir %%WWWDIR%%/modules/stream/tmpl -@dir %%WWWDIR%%/modules/stream -@dir %%WWWDIR%%/modules/status/tmpl/wap -@dir %%WWWDIR%%/modules/status/tmpl/lite -@dir %%WWWDIR%%/modules/status/tmpl/default -@dir %%WWWDIR%%/modules/status/tmpl -@dir %%WWWDIR%%/modules/status -@dir %%WWWDIR%%/modules/stats/tmpl/lite -@dir %%WWWDIR%%/modules/stats/tmpl/default -@dir %%WWWDIR%%/modules/stats/tmpl -@dir %%WWWDIR%%/modules/stats -@dir %%WWWDIR%%/modules/settings/tmpl/lite -@dir %%WWWDIR%%/modules/settings/tmpl/default -@dir %%WWWDIR%%/modules/settings/tmpl -@dir %%WWWDIR%%/modules/settings -@dir %%WWWDIR%%/modules/remote/tmpl/default -@dir %%WWWDIR%%/modules/remote/tmpl -@dir %%WWWDIR%%/modules/remote -@dir %%WWWDIR%%/modules/mythweb/tmpl/lite -@dir %%WWWDIR%%/modules/mythweb/tmpl/default -@dir %%WWWDIR%%/modules/mythweb/tmpl -@dir %%WWWDIR%%/modules/mythweb -@dir %%WWWDIR%%/modules/mythtv/tmpl/lite -@dir %%WWWDIR%%/modules/mythtv/tmpl/default -@dir %%WWWDIR%%/modules/mythtv/tmpl -@dir %%WWWDIR%%/modules/mythtv -@dir %%WWWDIR%%/modules/music/tmpl/default -@dir %%WWWDIR%%/modules/music/tmpl -@dir %%WWWDIR%%/modules/music -@dir %%WWWDIR%%/modules/database/tmpl/default -@dir %%WWWDIR%%/modules/database/tmpl -@dir %%WWWDIR%%/modules/database -@dir %%WWWDIR%%/modules/coverart -@dir %%WWWDIR%%/modules/backend_log/tmpl/lite -@dir %%WWWDIR%%/modules/backend_log/tmpl/default -@dir %%WWWDIR%%/modules/backend_log/tmpl -@dir %%WWWDIR%%/modules/backend_log -@dir %%WWWDIR%%/modules/_shared/tmpl/wap -@dir %%WWWDIR%%/modules/_shared/tmpl/tmpl -@dir %%WWWDIR%%/modules/_shared/tmpl/lite -@dir %%WWWDIR%%/modules/_shared/tmpl/default -@dir %%WWWDIR%%/modules/_shared/tmpl/_errors -@dir %%WWWDIR%%/modules/_shared/tmpl -@dir %%WWWDIR%%/modules/_shared/lang -@dir %%WWWDIR%%/modules/_shared -@dir %%WWWDIR%%/modules -@dir %%WWWDIR%%/js/scriptaculous -@dir %%WWWDIR%%/js/prototip -@dir %%WWWDIR%%/js/libs/flowplayer -@dir %%WWWDIR%%/js/libs -@dir %%WWWDIR%%/js/dialog -@dir %%WWWDIR%%/js -@dir %%WWWDIR%%/includes -@dir(,,775) %%WWWDIR%%/data/tv_icons -@dir(,,775) %%WWWDIR%%/data/cache -@dir(,,775) %%WWWDIR%%/data -@dir %%WWWDIR%%/configuration -@dir %%WWWDIR%%/classes/UPnP -@dir %%WWWDIR%%/classes/Database/Query -@dir %%WWWDIR%%/classes/Database -@dir %%WWWDIR%%/classes/Cache -@dir %%WWWDIR%%/classes -@dir %%WWWDIR%% -@owner -@group +@dir(%%WWWOWN%%,%%WWWGROUP%%,700) %%WWWDIR%%/data/tv_icons +@dir(%%WWWOWN%%,%%WWWGROUP%%,700) %%WWWDIR%%/data/cache +@dir(%%WWWOWN%%,%%WWWGROUP%%,700) %%WWWDIR%%/data