Lines 25-30
Link Here
|
25 |
HIAWATHA "Use Hiawatha for web interface" Off \ |
25 |
HIAWATHA "Use Hiawatha for web interface" Off \ |
26 |
LIGHTTPD "Use LightHTTPD for web interface" Off \ |
26 |
LIGHTTPD "Use LightHTTPD for web interface" Off \ |
27 |
CHECK_FOR_ROOT "Check if ./tc is run by uid 0" On \ |
27 |
CHECK_FOR_ROOT "Check if ./tc is run by uid 0" On \ |
|
|
28 |
HIDE_PHP "Hide index.php in webui templates" off \ |
29 |
HIDE_MARKUP "Hide display_markup_log action" off \ |
28 |
LSOF "For killMountProcesses() when using nullfs" On |
30 |
LSOF "For killMountProcesses() when using nullfs" On |
29 |
|
31 |
|
30 |
NO_BUILD= yes |
32 |
NO_BUILD= yes |
Lines 102-107
Link Here
|
102 |
.endif |
104 |
.endif |
103 |
${REINPLACE_CMD} -e 's/.set_rcvar./tinderd_enable/' \ |
105 |
${REINPLACE_CMD} -e 's/.set_rcvar./tinderd_enable/' \ |
104 |
${WRKSRC}/etc/rc.d/tinderd |
106 |
${WRKSRC}/etc/rc.d/tinderd |
|
|
107 |
.if defined(WITH_WEBUI) |
108 |
.if defined(WITH_HIDE_PHP) |
109 |
@${REINPLACE_CMD} -e 's#index.php\?#\?#g' -e 's#index.php#\?#g' ${WRKSRC}/webui/templates/*/*.tpl |
110 |
.endif |
111 |
.if defined(WITH_HIDE_MARKUP) |
112 |
@${REINPLACE_CMD} -e 's#<a href="[^"]*">markup</a>#markup#g' -e 's#>markup_log.*;#>markup_log(-1,-1)#g' \ |
113 |
${WRKSRC}/webui/templates/*/*.tpl ${WRKSRC}/webui/index.php |
114 |
.endif |
115 |
.endif |
105 |
@cd ${WRKSRC} && ${FIND} -E . -regex '.*(orig|bak)' -exec ${RM} {} \; |
116 |
@cd ${WRKSRC} && ${FIND} -E . -regex '.*(orig|bak)' -exec ${RM} {} \; |
106 |
|
117 |
|
107 |
do-install: |
118 |
do-install: |