FreeBSD Bugzilla – Attachment 124127 Details for
Bug 167601
[patch] ports-mgmt/tinderbox: Allow masking of PHP use and display_markup_log action
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ports-mgmt-tinderbox-WITH_HIDE_PHP.diff
ports-mgmt-tinderbox-WITH_HIDE_PHP.diff (text/plain), 1.15 KB, created by
jarrod
on 2012-05-05 04:30:08 UTC
(
hide
)
Description:
ports-mgmt-tinderbox-WITH_HIDE_PHP.diff
Filename:
MIME Type:
Creator:
jarrod
Created:
2012-05-05 04:30:08 UTC
Size:
1.15 KB
patch
obsolete
>diff -ruN ports/ports-mgmt/tinderbox.orig/Makefile ports/ports-mgmt/tinderbox/Makefile >--- ports/ports-mgmt/tinderbox.orig/Makefile 2012-01-15 02:46:08.000000000 +1030 >+++ ports/ports-mgmt/tinderbox/Makefile 2012-05-05 12:07:15.000000000 +0930 >@@ -25,6 +25,8 @@ > HIAWATHA "Use Hiawatha for web interface" Off \ > LIGHTTPD "Use LightHTTPD for web interface" Off \ > CHECK_FOR_ROOT "Check if ./tc is run by uid 0" On \ >+ HIDE_PHP "Hide index.php in webui templates" off \ >+ HIDE_MARKUP "Hide display_markup_log action" off \ > LSOF "For killMountProcesses() when using nullfs" On > > NO_BUILD= yes >@@ -102,6 +104,15 @@ > .endif > ${REINPLACE_CMD} -e 's/.set_rcvar./tinderd_enable/' \ > ${WRKSRC}/etc/rc.d/tinderd >+.if defined(WITH_WEBUI) >+.if defined(WITH_HIDE_PHP) >+ @${REINPLACE_CMD} -e 's#index.php\?#\?#g' -e 's#index.php#\?#g' ${WRKSRC}/webui/templates/*/*.tpl >+.endif >+.if defined(WITH_HIDE_MARKUP) >+ @${REINPLACE_CMD} -e 's#<a href="[^"]*">markup</a>#markup#g' -e 's#>markup_log.*;#>markup_log(-1,-1)#g' \ >+ ${WRKSRC}/webui/templates/*/*.tpl ${WRKSRC}/webui/index.php >+.endif >+.endif > @cd ${WRKSRC} && ${FIND} -E . -regex '.*(orig|bak)' -exec ${RM} {} \; > > do-install:
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 167601
: 124127