From 5629f35ecb7956b180364ebaf57e79f35885344e Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 3 Dec 2018 17:39:03 +0100 Subject: Add support for /etc/apt/auth.conf.d/*.conf (netrcparts) This allows us to install matching auth files for sources.list.d files, for example; very useful. This converts aptmethod's authfd from one FileFd to a vector of pointers to FileFd, as FileFd cannot be copied, and move operators are hard. (cherry picked from commit bbfcc05c1978decd28df9681fd73e2a7d9a8c2a5) LP: #1811120 --- doc/apt_auth.conf.5.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/apt_auth.conf.5.xml') diff --git a/doc/apt_auth.conf.5.xml b/doc/apt_auth.conf.5.xml index 37e4fbc98..26d14b8e8 100644 --- a/doc/apt_auth.conf.5.xml +++ b/doc/apt_auth.conf.5.xml @@ -36,7 +36,8 @@ needed to connect to a proxy or to download data from a repository on the other hand shouldn't always be accessible by everyone and can hence not be placed in a file with world-readable file permissions. -The APT auth.conf file /etc/apt/auth.conf can be used to store +The APT auth.conf file /etc/apt/auth.conf, and .conf files inside +/etc/apt/auth.conf.d can be used to store login information in a netrc-like format with restrictive file permissions. @@ -119,6 +120,10 @@ you need multiple they should all have a path specified in the Login information for APT sources and proxies in a netrc-like format. Configuration Item: Dir::Etc::netrc. + /etc/apt/auth.conf.d/*.conf + Login information for APT sources and proxies in a netrc-like format. + Configuration Item: Dir::Etc::netrcparts. + -- cgit v1.2.3