chiark / gitweb /
debian/: Ship correct symbols files.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 27 Sep 2019 16:25:15 +0000 (17:25 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 29 Sep 2019 14:19:23 +0000 (15:19 +0100)
Makefile.am
debian/common.symbols [new file with mode: 0644]
debian/mlib2-adns.symbols [new file with mode: 0644]
debian/mlib2.symbols [new file with mode: 0644]
debian/rules

index c25344a..48f2317 100644 (file)
@@ -130,12 +130,15 @@ EXTRA_DIST                += config/maninst
 EXTRA_DIST             += debian/rules debian/copyright
 EXTRA_DIST             += debian/control debian/changelog
 EXTRA_DIST             += debian/compat debian/source/format
+EXTRA_DIST             += debian/common.symbols
 
 ## mlib2
 EXTRA_DIST             += debian/mlib2.install
+EXTRA_DIST             += debian/mlib2.symbols
 
 ## mlib2-adns
 EXTRA_DIST             += debian/mlib2-adns.install.in
+EXTRA_DIST             += debian/mlib2-adns.symbols
 
 ## mlib-bin
 EXTRA_DIST             += debian/mlib-bin.install
diff --git a/debian/common.symbols b/debian/common.symbols
new file mode 100644 (file)
index 0000000..48325cf
--- /dev/null
@@ -0,0 +1,473 @@
+### -*-conf-*-
+
+libmLib.so.2 mlib2 #MINVER# | mlib2-adns #MINVER#
+* Build-Depends-Package: mlib-dev
+
+###--------------------------------------------------------------------------
+### Utilities.
+
+## exc
+       exc_uncaught@Base 2.0.7
+       __exc_list@Base 2.0.7
+       __exc_rethrow@Base 2.0.7
+       __exc_throw@Base 2.0.7
+
+## str
+       str_getword@Base 2.0.7
+       str_match@Base 2.0.7
+       str_matchx@Base 2.0.7
+       str_split@Base 2.0.7
+       str_qword@Base 2.0.7
+       str_qsplit@Base 2.0.7
+       str_sanitize@Base 2.0.7
+
+## versioncmp
+       versioncmp@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### Memory allocation.
+
+## arena
+       a_alloc@Base 2.0.7
+       a_free@Base 2.0.7
+       a_realloc@Base 2.0.7
+       arena_fakerealloc@Base 2.0.7
+       arena_global@Base 2.0.7
+       arena_stdlib@Base 2.0.7
+
+## alloc
+       x_alloc@Base 2.0.7
+       x_free@Base 2.0.7
+       x_realloc@Base 2.0.7
+       x_strdup@Base 2.0.7
+       xmalloc@Base 2.0.7
+       xrealloc@Base 2.0.7
+       xfree@Base 2.0.7
+       xstrdup@Base 2.0.7
+
+## sub
+       subarena_create@Base 2.0.7
+       subarena_destroy@Base 2.0.7
+       subarena_alloc@Base 2.0.7
+       subarena_free@Base 2.0.7
+       sub_init@Base 2.0.7
+       sub_alloc@Base 2.0.7
+       sub_free@Base 2.0.7
+       sub_global@Base 2.0.7
+
+## pool
+       pool_init@Base 2.0.7
+       pool_create@Base 2.0.7
+       pool_sub@Base 2.0.7
+       pool_destroy@Base 2.0.7
+       pool_add@Base 2.0.7
+       pool_alloc@Base 2.0.7
+       pool_strdup@Base 2.0.7
+       pool_fopen@Base 2.0.7
+       pool_fclose@Base 2.0.7
+       pool_subarena@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### User interface.
+
+## mdwopt
+       mdwopt@Base 2.0.7
+       mdwopt_global@Base 2.0.7
+
+## quis
+       ego@Base 2.0.7
+       quis@Base 2.0.7
+       pquis@Base 2.0.7
+       (optional=internal)pn__name@Base 2.0.7
+
+## report
+       die@Base 2.0.7
+       moan@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### Hashing.
+
+## crc32
+       crc32@Base 2.2.1
+       crc32_table@Base 2.0.7
+
+## unihash
+       unihash@Base 2.0.7
+       unihash_hash@Base 2.0.7
+       unihash_setkey@Base 2.0.7
+       unihash_global@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### Data structures.
+
+## dstr
+       dstr_create@Base 2.0.7
+       dstr_destroy@Base 2.0.7
+       dstr_ensure@Base 2.0.7
+       dstr_reset@Base 2.0.7
+       dstr_tidy@Base 2.0.7
+       dstr_putc@Base 2.2.1
+       dstr_putm@Base 2.0.7
+       dstr_puts@Base 2.0.7
+       dstr_putz@Base 2.0.7
+       dstr_putd@Base 2.0.7
+       dstr_putf@Base 2.2.2.1
+       dstr_vputf@Base 2.0.7
+       dstr_putline@Base 2.0.7
+       dstr_write@Base 2.0.7
+
+## dspool
+       dspool_create@Base 2.0.7
+       dspool_destroy@Base 2.0.7
+       dspool_get@Base 2.0.7
+       dspool_put@Base 2.0.7
+
+## buf
+       buf_init@Base 2.0.7
+       buf_ensure@Base 2.0.7
+       buf_break@Base 2.0.7
+       buf_flip@Base 2.0.7
+       buf_get@Base 2.0.7
+       buf_getbyte@Base 2.0.7
+       buf_getu8@Base 2.0.7
+       buf_getu16@Base 2.0.7
+       buf_getu16b@Base 2.0.7
+       buf_getu16l@Base 2.0.7
+       buf_getu24@Base 2.0.7
+       buf_getu24b@Base 2.0.7
+       buf_getu24l@Base 2.0.7
+       buf_getu32@Base 2.0.7
+       buf_getu32b@Base 2.0.7
+       buf_getu32l@Base 2.0.7
+       buf_getu64@Base 2.0.7
+       buf_getu64b@Base 2.0.7
+       buf_getu64l@Base 2.0.7
+       buf_getbuf8@Base 2.0.7
+       buf_getbuf16@Base 2.0.7
+       buf_getbuf16b@Base 2.0.7
+       buf_getbuf16l@Base 2.0.7
+       buf_getbuf24@Base 2.0.7
+       buf_getbuf24b@Base 2.0.7
+       buf_getbuf24l@Base 2.0.7
+       buf_getbuf32@Base 2.0.7
+       buf_getbuf32b@Base 2.0.7
+       buf_getbuf32l@Base 2.0.7
+       buf_getbuf64@Base 2.0.7
+       buf_getbuf64b@Base 2.0.7
+       buf_getbuf64l@Base 2.0.7
+       buf_getbufz@Base 2.1.1
+       buf_getdstr8@Base 2.0.7
+       buf_getdstr16@Base 2.0.7
+       buf_getdstr16b@Base 2.0.7
+       buf_getdstr16l@Base 2.0.7
+       buf_getdstr24@Base 2.0.7
+       buf_getdstr24b@Base 2.0.7
+       buf_getdstr24l@Base 2.0.7
+       buf_getdstr32@Base 2.0.7
+       buf_getdstr32b@Base 2.0.7
+       buf_getdstr32l@Base 2.0.7
+       buf_getdstr64@Base 2.0.7
+       buf_getdstr64b@Base 2.0.7
+       buf_getdstr64l@Base 2.0.7
+       buf_getdstrz@Base 2.1.1
+       buf_getmem8@Base 2.0.7
+       buf_getmem16@Base 2.0.7
+       buf_getmem16b@Base 2.0.7
+       buf_getmem16l@Base 2.0.7
+       buf_getmem24@Base 2.0.7
+       buf_getmem24b@Base 2.0.7
+       buf_getmem24l@Base 2.0.7
+       buf_getmem32@Base 2.0.7
+       buf_getmem32b@Base 2.0.7
+       buf_getmem32l@Base 2.0.7
+       buf_getmem64@Base 2.0.7
+       buf_getmem64b@Base 2.0.7
+       buf_getmem64l@Base 2.0.7
+       buf_getmemz@Base 2.1.1
+       buf_put@Base 2.0.7
+       buf_putbyte@Base 2.0.7
+       buf_putu8@Base 2.0.7
+       buf_putu16@Base 2.0.7
+       buf_putu16b@Base 2.0.7
+       buf_putu16l@Base 2.0.7
+       buf_putu24@Base 2.0.7
+       buf_putu24b@Base 2.0.7
+       buf_putu24l@Base 2.0.7
+       buf_putu32@Base 2.0.7
+       buf_putu32b@Base 2.0.7
+       buf_putu32l@Base 2.0.7
+       buf_putu64@Base 2.0.7
+       buf_putu64b@Base 2.0.7
+       buf_putu64l@Base 2.0.7
+       buf_putbuf16@Base 2.0.7
+       buf_putbuf16b@Base 2.0.7
+       buf_putbuf16l@Base 2.0.7
+       buf_putbuf24@Base 2.0.7
+       buf_putbuf24b@Base 2.0.7
+       buf_putbuf24l@Base 2.0.7
+       buf_putbuf32@Base 2.0.7
+       buf_putbuf32b@Base 2.0.7
+       buf_putbuf32l@Base 2.0.7
+       buf_putbuf64@Base 2.0.7
+       buf_putbuf64b@Base 2.0.7
+       buf_putbuf64l@Base 2.0.7
+       buf_putbuf8@Base 2.0.7
+       buf_putbufz@Base 2.0.7
+       buf_putdstr8@Base 2.0.7
+       buf_putdstr16@Base 2.0.7
+       buf_putdstr16b@Base 2.0.7
+       buf_putdstr16l@Base 2.0.7
+       buf_putdstr24@Base 2.0.7
+       buf_putdstr24b@Base 2.0.7
+       buf_putdstr24l@Base 2.0.7
+       buf_putdstr32@Base 2.0.7
+       buf_putdstr32b@Base 2.0.7
+       buf_putdstr32l@Base 2.0.7
+       buf_putdstr64@Base 2.0.7
+       buf_putdstr64b@Base 2.0.7
+       buf_putdstr64l@Base 2.0.7
+       buf_putdstrz@Base 2.0.7
+       buf_putmem8@Base 2.0.7
+       buf_putmem16@Base 2.0.7
+       buf_putmem16b@Base 2.0.7
+       buf_putmem16l@Base 2.0.7
+       buf_putmem24@Base 2.0.7
+       buf_putmem24b@Base 2.0.7
+       buf_putmem24l@Base 2.0.7
+       buf_putmem32@Base 2.0.7
+       buf_putmem32b@Base 2.0.7
+       buf_putmem32l@Base 2.0.7
+       buf_putmem64@Base 2.0.7
+       buf_putmem64b@Base 2.0.7
+       buf_putmem64l@Base 2.0.7
+       buf_putmemz@Base 2.0.7
+       buf_putstr8@Base 2.0.7
+       buf_putstr16@Base 2.0.7
+       buf_putstr16b@Base 2.0.7
+       buf_putstr16l@Base 2.0.7
+       buf_putstr24@Base 2.0.7
+       buf_putstr24b@Base 2.0.7
+       buf_putstr24l@Base 2.0.7
+       buf_putstr32@Base 2.0.7
+       buf_putstr32b@Base 2.0.7
+       buf_putstr32l@Base 2.0.7
+       buf_putstr64@Base 2.0.7
+       buf_putstr64b@Base 2.0.7
+       buf_putstr64l@Base 2.0.7
+       buf_putstrz@Base 2.0.7
+
+## darray
+       da_ensure@Base 2.0.7
+       da_shunt@Base 2.0.7
+       da_tidy@Base 2.0.7
+
+## hash
+       hash_bin@Base 2.0.7
+       hash_create@Base 2.0.7
+       hash_destroy@Base 2.0.7
+       hash_extend@Base 2.0.7
+       hash_mkiter@Base 2.0.7
+       hash_next@Base 2.0.7
+       hash_remove@Base 2.0.7
+
+## sym
+       sym_create@Base 2.0.7
+       sym_destroy@Base 2.0.7
+       sym_find@Base 2.0.7
+       sym_remove@Base 2.0.7
+       sym_mkiter@Base 2.0.7
+       sym_next@Base 2.0.7
+
+## atom
+       atom_createtable@Base 2.0.7
+       atom_destroytable@Base 2.0.7
+       atom_intern@Base 2.0.7
+       atom_nintern@Base 2.0.7
+       atom_gensym@Base 2.0.7
+       atom_name@Base 2.0.7
+       atom_len@Base 2.0.7
+       atom_hash@Base 2.0.7
+       atom_mkiter@Base 2.0.7
+       atom_next@Base 2.0.7
+
+## assoc
+       assoc_create@Base 2.0.7
+       assoc_destroy@Base 2.0.7
+       assoc_find@Base 2.0.7
+       assoc_remove@Base 2.0.7
+       assoc_mkiter@Base 2.0.7
+       assoc_next@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### Encoding and decoding.
+
+## codec
+       codec_strerror@Base 2.2.0
+       base32_class@Base 2.2.0
+       base32hex_class@Base 2.2.0
+       base64_class@Base 2.2.0
+       file64_class@Base 2.2.0
+       base64url_class@Base 2.2.0
+       hex_class@Base 2.2.0
+       null_codec_class@Base 2.2.0
+
+## base32
+       base32_init@Base 2.0.7
+       base32_encode@Base 2.0.7
+       base32_decode@Base 2.0.7
+
+## base64
+       base64_init@Base 2.0.7
+       base64_encode@Base 2.0.7
+       base64_decode@Base 2.0.7
+
+## hex
+       hex_init@Base 2.0.7
+       hex_encode@Base 2.0.7
+       hex_decode@Base 2.0.7
+
+## url
+       url_initenc@Base 2.0.7
+       url_enc@Base 2.3.2
+       url_initdec@Base 2.0.7
+       url_dec@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### System utilities.
+
+## daemonize
+       daemonize@Base 2.0.7
+       detachtty@Base 2.0.7
+
+## env
+       env_destroy@Base 2.0.7
+       env_export@Base 2.0.7
+       env_import@Base 2.0.7
+       env_get@Base 2.0.7
+       env_put@Base 2.0.7
+
+## fdflags
+       fdflags@Base 2.0.7
+
+## fdpass
+       fdpass_recv@Base 2.3.3
+       fdpass_send@Base 2.3.3
+
+## fwatch
+       fwatch_init@Base 2.0.7
+       fwatch_initfd@Base 2.0.7
+       fwatch_update@Base 2.0.7
+       fwatch_updatefd@Base 2.0.7
+
+## lock
+       lock_file@Base 2.0.7
+
+## mdup
+       mdup@Base 2.1.0
+
+## tv
+       tv_add@Base 2.0.7
+       tv_addl@Base 2.0.7
+       tv_cmp@Base 2.0.7
+       tv_sub@Base 2.0.7
+       tv_subl@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### Buffering.
+
+## lbuf
+       lbuf_init@Base 2.0.7
+       lbuf_destroy@Base 2.0.7
+       lbuf_snarf@Base 2.0.7
+       lbuf_free@Base 2.0.7
+       lbuf_flush@Base 2.0.7
+       lbuf_close@Base 2.0.7
+       lbuf_setsize@Base 2.0.7
+
+## pkbuf
+       pkbuf_init@Base 2.0.7
+       pkbuf_destroy@Base 2.0.7
+       pkbuf_snarf@Base 2.0.7
+       pkbuf_free@Base 2.0.7
+       pkbuf_flush@Base 2.0.7
+       pkbuf_want@Base 2.0.7
+       pkbuf_close@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### Event-driven networking.
+
+## sel
+       sel_init@Base 2.0.7
+       sel_select@Base 2.0.7
+       sel_force@Base 2.0.7
+       sel_initfile@Base 2.0.7
+       sel_addfile@Base 2.0.7
+       sel_rmfile@Base 2.0.7
+       sel_addhook@Base 2.0.7
+       sel_rmhook@Base 2.0.7
+       sel_addtimer@Base 2.0.7
+       sel_rmtimer@Base 2.0.7
+       sel_fdmerge@Base 2.0.7
+
+## selbuf
+       selbuf_init@Base 2.0.7
+       selbuf_destroy@Base 2.0.7
+       selbuf_enable@Base 2.0.7
+       selbuf_disable@Base 2.0.7
+       selbuf_setsize@Base 2.0.7
+
+## selpk
+       selpk_init@Base 2.0.7
+       selpk_destroy@Base 2.0.7
+       selpk_want@Base 2.0.7
+       selpk_enable@Base 2.0.7
+       selpk_disable@Base 2.0.7
+
+## ident
+       ident@Base 2.2.5
+       ident_socket@Base 2.2.5
+       ident_abort@Base 2.0.7
+
+## conn
+       conn_init@Base 2.0.7
+       conn_fd@Base 2.0.7
+       conn_kill@Base 2.0.7
+
+## sig
+       sig_init@Base 2.0.7
+       sig_add@Base 2.0.7
+       sig_remove@Base 2.0.7
+
+## bres
+       bres_init@Base 2.0.7
+       bres_exec@Base 2.0.7
+       bres_byname@Base 2.0.7
+       bres_byaddr@Base 2.0.7
+       bres_abort@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### Testing.
+
+## test
+       test_do@Base 2.0.7
+       test_run@Base 2.0.7
+       type_hex@Base 2.0.7
+       type_int@Base 2.0.7
+       type_long@Base 2.0.7
+       type_string@Base 2.0.7
+       type_uint32@Base 2.0.7
+       type_ulong@Base 2.0.7
+
+###--------------------------------------------------------------------------
+### Tracing.
+
+## trace
+       trace_on@Base 2.0.7
+       tracing@Base 2.0.7
+       trace_level@Base 2.0.7
+       traceopt@Base 2.0.7
+       trace@Base 2.0.7
+       trace_block@Base 2.0.7
+       trace_custom@Base 2.0.7
+
+###----- That's all, folks --------------------------------------------------
diff --git a/debian/mlib2-adns.symbols b/debian/mlib2-adns.symbols
new file mode 100644 (file)
index 0000000..2b9fdb9
--- /dev/null
@@ -0,0 +1 @@
+#include "common.symbols"
diff --git a/debian/mlib2.symbols b/debian/mlib2.symbols
new file mode 100644 (file)
index 0000000..2b9fdb9
--- /dev/null
@@ -0,0 +1 @@
+#include "common.symbols"
index f7796aa..bbbc852 100755 (executable)
@@ -69,8 +69,8 @@ dh-install-hook:: $(GEN_INSTALL_FILES); @:
 dh-clean-hook::
        rm -f $(GEN_INSTALL_FILES)
 
-## Override the shared-library dependency information to allow any flavour.
+## Check that the shared-library symbols are plausible.
 override_dh_makeshlibs:
-       dh_makeshlibs -V"mlib2 (>= $v) | mlib2-adns (>= $v)"
+       dh_makeshlibs -- -c4
 
 ###----- That's all, folks --------------------------------------------------