1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

1037 Commits

Author SHA1 Message Date
Zach Loafman
472519eb69 Check for f_frsize when using statvfs
Add a configure test for the availability of f_frsize in struct statvfs
(for broken platforms that define statvfs but still have
f_bsize/f_iosize). Also add sys/types.h to the other struct statvfs test
(again, some platforms need it).
(This used to be commit 591bf1d15f)
2008-07-22 15:00:48 +02:00
Zach Loafman
45bbad9ca0 Add --enable-picky-developer
This adds an --enable-picky-developer option that will halt compilation
on warnings. Yes, this could be handled by a direct Makefile change, but
people should be encourage to do it!
(This used to be commit 10a2ab4077)
2008-07-22 15:00:48 +02:00
Jeremy Allison
cdabee2bb4 This patchset comprises a number of cleanups for the cifs upcall
binary. The biggest change is that it renames it from cifs.spnego
to cifs.upcall since the cifs.spnego name really isn't applicable
anymore.

It also fixes a segfault when the program is run without any args
and adds a manpage. Comments and/or suggestions appreciated.

This set should apply cleanly to the 3.3 test branch.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeremy.
(This used to be commit c633f10d9e)
2008-07-16 17:27:05 -07:00
Zach Loafman
55f676550a Fix realpath() check so that it doesn't generate a core() when it fails.
(This used to be commit 5fdbf89c89)
2008-07-10 15:24:57 -07:00
Michael Adam
373c315788 build: remove library-versions.in - it is not used any more.
Michael
(This used to be commit e2699b7f86)
2008-07-07 20:34:04 +02:00
Michael Adam
576d1dc66d build: set SONAME version of libraries from configure, not using library-versions
This sets the library versions (previously gotten from library-versions
file during make) already at configure time.

For library "foo", the version is stored in the LIBFOO_SOVER configure
variable.  For all libraries except libwbclient, this is done through the
call of SMB_LIBRARY().

NOTE: Currently the versions are hard-coded in the SMB_LIBRARY() calls in
configure.in, but this change makes it easier to retrieve the version from
the libraries source dir at configure time, e.g. for talloc and tdb.

Michael
(This used to be commit 3c300f9f8c)
2008-07-07 20:34:04 +02:00
Michael Adam
d51180e4b8 build: handle libaddns by SMB_LIBRARY() and correctly create SONAME file.
Create .so file as a symlink.

Michael
(This used to be commit bbf665ad57)
2008-07-07 20:34:03 +02:00
Michael Adam
fc54fc52f4 build: handle libsmbsharemodes by SMB_LIBRARY() and correctly create SONAME file.
Create libsmbsharemodes.so as a symlink.

Michael
(This used to be commit 1157048146)
2008-07-07 20:34:02 +02:00
Michael Adam
1b20cf1324 build: handle libsmbclient by SMB_LIBRARY() and correctly create soname file.
Create libsmbclient.so as a symlink to libsmbclient.so.0.

Michael
(This used to be commit c463bd0cb9)
2008-07-07 20:34:02 +02:00
Karolin Seeger
006515d889 Revert "build: add symbol versioning when we build with gnu ld"
This reverts commit cb5492978b.

For more information, please have a look at the discussion on
samba-technical starting with [1].

[1] http://lists.samba.org/archive/samba-technical/2008-June/059511.html

Karolin
(cherry picked from commit 1e5aeb96f9)
(This used to be commit d06baf0e74)
2008-06-27 13:46:26 +02:00
Andrew Bartlett
086de4ddb5 Without stdlib.h we don't get a prototype for free().
This test fails if GCC emits any warnings (presumably to detect the
function propertly), but unless we include this message then free()
fail.  Why we need to call free in a configure test is probably
something to blame on valgrind...

