From 18e8d49d7e1adecb09fce63d266197da0d3b0f9e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 19 Apr 2012 14:59:43 +1000 Subject: [PATCH] libwbclient: bump version to 0.9, and add this version to .pc file --- nsswitch/libwbclient/wbclient.h | 3 ++- nsswitch/libwbclient/wscript | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h index 809e00a0076..1dd387aef43 100644 --- a/nsswitch/libwbclient/wbclient.h +++ b/nsswitch/libwbclient/wbclient.h @@ -68,9 +68,10 @@ const char *wbcErrorString(wbcErr error); * 0.6: Made struct wbcInterfaceDetails char* members non-const * 0.7: Added wbcSidToStringBuf() * 0.8: Added wbcSidsToUnixIds() and wbcLookupSids() + * 0.9: Added support for WBC_ID_TYPE_BOTH **/ #define WBCLIENT_MAJOR_VERSION 0 -#define WBCLIENT_MINOR_VERSION 8 +#define WBCLIENT_MINOR_VERSION 9 #define WBCLIENT_VENDOR_VERSION "Samba libwbclient" struct wbcLibraryDetails { uint16_t major_version; diff --git a/nsswitch/libwbclient/wscript b/nsswitch/libwbclient/wscript index 8390af19e5a..f51c3d001f6 100644 --- a/nsswitch/libwbclient/wscript +++ b/nsswitch/libwbclient/wscript @@ -2,8 +2,11 @@ import Options, Logs +# Remember to also update wbclient.h +VERSION="0.9" + def configure(conf): - if conf.CHECK_BUNDLED_SYSTEM_PKG('wbclient', minversion='0'): + if conf.CHECK_BUNDLED_SYSTEM_PKG('wbclient', minversion=VERSION): conf.define('USING_SYSTEM_LIBWBCLIENT', 1) def build(bld): @@ -25,4 +28,4 @@ def build(bld): deps='winbind-client', pc_files='wbclient.pc', public_headers='wbclient.h', - vnum='0') + vnum=VERSION) -- 2.34.1