[PATCH 2/2] ndr: revert libndr.so.3 soname bump

Andreas Schneider asn at samba.org
Wed Nov 2 08:00:55 UTC 2022


On Tuesday, 1 November 2022 10:21:13 CET Michael Tokarev wrote:
> After the previous change adding compatibility symbol, revert
> libndr soname bump from 2.0.0 to 3.0.0, and bump it to 2.0.1
> instead. This renames whole ndr-3.0.0.sigs to ndr-2.0.1.sigs.
> 
> Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>
> ---
>  librpc/ABI/{ndr-3.0.0.sigs => ndr-2.0.1.sigs} | 0
>  librpc/wscript_build                          | 2 +-
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename librpc/ABI/{ndr-3.0.0.sigs => ndr-2.0.1.sigs} (100%)
> 
> diff --git a/librpc/ABI/ndr-3.0.0.sigs b/librpc/ABI/ndr-2.0.1.sigs
> similarity index 100%
> rename from librpc/ABI/ndr-3.0.0.sigs
> rename to librpc/ABI/ndr-2.0.1.sigs
> diff --git a/librpc/wscript_build b/librpc/wscript_build
> index cf9085c0884..dbe66a23f45 100644
> --- a/librpc/wscript_build
> +++ b/librpc/wscript_build
> @@ -654,7 +654,7 @@ bld.SAMBA_LIBRARY('ndr',
>      public_deps='samba-errors talloc samba-util util_str_hex',
>      public_headers='gen_ndr/misc.h gen_ndr/ndr_misc.h ndr/libndr.h:ndr.h',
>      header_path= [('*gen_ndr*', 'gen_ndr')],
> -    vnum='3.0.0',
> +    vnum='2.0.1',
>      abi_directory='ABI',
>      abi_match='!ndr_table_* ndr_* GUID_* _ndr_pull_error*
> _ndr_push_error*', )

Please fix packaging and rebuild packages depending on this library.

libndr is not a stable API! We never claimed that and there is not guarantee 
that the API/ABI will stay the same in future!


	Andreas

-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list