Andrew Bartlett
(This used to be commit d013f6fadc)
2008-06-17 22:45:29 +10:00
Volker Lendecke
e7530f567c Use the correct cups-devel test for HAVE_IPRINT also
(This used to be commit a42d7e1146)
2008-06-14 11:10:13 +02:00
Volker Lendecke
c08611a6c5 Correctly check for presence of cups-devel
On SuSE at least cups-config belongs to cups-libs which does not contain the
headers which are in cups-devel.
(This used to be commit 2408d2493f)
2008-06-14 10:39:25 +02:00
Volker Lendecke
67f3ee618b Add -brtl to the AIX linker flags
Thanks to William Jojo
(cherry picked from commit 74b195b544)
(This used to be commit 5ffad12d68)
2008-06-12 13:17:37 +02:00
Stefan Metzmacher
b19587b464 configure: we require autoconf 2.54
I've tested with autoconf from 2.53 to 2.62.

metze
(This used to be commit a268a6d251)
2008-06-09 11:05:06 +02:00
Stefan Metzmacher
4461f0a6ee configure: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 89663ab4d1)
2008-06-09 11:04:56 +02:00
Stefan Metzmacher
7f70c126b2 configure: fix warnings with autoconf-2.62 rename samba_stat_hires => samba_cv_stat_hires
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 426b1e36e2)
2008-06-09 11:04:50 +02:00
Stefan Metzmacher
2c0360fe26 configure: fix warnings with autoconf-2.62 rename smb_krb5_ => smb_krb5_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 38a03d61ec)
2008-06-09 11:04:45 +02:00
Stefan Metzmacher
ad90333e89 build: make sure LIBWBCLIENT_*_TARGET is never empty
This should fix the build with non gnu make

metze
(cherry picked from commit 401a0c84fe)
(This used to be commit 36ba31e39b)
2008-05-23 17:23:46 +02:00
Stefan Metzmacher
7abda3fb9d build: add symbol versioning when we build with gnu ld
There's --enable-symbol-versioning=no to disable it.

metze
(cherry picked from commit cb5492978b)
(This used to be commit a739652d94)
2008-05-23 17:19:57 +02:00
Stefan Metzmacher
3d6911afca build: autogenerate exports/libwbclient.syms
metze
(cherry picked from commit 8e0fcd583a)
(This used to be commit 17ce137754)
2008-05-23 17:19:56 +02:00
Stefan Metzmacher
ef0dd8850b build: pass .syms extention via @SYMSEXT@ from configure
metze
(cherry picked from commit efb23fdce7)
(This used to be commit 3bf5a047e3)
2008-05-23 17:19:55 +02:00
Stefan Metzmacher
033ec7fbf5 configure: samba_cv_unixsocket was renamed into libreplace_cv_HAVE_UNIXSOCKET
metze
(This used to be commit d53b589deb)
2008-05-22 13:02:59 +02:00
Stefan Metzmacher
3b6b2f26fc configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have this
metze
(This used to be commit e94ff756be)
2008-05-22 13:02:59 +02:00
Kai Blin
00f6ad7b5a net: Split out "net afs"
(This used to be commit 3f10527f79)
2008-05-20 14:27:56 +02:00
Kai Blin
10f9a60e39 configure: Fix comment to match the current iconv check.
(This used to be commit 5d9963479f)
2008-05-18 02:27:45 +02:00
Stefan Metzmacher
12dc451163 configure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the tests
metze
(This used to be commit 6b782b5897)
2008-05-17 13:18:34 +02:00
Stefan Metzmacher
5bb40d07f8 configure: remove some header checks which are already done by AC_LIBREPLACE_NETWORK_CHECKS
metze
(This used to be commit d81e58597e)
2008-05-17 13:18:33 +02:00
Stefan Metzmacher
b800fad625 configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace
metze
(This used to be commit ca163ff81a)
2008-05-17 13:18:32 +02:00
Stefan Metzmacher
ab90fc9a56 configure: remove unused configure check for HAVE_WORKING_AF_LOCAL
metze
(This used to be commit dddc4f0cef)
2008-05-17 13:18:31 +02:00
Stefan Metzmacher
fc83dd6fd6 libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
metze
(This used to be commit 0c9b24e1e7)
2008-05-16 08:51:47 +02:00
Kai Blin
7c4c5e5f84 configure: Kill linker warnings about 32bit libs on 64bit Linux.
(This used to be commit 9a40cbd66f)
2008-05-14 15:23:41 +02:00
Jeremy Allison
82572cfd43 Enable tests for splice on Linux. Add a static (vl, I hate this)
so we can detect broken Linux recvfile splice and correctly fall
back.
Jeremy.
(This used to be commit ec2d301a7a)
2008-05-06 15:44:39 -07:00
Günther Deschner
fb623c942d pam_winbind: Fix Bug #5430 (patch from fumiyas@osstech.co.jp).
Guenther
(This used to be commit d8372f73b9)
2008-04-30 18:34:29 +02:00
Michael Adam
5a4db7eacb configure: fix a comment typo
Michael
(This used to be commit af2a1f15e6)
2008-04-22 14:13:48 +02:00
Björn Jacke
25f9ca7b05 add AC_TRY_RUN_STRICT support for Sun Studio compiler
(This used to be commit ce7025df29)
2008-04-16 16:40:44 +02:00
Gerald W. Carter
72556d4c8c Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.
(This used to be commit 359921acd4)
2008-04-16 15:48:00 +02:00
Günther Deschner
de013be0b6 gpo: add scripts plugin.
Guenther
(This used to be commit cd6388f040)
2008-04-13 17:52:11 +02:00
Michael Adam
7d7b420ad1 libnetapi: fix dependency problem by linking libnetapi statically (internally)
This is a workaround until we have isolated enough internal libraries
as shared libraries.

