View | Details | Raw Unified | Return to bug 144048
Collapse All | Expand All

(-)abi-compliance-checker/Makefile (-2 / +5 lines)
Lines 6-19 Link Here
6
#
6
#
7
7
8
PORTNAME=	abi-compliance-checker
8
PORTNAME=	abi-compliance-checker
9
PORTVERSION=	1.10
9
PORTVERSION=	1.13
10
CATEGORIES=	devel perl5
10
CATEGORIES=	devel perl5
11
MASTER_SITES=	http://ispras.linux-foundation.org/images/3/34/
11
MASTER_SITES=	http://ispras.linux-foundation.org/images/b/ba/
12
DISTFILES=	${PORTNAME:S/^a/A/}-${PORTVERSION}${EXTRACT_SUFX}
12
DISTFILES=	${PORTNAME:S/^a/A/}-${PORTVERSION}${EXTRACT_SUFX}
13
13
14
MAINTAINER=	bf1783@gmail.com
14
MAINTAINER=	bf1783@gmail.com
15
COMMENT=	Checks binary compatibility of two versions of a C/C++ shared library
15
COMMENT=	Checks binary compatibility of two versions of a C/C++ shared library
16
16
17
RUN_DEPENDS=	${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
18
17
NO_BUILD=	yes
19
NO_BUILD=	yes
18
USE_PERL5_RUN=	yes
20
USE_PERL5_RUN=	yes
19
21
Lines 26-31 Link Here
26
	${REINPLACE_CMD} -e "s|c++filt|${CPPFILT}|g" \
28
	${REINPLACE_CMD} -e "s|c++filt|${CPPFILT}|g" \
27
		-e "s|readelf|${READELF}|g" -e "s|g++|${CXX}|g" \
29
		-e "s|readelf|${READELF}|g" -e "s|g++|${CXX}|g" \
28
		-e "s|\"gcc|\"${CC}|g" -e "s|-shared|& -fPIC|g" \
30
		-e "s|\"gcc|\"${CC}|g" -e "s|-shared|& -fPIC|g" \
31
		-e "s|gsed|${LOCALBASE}/bin/gsed|g" \
29
		${WRKSRC}/${PORTNAME}.pl
32
		${WRKSRC}/${PORTNAME}.pl
30
33
31
do-install:
34
do-install:
(-)abi-compliance-checker/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (Abi-compliance-checker-1.10.tar.gz) = 2e591097462d4fa60460ee7ddf023325
1
MD5 (Abi-compliance-checker-1.13.tar.gz) = 9c21a3dae0cfbc5ea2c3636551a52b49
2
SHA256 (Abi-compliance-checker-1.10.tar.gz) = 8b54c500745b333ae8db69d2d81236f8676d21e9195ad041a27b82af40e7abe0
2
SHA256 (Abi-compliance-checker-1.13.tar.gz) = a2bb611b24754c7e0b3ea406911f79ed6c8b12e07a719f83b5d0740aef3efba3
3
SIZE (Abi-compliance-checker-1.10.tar.gz) = 49323
3
SIZE (Abi-compliance-checker-1.13.tar.gz) = 51118
(-)abi-compliance-checker/files/patch-abi-compliance-checker.pl (-12 / +21 lines)
Lines 1-14 Link Here
1
--- abi-compliance-checker.pl.orig	2009-11-08 14:27:20.000000000 -0500
1
--- abi-compliance-checker.pl.orig	2010-02-16 07:13:09.000000000 -0500
2
+++ abi-compliance-checker.pl	2009-11-08 14:33:06.000000000 -0500
2
+++ abi-compliance-checker.pl	2010-02-17 13:20:46.000000000 -0500
3
@@ -6673,9 +6673,9 @@
3
@@ -481,7 +481,7 @@
4
     }
4
     return if(not $InfoPath or not -f $InfoPath);
5
     else
5
     my $InfoPath_New = $InfoPath.".1";
6
     #my $Keywords = join("\\|", keys(%check_node));#|grep "$Keywords"
7
-    system("sed ':a;N;\$!ba;s/\\n[^\@]//g' ".esc($InfoPath)."|sed 's/ [ ]\\+/  /g' > ".esc($InfoPath_New));
8
+    system("gsed ':a;N;\$!ba;s/\\n[^\@]//g' ".esc($InfoPath)."|gsed 's/ [ ]\\+/  /g' > ".esc($InfoPath_New));
9
     system("rm", "-fr", $InfoPath);
10
     #getting info
11
     open(INFO, $InfoPath_New) || die ("can't open file '\$InfoPath_New\': $!\n");
12
@@ -7123,9 +7123,9 @@
13
 
14
 sub get_solib_default_paths()
15
 {
16
-    foreach my $Line (split("\n", `ldconfig -p`))
17
+    foreach my $Line (split("\n", `ldconfig -r`))
6
     {
18
     {
7
-        foreach my $Line (split("\n", `ldconfig -p`))
19
-        if($Line=~/\A[ \t]*([^ \t]+) .* \=\> (.+)\Z/)
8
+        foreach my $Line (split("\n", `ldconfig -r`))
20
+        if($Line=~/\A\t[0-9]*:(.+) \=\> (.+)\Z/)
9
         {
21
         {
10
-            if($Line=~/\A[ \t]*([^ \t]+) .* \=\> (.+)\Z/)
22
             $SoLib_DefaultPath{$1} = $2;
11
+            if($Line=~/\A\t[0-9]*:(.+) \=\> (.+)\Z/)
23
         }
12
             {
13
                 my ($SoCandidate, $Path) = ($1, $2);
14
                 
(-)abi-compliance-checker/pkg-descr (-10 / +10 lines)
Lines 3-20 Link Here
3
XML format, abi-compliance-checker searches for the following kinds of binary
3
XML format, abi-compliance-checker searches for the following kinds of binary
4
compatibility problems:
4
compatibility problems:
5
5
6
--Added/withdrawn interfaces (functions, global variables)
6
--added/withdrawn interfaces (functions, global variables)
7
--Problems in Data Types:
7
--changes to constants
8
	--Classes: added/withdrawn virtual functions (changes in layout of
8
--problems in data types:
9
	--classes: added/withdrawn virtual functions (changes in layout of
9
		virtual table), virtual function positions, virtual function
10
		virtual table), virtual function positions, virtual function
10
		redefinitions
11
		redefinitions
11
	--Structural data types: added/withdrawn members (changes in layout of
12
	--structural data types: added/withdrawn members (changes in layout of
12
		type structure),
13
		type structure), changes in members, size changes
13
		changes in members, size changes
14
	--enumerations: member value changes
14
	--Enumerations: member value changes
15
--interface problems:
15
--Interface problems:
16
	--parameter and return type changes
16
	--Parameters and return type changes
17
	--incorrect symbol versions
17
	--Static property changes
18
18
19
The checker then generates a report that assesses the risks of any potential
19
The checker then generates a report that assesses the risks of any potential
20
problems detected.
20
problems detected.

Return to bug 144048