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 conmon for Dangerzone #1

Open
apyrgio opened this issue Jan 29, 2024 · 0 comments
Open

Packaging conmon for Dangerzone #1

apyrgio opened this issue Jan 29, 2024 · 0 comments

Comments

@apyrgio
Copy link
Collaborator

apyrgio commented Jan 29, 2024

Context

We need to package conmon because the current version in Ubuntu Jammy and Debian Bullseye (2.0.25) breaks when reading large binary data from the container's stdin. The version right after that (2.0.26) fixes it, so we believe it should be trivial to package it.

The Debian maintainers of the conmon package for Debian Bullseye are considering providing a fix (basically copy the patch from 2.0.26, see here). We can simply download their Debian package and ship it via our packages.freedom.press repo.

Acquire the package

Create a folder where the .deb file will be stored:

mkdir deb_dist

Start a Podman/Docker container for Debian Bullseye and mount that folder:

podman run -it --rm -v ./deb_dist:/deb_dist debian:bullseye bash

Within the container, grab the .deb file using dget:

cd /deb_dist
echo "deb http://deb.debian.org/debian/ oldstable-proposed-updates main" > /etc/apt/sources.list.d/oldstable-pu.list
apt update
apt install -y devscripts
dget conmon=2.0.25+ds1-1.1+deb11u1

The package should now be available in ./deb_dist/conmon_2.0.25+ds1-1.1+deb11u1_amd64.deb

Useful links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant