Andrew Tridgell
4e448e2d2c
libreplace: added _PUBLIC_ and _PRIVATE_ to replace.h
...
these are needed for all libs that use ABI checking, so libreplace
is the logical place for now
2010-04-18 15:00:37 +10:00
Andrew Tridgell
d81eccc0ba
s4-waf: put the --xxx-wrapper options in 'developer options' group
2010-04-18 15:00:37 +10:00
Andrew Tridgell
c10d267a76
s4-waf: don't try to use the system lib for the library build
...
when building library FOO, don't try to find the system library FOO
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 23:03:27 +10:00
Andrew Tridgell
483d059c8e
tevent-waf: added man page and pkgconfig file
...
this allows libtevent to build under rpmbuild
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 23:03:27 +10:00
Andrew Tridgell
367ba43b63
tdb-waf: added build of manpages and config options for RPM build
...
Building a RPM from the fedora spec file now works with minimal changes
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 20:15:41 +10:00
Andrew Tridgell
42505df161
talloc-waf: the talloc1-compat lib depends on talloc
...
It is a library linked to another library, not a 2nd copy of talloc.c
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 20:15:41 +10:00
Andrew Tridgell
ab9e5047d7
talloc-waf: added the manpage generation and talloc1-compat generation
...
this allows the RPM spec file to be used with only a tiny mod (using
autogen-waf.sh instead of autogen.sh and using ln -sf for the library
links instead of ln -s)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 17:34:44 +10:00
Andrew Tridgell
ab73692bd3
s4-tevent: up tevent version number
...
tevent now has tevent_re_initialise() which is needed for the s4 build
2010-04-13 11:45:38 +10:00
Stefan Metzmacher
8921834be8
lib/replace/wscript: avoid global deps for LIBREPLACE_HOSTCC
...
metze
2010-04-12 12:31:14 +02:00
Stefan Metzmacher
2a727ef6e7
lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf system does
...
metze
2010-04-12 12:31:14 +02:00
Stefan Metzmacher
783d2e9fe5
lib/nss_wrapper/wscript_build: 'replace' already includes 'dl'
...
metze
2010-04-12 12:31:14 +02:00
Stefan Metzmacher
dd38853b56
lib/replace/wscript: add dependency to 'dl'
...
metze
2010-04-12 12:31:13 +02:00
Stefan Metzmacher
14c05405cb
lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCC
...
metze
2010-04-12 12:31:13 +02:00
Andrew Tridgell
d70a7befb6
s4-waf: move the KRB5_DEPRECATED check into lib/replace
...
this needs to be with the krb5.h check for the source3 build
2010-04-12 17:47:29 +10:00
Stefan Metzmacher
33bb334e80
s4-waf: inline LIBREPLACE_NETWORK into 'replace'
...
metze
2010-04-12 09:13:43 +02:00
Stefan Metzmacher
b1393087ac
lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCE
...
metze
2010-04-12 09:13:42 +02:00
Stefan Metzmacher
0d307f25a0
lib/replace/wscript: implement the same getpass detection logic as the autoconf version
...
metze
2010-04-12 08:52:03 +02:00
Stefan Metzmacher
e37b834a62
lib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'
...
metze
2010-04-12 08:39:44 +02:00
Andrew Tridgell
98942c8d84
build: use a common autogen-waf.sh for all builds
...
the symlink will get updated with the right target when waf dist is
used in each directory
2010-04-12 11:17:35 +10:00
Jelmer Vernooij
5d0694f994
subunit: Cope with lowercase test results in tap2subunit.
...
Also submitted upstream.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
4fb98b6856
torture: Simplify torture suite running, call restricted test suite runner.
2010-04-10 22:38:32 +02:00
Stefan Metzmacher
b2e1441864
lib/replace: create a LIBREPLACE_H subsystem
...
metze
2010-04-10 09:51:28 +02:00
Stefan Metzmacher
800c735de6
lib/torture: also print intergers as HEX values in the torture_assert macros
...
metze
2010-04-09 16:28:29 +02:00
Kamen Mazdrashki
ae30cb958e
torture: add torture_assert_goto() convenience macro
2010-04-09 12:21:26 +03:00
Andrew Bartlett
f1aa4c34bf
tsocket_bsd: Always use a real length for the sa_socklen, and keep it around
...
The previous code assumed the OS would happily accept sizeof(struct
sockaddr_storage). It seems some versions of Solaris do not like
this.
Andrew Bartlett
2010-04-08 08:34:40 +02:00
Stefan Metzmacher
0922c5ab2d
Revert "socket-wrapper: not all systems have FIONREAD defined"
...
This reverts commit 710aa773d5
.
We rely on FIONREAD in a lot of other parts in the code,
so there's no need to have an ifdef for it in the socket_wrapper code.
On tru64 FIONREAD is defined in <sys/ioctl.h>
and we include <sys/ioctl.h> via "system/network.h".
Tridge: maybe a HAVE_SYS_IOCTL_H was missing at the time you tried
it on tru64?
If we find a platform that doesn't support it,
we need to bail out at configure time or
provide a replacement in libreplace.
metze
2010-04-08 08:34:39 +02:00
Thomas Nagy
7f3116a63d
build: allow the waf build to work with python 3.0 and 3.1
...
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-08 07:46:39 +10:00
Jelmer Vernooij
0473926a5b
update-external: Support updating dnspython.
2010-04-07 22:53:38 +02:00
Jelmer Vernooij
c349aa3619
s4-python: Use standard infrastructure for finding included testtools, subunit and iso8601.
2010-04-07 00:29:28 +02:00
Andrew Tridgell
748ef2c865
s4-waf: don't need TOUCH_FILE() any more
2010-04-06 20:27:26 +10:00
Andrew Tridgell
64594f296c
s4-waf: replace TOUCH_FILE() with normal install rules
...
this allows it to work with 'waf uninstall'
2010-04-06 20:27:26 +10:00
Andrew Tridgell
7ae4372124
s4-waf: fixed waf distcheck for our standalone libs and s4
2010-04-06 20:27:26 +10:00
Andrew Tridgell
fe060c8f50
s4-waf: added simple 'waf test' support for tdb, talloc and ldb
2010-04-06 20:27:26 +10:00
Andrew Tridgell
ccfce0bbae
s4-waf: autogen-waf.sh for the standalone library builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c8835f440a
s4-waf: use a common pattern for finding buildtools and libs
2010-04-06 20:27:25 +10:00
Andrew Tridgell
553324bc10
s4-waf: move to a universal method of recursing into subdirs
...
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
8dc8d31f4a
s4-waf: fixed finding of buildtools and srcdir
2010-04-06 20:27:25 +10:00
Andrew Tridgell
1883ee6dbc
s4-waf: avoid having to run waf configure before waf dist
...
This should be useful for building tarballs from a clean checkout
2010-04-06 20:27:25 +10:00
Andrew Tridgell
9e9e878e8f
s4-waf: allow standalone tarball build of libraries
2010-04-06 20:27:25 +10:00
Andrew Tridgell
528d7c7cf3
s4-waf: added 'waf dist' to our standalone libs as well
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c8062fb65e
s4-waf: added 'waf dist' to build the tarball
2010-04-06 20:27:24 +10:00
Andrew Tridgell
2bf15566c6
talloc-waf: install talloc.pc if standalone
2010-04-06 20:27:24 +10:00
Andrew Tridgell
7aa3f08f85
build: fixed DESTDIR for TOUCH_FILE()
2010-04-06 20:27:24 +10:00
Andrew Tridgell
f01f74b2be
talloc-waf: match version number with main build
2010-04-06 20:27:23 +10:00
Andrew Tridgell
865e478e25
s4-waf: create a blank __init__.py in samba/external
...
needed for the external lib loader
2010-04-06 20:27:22 +10:00
Andrew Tridgell
9e52dc441e
s4-waf: fixed install location of external python libs
...
this merges with jelmers recent changes in master
2010-04-06 20:27:22 +10:00
Andrew Tridgell
fe0febcf30
s4-waf: added new install system for external python libs
2010-04-06 20:27:22 +10:00
Andrew Tridgell
b498378c8f
s4-waf: fixed some of the group ordering
...
We need to try to keep targets in the right groups
2010-04-06 20:27:18 +10:00
Andrew Tridgell
0a6a808113
s4-waf: add getaddrinfo.c replacement if needed
2010-04-06 20:27:18 +10:00