1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

412 Commits

Author SHA1 Message Date
Jelmer Vernooij
0969ac9e61 r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(This used to be commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)
2007-12-21 05:45:12 +01:00
Stefan Metzmacher
e8b921293b r25913: maybe some platforms have problems with echo -e
metze
(This used to be commit c9586b8ab34e8737cf87a642fbcc811edd0a6590)
2007-12-21 05:44:52 +01:00
Stefan Metzmacher
df3f31d2d5 r25697: make *clean doesn't work after a svn up when some *.mk files were removed
the error is:
SAMBA_4_0/source> make clean
make: *** No rule to make target `lib/ldb/samba/config.mk', needed by `Makefile'.  Stop.

the problem is:
Makefile: config.status $(MK_FILES)
	./config.status

so now we let the MK_FILES variable empty for the *clean targets
if gnu make is detected, we should later test if this construct
is portable to other make implementations and remove the check for gnu make.

metze
(This used to be commit 4c8e539af1e8f14bb449c92db3376dec12344e5b)
2007-12-21 05:43:19 +01:00
Jelmer Vernooij
8c2ef262a8 r25524: Fix directory names for local module builds.
(This used to be commit 93e5a568e3da1c8b2e7decb2a675456ad35dc29b)
2007-10-10 15:07:47 -05:00
Stefan Metzmacher
d6c66ea774 r25187: pass FIRST_PREREQ to Makefile so that the value can be used
in handwritten rules too, hopefully fix the build
of ldb with bsd make.

metze
(This used to be commit 9d6d296105526c55f08d82d289a30b92193d51e3)
2007-10-10 15:06:48 -05:00
Andrew Bartlett
15c1801a5c r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
(This used to be commit cda965e908055d45b1c05bc29cc791f7238d2fae)
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
82037a75ea r24814: Fix headers, trim core.h even more.
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10 15:03:14 -05:00
Stefan Metzmacher
8ece71f26e r23635: fix the samba4 build...
we need a bit more work to get linking of
shared libraries completely right...

metze
(This used to be commit 31cbb9ff9f347f0f0fb50150527bad6ff06e0ebd)
2007-10-10 14:53:29 -05:00
Stefan Metzmacher
d5b212caf4 r23631: when linking shared libraries we need to make shure the linker doesn't
skip "unneeded" object files from within .a files.

If the build-farm doesn't like -Wl,--whole-archive, I'll add some more
configure logic fix it tomorrow.

Kai: with this your libnss_winbind.so patch works for me

metze
(This used to be commit d2609580846647b3c0d4e88e106a9763cd7074ef)
2007-10-10 14:53:29 -05:00
Stefan Metzmacher
acedd59f35 r22451: allow
SKIP_DEP_FILES=yes make

metze
(This used to be commit 31fab208f63f0ee3fb1838c9b59421feb5752948)
2007-10-10 14:51:21 -05:00
Stefan Metzmacher
ca1e672c6b r22186: fix build with autodependencies
metze
(This used to be commit a45c7cf238238d821e1d41549983915330bfd43a)
2007-10-10 14:50:00 -05:00
James Peach
f3455f0f44 r22047: Move suffix rules into smb_build. Enable $< if we are building with
GNU Make. This lets GNU Make users bild with $srcdir != $builddir.
(This used to be commit bb473bf856c0108646c67792d5750c84743ea46e)
2007-10-10 14:49:45 -05:00
Stefan Metzmacher
8d525c8187 r22038: - fix perl warning
- use the same if statement as in input.pm

metze
(This used to be commit 8ffcac65be216df8d1701b900a933b99d6d9a77d)
2007-10-10 14:49:44 -05:00
James Peach
4873704e5a r22037: Make sure STATICDIR exists before linking a static archive.
(This used to be commit c8ffdc15420c9b849b8d8e930f644ac6f83dcc77)
2007-10-10 14:49:44 -05:00
James Peach
c09f40214e r22036: Make sure both srcdir and builddir are in VPATH.
(This used to be commit 9400f07738eeedb08f38426964ac23b5d4312de9)
2007-10-10 14:49:44 -05:00
James Peach
2e588454fe r22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
compiling.
(This used to be commit 976343821b99b04725c9fddee42dbcd0261c2d51)
2007-10-10 14:49:43 -05:00
Jelmer Vernooij
72d88d158a r21707: Finally merge my (long-living) perlselftest branch.
This changes the main selftest code to be in perl rather than in shell script.

The selftest script is now no longer a black box but a regular executable that takes
--help.

This adds the following features:

 * "make test TESTS=foo" will run only the tests that match the regex "foo"
 * ability to deal with expected failures. the suite will not warn about tests
   that fail and are known to fail, but will warn about other failing tests and
   tests that are succeeding tests but incorrectly marked as failing.
 * ability to print a summary with all failures at the end of the run

