diff --git a/.github/workflows/make-rpms.yml b/.github/workflows/make-rpms.yml new file mode 100644 index 0000000..e53883f --- /dev/null +++ b/.github/workflows/make-rpms.yml @@ -0,0 +1,57 @@ +name: Make RPMs +on: + push: + branches: + - master + - main + pull_request: +jobs: + make-rpm: + runs-on: ubuntu-22.04 + env: + dest_id: core + docker_image: ghcr.io/nethserver/makerpms:7 + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + ref: ${{ github.head_ref }} + - name: Generate .env file + run: | + cat > .env < - EVARS=" - -e DEST_ID - -e TRAVIS_BRANCH - -e TRAVIS_BUILD_ID - -e TRAVIS_PULL_REQUEST_BRANCH - -e TRAVIS_PULL_REQUEST - -e TRAVIS_REPO_SLUG - -e TRAVIS_TAG - -e NSVER - -e VERSIONS_PACK - -e STAGES_PACK - -e UPLOAD_DEST - " - -script: > - docker run -ti --name makerpms ${EVARS} - --hostname b${TRAVIS_BUILD_NUMBER}.nethserver.org - --volume $PWD:/srv/makerpms/src:ro ${DOCKER_IMAGE} makerpms-travis -s *.spec - && docker commit makerpms nethserver/build - && docker run -ti ${EVARS} - -e SECRET - -e SECRET_URL - -e AUTOBUILD_SECRET - -e AUTOBUILD_SECRET_URL - nethserver/build uploadrpms-travis diff --git a/root/etc/e-smith/templates/etc/pulledpork/pulledpork.conf/20options b/root/etc/e-smith/templates/etc/pulledpork/pulledpork.conf/20options index a84e510..0a08136 100644 --- a/root/etc/e-smith/templates/etc/pulledpork/pulledpork.conf/20options +++ b/root/etc/e-smith/templates/etc/pulledpork/pulledpork.conf/20options @@ -152,7 +152,7 @@ IPRVersion=/etc/suricata/rules/iplists # This value MUST contain all 4 minor version # numbers. ET rules are now also dependant on this, verify supported ET versions # prior to simply throwing rubbish in this variable kthx! -snort_version=suricata-4.0 +snort_version=suricata-5.0 # Here you can specify what rule modification files to run automatically. # simply uncomment and specify the apt path.