Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

next/144/20231006/v1 #9575

Merged
merged 6 commits into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# Required by Read The Docs
version: 2

formats: all
build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
version: "3.8"
install:
- requirements: doc/userguide/requirements.txt

sphinx:
builder: html
configuration: doc/userguide/conf.py
fail_on_warning: false

# Use an empty install section to avoid RTD from picking up a non-python
# requirements.txt file.
install: []
formats: all
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Commits
* Description, wrapped at ~72 characters
#. Commits should be individually compilable, starting with the oldest commit. Make sure that
each commit can be built if it and the preceding commits in the PR are used.
#. Commits should be authored with the format: "FirstName LastName <name@example.com>"

Information that needs to be part of a commit (if applicable):

Expand Down
6 changes: 5 additions & 1 deletion doc/userguide/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -364,5 +364,9 @@ Suricata packages.
Advanced Installation
---------------------

Various installation guides for installing from GIT and for other operating systems are maintained at:
If you are using Ubuntu, you can follow
:doc:`devguide/codebase/installation-from-git`.

For other various installation guides for installing from GIT and for other operating
systems, please check (bear in mind that those may be somewhat outdated):
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Suricata_Installation
1 change: 1 addition & 0 deletions doc/userguide/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ It's assumed that you run a recent Ubuntu release as the official PPA can then
be used for the installation. To install the latest stable Suricata version, follow
the steps::

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:oisf/suricata-stable
sudo apt update
sudo apt install suricata jq
Expand Down
1 change: 1 addition & 0 deletions doc/userguide/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinx_rtd_theme
4 changes: 2 additions & 2 deletions rust/Cargo.lock.in

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/output-json-smtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static OutputInitResult OutputSmtpLogInitSub(ConfNode *conf, OutputCtx *parent_c
OutputInitResult result = { NULL, false };
OutputJsonCtx *ojc = parent_ctx->data;

OutputJsonEmailCtx *email_ctx = SCMalloc(sizeof(OutputJsonEmailCtx));
OutputJsonEmailCtx *email_ctx = SCCalloc(1, sizeof(OutputJsonEmailCtx));
if (unlikely(email_ctx == NULL))
return result;

Expand Down
Loading