infinityofspace / certbot_dns_duckdns

Plugin for certbot for a DNS-01 challenge with a DuckDNS domain.
MIT License
76 stars 17 forks source link

[Enhancement]: Binary package for platforms that cannot install via pip/snap/docker #142

Closed planetbrian closed 3 months ago

planetbrian commented 3 months ago

Problem description

Hello,

I am running a webserver on Debian 12 (armel) and I cannot install this plug-in via pip. As this project lists certbot as a required package, it attempts to install cryptography as well. Unfortunately, I am required to compile it (no wheels for armel), but the Debian repos do not have the minimum required Rust compiler version to proceed. No luck with rustup either.

TLDR: uncommon hardware architecture leaves me unable to install via pip (and snap and docker).

Based on my cursory exploration in the requirements.txt file in this repository and the Debian package repos, I can install all the required packages to use this plug-in via apt (similar to the official ones like certbot-dns-cloudflare). Would it be a hassle to automate the creation of these packages? If not, is it feasible to create a 'debian' directory with the neccessary files to produce a .deb using dpkg-buildpackage?

Thanks, Brian

Solution description

No response

Checklist

planetbrian commented 3 months ago

Realized I didn't have to jump through all those hoops; using --break-system-packages (as threatening as it may seem) was enough to install it in .local/lib/python3.11/site-packages