It also opens up the way to the following features, which I hope to implement later:
 * "environments", for example having a complete domains with DCs and domain members
 in a testenvironment
 * only set up smbd if necessary (not when running LOCAL tests, for example)
 * different mktestsetup scripts per target. except for the mktestsetup script, we can
   use the same infrastructure for samba 3 or windows.
(This used to be commit 38f867880beb40c691e9713f854426031310629c)
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
df1033b17e r21678: Don't generate Requires.private lines for install .pc files. Static library use by external programs is still broken, but this should at least fix shared libs.
(This used to be commit 06659bce1b5dc7529d0984deadd451478c082773)
2007-10-10 14:49:09 -05:00
Jelmer Vernooij
fd2d095048 r21541: Export mgmt, samr and atsvc for use in samba-gtk.
(This used to be commit 7f451cbb8da26cfe27861c402e06b3f34f7ac647)
2007-10-10 14:48:55 -05:00
Jelmer Vernooij
30bfba96d3 r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument.
(This used to be commit 6bada0dcf0c7915d366c7917189375dbabecdd4f)
2007-10-10 14:43:57 -05:00
Stefan Metzmacher
b6e3c0cf0d r20802: - don't add the same Makefile vars twice...
- this fixes a lot of warnings on Tru64

maybe this also fixes the build on Tru64 and HPUX...

metze
(This used to be commit a154fd04c84323d2e9e537e78fd95e29428cfd8a)
2007-10-10 14:43:32 -05:00
Derrell Lipman
43470b5ec3 r20444: WEB Application framework / SWAT.
We're now at the stage where the web application framework should build and
install automatically.

Derrell
(This used to be commit 0201baef46c1701007e0a4cdd95edee287939318)
2007-10-10 14:30:39 -05:00
Stefan Metzmacher
aae7773e2a r20303: try to fix 'make install' on solaris 8, ln -fs doesn't seem to work if
the link already exist

metze
(This used to be commit 6a089d48ec1424eea876ef9c1c65e74b5ee33781)
2007-10-10 14:29:35 -05:00
Jelmer Vernooij
253c1bec46 r20298: Fix pidl tests (missing symlink..).
(This used to be commit ab3d57394630cefc1fefe859c8bd3d56f6e63695)
2007-10-10 14:29:34 -05:00
Jelmer Vernooij
25579c6fe8 r19908: Fix order of paths in pc files.
(This used to be commit 033b4382c09b7a4032388231f6e1f1986a663f9d)
2007-10-10 14:28:35 -05:00
Jelmer Vernooij
9a1f380d5b r19882: Fix static link flags in pkg-config files. Should allow running
pidl tests on systems without shared libs.
(This used to be commit fb623be4ff09c2fb0546edc0892ad3a59d58f274)
2007-10-10 14:28:31 -05:00
Jelmer Vernooij
d25f2ba3dc r19881: Add private library flags when linking to static libraries.
(This used to be commit 72f1ffc0ef56753deba716cf9d31d44c95e7cc33)
2007-10-10 14:28:31 -05:00
Jelmer Vernooij
60e7b4d995 r19863: Create -uninstalled.pc files. This should reenable compilation and running
of the pidl testsuite as part of the testsuite.
(This used to be commit db237ad52f3a42c7b35753df99549ed6d540cec2)
2007-10-10 14:28:27 -05:00
Jelmer Vernooij
d7949f8a70 r19673: Build shared libs against shared libs.
(This used to be commit dad9156db9d53c51d7785139576dddcde7e34c56)
2007-10-10 14:25:28 -05:00
Jelmer Vernooij
547eef2cf1 r19670: Reduce the number of unresolved symbols when building with shared libraries.
(This used to be commit 4422031d1d9307539832cee165c5071ff12943e7)
2007-10-10 14:25:27 -05:00
Jelmer Vernooij
667eedac90 r19634: Only use --allow-undef-shlib for modules.
(This used to be commit e8f2a086be2a0553467738df711b1450ba559848)
2007-10-10 14:25:21 -05:00
Jelmer Vernooij
c4ee1af3fb r19631: Re-enable shared libraries, but don't use -rpath-link unless
shared libraries are actually used.
(This used to be commit 93e4f093b946cbb1b6deca82efdf0d5f033128b8)
2007-10-10 14:25:20 -05:00
Stefan Metzmacher
640047e947 r19625: not all linkers like -Wl,rpath-link, so don't use it till we have configure checks
and working shared libraries

