[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-1307-g84446a2

Michael Adam obnox at samba.org
Sat Aug 29 16:53:16 MDT 2009


The branch, master has been updated
       via  84446a2407d0e44f829a11d033ba59286d286e1b (commit)
       via  f7c473f53470b3fb7eac9474928cfa76219e766e (commit)
       via  dff3f37cf189e99c2011048cbf23b37d7161d9f8 (commit)
       via  e21ecfc5635e6fe8a53bf5297698f34cc8eaebd2 (commit)
       via  9636e0d373e75cce7063b710227eaaf53f447c1b (commit)
       via  0760a04ef9f7d2f3d966017295712769d02b8b9f (commit)
       via  006fd0c43c7c403b8671dfc46e5ee31e92480e1f (commit)
      from  c7d9617259bafddd1ce26a5c336885e2d3c6771a (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 84446a2407d0e44f829a11d033ba59286d286e1b
Author: Michael Adam <obnox at samba.org>
Date:   Fri Aug 28 16:04:47 2009 +0200

    tdb: move the original abi_checks script to script/abi_checks_gcc.sh
    
    Michael

commit f7c473f53470b3fb7eac9474928cfa76219e766e
Author: Michael Adam <obnox at samba.org>
Date:   Sun Aug 30 00:40:18 2009 +0200

    tdb: run abi_checks as part of "make test".
    
    Strange: I had to place "test:: abi_checks" before the main
    "test::" target here, otherwise the abi checks would not get run.
    
    Michael

commit dff3f37cf189e99c2011048cbf23b37d7161d9f8
Author: Michael Adam <obnox at samba.org>
Date:   Sun Aug 30 00:28:31 2009 +0200

    tdb: remove files generated by "make abi_checks" in "make clean".
    
    Michael

commit e21ecfc5635e6fe8a53bf5297698f34cc8eaebd2
Author: Michael Adam <obnox at samba.org>
Date:   Fri Aug 28 16:03:06 2009 +0200

    tdb: add a target "abi_checks" to tdb.
    
    Simply run "make abi_checks" to call the abi check script appropriately.
    
    Michael

commit 9636e0d373e75cce7063b710227eaaf53f447c1b
Author: Michael Adam <obnox at samba.org>
Date:   Fri Aug 28 15:53:12 2009 +0200

    tdb: add script/abi_checks.sh. check for abi changes without gcc magic.
    
    USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...]
    
    This creates symbol signature lists using the mksyms and mksigs scripts
    and compares them with the checked in lists.
    
    Michael

commit 0760a04ef9f7d2f3d966017295712769d02b8b9f
Author: Michael Adam <obnox at samba.org>
Date:   Fri Aug 28 15:08:19 2009 +0200

    tdb: add script to extract signatures from header files.
    
    This produces output like the output gcc produces when
    invoked with the -aux-info switch.
    
    Run like this: cat include/tdb.h | ./script/mksigs.pl
    
    This simple parser is probably too coarse to handle all
    possible header files, but it treats tdb.h correctly...
    
    Michael

commit 006fd0c43c7c403b8671dfc46e5ee31e92480e1f
Author: Michael Adam <obnox at samba.org>
Date:   Fri Aug 28 15:01:17 2009 +0200

    tdb: add scripts to extract library symbols (exports file) from headers
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 lib/{talloc => tdb}/script/abi_checks.sh           |    0 
 .../{abi_checks.sh => script/abi_checks_gcc.sh}    |    0 
 lib/{talloc => tdb}/script/mksigs.pl               |    0 
 lib/{talloc => tdb}/script/mksyms.awk              |    0 
 lib/{talloc => tdb}/script/mksyms.sh               |    0 
 lib/tdb/tdb.mk                                     |    8 ++++++++
 6 files changed, 8 insertions(+), 0 deletions(-)
 copy lib/{talloc => tdb}/script/abi_checks.sh (100%)
 rename lib/tdb/{abi_checks.sh => script/abi_checks_gcc.sh} (100%)
 copy lib/{talloc => tdb}/script/mksigs.pl (100%)
 copy lib/{talloc => tdb}/script/mksyms.awk (100%)
 copy lib/{talloc => tdb}/script/mksyms.sh (100%)


Changeset truncated at 500 lines:

diff --git a/lib/talloc/script/abi_checks.sh b/lib/tdb/script/abi_checks.sh
similarity index 100%
copy from lib/talloc/script/abi_checks.sh
copy to lib/tdb/script/abi_checks.sh
diff --git a/lib/tdb/abi_checks.sh b/lib/tdb/script/abi_checks_gcc.sh
similarity index 100%
rename from lib/tdb/abi_checks.sh
rename to lib/tdb/script/abi_checks_gcc.sh
diff --git a/lib/talloc/script/mksigs.pl b/lib/tdb/script/mksigs.pl
similarity index 100%
copy from lib/talloc/script/mksigs.pl
copy to lib/tdb/script/mksigs.pl
diff --git a/lib/talloc/script/mksyms.awk b/lib/tdb/script/mksyms.awk
similarity index 100%
copy from lib/talloc/script/mksyms.awk
copy to lib/tdb/script/mksyms.awk
diff --git a/lib/talloc/script/mksyms.sh b/lib/tdb/script/mksyms.sh
similarity index 100%
copy from lib/talloc/script/mksyms.sh
copy to lib/tdb/script/mksyms.sh
diff --git a/lib/tdb/tdb.mk b/lib/tdb/tdb.mk
index b786bdb..267c2d1 100644
--- a/lib/tdb/tdb.mk
+++ b/lib/tdb/tdb.mk
@@ -26,13 +26,21 @@ bin/tdbdump$(EXEEXT): tools/tdbdump.o $(TDB_LIB)
 bin/tdbbackup$(EXEEXT): tools/tdbbackup.o $(TDB_LIB)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o bin/tdbbackup tools/tdbbackup.o -L. -ltdb
 
+test:: abi_checks
+
 test:: bin/tdbtorture$(EXEEXT) $(TDB_SONAME)
 	$(LIB_PATH_VAR)=. bin/tdbtorture$(EXEEXT)
 
+abi_checks::
+	@echo ABI checks:
+	@./script/abi_checks.sh tdb include/tdb.h
+
 clean:: 
 	rm -f test.db test.tdb torture.tdb test.gdbm
 	rm -f $(TDB_SONAME) $(TDB_SOLIB) $(TDB_STLIB) libtdb.$(SHLIBEXT)
 	rm -f $(ALL_PROGS) tdb.pc
+	rm -f tdb.exports.sort tdb.exports.check tdb.exports.check.sort
+	rm -f tdb.signatures.sort tdb.signatures.check tdb.signatures.check.sort
 
 build-python:: tdb.$(SHLIBEXT) 
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list