FreeBSD Bugzilla – Attachment 143143 Details for
Bug 190293
[patch] Add staging support to www/ojs2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.68 KB, created by
joe
on 2014-05-27 00:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
joe
Created:
2014-05-27 00:50:00 UTC
Size:
2.68 KB
patch
obsolete
>diff --git a/www/ojs2/Makefile b/www/ojs2/Makefile >index 023fdd3..d187944 100644 >--- a/www/ojs2/Makefile >+++ b/www/ojs2/Makefile >@@ -27,7 +27,6 @@ OPTIONS_DEFAULT= MYSQL LDAP > MEMCACHE_DESC= memcached cache system > DB_DESC= DB backend > >-NO_STAGE= yes > pre-install:: > @${ECHO_MSG} "======================================================================" > @${ECHO_MSG} "If you are upgrading please refer to docs/UPGRADE or browse to" >@@ -71,24 +70,25 @@ PLIST_SUB+= ECHO_MSG=${ECHO_MSG} > SUB_FILES= pkg-deinstall > > do-install: >- @cd ${WRKSRC} && ${COPYTREE_SHARE} "${NONDOCS}" ${WWWDIR} >- @cd ${WRKSRC} && ${CP} config.inc.php ${WWWDIR}/config.inc.php.sample >- @${INSTALL} -d ${WWWDIR}/cache/_db >- @${INSTALL} -d ${WWWDIR}/cache/t_cache >- @${INSTALL} -d ${WWWDIR}/cache/t_compile >- @${INSTALL} -d ${WWWDIR}/cache/t_config >- @${INSTALL} -d ${WWWDIR}/locale/en_US/images >- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} >+ @cd ${WRKSRC} && ${COPYTREE_SHARE} "${NONDOCS}" ${STAGEDIR}${WWWDIR} >+ @cd ${WRKSRC} && ${CP} config.inc.php ${STAGEDIR}${WWWDIR}/config.inc.php.sample >+ ${RM} ${STAGEDIR}${WWWDIR}/config.inc.php >+ @${INSTALL} -d ${STAGEDIR}${WWWDIR}/cache/_db >+ @${INSTALL} -d ${STAGEDIR}${WWWDIR}/cache/t_cache >+ @${INSTALL} -d ${STAGEDIR}${WWWDIR}/cache/t_compile >+ @${INSTALL} -d ${STAGEDIR}${WWWDIR}/cache/t_config >+ @${INSTALL} -d ${STAGEDIR}${WWWDIR}/locale/en_US/images >+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} > @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ > ${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST} >- @${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 >+ @${FIND} ${STAGEDIR}${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 > @${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type f -print0 | \ > ${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST} >- @${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 >+ @${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 > @${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type d -print0 | \ > ${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST} > .if ${PORT_OPTIONS:MDOCS} >- @cd ${WRKSRC}/${DOCS} && ${COPYTREE_SHARE} . ${DOCSDIR} >+ @cd ${WRKSRC}/${DOCS} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} > .endif > > post-install: >diff --git a/www/ojs2/pkg-plist b/www/ojs2/pkg-plist >index 7c6b000..272fdeb 100644 >--- a/www/ojs2/pkg-plist >+++ b/www/ojs2/pkg-plist >@@ -3204,6 +3204,11 @@ > %%WWWDIR%%/tools/rebuildSearchIndex.php > %%WWWDIR%%/tools/runScheduledTasks.php > %%WWWDIR%%/tools/upgrade.php >+%%WWWDIR%%/cache/fc-locale-list.php >+@dirrmtry %%WWWDIR%%/cache/_db >+@dirrmtry %%WWWDIR%%/cache/t_cache >+@dirrmtry %%WWWDIR%%/cache/t_compile >+@dirrmtry %%WWWDIR%%/cache/t_config > @dirrm %%WWWDIR%%/tools/includes > @dirrm %%WWWDIR%%/tools > @dirrm %%WWWDIR%%/templates/user
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
Actions:
View
|
Diff
Attachments on
bug 190293
: 143143