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

Packaging fixes for Debian, clean deprecated buster from tests #2391

Merged
merged 6 commits into from
Sep 5, 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
2 changes: 1 addition & 1 deletion .github/workflows/ansible-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
path: ./src/intelmq-vagrant

- name: Run ansible tests
run: podman run -e CI=${CI} -v ${GITHUB_WORKSPACE}/src:/src docker.io/debian:buster-slim /src/intelmq/.github/workflows/scripts/ansible.sh
run: podman run -e CI=${CI} -v ${GITHUB_WORKSPACE}/src:/src docker.io/debian:bullseye-slim /src/intelmq/.github/workflows/scripts/ansible.sh
2 changes: 1 addition & 1 deletion .github/workflows/debian-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Build Debian packages
strategy:
matrix:
codename: ['buster', 'bullseye']
codename: ['bullseye', 'bookworm']

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts/debian-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -x
set -e

# A list of known Debian releases
knowncodenames=("stretch" "buster" "bullseye" "stable" "testing")
knowncodenames=("bullseye" "bookworm" "stable" "testing")

# We want exactly one argument: the name of the release
if (( $# != 1 ))
Expand Down
6 changes: 0 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,6 @@ This is short list of the most important known issues. The full list can be retr
- Corrupt dump files when interrupted during writing (#870).


3.0.2 (2021-09-10)
aaronkaplan marked this conversation as resolved.
Show resolved Hide resolved
------------------

### Core
- `intelmq.lib.bot.CollectorBot`: Fixed an issue with within the `new_report` function, which re-loads the harmonization file after a new incoming dataset, which leads to CPU drain and decreased performance (PR#2106 by Sebastian Waldbauer, fixes #2098).

3.1.0 (2023-02-10)
------------------

Expand Down
10 changes: 8 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
intelmq (3.2.2-1) UNRELEASED; urgency=medium

*
*

-- Sebastian Wagner <sebix@sebix.at> Mon, 28 Aug 2023 17:41:52 +0200
-- Sebastian Wagner <sebix@sebix.at> Tue, 05 Sep 2023 15:05:07 +0200

intelmq (3.2.1-2) stable; urgency=medium

* Fix build on Debian 12

-- Sebastian Wagner <sebix@sebix.at> Tue, 05 Sep 2023 15:04:36 +0200

intelmq (3.2.1-1) stable; urgency=medium

Expand Down
28 changes: 18 additions & 10 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
Source: intelmq
Maintainer: IntelMQ Team <intelmq-team@cert.at>
Maintainer: Institute for Common Good Technology <packaging@commongoodtechnology.org>
Section: python
Priority: optional
Build-Depends: debhelper (>= 4.1.16),
dh-python,
lsb-release,
python3-all,
python3-cerberus,
python3-dateutil,
python3-dnspython,
python3-psutil,
python3-redis,
python3-requests,
python3-dateutil (>= 2.5),
python3-dnspython (>= 2.0.0),
python3-psutil (>= 1.2.1),
python3-redis (>= 2.10),
python3-requests (>= 2.2.0),
python3-requests-mock,
python3-ruamel.yaml,
python3-setuptools,
python3-sphinx,
python3-sphinx-rtd-theme,
python3-termstyle,
python3-termstyle (>= 0.1.10),
python3-tz,
quilt,
rsync,
Expand All @@ -37,7 +37,7 @@ Depends: bash-completion,
python3-openssl,
python3-psutil (>= 1.2.1),
python3-redis (>= 2.10),
python3-requests (>= 2.2.1),
python3-requests (>= 2.2.0),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the downgrade?

Copy link
Member

@sebix sebix Jul 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to align it with setup.py

python3-ruamel.yaml,
python3-termstyle (>= 0.1.10),
python3-tz,
Expand All @@ -48,9 +48,9 @@ Depends: bash-completion,
${python3:Depends}
Suggests: python3-geoip2 (>= 2.2.0),
python3-imbox (>= 0.8),
python3-psycopg2,
python3-psycopg2 (>= 2.5.5),
python3-pyasn (>= 1.5.0),
python3-pymongo,
python3-pymongo (>= 2.7.1),
python3-sleekxmpp (>= 1.3.1),
python3-stomp.py (>= 4.1.9)
Description: Solution for IT security teams for collecting and processing security feeds
Expand All @@ -61,3 +61,11 @@ Description: Solution for IT security teams for collecting and processing securi
designed by European CERTs/CSIRTs during several InfoSec events. Its main goal
is to give to incident responders an easy way to collect & process threat
intelligence thus improving the incident handling processes of CERTs.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ override_dh_auto_install: $(BOTDOCS)
rm intelmq/bin/rewrite_config_files.py
sed -i -e '/#!\/usr\/bin\//d' intelmq/bin/*.py
sed -i -f debian/sedfile intelmq/etc/* docs/user/intelmqctl.rst docs/user/bots.rst setup.py contrib/logrotate/intelmq contrib/logcheck/logcheck.logfiles
python3 setup.py install --root=debian/intelmq --prefix=/usr
dh_auto_install
# create directories
mkdir -p debian/intelmq/var/log/intelmq
mkdir -p debian/intelmq/var/lib/intelmq/bots/file-output
Expand Down
2 changes: 1 addition & 1 deletion docs/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The following instructions assume the following requirements. Python versions >=

Supported and recommended operating systems are:

* Debian 10 Buster, Debian 11 Bullseye, Debian 12 Bookworm
* Debian Debian 11 Bullseye, Debian 12 Bookworm
* openSUSE Tumbleweed, Leap 15.5
* Ubuntu: 20.04 Focal, 22.04 Jammy
* For the Docker-installation: Docker Engine: 18.x and higher
Expand Down
4 changes: 0 additions & 4 deletions intelmq/bots/collectors/github_api/REQUIREMENTS.txt

This file was deleted.

Loading