Michael
(This used to be commit 8a87e40270)
2008-04-12 02:17:46 +02:00
Michael Adam
1cd7e36ace configure: be more portable, use 'printf "%s"' instead of "echo -n"
Michael
(This used to be commit 06dfb0cf7c)
2008-04-01 16:16:55 +02:00
Gerald (Jerry) Carter
eeeb4aa931 Fix libtdb some to move back towards allowing out of tree builds
Remaining problem is that not all *.syms linker scripts are generated
so the LD command needs to look in a single place.  Out of tree
builds now work but report write access to the source tree in order
to create the $(srcdir)/expotrs/libtdb.sysms file.
(This used to be commit 6e9287c5c3)
2008-03-24 17:25:13 -05:00
Günther Deschner
5fdf4b8f4a Remove remaining old srvsvc client and server rpc code entirely.
Guenther
(This used to be commit a5f0186f70)
2008-03-21 04:16:22 +01:00
Volker Lendecke
90300631eb Build aio_fork by default
... only when --with-aio-support and we can pass file descriptors
(This used to be commit fdf4cd99cc)
2008-03-08 12:31:12 +01:00
Simo Sorce
9e83c9159e Enable use of Relocations Read-Only, if supported, for enhanced security.
(This used to be commit c20c5f0821)
2008-03-07 11:33:26 -05:00
Günther Deschner
d42e415b40 Revert "Make sure to generate pkgconfig files for libtdb and libtalloc."
This uses incorrect version numbers for tdb and talloc.

Guenther

This reverts commit df97fb019b.
(This used to be commit ead849949b)
2008-03-05 16:31:04 +01:00
Günther Deschner
cb94b313ba Make sure to generate pkgconfig files for libtdb and libtalloc.
Guenther
(This used to be commit df97fb019b)
2008-03-05 15:40:23 +01:00
Günther Deschner
485b070eb8 Add "registry" Group Policy extension.
Guenther
(This used to be commit 4e93301ca4)
2008-02-29 17:25:28 +01:00
Günther Deschner
41efa5ca45 Add Group Policy extension infrastructure.
Guenther
(This used to be commit 6d543b1a1a)
2008-02-29 17:07:57 +01:00
Volker Lendecke
695b6662ab Attempt to fix the build
(This used to be commit 364d87a5e4)
2008-02-29 10:17:35 +01:00
Stefan Metzmacher
85b7f90c47 configure: only build vfs_syncops if dirfd() is available
This hopefully fixes the build on HP-UX.

metze
(This used to be commit 5fb7533e37)
2008-02-29 09:58:37 +01:00