fix some paths in default configuration file

samba-server: require cups [release 4.1.14-6mamba;Sun Dec 21 2014]
This commit is contained in:
Silvan Calarco 2024-01-05 17:37:14 +01:00
parent 690f4a096f
commit f46553e75a
4 changed files with 622 additions and 263 deletions

View File

@ -1,24 +0,0 @@
diff -Nru samba-3.6.23/source3.orig/Makefile.in samba-3.6.23/source3/Makefile.in
--- samba-3.6.23/source3.orig/Makefile.in 2014-03-11 10:17:34.000000000 +0000
+++ samba-3.6.23/source3/Makefile.in 2014-04-02 13:19:38.225103348 +0000
@@ -1783,7 +1783,7 @@
$(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
$(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
$(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) \
- $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
+ $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) -ltirpc
bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
@echo Linking $@
diff -Nru samba-3.6.23/source3.orig/wscript_build samba-3.6.23/source3/wscript_build
--- samba-3.6.23/source3.orig/wscript_build 2014-03-11 10:17:34.000000000 +0000
+++ samba-3.6.23/source3/wscript_build 2014-04-02 13:20:04.037796492 +0000
@@ -850,7 +850,7 @@
bld.SAMBA3_LIBRARY('smbd_base',
source=SMBD_SRC_BASE,
- deps='''tdb tevent dl krb5 ldap gssapi gssapi_krb5
+ deps='''tirpc tdb tevent dl krb5 ldap gssapi gssapi_krb5
DYNCONFIG wbclient crypt nsl cups cap resolv z passdb
PARAM_WITHOUT_REG samba3core LIBSMB POPT_SAMBA3 KRBCLIENT AVAHI
LIBMSRPC_GEN msrpc3 ads LIBADS_SERVER LIBADS_PRINTER

View File

@ -0,0 +1,10 @@
--- samba-4.0.0/source3/wscript_build.bero 2012-12-14 16:47:47.124053374 +0100
+++ samba-4.0.0/source3/wscript_build 2012-12-14 16:49:54.517558570 +0100
@@ -977,6 +977,7 @@ bld.SAMBA3_LIBRARY('smbd_base',
NDR_SMB_ACL
netapi
''' + bld.env['dmapi_lib'],
+ ldflags='-ltirpc',
private_library=True,
vars=locals())

View File

@ -0,0 +1,13 @@
diff -Nru samba-4.1.14.orig/wscript samba-4.1.14/wscript
--- samba-4.1.14.orig/wscript 2014-12-01 13:48:32.000000000 +0100
+++ samba-4.1.14/wscript 2014-12-19 16:39:08.460000000 +0100
@@ -155,9 +155,6 @@
# allows us to find problems on our development hosts faster.
# It also results in faster load time.
- if not sys.platform.startswith("openbsd"):
- conf.env.asneeded_ldflags = conf.ADD_LDFLAGS('-Wl,--as-needed', testflags=True)
-
if not conf.CHECK_NEED_LC("-lc not needed"):
conf.ADD_LDFLAGS('-lc', testflags=False)

File diff suppressed because it is too large Load Diff