]> Frank Brehm's Git Trees - config/bruni/etc-mint-new1.git/commitdiff
committing changes in /etc made by "/usr/bin/apt install apt-file"
authorFrank Brehm <frank@brehm-online.com>
Mon, 16 Aug 2021 07:18:04 +0000 (09:18 +0200)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Mon, 16 Aug 2021 07:18:04 +0000 (09:18 +0200)
Package changes:
+apt-file 3.2.2 all
+libregexp-assemble-perl 0.36-1 all

.etckeeper
apt/apt.conf.d/50apt-file.conf [new file with mode: 0644]

index 98dc1632cad820e1c19b3db5c55dee20f79fdafd..c93339cfc2a585c804236f2b109410132190f1e6 100755 (executable)
@@ -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 (file)
index 0000000..5090b26
--- /dev/null
@@ -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";