From e041f31aa9ea7ff99b0744521dca9d6ba335b5d6 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 16 Aug 2021 09:18:04 +0200 Subject: [PATCH] committing changes in /etc made by "/usr/bin/apt install apt-file" Package changes: +apt-file 3.2.2 all +libregexp-assemble-perl 0.36-1 all --- .etckeeper | 1 + apt/apt.conf.d/50apt-file.conf | 61 ++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 apt/apt.conf.d/50apt-file.conf diff --git a/.etckeeper b/.etckeeper index 98dc163..c93339c 100755 --- a/.etckeeper +++ b/.etckeeper @@ -534,6 +534,7 @@ maybe chmod 0644 'apt/apt.conf.d/20dbus' maybe chmod 0644 'apt/apt.conf.d/20packagekit' maybe chmod 0644 'apt/apt.conf.d/20snapd.conf' maybe chmod 0644 'apt/apt.conf.d/50appstream' +maybe chmod 0644 'apt/apt.conf.d/50apt-file.conf' maybe chmod 0644 'apt/apt.conf.d/50command-not-found' maybe chmod 0644 'apt/apt.conf.d/60icons' maybe chmod 0644 'apt/apt.conf.d/70debconf' diff --git a/apt/apt.conf.d/50apt-file.conf b/apt/apt.conf.d/50apt-file.conf new file mode 100644 index 0000000..5090b26 --- /dev/null +++ b/apt/apt.conf.d/50apt-file.conf @@ -0,0 +1,61 @@ +## This file is provided by apt-file(1) to download Contents +## files, which is used by apt-file for searching. + +Acquire::IndexTargets { + deb::Contents-deb { + MetaKey "$(COMPONENT)/Contents-$(ARCHITECTURE)"; + ShortDescription "Contents-$(ARCHITECTURE)"; + Description "$(RELEASE)/$(COMPONENT) $(ARCHITECTURE) Contents (deb)"; + + flatMetaKey "Contents-$(ARCHITECTURE)"; + flatDescription "$(RELEASE) Contents (deb)"; + PDiffs "true"; + KeepCompressed "true"; + }; + + # Download Contents for source files if there is a deb-src + # line + deb-src::Contents-dsc { + MetaKey "$(COMPONENT)/Contents-source"; + ShortDescription "Contents-source"; + Description "$(RELEASE)/$(COMPONENT) source Contents (dsc)"; + + flatMetaKey "Contents-source"; + flatDescription "$(RELEASE) Contents (dsc)"; + PDiffs "true"; + KeepCompressed "true"; + DefaultEnabled "false"; + }; + + # Configuration for downloading Contents files for + # debian-installer packages (udebs). + deb::Contents-udeb { + MetaKey "$(COMPONENT)/Contents-udeb-$(ARCHITECTURE)"; + ShortDescription "Contents-udeb-$(ARCHITECTURE)"; + Description "$(RELEASE)/$(COMPONENT) $(ARCHITECTURE) Contents (udeb)"; + + flatMetaKey "Contents-udeb-$(ARCHITECTURE)"; + flatDescription "$(RELEASE) Contents (udeb)"; + KeepCompressed "true"; + PDiffs "true"; + DefaultEnabled "false"; + }; + ### FALLBACKS + deb::Contents-deb-legacy { + MetaKey "Contents-$(ARCHITECTURE)"; + ShortDescription "Contents-$(ARCHITECTURE)"; + Description "$(RELEASE) $(ARCHITECTURE) Contents (deb)"; + + PDiffs "true"; + KeepCompressed "true"; + Fallback-Of "Contents-deb"; + Identifier "Contents-deb"; + }; +}; +Dir::Etc::apt-file-main "apt-file.conf"; +# Default for -I/--index-names (comma-separated) +apt-file::Index-Names "deb"; +# Set to true, if you are working with Contents files generated by +# older versions of dak or reprepro (<< 5.2.0-1~) that includes a +# descriptive header. +apt-file::Parser::Check-For-Description-Header "false"; -- 2.39.5