FreeBSD Bugzilla – Attachment 216631 Details for
Bug 247140
security/honeytrap: Add option to run service as root
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch 2
honeytrap-g20200415_1.diff (text/plain), 1.36 KB, created by
ezri.mudde
on 2020-07-21 15:09:09 UTC
(
hide
)
Description:
patch 2
Filename:
MIME Type:
Creator:
ezri.mudde
Created:
2020-07-21 15:09:09 UTC
Size:
1.36 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 542748) >+++ Makefile (working copy) >@@ -2,6 +2,7 @@ > > PORTNAME= honeytrap > DISTVERSION= g20200415 >+PORTREVISION= 1 > CATEGORIES= security > > MAINTAINER= remco.verhoef@dutchsec.com >Index: files/honeytrap.in >=================================================================== >--- files/honeytrap.in (revision 542748) >+++ files/honeytrap.in (working copy) >@@ -10,7 +10,7 @@ > # to enable this service: > # > # honeytrap_enable (bool): Set to NO by default. >-# Set it to YES to enable honeytrap. >+# Set it to YES to enable honeytrap. > # honeytrap_datadir (path): Set to %%PREFIX%%/libdata/honeytrap > # by default. > # honeytrap_config (path): Set to %%PREFIX%%/etc/honeytrap.toml >@@ -27,15 +27,7 @@ > : ${honeytrap_datadir="%%PREFIX%%/libdata/honeytrap"} > : ${honeytrap_config="%%PREFIX%%/etc/honeytrap.toml"} > >-start_cmd="${name}_start" >+command=%%PREFIX%%/bin/${name} >+command_args="--data ${honeytrap_datadir} --config ${honeytrap_config} >> /var/log/honeytrap/service.log 2>&1" > >-honeytrap_program="%%PREFIX%%/bin/honeytrap" >-honeytrap_flags="--data $honeytrap_datadir --config $honeytrap_config" >-pidfile=/var/run/${name}.pid >- >-honeytrap_start() >-{ >- daemon -o /var/log/honeytrap/service.log -p $pidfile -u $name $honeytrap_program $honeytrap_flags >-} >- > run_rc_command "$@"
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 247140
:
215417
|
216631
|
216661
|
216962
|
217154
|
217238
|
217239