Przeglądaj źródła

* abicheck/
- add new abitest tester using the ABI Compliance Checker from
http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker

Michael Vogt 16 lat temu
rodzic
commit
d8cd04f858

Plik diff jest za duży
+ 7325 - 0
abicheck/abi-compliance-checker.pl


+ 11 - 0
abicheck/apt_build.xml

@@ -0,0 +1,11 @@
+<version>
+ ubuntu-branch
+</version>
+   
+ <headers>
+  ../build/include/apt-pkg
+ </headers>
+   
+ <libs>
+  ../build/bin/
+ </libs>

+ 11 - 0
abicheck/apt_installed.xml.in

@@ -0,0 +1,11 @@
+<version>
+ installed 
+</version>
+   
+<headers>
+ /usr/include/apt-pkg/
+</headers>
+   
+<libs>
+ @installed_libapt@
+</libs>

+ 6 - 0
abicheck/run_abi_test

@@ -0,0 +1,6 @@
+#!/bin/sh
+
+LIBPATH=$(find /usr/lib/ -type f  -name "libapt-pkg*")
+sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml
+
+perl abi-compliance-checker.pl -l apt -d1 apt_installed.xml -d2 apt_build.xml

+ 3 - 0
debian/changelog

@@ -14,6 +14,9 @@ apt (0.7.25.4) UNRELEASED; urgency=low
       can be used to call a external helper to figure out the 
       proxy configuration and return it to apt via stdout
       (this is a step towards WPAD and zeroconf/avahi support)
+  * abicheck/
+    - add new abitest tester using the ABI Compliance Checker from
+      http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker
 
   [ Robert Collins ]
   * Change the package index Info methods to allow apt-cache policy to be