1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-13 08:23:49 +03:00
Commit Graph

1032 Commits

Author SHA1 Message Date
Jelmer Vernooij
2c7b62a861 r14281: Pull apart LIBDIR and MODULESDIR
Move architecture-independent data to DATADIR (was LIBDIR)
2007-10-10 13:57:07 -05:00
Stefan Metzmacher
ca809a7910 r14240: fix summary output (step 2)
we now need to explicit enable external libraries in
*.m4 files again...

metze
2007-10-10 13:57:06 -05:00
Stefan Metzmacher
612fcb46ac r14237: fix the summary output (step 1)
metze
2007-10-10 13:57:05 -05:00
Jelmer Vernooij
0665a465ba r14154: Add summary line for extended attribute library 2007-10-10 13:56:55 -05:00
Jelmer Vernooij
ee90b80679 r14151: Add simple script that writes a summary to show what libraries the user
(might) be missing.
2007-10-10 13:56:55 -05:00
Jelmer Vernooij
03c06c6f7f r14139: Fix issue with undefined variables. 2007-10-10 13:56:54 -05:00
Stefan Metzmacher
1e6ac45370 r14117: fix a perl warning
jelmer: is there a better place to catch this?

metze
2007-10-10 13:56:52 -05:00
Jelmer Vernooij
d538eac9db r14109: Modulify the smbcalls subsystem. 2007-10-10 13:56:51 -05:00
Stefan Metzmacher
dfaa1fe107 r14104: version.h has changed the location
metze
2007-10-10 13:56:51 -05:00
Jelmer Vernooij
b76126628c 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.
2007-10-10 13:56:50 -05:00
Jelmer Vernooij
b6ffad3860 r14094: Use saner module directory names, fix loading of server service modules. 2007-10-10 13:56:49 -05:00
Stefan Metzmacher
89b5667ab0 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
2007-10-10 13:54:02 -05:00
Stefan Metzmacher
29a1c0bb69 r14066: fix whitespaces
metze
2007-10-10 13:52:39 -05:00
Stefan Metzmacher
2d546c3280 r13967: change the standard visibility to "default" public again
for modules, libraries and subsystems

metze
2007-10-10 13:52:33 -05:00
Jelmer Vernooij
2c74698032 r13960: Generate makefile rules for installing/removing shared modules. 2007-10-10 13:52:32 -05:00
Jelmer Vernooij
9a1d76c13d r13954: Add --enable-dso flag to ./configure that simplifies the ability to
do shared library-enabled builds.
2007-10-10 13:52:31 -05:00
Stefan Metzmacher
f4996fbacc 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
2007-10-10 13:52:30 -05:00
Stefan Metzmacher
65bb303ff3 r13940: use the local vs. install linkerflag trick for shared libs too
metze
2007-10-10 13:52:29 -05:00
Jelmer Vernooij
557533b917 r13939: Fix bin/.dummy issues, add more ignores 2007-10-10 13:52:29 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
3e27534ad6 r13921: rename DEFAULT_VISIBILITY -> STANDARD_VISIBILITY
the standard is "hidden" and not "default", I hope this
name makes a bit less confusing

metze
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
ab553c296f r13919: for us the standard for the visibility is "hidden"
and "default" means public

metze
2007-10-10 13:52:23 -05:00
Stefan Metzmacher
17be97240f r13918: fix whitespaces
metze
2007-10-10 13:52:23 -05:00
Stefan Metzmacher
a0c543c0d6 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
2007-10-10 13:52:23 -05:00
Jelmer Vernooij
c80a8f1102 r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default.
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
0c95bf0cd3 r13902: Stricter checking for the -fvisibility flag
Add two more proto headers.
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
ba74f24e42 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)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
ea9988dfda 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.
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
d512b147e8 r13867: Wrap the cflags.sh hack in the build system. You can now simply
set subsystem-specific compiler flags in the .mk files.
2007-10-10 13:52:18 -05:00
Jelmer Vernooij
fe5eae0e98 r13847: Fix some portability issues with the visibility attribute. 2007-10-10 13:52:15 -05:00
Jelmer Vernooij
52a2356505 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
2007-10-10 13:52:11 -05:00
Jelmer Vernooij
2ec7bba03a r13654: Move some more stuff out of include/ 2007-10-10 13:52:05 -05:00
Andrew Bartlett
6b42029de9 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
2007-10-10 13:51:40 -05:00
James Peach
7354de62a7 r13263: Check whether open(2) will accept the O_DIRECT flag. This should fix the
build on NetBSD.
2007-10-10 13:51:39 -05:00
James Peach
08bdaa8e10 r13249: Check for alloca.h. popt needs this. 2007-10-10 13:51:38 -05:00
James Peach
8aa8be93b0 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.
2007-10-10 13:51:38 -05:00
Andrew Bartlett
8866aa06ff 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
2007-10-10 13:51:37 -05:00
James Peach
92eec04962 r13243: Bring __FUNCTION__ checks across from Samba 3. 2007-10-10 13:51:36 -05:00
James Peach
3ade52398a r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. Fix
from Brad Hards <bradh@frogmouth.net>.
2007-10-10 13:51:36 -05:00
Stefan Metzmacher
03a0363850 r13227: revert some more stuff from 13208
metze
2007-10-10 13:51:35 -05:00
James Peach
2aefbcb472 r13225: Enable full compiler warnings for developer mode on IRIX. 2007-10-10 13:51:35 -05:00
Jelmer Vernooij
898d15acbd 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.
2007-10-10 13:51:34 -05:00
Stefan Metzmacher
615b82f7c7 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
2007-10-10 13:51:31 -05:00
Andrew Bartlett
2c02a45d5a r13153: Try to move closer to FHS. This probably breaks everything...
Andrew Bartlett
2007-10-10 13:51:29 -05:00
Andrew Bartlett
655076d51b r13152: Jelmer assures me that this won't break anything, but does make it
much clearer where things go.

Andrew Bartlett
2007-10-10 13:51:29 -05:00
James Peach
0eda8a3197 r13071: Work around a really annoying compiler warning where header file
ordering causes MIN and MAX to be redefined.
2007-10-10 13:51:21 -05:00
Jelmer Vernooij
cbcce3b573 r13070: Add a simple smbd manpage, based on the Samba 3 one. 2007-10-10 13:51:21 -05:00
Stefan Metzmacher
de7b0b2dc9 r12896: IRIX make will fallback to gmake with this,
as normal IRIX make doesn't support shell commands or functions
in $(FOO) variables

metze
2007-10-10 13:50:59 -05:00
Stefan Metzmacher
bcf4c36255 r12836: use: -fvisibility=hidden -D_PUBLIC_="__attribute__((visibility(\"default\")))"
if the compiler supports it, this will cause that modules can only access
public functions (gcc 4 supports this)

metze
2007-10-10 13:50:04 -05:00
Stefan Metzmacher
e6dff57793 r12805: merge from samba3
metze
2007-10-10 13:49:58 -05:00