chiark / gitweb /
debian/: Ship `symbols' file for better downstream dependency versioning.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 7 Oct 2019 00:13:57 +0000 (01:13 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 7 Oct 2019 00:35:01 +0000 (01:35 +0100)
Makefile.am
debian/libsod.symbols [new file with mode: 0644]
debian/rules

index 3f03a38ce43f363291cb5987423789b8786c9dac..6bfe89bee309683e4e25d9d30dc8f012e845ec4f 100644 (file)
@@ -65,6 +65,7 @@ EXTRA_DIST              += debian/compat
 
 ## libsod
 EXTRA_DIST              += debian/libsod.install
+EXTRA_DIST             += debian/libsod.symbols
 
 ## libsod-dev
 EXTRA_DIST              += debian/libsod-dev.install
diff --git a/debian/libsod.symbols b/debian/libsod.symbols
new file mode 100644 (file)
index 0000000..3fc2da9
--- /dev/null
@@ -0,0 +1,30 @@
+### -*-conf-*-
+
+libsod.so.0 libsod #MINVER#
+* Build-Depends-Package: libsod-dev
+
+## kw
+       kw_parseempty@Base 0.2.99~
+       kw_unknown@Base 0.2.99~
+       kw_unkhook@Base 0.2.99~
+       kw_defunknown@Base 0.2.99~
+       kw__hookfailed@Base 0.2.99~
+
+## sod
+       sod_init@Base 0.2.99~
+       sod_initv@Base 0.2.99~
+       sod_teardown@Base 0.2.99~
+       sod_subclassp@Base 0.2.0
+       sod_convert@Base 0.2.0
+       sod_make@Base 0.2.99~
+       sod_makev@Base 0.2.99~
+       sod_destroy@Base 0.2.99~
+       sod__chksz_fail@Base 0.2.99~
+
+## SodObject
+       SodObject__classobj@Base 0.2.0
+       SodObject__vtable_obj@Base 0.2.0
+
+## SodClass
+       SodClass__classobj@Base 0.2.0
+       SodClass__vtable_obj@Base 0.2.0
index 0f049774ff81ad24c4a302da8a9eb850aab37f4b..5a407ca17e5a55bef731d7993a9fab8daadb0a56 100755 (executable)
@@ -11,6 +11,9 @@ override_dh_auto_clean:
        rm -rf debian/build/cache
        rm -f doc/*.pdf
 
+## Check that the shared-library symbols are plausible.
+override_dh_makeshlibs:; dh_makeshlibs -- -c4
+
 ## Don't strip the main executable.  (It doesn't work, and you get left with
 ## a bare SBCL.)
 override_dh_strip:; dh_strip -Xusr/bin/sod