Kaynağa Gözat

fix install procedure and include more APT configuration

Ralf S. Engelschall 22 yıl önce
ebeveyn
işleme
c4d9a041c8
2 değiştirilmiş dosya ile 58 ekleme ve 2 silme
  1. 57 1
      apt/apt.conf
  2. 1 1
      apt/apt.spec

+ 57 - 1
apt/apt.conf

@@ -2,5 +2,61 @@
 //  apt.conf -- APT configuration
 //
 
-apt::system "rpm interface";
+APT {
+    Build-Essential "openpkg";
+    Ignore-Hold "false";
+    Clean-Installed "true";
+    Get {
+        Arch-Only "false";
+        Download-Only "false";
+        Simulate "false";
+        Assume-Yes "false";
+        Force-Yes "false";
+        Fix-Broken "false";  
+        Fix-Missing "false";     
+        Show-Upgraded "false";
+        Upgrade "true";
+        Print-URIs "false";
+        Compile "false";
+        Download "true";
+        Purge "false";
+        List-Cleanup "true";
+        ReInstall "false";
+        Trivial-Only "false";
+        Remove "true";
+    };
+    Cache {
+        Important "false";
+        AllVersions "false";
+        GivenOnly "false";
+        RecruseDepends "false";
+    };
+};
+
+RPM {
+    PM "internal";
+    Allow-Duplicated "false";
+};
+
+Acquire {
+    Queue-Mode "host";
+    Retries "0";
+    Source-Symlinks "true";
+    http {
+        //Proxy "http://127.0.0.1:3128";
+        //Proxy::ftp.openpkg.org "DIRECT";
+        Timeout "120";
+        Pipeline-Depth "5";
+        No-Cache "false";
+        Max-Age "86400";
+        No-Store "false";
+    };
+    ftp {
+        //Proxy "http://127.0.0.1:3128";
+        //Proxy::ftp.openpkg.org "DIRECT";
+        Timeout "120";
+        Passive "true";
+        Proxy::Passive "true";
+    };
+};
 

+ 1 - 1
apt/apt.spec

@@ -123,7 +123,7 @@ AutoReqProv:  no
     #   create still missing directories
     %{l_shtool} mkdir -p -m 755 \
         $RPM_BUILD_ROOT%{l_prefix}/lib/apt/scripts \
-        $RPM_BUILD_ROOT%{l_prefix}/var/apt/lib/lists/partial
+        $RPM_BUILD_ROOT%{l_prefix}/var/apt/lib/lists/partial \
         $RPM_BUILD_ROOT%{l_prefix}/var/apt/cache/archives/partial
 
     #   install pre-generated manual pages