1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

1239 Commits

Author SHA1 Message Date
Jelmer Vernooij
3f16241a1d r14363: Remove credentials.h from the global includes.
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
7a121583b4 r14349: Kill proto.h!
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
(This used to be commit 3da79bf909f801386a52e6013db399c384d0401c)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
42e919b3b0 r14347: Add registration function to allow registering smbtorture test(suites)
Fix mechanism for breaking lines when printing test names.
(This used to be commit c1061f5fe478918f996fdeaa382a1f5552135bb9)
2007-10-10 13:57:13 -05:00
Jelmer Vernooij
b67cf4ce26 r14335: Build shared modules in bin/modules/$SUBSYSTEM when in developer mode.
(This used to be commit 4799f7bd1fbf0ed3cd4c52bd6eef129666ac74b5)
2007-10-10 13:57:13 -05:00
Jelmer Vernooij
e47f76e96d r14332: Built in different paths when running locally (from ./bin/) in developer
mode (./configure.developer). This will change the hardcoded value of a few
paths (BINDIR, SWATDIR, EJSDIR, SETUPDIR, DATADIR, MODULESDIR). The regular
locations will be used when running 'make install'.

This enables developers to work on (shared built) modules, swat, ejs and
setup files without having to run 'make install' each time.
(This used to be commit f12c1ee19349e17dc5d109ccc71b5374796a6e23)
2007-10-10 13:57:12 -05:00
Jelmer Vernooij
e153a8099e r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
(This used to be commit 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
2007-10-10 13:57:12 -05:00
Jelmer Vernooij
d563c448f7 r14322: Remove the BROKEN_CC flag for now. None of the buildfarm hosts has
a C compiler that doesn't support -c and -o together and it makes the build
system more complicated. This also means the current handling of broken C
compilers is most likely broken as it isn't tested.

This detection can be readded when we stumble upon a C compiler that supports
both C99 (or at least the parts of it we need) and also has broken -c/-o
handling, which I think is unlikely to happen.
(This used to be commit 7fd74cfbb90063c79994fb6691dbe456d9ad9efa)
2007-10-10 13:57:12 -05:00
Jelmer Vernooij
3cad0b87dc r14281: Pull apart LIBDIR and MODULESDIR
Move architecture-independent data to DATADIR (was LIBDIR)
(This used to be commit 2c7b62a861f702067e8df4c3239ac7e377631a15)
2007-10-10 13:57:07 -05:00
Stefan Metzmacher
33647bd841 r14240: fix summary output (step 2)
we now need to explicit enable external libraries in
*.m4 files again...

metze
(This used to be commit ca809a7910b16a248fffddc640298bbe4cdedc01)
2007-10-10 13:57:06 -05:00
Stefan Metzmacher
bda6c35f2f r14237: fix the summary output (step 1)
metze
(This used to be commit 612fcb46ac21839b9c98b92d3261506dfafb2a93)
2007-10-10 13:57:05 -05:00
Jelmer Vernooij
b86c1b744b r14154: Add summary line for extended attribute library
(This used to be commit 0665a465ba86bf2867ed360f8017ce8de8118882)
2007-10-10 13:56:55 -05:00
Jelmer Vernooij
1a49b255af r14151: Add simple script that writes a summary to show what libraries the user
(might) be missing.
(This used to be commit ee90b8067915915af8ffbc0e04d1f4f5aae567cb)
2007-10-10 13:56:55 -05:00
Jelmer Vernooij
983d5afead r14139: Fix issue with undefined variables.
(This used to be commit 03c06c6f7fedb0e47483cc6de7732c1e78e60703)
2007-10-10 13:56:54 -05:00
Stefan Metzmacher
686c10afa2 r14117: fix a perl warning
jelmer: is there a better place to catch this?

metze
(This used to be commit 1e6ac4537024e7924333050125c33f792f982bbe)
2007-10-10 13:56:52 -05:00
Jelmer Vernooij
c6519ad9c0 r14109: Modulify the smbcalls subsystem.
(This used to be commit d538eac9dbfdd786b533cb5fbbd35ab2fd7358ba)
2007-10-10 13:56:51 -05:00
Stefan Metzmacher
93c3f14fd6 r14104: version.h has changed the location
metze
(This used to be commit dfaa1fe107c3ea80da8ec5ddaabe0eece96da73a)
2007-10-10 13:56:51 -05:00
Jelmer Vernooij
f710a30dc4 r14097: Remove subsystem names when installing modules (they're already installed
in a subsystem-specific directory)
No longer install smb.h as it only contains (internal) constants.
(This used to be commit b76126628c21755bb8d30e72e3044bd1785a2447)
2007-10-10 13:56:50 -05:00
Jelmer Vernooij
306b12ad49 r14094: Use saner module directory names, fix loading of server service modules.
(This used to be commit b6ffad3860ba2cf9d8f3423d65be91dcfc962ca2)
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
6500444a2d r14072: - only add the 'lib' prefix to libraries not modules
- fix installation of plugins (and make it a bit more verbose
- get rid of the '#define libfoo_module_init init_module'
  and genereated a wrapper function in bin/libfoo_module_init_module.c
- change the standard visibility for modules to hidden
- a few make clean fixes

metze
(This used to be commit 89b5667ab0f761e679fdee0f5c3d94942e67e28e)
2007-10-10 13:54:02 -05:00
Stefan Metzmacher
2170981c24 r14066: fix whitespaces
metze
(This used to be commit 29a1c0bb69f0d52ead7268de4b024d5a91e135cf)
2007-10-10 13:52:39 -05:00
Stefan Metzmacher
d9c439b884 r13967: change the standard visibility to "default" public again
for modules, libraries and subsystems

metze
(This used to be commit 2d546c32801b12ba82596ccdf1521cba7bfff9f7)
2007-10-10 13:52:33 -05:00
Jelmer Vernooij
ceb6e9717b r13960: Generate makefile rules for installing/removing shared modules.
(This used to be commit 2c746980328431ab04852dc668899e3eb042da99)
2007-10-10 13:52:32 -05:00
Jelmer Vernooij
2761caf567 r13954: Add --enable-dso flag to ./configure that simplifies the ability to
do shared library-enabled builds.
(This used to be commit 9a1d76c13d44d6a8e4557893f485c5b81c68e01a)
2007-10-10 13:52:31 -05:00
Stefan Metzmacher
40de04329d r13943: the -rpath-link should be only used for binaries,
otherwise application linking to the installed lib would look
at the builddir for searching other libs

metze
(This used to be commit f4996fbacc58618bb04c5587b4c45925cc430997)
2007-10-10 13:52:30 -05:00
Stefan Metzmacher
04af4d0cc3 r13940: use the local vs. install linkerflag trick for shared libs too
metze
(This used to be commit 65bb303ff3815cc11e07061d478e317ffb24d453)
2007-10-10 13:52:29 -05:00
Jelmer Vernooij
1718e2d4df r13939: Fix bin/.dummy issues, add more ignores
(This used to be commit 557533b9173a72d2db2a0fa05ab5500f446306c8)
2007-10-10 13:52:29 -05:00
Jelmer Vernooij
4ac2be9958 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
(This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
112bb4d220 r13921: rename DEFAULT_VISIBILITY -> STANDARD_VISIBILITY
the standard is "hidden" and not "default", I hope this
name makes a bit less confusing

metze
(This used to be commit 3e27534ad6d249c1d69f326dac9cc250868b0534)
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
0d1e034b01 r13919: for us the standard for the visibility is "hidden"
and "default" means public

metze
(This used to be commit ab553c296f333f91d1e5fc50be827da235e33248)
2007-10-10 13:52:23 -05:00
Stefan Metzmacher
6b171e5a91 r13918: fix whitespaces
metze
(This used to be commit 17be97240f8f759e1ca926ba2fcc0f6ccaf16fdf)
2007-10-10 13:52:23 -05:00
Stefan Metzmacher
f266ee7c28 r13917: fix detection of the visibility support,
as we don't use #pragma for the build don't use it for the configure test
and use -fvisibility=hidden in CFLAGS in the configure test

metze
(This used to be commit a0c543c0d6440627da594611fbff3ef1ab0d4251)
2007-10-10 13:52:23 -05:00
Jelmer Vernooij
ba564a901e r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default.
(This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
c389883ba2 r13902: Stricter checking for the -fvisibility flag
Add two more proto headers.
(This used to be commit 0c95bf0cd33d8a6c35f692b796d7fbfd98b4d068)
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
86dda20562 r13899: Get the shared library build building again. Just compiles for now,
but modules don't work yet..
(Run LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY MODULE_OUTPUT_TYPE=SHARED_LIBRARY ./config.status)
(This used to be commit ba74f24e422eda0379615f2ab39bef1e1e025ce7)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
ce3032cab8 r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be used
to not export symbols when building shared libraries. Symbols that have to be
available to users of the library can be explicitly exported by
prepending them with _PUBLIC_ in the C source.
(This used to be commit ea9988dfda6df09f1ee8f9aea1dc5b96fff52ee6)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
f6457b3d54 r13867: Wrap the cflags.sh hack in the build system. You can now simply
set subsystem-specific compiler flags in the .mk files.
(This used to be commit d512b147e8dda39016faf74a50a9d85bfc23a2eb)
2007-10-10 13:52:18 -05:00
Jelmer Vernooij
8ef42b1fab r13847: Fix some portability issues with the visibility attribute.
(This used to be commit fe5eae0e983d1c8634dd9b7caf19cd103c641223)
2007-10-10 13:52:15 -05:00
Jelmer Vernooij
26af14c39b r13786: [merge] Add registration functions for LDB modules
Applications that use LDB modules will now have to run ldb_global_init()
before they can use LDB.

The next step will be adding support for loading LDB modules from .so
files. This will also allow us to use one LDB without difference between the
standalone and the Samba-specific build
(This used to be commit 52a235650514039bf8ffee99a784bbc1b6ae6b92)
2007-10-10 13:52:11 -05:00
Jelmer Vernooij
d3bcaf66a8 r13654: Move some more stuff out of include/
(This used to be commit 2ec7bba03a2edf713004941e9ed74798f5cf8d32)
2007-10-10 13:52:05 -05:00
Andrew Bartlett
658f9babe1 r13269: ${prefix} is a special case in the autoconf/build system, and should
be escaped as \${prefix}, otherwise it evaluates too early as "NONE".

Andrew Bartlett
(This used to be commit 6b42029de99011986c1fa7bfd5833dbbbf476206)
2007-10-10 13:51:40 -05:00
James Peach
ad01edb37b r13263: Check whether open(2) will accept the O_DIRECT flag. This should fix the
build on NetBSD.
(This used to be commit 7354de62a7fbf3921dfcb0bd865e89bdf1ef5bcd)
2007-10-10 13:51:39 -05:00
James Peach
67e78aabd6 r13249: Check for alloca.h. popt needs this.
(This used to be commit 08bdaa8e106caeab675aaca5124f0e59fa20cc8c)
2007-10-10 13:51:38 -05:00
James Peach
4c54a04969 r13248: Revert revision 13071. It turns out that sys/param.h can be implicitly
included from other headers. In this case, undeffing MIN and MAX is a
really bad idea because the subsequent include of sys/param.h will do
nothing because of its include guards.
(This used to be commit 8aa8be93b09cfbd176455738dfd305047030fd50)
2007-10-10 13:51:38 -05:00
Andrew Bartlett
b70009649a r13244: Allow control of the location of the Samba3-compatible winbindd pipe
in Samba4.  This allows us to start winbindd by default, including in
'make test'.

This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple
clients).

I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.

The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think).  For this reason, this
functionality should probably be ported to Samba3 as well.

The default for Samba4 is PREFIX/var/run/winbind_pipe.

I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.

Andrew Bartlett
(This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
2007-10-10 13:51:37 -05:00
James Peach
b98a5bf922 r13243: Bring __FUNCTION__ checks across from Samba 3.
(This used to be commit 92eec049628a79f8d9496c6d199d6de0238e7940)
2007-10-10 13:51:36 -05:00
James Peach
d4a62250cc r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. Fix
from Brad Hards <bradh@frogmouth.net>.
(This used to be commit 3ade52398a345cc50c1bf52298e36ab1804b00ec)
2007-10-10 13:51:36 -05:00
Stefan Metzmacher
6dd836d688 r13227: revert some more stuff from 13208
metze
(This used to be commit 03a0363850b7b38fc3621dfde38504d66156e728)
2007-10-10 13:51:35 -05:00
James Peach
7daa5d139f r13225: Enable full compiler warnings for developer mode on IRIX.
(This used to be commit 2aefbcb47272536d8c2229f8b199f7cd7da7d890)
2007-10-10 13:51:35 -05:00
Jelmer Vernooij
ad6303f82f r13208: Clearly separate named pipes from the IPC$ NTVFS type.
This allows the easy addition of additional named pipes and removes the
circular dependencies between the CIFS, RPC and RAP servers.

Simple tests for a custom named pipe included.
(This used to be commit 898d15acbd18e3b302a856c847e08c22c5024792)
2007-10-10 13:51:34 -05:00
Stefan Metzmacher
34a03295d2 r13163: as we don't import the raw magic configure vars for
libdir, datadir, sysconfdir,localstatedir into our Makefile
we need to expand them in configure

I'll maybe rework this later but for now this works

metze
(This used to be commit 615b82f7c73ff52ab62489ec635aefecf2b2f04c)
2007-10-10 13:51:31 -05:00