FreeBSD Bugzilla – Attachment 143259 Details for
Bug 190435
[patch] Add staging support to www/sit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.46 KB, created by
joe
on 2014-05-31 00:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
joe
Created:
2014-05-31 00:20:00 UTC
Size:
1.46 KB
patch
obsolete
>diff --git a/www/sit/Makefile b/www/sit/Makefile >index 6ed5bd2..7fa1593 100644 >--- a/www/sit/Makefile >+++ b/www/sit/Makefile >@@ -25,7 +25,6 @@ OPTIONS_DEFAULT= IMAP MBSTRING > IMAP_DESC= Email Support > MBSTRING_DESC= Inbound email feature > >-NO_STAGE= yes > .include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MIMAP} >@@ -41,17 +40,11 @@ USE_PHP+= ldap > .endif > > do-install: >- ${MKDIR} ${WWWDIR} >+ ${MKDIR} ${STAGEDIR}${WWWDIR} > cd ${WRKSRC}; ${FIND} . \ >- | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR} >- ${CHMOD} -R ${BINMODE} ${WWWDIR} >- ${FIND} ${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE} >- >+ | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} >+ ${CHMOD} -R ${BINMODE} ${STAGEDIR}${WWWDIR} >+ ${FIND} ${STAGEDIR}${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE} > @${CAT} ${PKGMESSAGE} > >-post-install: >- @if [ -f ${WWWDIR}/config.inc.php ]; then \ >- ${CP} -p ${WWWDIR}/config.inc.php ${WWWDIR}/config.inc.php.bak ; \ >- fi >- > .include <bsd.port.mk> >diff --git a/www/sit/pkg-plist b/www/sit/pkg-plist >index 78b45a7..139a55a 100644 >--- a/www/sit/pkg-plist >+++ b/www/sit/pkg-plist >@@ -34,7 +34,9 @@ > %%WWWDIR%%/calendar/week_planner.js.php > %%WWWDIR%%/calendar/year.inc.php > %%WWWDIR%%/chart.php >+@unexec if cmp -s %D/%%WWWDIR%%/config.inc.php %D/%%WWWDIR%%/config.inc-dist.php; then rm -f %D/%%WWWDIR%%/config.inc.php; fi > %%WWWDIR%%/config.inc-dist.php >+@exec cp -n %D/%F %B/config.inc.php > %%WWWDIR%%/config.php > %%WWWDIR%%/contact_add.php > %%WWWDIR%%/contact_delete.php
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 190435
: 143259