FreeBSD Bugzilla – Attachment 168664 Details for
Bug 208315
[NEW PORT] multimedia/plexwatch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
plexwatch.diff
plexwatch.diff (text/plain), 6.55 KB, created by
Ultima
on 2016-03-26 22:17:30 UTC
(
hide
)
Description:
plexwatch.diff
Filename:
MIME Type:
Creator:
Ultima
Created:
2016-03-26 22:17:30 UTC
Size:
6.55 KB
patch
obsolete
>Index: multimedia/Makefile >=================================================================== >--- multimedia/Makefile (revision 411957) >+++ multimedia/Makefile (working copy) >@@ -302,6 +302,7 @@ > SUBDIR += plexmediaserver > SUBDIR += plexmediaserver-plexpass > SUBDIR += plexpy >+ SUBDIR += plexwatch > SUBDIR += podcastdl > SUBDIR += poe > SUBDIR += ppm2fli >Index: multimedia/plexwatch/Makefile >=================================================================== >--- multimedia/plexwatch/Makefile (nonexistent) >+++ multimedia/plexwatch/Makefile (working copy) >@@ -0,0 +1,53 @@ >+# Created by: ultima <ultima1252@gmail.com> >+# $FreeBSD$ >+ >+PORTNAME= plexWatch >+PORTVERSION= 0.3.3 >+DISTVERSIONPREFIX= v >+CATEGORIES= multimedia >+ >+MAINTAINER= ultima1252@gmail.com >+COMMENT= Notify, Log Now Playing and Watched content from a Plex Media Server >+ >+RUN_DEPENDS= libwww>=0:${PORTSDIR}/www/libwww \ >+ p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \ >+ p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \ >+ p5-Time-Duration>=0:${PORTSDIR}/devel/p5-Time-Duration \ >+ p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules \ >+ p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ >+ p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite >+ >+USES= perl5 shebangfix >+SHEBANG_FILES= plexWatch.pl >+ >+USE_GITHUB= yes >+GH_ACCOUNT= ljunkie >+NO_BUILD= yes >+ >+OPTIONS_DEFINE= EMAIL GNTP IPLOG TWITTER >+OPTIONS_DEFAULT= >+ >+EMAIL_RUN_DEPENDS= p5-Net-SMTPS>=0:${PORTSDIR}/mail/p5-Net-SMTPS >+EMAIL_DESC= Email support >+ >+GNTP_RUN_DEPENDS= p5-Growl-GNTP>=0:${PORTSDIR}/net/p5-Growl-GNTP >+GNTP_DESC= Growl GNTP support >+ >+IPLOG_RUN_DEPENDS= p5-File-ReadBackwards>=0:${PORTSDIR}/devel/p5-File-ReadBackwards >+IPLOG_DESC= Client IP logging support >+ >+TWITTER_RUN_DEPENDS= p5-Net-Twitter-Lite>=0:${PORTSDIR}/net/p5-Net-Twitter-Lite \ >+ p5-Net-OAuth>=0:${PORTSDIR}/net/p5-Net-OAuth >+TWITTER_DESC= Twitter support >+ >+post-patch: >+ ${REINPLACE_CMD} "s|%%ETCDIR%%|${ETCDIR}|" ${WRKSRC}/plexWatch.pl >+ ${REINPLACE_CMD} "s|/opt/plexWatch|${DATADIR}|" ${WRKSRC}/config.pl-dist >+ >+do-install: >+ ${MKDIR} ${STAGEDIR}${ETCDIR} >+ ${MKDIR} -m 777 ${STAGEDIR}${DATADIR} >+ ${INSTALL_SCRIPT} ${WRKSRC}/plexWatch.pl ${STAGEDIR}${PREFIX}/sbin/ >+ ${INSTALL_DATA} ${WRKSRC}/config.pl-dist ${STAGEDIR}${ETCDIR}/ >+ >+.include <bsd.port.mk> > >Property changes on: multimedia/plexwatch/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: multimedia/plexwatch/distinfo >=================================================================== >--- multimedia/plexwatch/distinfo (nonexistent) >+++ multimedia/plexwatch/distinfo (working copy) >@@ -0,0 +1,2 @@ >+SHA256 (ljunkie-plexWatch-v0.3.3_GH0.tar.gz) = 15cb0eb9f7376ae2f409e9dbb6fa5c5bb5d3549c69fe1e36e48ac016a81c38d4 >+SIZE (ljunkie-plexWatch-v0.3.3_GH0.tar.gz) = 6521319 > >Property changes on: multimedia/plexwatch/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: multimedia/plexwatch/files/patch-plexWatch.pl >=================================================================== >--- multimedia/plexwatch/files/patch-plexWatch.pl (nonexistent) >+++ multimedia/plexwatch/files/patch-plexWatch.pl (working copy) >@@ -0,0 +1,21 @@ >+--- plexWatch.pl.orig 2016-03-26 19:12:31 UTC >++++ plexWatch.pl >+@@ -42,15 +42,14 @@ if ($^O ne 'MSWin32') { >+ ## end >+ >+ ## load config file >+-my $dirname = dirname(__FILE__); >+-if (!-e $dirname .'/config.pl') { >+- my $msg = "** missing file $dirname/config.pl. Did you move edit config.pl-dist and copy to config.pl?"; >++if (!-e '%%ETCDIR%%/config.pl') { >++ my $msg = "** missing file %%ETCDIR%%/config.pl. Did you move edit config.pl-dist and copy to config.pl?"; >+ &DebugLog($msg,1) if $msg; >+ exit; >+ } >+ our ($data_dir, $server, $port, $appname, $user_display, $alert_format, $notify, $push_titles, $backup_opts, $myPlex_user, $myPlex_pass, $server_log, $log_client_ip, $debug_logging, $watched_show_completed, $watched_grouping_maxhr, $count_paused, $inc_non_library_content, @exclude_library_ids); >+ my @config_vars = ("data_dir", "server", "port", "appname", "user_display", "alert_format", "notify", "push_titles", "backup_opts", "myPlex_user", "myPlex_pass", "server_log", "log_client_ip", "debug_logging", "watched_show_completed", "watched_grouping_maxhr", "count_paused", "exclude_library_ids"); >+-do $dirname.'/config.pl'; >++do '%%ETCDIR%%/config.pl'; >+ >+ if (!$data_dir || !$server || !$port || !$appname || !$alert_format || !$notify) { >+ ## TODO - make this information a little more useful! > >Property changes on: multimedia/plexwatch/files/patch-plexWatch.pl >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: multimedia/plexwatch/pkg-descr >=================================================================== >--- multimedia/plexwatch/pkg-descr (nonexistent) >+++ multimedia/plexwatch/pkg-descr (working copy) >@@ -0,0 +1,4 @@ >+Notify and Log 'Now Playing' and 'Watched' content from a Plex Media Server >++ 'Recently Added' (...and more) >+ >+WWW: https://github.com/ljunkie/plexWatch > >Property changes on: multimedia/plexwatch/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: multimedia/plexwatch/pkg-plist >=================================================================== >--- multimedia/plexwatch/pkg-plist (nonexistent) >+++ multimedia/plexwatch/pkg-plist (working copy) >@@ -0,0 +1,3 @@ >+%%ETCDIR%%/config.pl-dist >+sbin/plexWatch.pl >+@dir %%DATADIR%% > >Property changes on: multimedia/plexwatch/pkg-plist >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
Ultima1252
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 208315
:
168664
|
168694