svn commit: r462986 - head/www/mythplugin-mythweb

Jason E. Hale jhale at FreeBSD.org
Sun Feb 25 23:54:07 UTC 2018


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 at 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 <bsd.port.mk>

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 @@
- at owner %%WWWOWN%%
- at 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
- at dir %%WWWDIR%%/tests
- at dir %%WWWDIR%%/skins/wap/img/apple-touch-icons
- at dir %%WWWDIR%%/skins/wap/img
- at dir %%WWWDIR%%/skins/wap
- at dir %%WWWDIR%%/skins/haze_light/img/apple-touch-icons
- at dir %%WWWDIR%%/skins/haze_light/img
- at dir %%WWWDIR%%/skins/haze_light
- at dir %%WWWDIR%%/skins/haze_dark/img/apple-touch-icons
- at dir %%WWWDIR%%/skins/haze_dark/img
- at dir %%WWWDIR%%/skins/haze_dark
- at dir %%WWWDIR%%/skins/grey/img/flags
- at dir %%WWWDIR%%/skins/grey/img/apple-touch-icons
- at dir %%WWWDIR%%/skins/grey/img
- at dir %%WWWDIR%%/skins/grey
- at dir %%WWWDIR%%/skins/elkin/img/music
- at dir %%WWWDIR%%/skins/elkin/img/flags
- at dir %%WWWDIR%%/skins/elkin/img/apple-touch-icons
- at dir %%WWWDIR%%/skins/elkin/img
- at dir %%WWWDIR%%/skins/elkin
- at dir %%WWWDIR%%/skins/default/img/music
- at dir %%WWWDIR%%/skins/default/img/flags
- at dir %%WWWDIR%%/skins/default/img/feelings
- at dir %%WWWDIR%%/skins/default/img/apple-touch-icons
- at dir %%WWWDIR%%/skins/default/img
- at dir %%WWWDIR%%/skins/default
- at dir %%WWWDIR%%/skins/clean_blue/img/music
- at dir %%WWWDIR%%/skins/clean_blue/img/flags
- at dir %%WWWDIR%%/skins/clean_blue/img/apple-touch-icons
- at dir %%WWWDIR%%/skins/clean_blue/img
- at dir %%WWWDIR%%/skins/clean_blue
- at dir %%WWWDIR%%/skins
- at dir %%WWWDIR%%/modules/video/tmpl/default
- at dir %%WWWDIR%%/modules/video/tmpl
- at dir %%WWWDIR%%/modules/video
- at dir %%WWWDIR%%/modules/tv/tmpl/wap
- at dir %%WWWDIR%%/modules/tv/tmpl/rss
- at dir %%WWWDIR%%/modules/tv/tmpl/lite
- at dir %%WWWDIR%%/modules/tv/tmpl/ical
- at dir %%WWWDIR%%/modules/tv/tmpl/default
- at dir %%WWWDIR%%/modules/tv/tmpl
- at dir %%WWWDIR%%/modules/tv/includes
- at dir %%WWWDIR%%/modules/tv/classes
- at dir %%WWWDIR%%/modules/tv
- at dir %%WWWDIR%%/modules/stream/tmpl/lite
- at dir %%WWWDIR%%/modules/stream/tmpl/default
- at dir %%WWWDIR%%/modules/stream/tmpl
- at dir %%WWWDIR%%/modules/stream
- at dir %%WWWDIR%%/modules/status/tmpl/wap
- at dir %%WWWDIR%%/modules/status/tmpl/lite
- at dir %%WWWDIR%%/modules/status/tmpl/default
- at dir %%WWWDIR%%/modules/status/tmpl
- at dir %%WWWDIR%%/modules/status
- at dir %%WWWDIR%%/modules/stats/tmpl/lite
- at dir %%WWWDIR%%/modules/stats/tmpl/default
- at dir %%WWWDIR%%/modules/stats/tmpl
- at dir %%WWWDIR%%/modules/stats
- at dir %%WWWDIR%%/modules/settings/tmpl/lite
- at dir %%WWWDIR%%/modules/settings/tmpl/default
- at dir %%WWWDIR%%/modules/settings/tmpl
- at dir %%WWWDIR%%/modules/settings
- at dir %%WWWDIR%%/modules/remote/tmpl/default
- at dir %%WWWDIR%%/modules/remote/tmpl
- at dir %%WWWDIR%%/modules/remote
- at dir %%WWWDIR%%/modules/mythweb/tmpl/lite
- at dir %%WWWDIR%%/modules/mythweb/tmpl/default
- at dir %%WWWDIR%%/modules/mythweb/tmpl
- at dir %%WWWDIR%%/modules/mythweb
- at dir %%WWWDIR%%/modules/mythtv/tmpl/lite
- at dir %%WWWDIR%%/modules/mythtv/tmpl/default
- at dir %%WWWDIR%%/modules/mythtv/tmpl
- at dir %%WWWDIR%%/modules/mythtv
- at dir %%WWWDIR%%/modules/music/tmpl/default
- at dir %%WWWDIR%%/modules/music/tmpl
- at dir %%WWWDIR%%/modules/music
- at dir %%WWWDIR%%/modules/database/tmpl/default
- at dir %%WWWDIR%%/modules/database/tmpl
- at dir %%WWWDIR%%/modules/database
- at dir %%WWWDIR%%/modules/coverart
- at dir %%WWWDIR%%/modules/backend_log/tmpl/lite
- at dir %%WWWDIR%%/modules/backend_log/tmpl/default
- at dir %%WWWDIR%%/modules/backend_log/tmpl
- at dir %%WWWDIR%%/modules/backend_log
- at dir %%WWWDIR%%/modules/_shared/tmpl/wap
- at dir %%WWWDIR%%/modules/_shared/tmpl/tmpl
- at dir %%WWWDIR%%/modules/_shared/tmpl/lite
- at dir %%WWWDIR%%/modules/_shared/tmpl/default
- at dir %%WWWDIR%%/modules/_shared/tmpl/_errors
- at dir %%WWWDIR%%/modules/_shared/tmpl
- at dir %%WWWDIR%%/modules/_shared/lang
- at dir %%WWWDIR%%/modules/_shared
- at dir %%WWWDIR%%/modules
- at dir %%WWWDIR%%/js/scriptaculous
- at dir %%WWWDIR%%/js/prototip
- at dir %%WWWDIR%%/js/libs/flowplayer
- at dir %%WWWDIR%%/js/libs
- at dir %%WWWDIR%%/js/dialog
- at dir %%WWWDIR%%/js
- at dir %%WWWDIR%%/includes
- at dir(,,775) %%WWWDIR%%/data/tv_icons
- at dir(,,775) %%WWWDIR%%/data/cache
- at dir(,,775) %%WWWDIR%%/data
- at dir %%WWWDIR%%/configuration
- at dir %%WWWDIR%%/classes/UPnP
- at dir %%WWWDIR%%/classes/Database/Query
- at dir %%WWWDIR%%/classes/Database
- at dir %%WWWDIR%%/classes/Cache
- at dir %%WWWDIR%%/classes
- at dir %%WWWDIR%%
- at owner
- at group
+ at dir(%%WWWOWN%%,%%WWWGROUP%%,700) %%WWWDIR%%/data/tv_icons
+ at dir(%%WWWOWN%%,%%WWWGROUP%%,700) %%WWWDIR%%/data/cache
+ at dir(%%WWWOWN%%,%%WWWGROUP%%,700) %%WWWDIR%%/data


More information about the svn-ports-head mailing list