FreeBSD Bugzilla – Attachment 161171 Details for
Bug 203196
devel/flyspray: modernize vardir handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
flyspray.patch (text/plain), 2.49 KB, created by
Dmitry Marakasov
on 2015-09-18 17:37:16 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-09-18 17:37:16 UTC
Size:
2.49 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 396681) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= flyspray > PORTVERSION= 0.9.9.7 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= devel www > MASTER_SITES= http://flyspray.org/ > >@@ -17,6 +17,7 @@ > WANT_PHP_WEB= yes > > NO_BUILD= yes >+NO_ARCH= yes > NO_WRKSUBDIR= yes > > DOS2UNIX_REGEX= .php >@@ -24,6 +25,8 @@ > OPTIONS_DEFINE= GRAPHVIZ MYSQL MYSQLI PGSQL DOCS > OPTIONS_DEFAULT= MYSQLI > >+DOCS_SUB_FILES= pkg-message >+ > MYSQLI_DESC= Use MySQLi Database Interface > > FLYSPRAYDIR= ${PREFIX}/share/${PORTNAME} >@@ -44,15 +47,7 @@ > includes index.php javascript lang plugins robots.txt \ > schedule.php scripts setup templates themes > >-SUB_FILES+= pkg-message pkg-install >-SUB_LIST+= FLYSPRAYDIR="${FLYSPRAYDIR}" \ >- ATTACHMENTDIR="${ATTACHMENTDIR}" \ >- MKDIR="${MKDIR}" \ >- CHOWN="${CHOWN}" \ >- CHMOD="${CHMOD}" \ >- WWWGRP="${WWWGRP}" \ >- WWWOWN="${WWWOWN}" >-PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} >+PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} > > MYSQL_USE= PHP=mysql > MYSQLI_USE= PHP=mysqli >@@ -78,6 +73,9 @@ > (cd ${FSINSTALLDIR} && ${TAR} -xf -) > ${LN} -sf ${ATTACHMENTDIR} ${FSINSTALLDIR}/attachments > ${LN} -sf ${PREFIX}/share/adodb ${FSINSTALLDIR} >+ ${MKDIR} ${STAGEDIR}${ATTACHMENTDIR} >+ >+do-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > .for file in ${DOC_FILES} > @${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR} >Index: files/pkg-install.in >=================================================================== >--- files/pkg-install.in (revision 396681) >+++ files/pkg-install.in (working copy) >@@ -1,13 +0,0 @@ >-#!/bin/sh >-# >-# $FreeBSD$ >- >-case $2 in >- POST-INSTALL) >- if [ ! -d %%ATTACHMENTDIR%% ]; then >- %%MKDIR%% %%ATTACHMENTDIR%% >- fi >- %%CHMOD%% 750 %%ATTACHMENTDIR%% >- %%CHOWN%% %%WWWOWN%%:%%WWWGRP%% %%ATTACHMENTDIR%% >- ;; >-esac >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 396681) >+++ pkg-plist (working copy) >@@ -851,3 +851,11 @@ > %%PORTDOCS%%%%DOCSDIR%%/NuvolaIcons.licence.txt > %%PORTDOCS%%%%DOCSDIR%%/jsCalendar.licence.txt > %%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD >+@dir %%DATADIR%%/themes/CleanFS/mime/video >+@dir %%DATADIR%%/themes/CleanFS/mime/image >+@dir %%DATADIR%%/themes/CleanFS/mime/audio >+@dir %%DATADIR%%/themes/Bluey/mime/video >+@dir %%DATADIR%%/themes/Bluey/mime/image >+@dir %%DATADIR%%/themes/Bluey/mime/audio >+@dir(%%WWWOWN%%,%%WWWGRP%%,750) /var/db/flyspray/attachments >+@dir /var/db/flyspray
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 203196
: 161171