FreeBSD Bugzilla – Attachment 145793 Details for
Bug 192646
[maintainer] security/bro: Add su flags so pkg initialization works
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for security/bro
patch2.txt (text/plain), 2.24 KB, created by
Craig Leres
on 2014-08-14 23:25:03 UTC
(
hide
)
Description:
patch for security/bro
Filename:
MIME Type:
Creator:
Craig Leres
Created:
2014-08-14 23:25:03 UTC
Size:
2.24 KB
patch
obsolete
>--- Makefile.orig 2014-08-13 19:56:50.000000000 -0700 >+++ Makefile 2014-08-14 16:02:30.000000000 -0700 >@@ -3,7 +3,7 @@ > > PORTNAME= bro > PORTVERSION= 2.3 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= security > MASTER_SITES= http://www.bro.org/downloads/release/ > >@@ -18,8 +18,7 @@ > > SUB_LIST+= PYTHON_CMD="${PYTHON_CMD}" > >-USES= cmake:outsource perl5 >-USE_PYTHON= yes >+USES= cmake:outsource perl5 python > > SUB_FILES= pkg-message > NO_MTREE= yes >@@ -140,11 +139,8 @@ > .endif > @${MKDIR} ${STAGEDIR}${PREFIX}/spool/installed-scripts-do-not-touch/auto > @${MKDIR} ${STAGEDIR}${PREFIX}/spool/installed-scripts-do-not-touch/site >-.for F in broctl.cfg >- @${INSTALL_DATA} ${INSTALL_WRKSRC}/aux/broctl/etc/${F} ${STAGEDIR}${PREFIX}/etc/${F}.example >-.endfor >-.for F in networks.cfg node.cfg >- @${MV} ${WRKSRC}/aux/broctl/etc/${F} ${STAGEDIR}${PREFIX}/etc/${F}.example >+.for F in broctl.cfg networks.cfg node.cfg >+ @${MV} ${STAGEDIR}${PREFIX}/etc/${F} ${STAGEDIR}${PREFIX}/etc/${F}.example > .endfor > .endif > >--- pkg-plist.orig 2014-08-13 19:56:50.000000000 -0700 >+++ pkg-plist 2014-08-13 19:57:04.000000000 -0700 >@@ -4,6 +4,7 @@ > %%BROCTL%%@exec mkdir -p %D/spool/tmp > %%BROCTL%%@exec chown %%BROUSER%%:%%BROGROUP%% %D/spool > %%BROCTL%%@exec chown %%BROUSER%%:%%BROGROUP%% %D/spool/tmp >+%%BROCTL%%@exec chown -R %%BROUSER%%:%%BROGROUP%% %D/spool/installed-scripts-do-not-touch > bin/bro > bin/bro-cut > %%BROCTL%%bin/broctl >@@ -454,11 +455,8 @@ > %%BROCTL%%@unexec rm -f %D/spool/installed-scripts-do-not-touch/site/local.bro > %%BROCTL%%@dirrmtry spool/tmp > %%BROCTL%%@dirrmtry spool/installed-scripts-do-not-touch/site >-%%BROCTL%%@dirrmtry spool/installed-scripts-do-not-touch/site >-%%BROCTL%%@dirrmtry spool/installed-scripts-do-not-touch/auto > %%BROCTL%%@dirrmtry spool/installed-scripts-do-not-touch/auto > %%BROCTL%%@dirrmtry spool/installed-scripts-do-not-touch >-%%BROCTL%%@dirrmtry spool/installed-scripts-do-not-touch > %%BROCTL%%@dirrmtry spool > %%BROCTL%%@dirrm %%DATADIR%%ctl/scripts/postprocessors > %%BROCTL%%@dirrm %%DATADIR%%ctl/scripts/helpers >@@ -560,4 +558,4 @@ > %%CLEANUP_PREFIX%%@dirrmtry etc > %%CLEANUP_PREFIX%%@dirrmtry bin > %%CLEANUP_PREFIX%%@dirrmtry %D >-%%BROCTL%%@exec su %%BROUSER%% -c '%D/bin/broctl install' >+%%BROCTL%%@exec su -fm %%BROUSER%% -c '%D/bin/broctl 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
Flags:
leres
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 192646
:
145764
| 145793