summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/patches/pam_smbpass_linkage.patch
diff options
context:
space:
mode:
authorEloy Paris <peloy@samba.org>2003-07-03 04:06:28 +0000
committerEloy Paris <peloy@samba.org>2003-07-03 04:06:28 +0000
commit91100b67e63e5ac127af92a0bc70bcfa53c64be3 (patch)
treec7e53390785a54d00a3c11f6710af0e1f015399f /packaging/Debian/debian/patches/pam_smbpass_linkage.patch
parenta31a2c159cd51112abdbe230c7a4df743fe14288 (diff)
downloadsamba-91100b67e63e5ac127af92a0bc70bcfa53c64be3.tar.gz
samba-91100b67e63e5ac127af92a0bc70bcfa53c64be3.tar.bz2
samba-91100b67e63e5ac127af92a0bc70bcfa53c64be3.zip
More Debian updates.
(This used to be commit 1f7de8c42e05c70cdb76c4f917b7ff128f5249e6)
Diffstat (limited to 'packaging/Debian/debian/patches/pam_smbpass_linkage.patch')
-rw-r--r--packaging/Debian/debian/patches/pam_smbpass_linkage.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packaging/Debian/debian/patches/pam_smbpass_linkage.patch b/packaging/Debian/debian/patches/pam_smbpass_linkage.patch
new file mode 100644
index 0000000000..3d1fab8ab0
--- /dev/null
+++ b/packaging/Debian/debian/patches/pam_smbpass_linkage.patch
@@ -0,0 +1,26 @@
+diff -ur samba-3.0.0beta1.orig/source/Makefile.in samba-3.0.0beta1/source/Makefile.in
+--- samba-3.0.0beta1.orig/source/Makefile.in 2003-06-16 23:59:19.000000000 -0500
++++ samba-3.0.0beta1/source/Makefile.in 2003-06-17 00:13:50.000000000 -0500
+@@ -582,9 +582,9 @@
+
+ PAM_SMBPASS_OBJ_0 = pam_smbpass/pam_smb_auth.o pam_smbpass/pam_smb_passwd.o \
+ pam_smbpass/pam_smb_acct.o pam_smbpass/support.o \
+- libsmb/smbencrypt.o libsmb/smbdes.o libsmb/nterr.o \
+- $(PARAM_OBJ) $(LIB_OBJ) $(PASSDB_OBJ) $(GROUPDB_OBJ) \
+- $(SECRETS_OBJ) $(UBIQX_OBJ) $(IDMAP_OBJ)
++ $(LIBSAMBA_OBJ) $(PARAM_OBJ) $(LIB_OBJ) $(PASSDB_OBJ) \
++ $(GROUPDB_OBJ) $(SECRETS_OBJ) $(UBIQX_OBJ) $(IDMAP_OBJ) \
++ $(SMBLDAP_OBJ)
+
+ PAM_SMBPASS_PICOOBJ = $(PAM_SMBPASS_OBJ_0:.o=.po)
+
+@@ -1080,7 +1080,8 @@
+
+ bin/pam_smbpass.@SHLIBEXT@: $(PAM_SMBPASS_PICOOBJ)
+ @echo "Linking shared library $@"
+- @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_PICOOBJ) -lpam $(DYNEXP) $(LIBS) -lc
++ @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_PICOOBJ) -lpam $(DYNEXP) \
++ $(PASSDBLIBS) $(LIBS) -lc
+
+ bin/libmsrpc.a: $(LIBMSRPC_PICOBJ)
+ @-$(AR) -rc $@ $(LIBMSRPC_PICOBJ)