You are not logged in.
Hi there,
I have a private repository with a few packages, created by myself and from some AUR packages. Some of those packages contain stuff that I'm not allowed to redistribute (e.g. microsoft fonts and so on). I always want to be able to access this repo, but I'd like to have some kind of authentication in front of it. Obviously pacman doesn't support that. I can't solve this with firewall rules (or ACL in nginx/apache) cause I have a dynamic IP-address. I also don't want to rely on a VPN if possible (maybe in future I need packages from this repo, before I can set up the VPN).
Is there an elegant way to solve this problem?
Thank you in advance!
PS: I don't know if this is the right place for this, but I hope so.
Last edited by mindless_canary (2022-04-26 09:45:54)
Offline
This is, why I have two repos. One public and one private.
I use plain HTTP authentication to protect the latter for the same legal reasons.
You can configure this in your pacman.conf like so:
[rne-prop]
Server = https://user:password@srv.richard-neumann.de/prop/repo
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
Thank you for your quick answer!
That's exactly what I was looking for
Offline