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

Package dnst as DEB & RPM packages, and Docker images. #22

Draft
wants to merge 25 commits into
base: use-domain-nsec3-support
Choose a base branch
from

Conversation

ximon18
Copy link
Member

@ximon18 ximon18 commented Nov 13, 2024

This PR creates DEB and RPM packages for installing dnst plus ldns-xxx symbolic links. It also creates a dnst Docker image (it does not attempt to support ldns-xxx commands).

Ideally the DEB and RPM packages would either hard conflict with an existing ldns(-)utils installed package (the naming differs slightly between DEB and RPM at least in Ubuntu and Fedora repositories) or would obsolete/replace an existing ldns(-)utils installed package. For DEBs this seems to be doable, but for RPMs the support for handling upgrades is less "smart" and requires %posttrans support which Ploutos lacks (as the version of cargo-generate-rpm that it uses lacks the support, though newer (compatible with Ploutos?) cargo-generate-rpm does support it).

Relevant background info:

Example output: https://github.com/NLnetLabs/dnst/actions/runs/11833713033

Note that man pages are not included properly yet because I am interested in using Ploutos to help with that.

ximon18 added a commit that referenced this pull request Nov 13, 2024
To cause GH to enable the pkg workflow so that it can be further developed and tested in PR #22.
…utils package happens (with RPMs) after install of dnst, so dnst install failts to create sym links.
@ximon18 ximon18 changed the title Initial packaging attempt. Package dnst for DEB, RPM and Docker audiences. Nov 14, 2024
@ximon18 ximon18 changed the title Package dnst for DEB, RPM and Docker audiences. Package dnst as DEB & RPM packages, and as a Docker image. Nov 14, 2024
@ximon18 ximon18 changed the title Package dnst as DEB & RPM packages, and as a Docker image. Package dnst as DEB & RPM packages, and Docker images. Nov 14, 2024
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

Successfully merging this pull request may close these issues.

1 participant