FreeBSD Bugzilla – Attachment 161828 Details for
Bug 203287
security/maia: fix permissions handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to remove CHOWN in Makefile and adjust permissions in www dir.
maia_1.0.4-rev1-port.diff (text/plain), 3.34 KB, created by
ek
on 2015-10-08 14:40:22 UTC
(
hide
)
Description:
Patch to remove CHOWN in Makefile and adjust permissions in www dir.
Filename:
MIME Type:
Creator:
ek
Created:
2015-10-08 14:40:22 UTC
Size:
3.34 KB
patch
obsolete
>diff -Naur maia.orig/Makefile maia/Makefile >--- maia.orig/Makefile 2015-03-29 02:41:53.000000000 -0600 >+++ maia/Makefile 2015-10-07 20:11:39.886813321 -0600 >@@ -3,6 +3,7 @@ > > PORTNAME= maia > DISTVERSION= 1.0.4 >+PORTREVISION= 1 > CATEGORIES= security > MASTER_SITES= http://www.purplehat.org/downloads/maia/ > >@@ -338,7 +339,6 @@ > do-install: > ${MKDIR} ${STAGEDIR}${WWWDIR} > @cd ${WRKSRC}/php && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} >- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/ > ${LN} -s ${PREFIX}/share/smarty ${STAGEDIR}${WWWDIR}/libs/Smarty > ${MKDIR} -p ${STAGEDIR}${DATADIR} > @cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/scripts >@@ -350,11 +350,10 @@ > ${INSTALL} -m 640 ${WRKSRC}/maiad.conf.dist ${STAGEDIR}${ETCDIR}/maiad.conf.dist > ${INSTALL} -m 640 ${WRKSRC}/maia.conf.dist ${STAGEDIR}${ETCDIR}/maia.conf.dist > >-.if ${PORT_OPTIONS:MDOCS} >+do-install-DOCS-on: > ${MKDIR} ${STAGEDIR}${DOCSDIR} > .for i in ${DOCS} > ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} > .endfor >-.endif > > .include <bsd.port.post.mk> >diff -Naur maia.orig/pkg-plist maia/pkg-plist >--- maia.orig/pkg-plist 2015-03-29 02:41:53.000000000 -0600 >+++ maia/pkg-plist 2015-10-07 20:07:22.337831783 -0600 >@@ -59,11 +59,7 @@ > %%WWWDIR%%/chart_rules.php > %%WWWDIR%%/chart_stats.php > %%WWWDIR%%/chart_virus.php >-@mode 640 >-@group %%WWWGRP%% >-%%WWWDIR%%/config.php.dist >-@group >-@mode >+@(%%WWWOWN%%,%%WWWGRP%%,640) %%WWWDIR%%/config.php.dist > %%WWWDIR%%/confirm.php > %%WWWDIR%%/constants.php > %%WWWDIR%%/core.php >@@ -909,7 +905,53 @@ > %%WWWDIR%%/ximpersonate.php > %%WWWDIR%%/xlogin.php > %%WWWDIR%%/xsettings.php >-@dir %%WWWDIR%%/themes/desert_sand/compiled >-@dir %%WWWDIR%%/themes/dgm/compiled >-@dir %%WWWDIR%%/themes/ocean_surf/compiled > @dir %%WWWDIR%%/web >+@dir %%WWWDIR%%/themes/ocean_surf/templates/settings >+@dir %%WWWDIR%%/themes/ocean_surf/templates >+@dir %%WWWDIR%%/themes/ocean_surf/javascript >+@dir %%WWWDIR%%/themes/ocean_surf/images >+@dir %%WWWDIR%%/themes/ocean_surf/css/images >+@dir %%WWWDIR%%/themes/ocean_surf/css >+@dir %%WWWDIR%%/themes/ocean_surf/compiled >+@dir %%WWWDIR%%/themes/ocean_surf/code >+@dir %%WWWDIR%%/themes/ocean_surf >+@dir %%WWWDIR%%/themes/dgm/templates >+@dir %%WWWDIR%%/themes/dgm/images >+@dir %%WWWDIR%%/themes/dgm/css >+@dir %%WWWDIR%%/themes/dgm/compiled >+@dir %%WWWDIR%%/themes/dgm/code >+@dir %%WWWDIR%%/themes/dgm >+@dir %%WWWDIR%%/themes/desert_sand/templates/welcome >+@dir %%WWWDIR%%/themes/desert_sand/templates/settings >+@dir %%WWWDIR%%/themes/desert_sand/templates >+@dir %%WWWDIR%%/themes/desert_sand/javascript >+@dir %%WWWDIR%%/themes/desert_sand/images >+@dir %%WWWDIR%%/themes/desert_sand/css/images >+@dir %%WWWDIR%%/themes/desert_sand/css >+@dir %%WWWDIR%%/themes/desert_sand/compiled >+@dir %%WWWDIR%%/themes/desert_sand/code >+@dir %%WWWDIR%%/themes/desert_sand >+@dir %%WWWDIR%%/themes >+@dir %%WWWDIR%%/overlib/mini >+@dir %%WWWDIR%%/overlib >+@dir %%WWWDIR%%/maia_db >+@dir %%WWWDIR%%/locale/sv >+@dir %%WWWDIR%%/locale/ru >+@dir %%WWWDIR%%/locale/pt >+@dir %%WWWDIR%%/locale/no >+@dir %%WWWDIR%%/locale/nl >+@dir %%WWWDIR%%/locale/it >+@dir %%WWWDIR%%/locale/hu >+@dir %%WWWDIR%%/locale/fr >+@dir %%WWWDIR%%/locale/en >+@dir %%WWWDIR%%/locale/de >+@dir %%WWWDIR%%/locale/da >+@dir %%WWWDIR%%/locale/cs >+@dir %%WWWDIR%%/libs/jquery/images >+@dir %%WWWDIR%%/libs/jquery >+@dir %%WWWDIR%%/libs >+@dir %%WWWDIR%%/images >+@dir %%WWWDIR%%/admin >+@dir %%WWWDIR%% >+@owner >+@group
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 203287
:
161309
| 161828