Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • lts-team/packages/samba
  • thctlo/samba-lintianfix
  • arnaudr/samba
  • jrwren/samba
  • paride/samba
  • athos/samba
  • henrich/samba
  • cnotin/samba
  • mimi89999/samba
  • samba-team/samba
  • ahasenack/samba
  • jrtc27/samba
  • noel/samba
13 results
Show changes
Commits on Source (31)
......@@ -11,7 +11,7 @@ Files: *
Copyright: 1992-2012 Andrew Tridgell and the Samba Team
License: GPL-3.0+
Files: source4/heimdal/*
Files: third_party/heimdal/*
Copyright:
1996-2005 Kungliga Tekniska Högskolan
(Royal Institute of Technology, Stockholm, Sweden).
......
......@@ -7,7 +7,6 @@ etc/sudoers.d
[linux-any] lib/systemd/system/ctdb.service
usr/bin/ctdb
usr/bin/ctdb_diagnostics
usr/bin/ctdb_local_daemons
usr/bin/ltdbtool
usr/bin/onnode
usr/bin/ping_pong
......@@ -25,7 +24,9 @@ usr/lib/*/ctdb/ctdb_natgw
usr/lib/*/ctdb/ctdb_recovery_helper
usr/lib/*/ctdb/ctdb_takeover_helper
usr/lib/*/ctdb/smnotify
usr/lib/*/samba/libctdb-event-client.so.0
# helper for /etc/ctdb/debug_locks.sh
usr/lib/*/ctdb/tdb_mutex_check
usr/lib/*/samba/libctdb-event-client-samba4.so.0
usr/lib/tmpfiles.d/ctdb.conf
usr/sbin/ctdbd
usr/sbin/ctdbd_wrapper
......
......@@ -12,6 +12,7 @@ libsmbclient.so.0 libsmbclient #MINVER#
SMBCLIENT_0.4.0@SMBCLIENT_0.4.0 2:4.9.0+dfsg
SMBCLIENT_0.5.0@SMBCLIENT_0.5.0 2:4.10.0+dfsg
SMBCLIENT_0.6.0@SMBCLIENT_0.6.0 2:4.12.0+dfsg
SMBCLIENT_0.7.0@SMBCLIENT_0.7.0 2:4.16.0+dfsg
smbc_chmod@SMBCLIENT_0.1.0 2:4.0.3+dfsg1
smbc_close@SMBCLIENT_0.1.0 2:4.0.3+dfsg1
smbc_closedir@SMBCLIENT_0.1.0 2:4.0.3+dfsg1
......
usr/lib/*/libsamba-util.so.*
usr/lib/*/libwbclient.so.0*
usr/lib/*/samba/libgenrand.so.0
usr/lib/*/samba/libiov-buf.so.0
usr/lib/*/samba/libreplace.so.0
usr/lib/*/samba/libsamba-debug.so.0
usr/lib/*/samba/libsocket-blocking.so.0
usr/lib/*/samba/libsys-rw.so.0
usr/lib/*/samba/libtime-basic.so.0
usr/lib/*/samba/libwinbind-client.so.*
usr/lib/*/samba/libgenrand-samba4.so.0
usr/lib/*/samba/libiov-buf-samba4.so.0
usr/lib/*/samba/libreplace-samba4.so.0
usr/lib/*/samba/libsamba-debug-samba4.so.0
usr/lib/*/samba/libsocket-blocking-samba4.so.0
usr/lib/*/samba/libsys-rw-samba4.so.0
usr/lib/*/samba/libtime-basic-samba4.so.0
libwbclient0: library-not-linked-against-libc usr/lib/x86_64-linux-gnu/samba/libgenrand.so.0
libwbclient0: library-not-linked-against-libc usr/lib/x86_64-linux-gnu/samba/libgenrand-samba4.so.0
......@@ -36,9 +36,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
charset_name@SAMBA_UTIL_0.0.1 2:4.11.0
charset_weird_dummy@SAMBA_UTIL_0.0.1 2:4.11.0
check_password_quality@SAMBA_UTIL_0.0.1 2:4.11.0
client_socket_addr@SAMBA_UTIL_0.0.1 2:4.11.0
clock_gettime_mono@SAMBA_UTIL_0.0.1 2:4.11.0
close_low_fds@SAMBA_UTIL_0.0.1 2:4.11.0
codepoint_cmpi@SAMBA_UTIL_0.0.1 2:4.11.0
const_str_list@SAMBA_UTIL_0.0.1 2:4.11.0
conv_str_bool@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -62,6 +60,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
d_fprintf@SAMBA_UTIL_0.0.1 2:4.11.0
d_printf@SAMBA_UTIL_0.0.1 2:4.11.0
daemon_ready@SAMBA_UTIL_0.0.1 2:4.11.0
daemon_sd_notifications@SAMBA_UTIL_0.0.1 2:4.16.0
daemon_status@SAMBA_UTIL_0.0.1 2:4.11.0
data_blob_append@SAMBA_UTIL_0.0.1 2:4.11.0
data_blob_clear@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -73,6 +72,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
data_blob_hex_string_upper@SAMBA_UTIL_0.0.1 2:4.11.0
data_blob_named@SAMBA_UTIL_0.0.1 2:4.11.0
data_blob_null@SAMBA_UTIL_0.0.1 2:4.11.0
data_blob_pad@SAMBA_UTIL_0.0.1 2:4.16.0
data_blob_realloc@SAMBA_UTIL_0.0.1 2:4.11.0
data_blob_string_const@SAMBA_UTIL_0.0.1 2:4.11.0
data_blob_string_const_null@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -87,7 +87,10 @@ libsamba-util.so.0 libwbclient0 #MINVER#
dump_data@SAMBA_UTIL_0.0.1 2:4.11.0
dump_data_cb@SAMBA_UTIL_0.0.1 2:4.11.0
dump_data_dbgc@SAMBA_UTIL_0.0.1 2:4.11.0
dump_data_diff@SAMBA_UTIL_0.0.1 2:4.16.0
dump_data_diff_cb@SAMBA_UTIL_0.0.1 2:4.16.0
dump_data_file@SAMBA_UTIL_0.0.1 2:4.11.0
dump_data_file_diff@SAMBA_UTIL_0.0.1 2:4.16.0
dump_data_pw@SAMBA_UTIL_0.0.1 2:4.11.0
dump_data_skip_zeros@SAMBA_UTIL_0.0.1 2:4.11.0
dyn_BINDDNS_DIR@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -110,6 +113,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
dyn_PYTHONARCHDIR@SAMBA_UTIL_0.0.1 2:4.11.0
dyn_PYTHONDIR@SAMBA_UTIL_0.0.1 2:4.11.0
dyn_SAMBA_DATADIR@SAMBA_UTIL_0.0.1 2:4.12.0+dfsg
dyn_SAMBA_LIBEXECDIR@SAMBA_UTIL_0.0.1 2:4.16.0
dyn_SBINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
dyn_SCRIPTSBINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
dyn_SETUPDIR@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -148,7 +152,11 @@ libsamba-util.so.0 libwbclient0 #MINVER#
generate_random_u64@SAMBA_UTIL_0.0.1 2:4.11.0
generate_unique_strs@SAMBA_UTIL_0.0.1 2:4.11.0
generate_unique_u64@SAMBA_UTIL_0.0.1 2:4.13.2
get_atimensec@SAMBA_UTIL_0.0.1 2:4.16.0
get_atimespec@SAMBA_UTIL_0.0.1 2:4.16.0
get_conv_handle@SAMBA_UTIL_0.0.1 2:4.11.0
get_ctimensec@SAMBA_UTIL_0.0.1 2:4.16.0
get_ctimespec@SAMBA_UTIL_0.0.1 2:4.16.0
get_dyn_BINDDNS_DIR@SAMBA_UTIL_0.0.1 2:4.11.0
get_dyn_BINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
get_dyn_CACHEDIR@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -169,6 +177,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
get_dyn_PYTHONARCHDIR@SAMBA_UTIL_0.0.1 2:4.11.0
get_dyn_PYTHONDIR@SAMBA_UTIL_0.0.1 2:4.11.0
get_dyn_SAMBA_DATADIR@SAMBA_UTIL_0.0.1 2:4.12.0+dfsg
get_dyn_SAMBA_LIBEXECDIR@SAMBA_UTIL_0.0.1 2:4.16.0
get_dyn_SBINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
get_dyn_SCRIPTSBINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
get_dyn_SETUPDIR@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -178,15 +187,17 @@ libsamba-util.so.0 libwbclient0 #MINVER#
get_dyn_WINBINDD_SOCKET_DIR@SAMBA_UTIL_0.0.1 2:4.11.0
get_iconv_handle@SAMBA_UTIL_0.0.1 2:4.11.0
get_iconv_testing_handle@SAMBA_UTIL_0.0.1 2:4.11.0
get_mtimensec@SAMBA_UTIL_0.0.1 2:4.16.0
get_mtimespec@SAMBA_UTIL_0.0.1 2:4.16.0
get_myname@SAMBA_UTIL_0.0.1 2:4.11.0
get_sockaddr_port@SAMBA_UTIL_0.0.1 2:4.11.0
get_socket_port@SAMBA_UTIL_0.0.1 2:4.11.0
get_time_t_max@SAMBA_UTIL_0.0.1 2:4.11.0
get_time_zone@SAMBA_UTIL_0.0.1 2:4.11.0
global_lock_array@SAMBA_UTIL_0.0.1 2:4.11.0
global_tfp@SAMBA_UTIL_0.0.1 2:4.11.0
hex_encode_buf@SAMBA_UTIL_0.0.1 2:4.11.0
hex_encode_talloc@SAMBA_UTIL_0.0.1 2:4.11.0
hex_uint32@SAMBA_UTIL_0.0.1 2:4.16.0
hexdump_to_data_blob@SAMBA_UTIL_0.0.1 2:4.11.0
http_timestring@SAMBA_UTIL_0.0.1 2:4.11.0
idr_find@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -225,6 +236,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
is_default_dyn_PYTHONARCHDIR@SAMBA_UTIL_0.0.1 2:4.11.0
is_default_dyn_PYTHONDIR@SAMBA_UTIL_0.0.1 2:4.11.0
is_default_dyn_SAMBA_DATADIR@SAMBA_UTIL_0.0.1 2:4.12.0+dfsg
is_default_dyn_SAMBA_LIBEXECDIR@SAMBA_UTIL_0.0.1 2:4.16.0
is_default_dyn_SBINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
is_default_dyn_SCRIPTSBINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
is_default_dyn_SETUPDIR@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -269,6 +281,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
next_token@SAMBA_UTIL_0.0.1 2:4.11.0
next_token_no_ltrim_talloc@SAMBA_UTIL_0.0.1 2:4.11.0
next_token_talloc@SAMBA_UTIL_0.0.1 2:4.11.0
normalize_timespec@SAMBA_UTIL_0.0.1 2:4.16.0
nsec_time_diff@SAMBA_UTIL_0.0.1 2:4.11.0
nt_time_equal@SAMBA_UTIL_0.0.1 2:4.11.0
nt_time_string@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -276,6 +289,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
nt_time_to_full_timespec@SAMBA_UTIL_0.0.1 2:4.12.0+dfsg
nt_time_to_unix@SAMBA_UTIL_0.0.1 2:4.11.0
nt_time_to_unix_timespec@SAMBA_UTIL_0.0.1 2:4.11.0
nt_time_to_unix_timespec_raw@SAMBA_UTIL_0.0.1 2:4.16.0
nttime_to_timeval@SAMBA_UTIL_0.0.1 2:4.11.0
null_nttime@SAMBA_UTIL_0.0.1 2:4.11.0
null_time@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -323,7 +337,6 @@ libsamba-util.so.0 libwbclient0 #MINVER#
rb_next@SAMBA_UTIL_0.0.1 2:4.11.0
rb_prev@SAMBA_UTIL_0.0.1 2:4.11.0
rb_replace_node@SAMBA_UTIL_0.0.1 2:4.11.0
read_hex_bytes@SAMBA_UTIL_0.0.1 2:4.11.0
realloc_array@SAMBA_UTIL_0.0.1 2:4.11.0
reinit_iconv_handle@SAMBA_UTIL_0.0.1 2:4.11.0
rfc1738_escape_part@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -332,6 +345,8 @@ libsamba-util.so.0 libwbclient0 #MINVER#
round_timespec_to_sec@SAMBA_UTIL_0.0.1 2:4.11.0
round_timespec_to_usec@SAMBA_UTIL_0.0.1 2:4.11.0
samba_getpass@SAMBA_UTIL_0.0.1 2:4.11.0
samba_sockaddr_get_port@SAMBA_UTIL_0.0.1 2:4.16.0
samba_sockaddr_set_port@SAMBA_UTIL_0.0.1 2:4.16.0
samba_tevent_context_init@SAMBA_UTIL_0.0.1 2:4.11.0
samba_tevent_set_debug@SAMBA_UTIL_0.0.1 2:4.11.0
same_net@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -346,7 +361,9 @@ libsamba-util.so.0 libwbclient0 #MINVER#
server_id_set_disconnected@SAMBA_UTIL_0.0.1 2:4.11.0
server_id_str_buf@SAMBA_UTIL_0.0.1 2:4.11.0
server_id_str_buf_unique@SAMBA_UTIL_0.0.1 2:4.11.0
set_atimensec@SAMBA_UTIL_0.0.1 2:4.16.0
set_boolean@SAMBA_UTIL_0.0.1 2:4.11.0
set_ctimensec@SAMBA_UTIL_0.0.1 2:4.16.0
set_dyn_BINDDNS_DIR@SAMBA_UTIL_0.0.1 2:4.11.0
set_dyn_BINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
set_dyn_CACHEDIR@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -367,6 +384,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
set_dyn_PYTHONARCHDIR@SAMBA_UTIL_0.0.1 2:4.11.0
set_dyn_PYTHONDIR@SAMBA_UTIL_0.0.1 2:4.11.0
set_dyn_SAMBA_DATADIR@SAMBA_UTIL_0.0.1 2:4.12.0+dfsg
set_dyn_SAMBA_LIBEXECDIR@SAMBA_UTIL_0.0.1 2:4.16.0
set_dyn_SBINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
set_dyn_SCRIPTSBINDIR@SAMBA_UTIL_0.0.1 2:4.11.0
set_dyn_SETUPDIR@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -374,6 +392,7 @@ libsamba-util.so.0 libwbclient0 #MINVER#
set_dyn_SMB_PASSWD_FILE@SAMBA_UTIL_0.0.1 2:4.11.0
set_dyn_STATEDIR@SAMBA_UTIL_0.0.1 2:4.11.0
set_dyn_WINBINDD_SOCKET_DIR@SAMBA_UTIL_0.0.1 2:4.11.0
set_mtimensec@SAMBA_UTIL_0.0.1 2:4.16.0
set_sockaddr_port@SAMBA_UTIL_0.0.1 2:4.11.0
set_socket_options@SAMBA_UTIL_0.0.1 2:4.11.0
shlib_ext@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -396,8 +415,10 @@ libsamba-util.so.0 libwbclient0 #MINVER#
smb_xstrdup@SAMBA_UTIL_0.0.1 2:4.11.0
smb_xstrndup@SAMBA_UTIL_0.0.1 2:4.11.0
sockaddr_equal@SAMBA_UTIL_0.0.1 2:4.11.0
sockaddr_storage_to_samba_sockaddr@SAMBA_UTIL_0.0.1 2:4.16.0
str_list_add@SAMBA_UTIL_0.0.1 2:4.11.0
str_list_add_const@SAMBA_UTIL_0.0.1 2:4.11.0
str_list_add_printf@SAMBA_UTIL_0.0.1 2:4.16.0
str_list_append@SAMBA_UTIL_0.0.1 2:4.11.0
str_list_append_const@SAMBA_UTIL_0.0.1 2:4.11.0
str_list_check@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -436,8 +457,6 @@ libsamba-util.so.0 libwbclient0 #MINVER#
string_replace@SAMBA_UTIL_0.0.1 2:4.11.0
string_replace_m@SAMBA_UTIL_0.0.1 2:4.11.0
string_sub@SAMBA_UTIL_0.0.1 2:4.11.0
string_sub_once@SAMBA_UTIL_0.0.1 2:4.11.0
string_sub_talloc@SAMBA_UTIL_0.0.1 2:4.11.0
strlen_m@SAMBA_UTIL_0.0.1 2:4.11.0
strlen_m_ext@SAMBA_UTIL_0.0.1 2:4.11.0
strlen_m_ext_handle@SAMBA_UTIL_0.0.1 2:4.11.0
......@@ -477,9 +496,13 @@ libsamba-util.so.0 libwbclient0 #MINVER#
sys_pclose@SAMBA_UTIL_0.0.1 2:4.11.0
sys_poll_intr@SAMBA_UTIL_0.0.1 2:4.11.0
sys_popenv@SAMBA_UTIL_0.0.1 2:4.11.0
talloc_all_string_sub@SAMBA_UTIL_0.0.1 2:4.16.0
talloc_alpha_strcpy@SAMBA_UTIL_0.0.1 2:4.13.2
talloc_asprintf_addbuf@SAMBA_UTIL_0.0.1 2:4.16.0
talloc_stackframe_exists@SAMBA_UTIL_0.0.1 2:4.11.0
talloc_strdup_upper@SAMBA_UTIL_0.0.1 2:4.11.0
talloc_string_sub2@SAMBA_UTIL_0.0.1 2:4.16.0
talloc_string_sub@SAMBA_UTIL_0.0.1 2:4.16.0
tfork_child_pid@SAMBA_UTIL_0.0.1 2:4.11.0
tfork_create@SAMBA_UTIL_0.0.1 2:4.11.0
tfork_destroy@SAMBA_UTIL_0.0.1 2:4.11.0
......
#! /bin/bash
#! /bin/sh
set -e
umask 022
# this could be done with dpkg-parsechangelog -S, but that only works since
# dpkg 1.17, so we want to avoid this to enable backports
DEB_VERSION=`dpkg-parsechangelog |grep ^Version: | awk '{ print $2 }'`
DEB_HOST_MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH`
DEB_VERSION=$(dpkg-parsechangelog -S Version)
DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
make_shlibs() {
......@@ -50,9 +48,7 @@ make_shlibs() {
}
for pkg in `dh_listpackages`
for pkg in $(dh_listpackages)
do
make_shlibs $pkg
done
......@@ -8,20 +8,15 @@ only works when the library has a version number.
Origin: vendor
Forwarded: not-needed
---
buildtools/wafsamba/wafsamba.py | 3 +++
1 file changed, 3 insertions(+)
buildtools/wafsamba/wafsamba.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 1bdabf6..008a214 100644
index 185ef3b73a2..291239fcaa7 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -232,6 +232,9 @@ def SAMBA_LIBRARY(bld, libname, source,
raise Errors.WafError("public library '%s' must have header files" %
libname)
+ if private_library and not vnum:
@@ -307,3 +307,3 @@ def SAMBA_LIBRARY(bld, libname, source,
bundled_name = PRIVATE_NAME(bld, libname.replace('_', '-'))
- vnum = None
+ vnum = '0'
+
if bundled_name is not None:
pass
elif target_type == 'PYTHON' or realname or not private_library:
......@@ -5,7 +5,7 @@ smbclient-pager.patch
usershare.patch
VERSION.patch
heimdal-rfc3454.txt
#add-so-version-to-private-libraries
add-so-version-to-private-libraries
smbd.service-Run-update-apparmor-samba-profile-befor.patch
fix-nfs-service-name-to-nfs-kernel-server.patch
ctdb-config-enable-syslog-by-default.patch
......
......@@ -10,6 +10,7 @@ include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/vendor.mk
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
export DEB_HOST_ARCH # for dh_python3
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
......@@ -24,7 +25,8 @@ LDB_DEPENDS = "libldb2 (<< $(LDB_EPOCH):$(LDB_NEXT_VERSION)~), libldb2 (>> $(LDB
export PYSHORT=python3
export PYTHON=$(shell which $(PYSHORT))
export PYTHON_CONFIG="$(PYTHON)-config"
WAF := $(PYTHON) ./buildtools/bin/waf -v
V = 1
WAF := PYTHONHASHSEED=1 $(PYTHON) ./buildtools/bin/waf $(if ${V},-v)
WAF_NO_PARALLEL := $(WAF) -j 1
# wrapper around cups-config, to work around #726726
......@@ -63,9 +65,7 @@ conf_args = \
--enable-avahi \
--disable-rpath \
--disable-rpath-install \
--bundled-libraries=NONE,pytevent,iniparser,roken,replace,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile \
--builtin-libraries=ccan \
--minimum-library-version="$(shell ./debian/autodeps.py --minimum-library-version)" \
--bundled-libraries=NONE,pytevent \
--with-cluster-support \
--with-socketpath=/run/ctdb/ctdbd.socket \
--with-logdir=/var/log/ctdb \
......@@ -151,10 +151,6 @@ override_dh_auto_install:
mkdir -p $(DESTDIR)/usr/share/pam-configs
install -m 0644 debian/winbind.pam-config $(DESTDIR)/usr/share/pam-configs/winbind
mv $(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/libnss_* $(DESTDIR)/lib/$(DEB_HOST_MULTIARCH)/
# we don't ship the symlinks
rm $(DESTDIR)/lib/$(DEB_HOST_MULTIARCH)/libnss_*.so
#Remove unused vfstest manpage vfstest is no longer installed
rm $(DESTDIR)/usr/share/man/man1/vfstest.1
# Debian goodies to set global option in smb.conf and add a share
install -m 0755 debian/setoption.py $(DESTDIR)/usr/share/samba
install -m 0755 debian/addshare.py $(DESTDIR)/usr/share/samba
......@@ -180,13 +176,6 @@ override_dh_auto_install:
# this is a temporary workaround for #750593 in xsltproc
[ -e $(DESTDIR)/usr/share/man/man5/smb.conf.5 ] || \
cp docs/manpages/smb.conf.5 $(DESTDIR)/usr/share/man/man5/smb.conf.5
# Tests that shouldn't be installed
rm -f $(DESTDIR)/usr/bin/async_connect_send_test
# Remove ctdb tests
rm $(DESTDIR)/usr/bin/ctdb_run_tests
rm $(DESTDIR)/usr/bin/ctdb_run_cluster_tests
rm -r $(DESTDIR)/usr/lib/*/ctdb/tests
rm -r $(DESTDIR)/usr/share/ctdb/tests
ifeq ($(DEB_HOST_ARCH_OS), linux)
# Install systemd configs
mkdir -p $(DESTDIR)/lib/systemd/system/
......@@ -266,11 +255,11 @@ endif
override_dh_installpam:
dh_installpam --name=samba
override_dh_perl-arch:
dh_perl -a
# Fix Perl shbangs
sed -i '1s@^#!/usr/bin/env perl@#!/usr/bin/perl@' \
debian/smbclient/usr/bin/findsmb
#override_dh_perl-arch:
# dh_perl -a
# # Fix Perl shbangs
# sed -i '1s@^#!/usr/bin/env perl@#!/usr/bin/perl@' \
# debian/smbclient/usr/bin/findsmb
override_dh_fixperms:
dh_fixperms
......@@ -292,24 +281,21 @@ override_dh_makeshlibs:
# private libraries
debian/make_shlibs
shlibdeps := dh_shlibdeps -l${DESTDIR}/usr/lib/${DEB_HOST_MULTIARCH}/samba
override_dh_shlibdeps:
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -Xceph.so -Xglusterfs.so -Xsnapper.so -Xctdb_mutex_ceph_rados_helper
${shlibdeps} -a -Xceph.so -Xglusterfs.so -Xsnapper.so -Xctdb_mutex_ceph_rados_helper
ifeq ($(WITH_CEPH), yes)
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -- -pvfsceph -dRecommends \
${shlibdeps}-a -- -pvfsceph -dRecommends \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/ceph.so
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -- -prados -dRecommends \
${shlibdeps} -a -- -prados -dRecommends \
-e debian/ctdb/usr/lib/*/ctdb/ctdb_mutex_ceph_rados_helper
endif
ifeq ($(WITH_GLUSTERFS), yes)
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -- -pvfsglusterfs -dRecommends \
${shlibdeps} -a -- -pvfsglusterfs -dRecommends \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/glusterfs.so
endif
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/samba:$$LD_LIBRARY_PATH \
dh_shlibdeps -a -- -pvfssnapper -dRecommends \
${shlibdeps} -a -- -pvfssnapper -dRecommends \
-e debian/samba-vfs-modules/usr/lib/*/samba/vfs/snapper.so
override_dh_gencontrol:
......
......@@ -7,8 +7,8 @@ usr/lib/*/libndr-krb5pac.so.*
usr/lib/*/libndr-nbt.so.0*
usr/lib/*/libndr-standard.so.*
usr/lib/*/libndr.so.*
usr/lib/*/libnetapi.so.0
usr/lib/*/libsamba-credentials.so.0*
usr/lib/*/libnetapi.so.1*
usr/lib/*/libsamba-credentials.so.1*
usr/lib/*/libsamba-errors.so.*
usr/lib/*/libsamba-hostconfig.so.*
usr/lib/*/libsamba-passdb.so.0
......@@ -16,120 +16,108 @@ usr/lib/*/libsamba-passdb.so.0.28.0
usr/lib/*/libsamba-policy.cpython-*.so.*
usr/lib/*/libsamdb.so.*
usr/lib/*/libsmbconf.so.0
usr/lib/*/libsmbldap.so.2
usr/lib/*/libsmbldap.so.2*
usr/lib/*/libtevent-util.so.*
usr/lib/*/samba/auth/
usr/lib/*/samba/bind9/dlz_bind9.so
usr/lib/*/samba/bind9/dlz_bind9_*.so
usr/lib/*/samba/gensec/*.so
usr/lib/*/samba/libCHARSET3.so.*
usr/lib/*/samba/libLIBWBCLIENT-OLD.so.0
usr/lib/*/samba/libMESSAGING-SEND.so.0
usr/lib/*/samba/libMESSAGING.so.*
usr/lib/*/samba/libaddns.so.*
usr/lib/*/samba/libads.so.*
usr/lib/*/samba/libasn1-samba4.so.8
usr/lib/*/samba/libasn1-samba4.so.8.0.0
usr/lib/*/samba/libasn1util.so.*
usr/lib/*/samba/libauth-unix-token.so.0
usr/lib/*/samba/libauth.so.*
usr/lib/*/samba/libauth4.so.*
usr/lib/*/samba/libauthkrb5.so.*
usr/lib/*/samba/libcli-cldap.so.0
usr/lib/*/samba/libcli-ldap-common.so.*
usr/lib/*/samba/libcli-ldap.so.*
usr/lib/*/samba/libcli-nbt.so.*
usr/lib/*/samba/libcli-smb-common.so.0
usr/lib/*/samba/libcli-spoolss.so.0
usr/lib/*/samba/libcliauth.so.*
usr/lib/*/samba/libclidns.so.*
usr/lib/*/samba/libcluster.so.*
usr/lib/*/samba/libcmdline-contexts.so.0
usr/lib/*/samba/libcmdline-credentials.so.*
usr/lib/*/samba/libcom_err-samba4.so.0
usr/lib/*/samba/libcom_err-samba4.so.0.25
usr/lib/*/samba/libcommon-auth.so.0
usr/lib/*/samba/libdbwrap.so.*
usr/lib/*/samba/libdcerpc-pkt-auth.so.0
usr/lib/*/samba/libdcerpc-samba.so.*
usr/lib/*/samba/libdcerpc-samba4.so.*
usr/lib/*/samba/libdfs-server-ad.so.0
usr/lib/*/samba/libdnsserver-common.so.0
usr/lib/*/samba/libdsdb-garbage-collect-tombstones.so.0
usr/lib/*/samba/libdsdb-module.so.*
usr/lib/*/samba/libevents.so.*
usr/lib/*/samba/libflag-mapping.so.0
usr/lib/*/samba/libgensec.so.0*
usr/lib/*/samba/libgpext.so.0
usr/lib/*/samba/libgpo.so.0
usr/lib/*/samba/libgse.so.*
usr/lib/*/samba/libgssapi-samba4.so.2
usr/lib/*/samba/libgssapi-samba4.so.2.0.0
usr/lib/*/samba/libhcrypto-samba4.so.5
usr/lib/*/samba/libhcrypto-samba4.so.5.0.1
usr/lib/*/samba/libheimbase-samba4.so.1
usr/lib/*/samba/libheimbase-samba4.so.1.0.0
usr/lib/*/samba/libheimntlm-samba4.so.1
usr/lib/*/samba/libheimntlm-samba4.so.1.0.1
usr/lib/*/samba/libhttp.so.0
usr/lib/*/samba/libhx509-samba4.so.5
usr/lib/*/samba/libhx509-samba4.so.5.0.0
usr/lib/*/samba/libinterfaces.so.*
usr/lib/*/samba/libkrb5-samba4.so.26
usr/lib/*/samba/libkrb5-samba4.so.26.0.0
usr/lib/*/samba/libkrb5samba.so.*
usr/lib/*/samba/libldbsamba.so.*
usr/lib/*/samba/liblibcli-lsa3.so.0
usr/lib/*/samba/liblibcli-netlogon3.so.0
usr/lib/*/samba/liblibsmb.so.*
usr/lib/*/samba/libmessages-dgm.so.0
usr/lib/*/samba/libmessages-util.so.0
usr/lib/*/samba/libmsghdr.so.0
usr/lib/*/samba/libmsrpc3.so.*
usr/lib/*/samba/libndr-samba.so.*
usr/lib/*/samba/libndr-samba4.so.*
usr/lib/*/samba/libnet-keytab.so.0
usr/lib/*/samba/libnetif.so.*
usr/lib/*/samba/libnpa-tstream.so.0
usr/lib/*/samba/libnss-info.so.0
usr/lib/*/samba/libpopt-samba3.so.0
usr/lib/*/samba/libpopt-samba3-cmdline.so.0
usr/lib/*/samba/libposix-eadb.so.0
usr/lib/*/samba/libprinter-driver.so.0
usr/lib/*/samba/libprinting-migrate.so.0
usr/lib/*/samba/libprocess-model.so.0
usr/lib/*/samba/libregistry.so.*
usr/lib/*/samba/libroken-samba4.so.19
usr/lib/*/samba/libroken-samba4.so.19.0.1
usr/lib/*/samba/libsamba-modules.so.*
usr/lib/*/samba/libCHARSET3-samba4.so.0
usr/lib/*/samba/libLIBWBCLIENT-OLD-samba4.so.0
usr/lib/*/samba/libMESSAGING-SEND-samba4.so.0
usr/lib/*/samba/libMESSAGING-samba4.so.0
usr/lib/*/samba/libRPC-SERVER-LOOP-samba4.so.0
usr/lib/*/samba/libaddns-samba4.so.0
usr/lib/*/samba/libads-samba4.so.0
usr/lib/*/samba/libasn1-samba4.so.0
usr/lib/*/samba/libasn1util-samba4.so.0
usr/lib/*/samba/libauth-unix-token-samba4.so.0
usr/lib/*/samba/libauth-samba4.so.0
usr/lib/*/samba/libauth4-samba4.so.0
usr/lib/*/samba/libauthkrb5-samba4.so.0
usr/lib/*/samba/libcli-cldap-samba4.so.0
usr/lib/*/samba/libcli-ldap-common-samba4.so.0
usr/lib/*/samba/libcli-ldap-samba4.so.0
usr/lib/*/samba/libcli-nbt-samba4.so.0
usr/lib/*/samba/libcli-smb-common-samba4.so.0
usr/lib/*/samba/libcli-spoolss-samba4.so.0
usr/lib/*/samba/libcliauth-samba4.so.0
usr/lib/*/samba/libclidns-samba4.so.0
usr/lib/*/samba/libcluster-samba4.so.0
usr/lib/*/samba/libcmdline-contexts-samba4.so.0
usr/lib/*/samba/libcmdline-samba4.so.0
usr/lib/*/samba/libcom-err-samba4.so.0
usr/lib/*/samba/libcommon-auth-samba4.so.0
usr/lib/*/samba/libdbwrap-samba4.so.0
usr/lib/*/samba/libdcerpc-pkt-auth-samba4.so.0
usr/lib/*/samba/libdcerpc-samba-samba4.so.0
usr/lib/*/samba/libdcerpc-samba4.so.0
usr/lib/*/samba/libdfs-server-ad-samba4.so.0
usr/lib/*/samba/libdnsserver-common-samba4.so.0
usr/lib/*/samba/libdsdb-garbage-collect-tombstones-samba4.so.0
usr/lib/*/samba/libdsdb-module-samba4.so.0
usr/lib/*/samba/libevents-samba4.so.0
usr/lib/*/samba/libflag-mapping-samba4.so.0
usr/lib/*/samba/libgensec-samba4.so.0
usr/lib/*/samba/libgpext-samba4.so.0
usr/lib/*/samba/libgpo-samba4.so.0
usr/lib/*/samba/libgse-samba4.so.0
usr/lib/*/samba/libgssapi-samba4.so.0
usr/lib/*/samba/libhcrypto-samba4.so.0
usr/lib/*/samba/libheimbase-samba4.so.0
usr/lib/*/samba/libheimntlm-samba4.so.0
usr/lib/*/samba/libhttp-samba4.so.0
usr/lib/*/samba/libhx509-samba4.so.0
usr/lib/*/samba/libinterfaces-samba4.so.0
usr/lib/*/samba/libkrb5-samba4.so.0
usr/lib/*/samba/libkrb5samba-samba4.so.0
usr/lib/*/samba/libldbsamba-samba4.so.0
usr/lib/*/samba/liblibcli-lsa3-samba4.so.0
usr/lib/*/samba/liblibcli-netlogon3-samba4.so.0
usr/lib/*/samba/liblibsmb-samba4.so.0
usr/lib/*/samba/libmessages-dgm-samba4.so.0
usr/lib/*/samba/libmessages-util-samba4.so.0
usr/lib/*/samba/libmsghdr-samba4.so.0
usr/lib/*/samba/libmsrpc3-samba4.so.0
usr/lib/*/samba/libndr-samba-samba4.so.0
usr/lib/*/samba/libndr-samba4.so.0
usr/lib/*/samba/libnet-keytab-samba4.so.0
usr/lib/*/samba/libnetif-samba4.so.0
usr/lib/*/samba/libnpa-tstream-samba4.so.0
usr/lib/*/samba/libnss-info-samba4.so.0
usr/lib/*/samba/libposix-eadb-samba4.so.0
usr/lib/*/samba/libprinter-driver-samba4.so.0
usr/lib/*/samba/libprinting-migrate-samba4.so.0
usr/lib/*/samba/libprocess-model-samba4.so.0
usr/lib/*/samba/libregistry-samba4.so.0
usr/lib/*/samba/libroken-samba4.so.0
usr/lib/*/samba/libsamba-cluster-support-samba4.so.0
usr/lib/*/samba/libsamba-modules-samba4.so.0
usr/lib/*/samba/libsamba-net.cpython-*.so.*
usr/lib/*/samba/libsamba-python.cpython-*.so.0
usr/lib/*/samba/libsamba-security.so.*
usr/lib/*/samba/libsamba-sockets.so.*
usr/lib/*/samba/libsamba3-util.so.*
usr/lib/*/samba/libsamdb-common.so.*
usr/lib/*/samba/libscavenge-dns-records.so.0
usr/lib/*/samba/libsecrets3.so.*
usr/lib/*/samba/libserver-id-db.so.0
usr/lib/*/samba/libserver-role.so.*
usr/lib/*/samba/libservice.so.*
usr/lib/*/samba/libshares.so.*
usr/lib/*/samba/libsmb-transport.so.0
usr/lib/*/samba/libsmbclient-raw.so.0*
usr/lib/*/samba/libsmbd-base.so.0
usr/lib/*/samba/libsmbd-shim.so.0
usr/lib/*/samba/libsmbldaphelper.so.*
usr/lib/*/samba/libsmbpasswdparser.so.*
usr/lib/*/samba/libtalloc-report-printf.so.0
usr/lib/*/samba/libtalloc-report.so.0
usr/lib/*/samba/libtdb-wrap.so.*
usr/lib/*/samba/libtrusts-util.so.0
usr/lib/*/samba/libutil-cmdline.so.0
usr/lib/*/samba/libutil-reg.so.0
usr/lib/*/samba/libutil-setid.so.0
usr/lib/*/samba/libutil-tdb.so.0
usr/lib/*/samba/libsamba-security-samba4.so.0
usr/lib/*/samba/libsamba-sockets-samba4.so.0
usr/lib/*/samba/libsamba3-util-samba4.so.0
usr/lib/*/samba/libsamdb-common-samba4.so.0
usr/lib/*/samba/libscavenge-dns-records-samba4.so.0
usr/lib/*/samba/libsecrets3-samba4.so.0
usr/lib/*/samba/libserver-id-db-samba4.so.0
usr/lib/*/samba/libserver-role-samba4.so.0
usr/lib/*/samba/libservice-samba4.so.0
usr/lib/*/samba/libshares-samba4.so.0
usr/lib/*/samba/libsmb-transport-samba4.so.0
usr/lib/*/samba/libsmbclient-raw-samba4.so.0
usr/lib/*/samba/libsmbd-base-samba4.so.0
usr/lib/*/samba/libsmbd-shim-samba4.so.0
usr/lib/*/samba/libsmbldaphelper-samba4.so.0
usr/lib/*/samba/libsmbpasswdparser-samba4.so.0
usr/lib/*/samba/libtalloc-report-printf-samba4.so.0
usr/lib/*/samba/libtalloc-report-samba4.so.0
usr/lib/*/samba/libtdb-wrap-samba4.so.0
usr/lib/*/samba/libtrusts-util-samba4.so.0
usr/lib/*/samba/libutil-reg-samba4.so.0
usr/lib/*/samba/libutil-setid-samba4.so.0
usr/lib/*/samba/libutil-tdb-samba4.so.0
usr/lib/*/samba/libwind-samba4.so.0
usr/lib/*/samba/libwind-samba4.so.0.0.0
usr/lib/*/samba/libxattr-tdb.so.0
usr/lib/*/samba/libxattr-tdb-samba4.so.0
usr/lib/*/samba/process_model/*.so
usr/share/man/man8/idmap_rfc2307.8
# the samba-libs package contains a number of libraries
# it doesn't make sense to have them in separate packages, as this would
# result in circular dependencies
samba-libs: package-name-doesnt-match-sonames libdcerpc-binding0 libdcerpc-samr0 libdcerpc-server-core0 libdcerpc-server0 libdcerpc0 libndr-krb5pac0 libndr-nbt0 libndr-standard0 libndr1 libnetapi0 libsamba-credentials0 libsamba-errors1 libsamba-hostconfig0 libsamba-passdb0 libsamba-policy.cpython-38-x86-64-linux-gnu0 libsamdb0 libsmbconf0 libsmbldap2 libtevent-util0
samba-libs: package-name-doesnt-match-sonames libdcerpc-binding0 libdcerpc-samr0 libdcerpc-server-core0 libdcerpc-server0 libdcerpc0 libndr-krb5pac0 libndr-nbt0 libndr-standard0 libndr2 libnetapi1 libsamba-credentials1 libsamba-errors1 libsamba-hostconfig0 libsamba-passdb0 libsamba-policy.cpython-*0 libsamdb0 libsmbconf0 libsmbldap2 libtevent-util0
# Embedded Heimdal is patched
samba-libs: embedded-library usr/lib/*/samba/libgssapi-samba4.so.*: heimdal
samba-libs: embedded-library heimdal usr/lib/*/samba/libgssapi-samba4.so.0
# False positives, see #896012
samba-libs: library-not-linked-against-libc *
......@@ -3,8 +3,8 @@ usr/bin/locktest
usr/bin/masktest
usr/bin/ndrdump
usr/bin/smbtorture
usr/lib/*/samba/libdlz-bind9-for-torture.so.0
usr/lib/*/samba/libtorture.so.*
usr/lib/*/samba/libdlz-bind9-for-torture-samba4.so.0
usr/lib/*/samba/libtorture-samba4.so.0
usr/share/man/man1/gentest.1
usr/share/man/man1/locktest.1
usr/share/man/man1/masktest.1
......
......@@ -11,14 +11,18 @@ usr/bin/profiles
usr/bin/sharesec
usr/bin/smbcontrol
usr/bin/smbstatus
usr/lib/*/samba/libHDB-SAMBA4.so.0
usr/lib/*/samba/libdb-glue.so.*
usr/lib/*/samba/libhdb-samba4.so.11
usr/lib/*/samba/libhdb-samba4.so.11.0.2
usr/lib/*/samba/libkdc-samba4.so.2
usr/lib/*/samba/libkdc-samba4.so.2.0.0
usr/lib/*/samba/libmscat.so.0
usr/lib/*/samba/libpac.so.*
usr/lib/*/samba/libHDB-SAMBA4-samba4.so.0
usr/lib/*/samba/libREG-FULL-samba4.so.0
usr/lib/*/samba/libRPC-WORKER-samba4.so.0
usr/lib/*/samba/libdb-glue-samba4.so.0
usr/lib/*/samba/libgss-preauth-samba4.so.0
usr/lib/*/samba/libhdb-samba4.so.0
usr/lib/*/samba/libkdc-samba4.so.0
usr/lib/*/samba/libmscat-samba4.so.0
usr/lib/*/samba/libpac-samba4.so.0
usr/lib/*/samba/rpcd_*
usr/lib/*/samba/samba-bgqd
usr/lib/*/samba/samba-dcerpcd
usr/lib/*/samba/service/*.so
usr/sbin/eventlogadm
usr/sbin/mksmbpasswd
......@@ -41,8 +45,10 @@ usr/share/man/man8/eventlogadm.8
usr/share/man/man8/idmap_script.8
usr/share/man/man8/nmbd.8
usr/share/man/man8/pdbedit.8
usr/share/man/man8/samba-gpupdate.8
usr/share/man/man8/samba-bgqd.8
usr/share/man/man8/samba-dcerpcd.8
usr/share/man/man8/samba_downgrade_db.8
usr/share/man/man8/samba-gpupdate.8
usr/share/man/man8/samba.8
usr/share/man/man8/smbd.8
usr/share/samba/admx/
......
usr/bin/cifsdd
usr/bin/findsmb
#usr/bin/findsmb
usr/bin/mdsearch
usr/bin/rpcclient
usr/bin/smbcacls
......@@ -10,7 +10,7 @@ usr/bin/smbspool
usr/bin/smbtar
usr/bin/smbtree
usr/lib/*/samba/smbspool_krb5_wrapper
usr/share/man/man1/findsmb.1
#usr/share/man/man1/findsmb.1
usr/share/man/man1/mdsearch.1
usr/share/man/man1/rpcclient.1
usr/share/man/man1/smbcacls.1
......
......@@ -3,8 +3,9 @@
usr/bin/ntlm_auth
usr/bin/wbinfo
usr/lib/*/samba/idmap
usr/lib/*/samba/krb5/async_dns_krb5_locator.so
usr/lib/*/samba/krb5/winbind_krb5_locator.so
usr/lib/*/samba/libidmap.so.*
usr/lib/*/samba/libidmap-samba4.so.0
usr/lib/*/samba/nss_info/hash.so
usr/lib/*/samba/nss_info/rfc2307.so
usr/lib/*/samba/nss_info/sfu.so
......