Spec files and build infrastucture for building Suricata RPMs.
Building these RPMs requires a recent Fedora or EL release with the following packages installed:
- copr
- mock
This target will build RPMs for all currently supported distributions using Mock.
Builds the RPM locally with rpmbuild. This does require that all the dependencies are installed.
Build for a specific distribution supported by Mock. For example:
make epel-7-x86_64
Upload SRPM to the testing project on COPR.
By default this is: @oisf/suricata-${VERSION}-testing
Upload SRPM to the release project on COPR.
By default this is: @oisf/suricata-${VERSION}
Given an update from version 7.0.5 to 7.0.6, the process of an update might look like (note all commands are to be run in the directory corresponding to the version being updated):
- Edit
7.0/suricata.spec
- Update
Version
to7.0.6
- If
Release
is different than1%{?dist}
, change it back to1%{?dist}
- Add a new entry to the top of the
%changelog
section
- Update
- Run:
make update-sources
- This will download the new release file and generate checksums for it
- Push to testing COPR project:
make copr-testing
- Monitor the build at https://copr.fedorainfracloud.org/coprs/g/oisf/suricata-7.0-testing/monitor/
- If successful, push to the COPR release repo:
make copr-build