metze
(This used to be commit 25376f748c6f2da48a8bf7e0aa0d59befb9db4f3)
2007-10-10 14:25:19 -05:00
Stefan Metzmacher
ead66ffddf r19618: pass -D_SAMBA_HOSTCC_ when using the hostcompiler
metze
(This used to be commit 846553085e57bda44fda2a541bf00517d3586e8c)
2007-10-10 14:25:16 -05:00
Jelmer Vernooij
0b3f04a9be r19582: Support building both shared and static versions of libraries at the same
time.

The --enable-dso flag now specifies whether or not the Samba binaries
themselves should be linked against the shared libraries.

By default, all libraries will be built staticly. If supported, the
shared variant of each library will also be built.

If people think building both shared and static library versions in
'make all' is too time-inefficient, please let me know and I'll move the
shared library bits to 'make everything'.
(This used to be commit 91faa1154a1de18a42f5e237c406157026280478)
2007-10-10 14:24:56 -05:00
Jelmer Vernooij
8164c24149 r19575: Build static libs in bin/static rather than bin/
(This used to be commit c9b06ce5636c37ddb077513796a288d88f62c358)
2007-10-10 14:24:55 -05:00
Jelmer Vernooij
09a36ffab1 r19574: Initial work towards supporting build of both shared and static libraries.
(This used to be commit e24ec3aa1ada855401a714743518893d9506239c)
2007-10-10 14:24:55 -05:00
Jelmer Vernooij
3c9a28f85e r19543: Make dynconfig less special.
(This used to be commit 2780274e6fb25cec78ad341239090ed286ed1a45)
2007-10-10 14:24:47 -05:00
Jelmer Vernooij
72b164d2e9 r19509: Simplify buildsystem code, create proper symlinks for aliases.
(This used to be commit a6d610805970dcb8b2676db9074432a094f7c149)
2007-10-10 14:24:42 -05:00
Jelmer Vernooij
4fa24df98d r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10 14:24:41 -05:00
Jelmer Vernooij
bc596cf917 r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
(This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)
2007-10-10 14:24:39 -05:00
Derrell Lipman
68453d1da2 r19449: ldbbrowse: installation hopefully works now. "Developer" installations
('configure.developer' or 'configure --enable-developer') may still have
problems as I'm not sure I got all of the paths right for that.

With the changes Tridge has made to the Main Menu in swat, given a
non-developer installation, you should be able to get to ldbbrowse via:

  JSON/qooxdoo -> ldb browser

Derrell
(This used to be commit 2406af10791cd8545c598c8591a48de5515c7dc5)
2007-10-10 14:21:33 -05:00
Jelmer Vernooij
a4137b50a7 r19364: Fix build for 'regular' installs.
(This used to be commit 916413097d2ca7b71c06cd701f09bc3b9fc06cfc)
2007-10-10 14:21:17 -05:00
Jelmer Vernooij
c554e2168b r19358: Use subunit tests from the right location (from
$src/bin/torture when developing, $LIBDIR/torture when installed)
(This used to be commit 4ae6380e6bb48e27e9947e149b3d079b3e293cc0)
2007-10-10 14:21:16 -05:00
Jelmer Vernooij
b58deeea69 r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.
Support directories for subcategories in tests.
Several small other fixes.
(This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10 14:21:14 -05:00
Jelmer Vernooij
52e3f69a36 r19343: Add support for external scripts/binaries that write results using the
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that
can't depend on -ltorture into smbtorture. The protocol is very simple:

- write "comments" to stderr

Example output on stdout:
test: foo
success: foo
test: bar
success: bar
test: blah
failure: blah [
dummy.c:30: Expression 1 != 2 failed!
]
test: blie
skip: blie [
Iconv support not built in
]

I've already converted the talloc testsuite.
(This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
2007-10-10 14:21:13 -05:00
Andrew Tridgell
f753f43d81 r18833: darn, forgot to commit this
sorry about the build breakage
(This used to be commit c0684d0f26917e6623bad1e0f9b8312873230300)
2007-10-10 14:19:16 -05:00
Stefan Metzmacher
6b5e86f47b r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCC
- also specify USE_HOSTCC = YES on binaries that use HOSTCC

I also disable autodependecies as this change let make run forever,
I hopefully fix that tomorrow

metze
(This used to be commit 159f74570233a8707dc1deb70fb1917a854213f8)
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
c8295a7d2f r18181: use:
CC and CFLAGS
 LD and LDFLAGS
 STLD and STLD_FLAGS
 SHLD and SHLD_FLAGS

all controled by configure
and import the values from samba3 which are more recent

metze
(This used to be commit 5e59153735102df6fae2eaaac6a7c3db86c95f8f)
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
7ba7e54ac8 r18136: put lib/replace in the default include path
metze
(This used to be commit 2b51391470d0ecf001cd869e4ab9ba7a3474a7fe)
2007-10-10 14:17:38 -05:00