suricata-update: Initial commit#15367
Conversation
| @@ -0,0 +1,4 @@ | |||
| #!/bin/sh /etc/rc.common | |||
| /usr/bin/python3 -m pip install --upgrade pip | |||
There was a problem hiding this comment.
It ensures pip3 is up to date, since it's currently outdated in master. Not a great idea?
The other obvious option is to update the pip package, but to be honest, the python package scares me
|
The whole thing is ludicrous, but pip provides suricata-update, but I need
to get the config and init.d files to the device. I am still working on
trying to get Package/postinst to work.
So... Suggestions?
…On Thu, Apr 8, 2021 at 2:20 AM Rosen Penev ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In net/suricata-update/files/install_suricata_update
<#15367 (comment)>:
> @@ -0,0 +1,4 @@
+#!/bin/sh /etc/rc.common
+/usr/bin/python3 -m pip install --upgrade pip
uhhhh what?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#15367 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBY6JR3GV3RVVCHWIHP7HTTHVDJFANCNFSM42SFGAIQ>
.
|
|
ping @jefferyto |
3eb9cbb to
b98043b
Compare
|
There are lots of Python program packages in the repo, e.g. youtube-dl, docker-compose, etc. If you search for "python3-package.mk" in the repo you will find many other examples. I suggest you take one of these makefiles as a template. The Python packages folder readme also has a section on building a Python package which explains most (if not all) of the various Python package variables. If you run into any problems writing a Python package makefile, there are lots of folks here who can help, but I'm afraid your |
I absolutely agree. What I have been playing with is simply a file check on the suricata-update command as part of the init.d service and calling I'll get a push up eventually and see if that isn't more acceptable. Until I get rust in, it's pretty much a moot point though. It's still all a WIP. |
b98043b to
fa3acc6
Compare
Provide the framework for Suricata-update Signed-off-by: Donald Hoskins <grommish@gmail.com>
fa3acc6 to
88da016
Compare
|
Closing, OP is inactive. |
Provide the framework for Suricata-update
Signed-off-by: Donald Hoskins grommish@gmail.com
Maintainer: me
Compile tested: (put here arch, model, OpenWrt version)
Run tested: (put here arch, model, OpenWrt version, tests done)
Description:
Suricata-update framework, uci config and init.d service entry.
Requires Suricata6