summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-04-24lib/replace/wscript: add replacement for IPV6_V6ONLY on linux systems with ↵Stefan Metzmacher1-0/+19
broken headers This is needed on SLES8. metze
2010-04-24lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken ↵Stefan Metzmacher2-0/+51
headers This is needed on SLES8. metze
2010-04-24lib/zlib/wscript: fix system zlib detectionStefan Metzmacher1-0/+3
metze
2010-04-21build: make python development headers not mandatory in standalone libsAndrew Tridgell1-1/+1
This needed an update to the python tool in waf thanks to Kai for spotting this
2010-04-20util-runcmd: ignore spurious ECHILD errorsAndrew Tridgell1-0/+14
when we get ECHILD in samba_runcmd it is because the parent has set SIGCHLD to SIG_IGN. In that case the child status information is lost. We then have to fallback on the logging of child error messages for any useful information on what happened to the child. A longer term fix is to stop using SIG_IGN for SIGCHLD in the standard process model of s4.
2010-04-20talloc: there is no ambiguity when freeing a ptr with a null parentAndrew Tridgell5-2/+104
when a ptr has a single reference and a NULL parent, then talloc_free(ptr) is not ambiguous, as the caller could not have done a talloc_free(NULL) to free the memory Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2010-04-20tdb: update tdb ABI to use hide_symbols=TrueAndrew Tridgell5-78/+67
We now use -fvisibilty=hidden to hide symbols from outside the tdb shared library. This also moved tdb_transaction_recover() into the tdb_private.h header, as it should never have been a public API. For that reason we are changing the version number. We're only doing a minor version increment as it is extremely unlikely that anyone was actually using tdb_transaction_recover() as its locking requirements were rather unusual. Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2010-04-19runcmd: use tevent_re_initialise() to close socketsAndrew Tridgell1-0/+4
this ensures that all event fds are closed in the child
2010-04-18build: more adjustments for the ABI type name mapsAndrew Tridgell2-4/+4
- use 'va_list' instead of 'struct __va_list_tag *' Using the C name for va_list is preferable - add support for negative ABI name matches in abi_match=. That is used to exlude ldb_*module_ops from the ldb ABI - don't include the ldb module ops or backend ops in the ABI
2010-04-18s4-waf: rebuild signature files with the api type mapsAndrew Tridgell3-23/+23
This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names
2010-04-18tevent-waf: enabled ABI checking in teventAndrew Tridgell2-0/+75
2010-04-18tevent: mark backend init fns as _PRIVATE_Andrew Tridgell3-3/+3
these are not supposed to be exposed in the library
2010-04-18tdb-waf: added ABI checking for tdbAndrew Tridgell2-0/+97
2010-04-18talloc: mark public functions as _PUBLIC_Andrew Tridgell1-62/+62
2010-04-18talloc-waf: added ABI checking for tallocAndrew Tridgell2-0/+65
2010-04-18replace-waf: hide symbols in libreplace if a builtin libraryAndrew Tridgell1-0/+1
2010-04-18libreplace: added _PUBLIC_ and _PRIVATE_ to replace.hAndrew Tridgell2-6/+18
these are needed for all libs that use ABI checking, so libreplace is the logical place for now
2010-04-18s4-waf: put the --xxx-wrapper options in 'developer options' groupAndrew Tridgell3-5/+8
2010-04-13s4-waf: don't try to use the system lib for the library buildAndrew Tridgell2-9/+11
when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13tevent-waf: added man page and pkgconfig fileAndrew Tridgell1-3/+11
this allows libtevent to build under rpmbuild Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13tdb-waf: added build of manpages and config options for RPM buildAndrew Tridgell1-3/+44
Building a RPM from the fedora spec file now works with minimal changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13talloc-waf: the talloc1-compat lib depends on tallocAndrew Tridgell1-2/+2
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-13talloc-waf: added the manpage generation and talloc1-compat generationAndrew Tridgell1-1/+34
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-13s4-tevent: up tevent version numberAndrew Tridgell2-2/+2
tevent now has tevent_re_initialise() which is needed for the s4 build
2010-04-12lib/replace/wscript: avoid global deps for LIBREPLACE_HOSTCCStefan Metzmacher1-0/+1
metze
2010-04-12lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf ↵Stefan Metzmacher1-9/+2
system does metze
2010-04-12lib/nss_wrapper/wscript_build: 'replace' already includes 'dl'Stefan Metzmacher1-1/+1
metze
2010-04-12lib/replace/wscript: add dependency to 'dl'Stefan Metzmacher1-1/+1
metze
2010-04-12lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCCStefan Metzmacher1-2/+2
metze
2010-04-12s4-waf: move the KRB5_DEPRECATED check into lib/replaceAndrew Tridgell1-0/+7
this needs to be with the krb5.h check for the source3 build
2010-04-12s4-waf: inline LIBREPLACE_NETWORK into 'replace'Stefan Metzmacher4-17/+9
metze
2010-04-12lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCEStefan Metzmacher1-5/+6
metze
2010-04-12lib/replace/wscript: implement the same getpass detection logic as the ↵Stefan Metzmacher1-2/+2
autoconf version metze
2010-04-12lib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'Stefan Metzmacher1-5/+3
metze
2010-04-12build: use a common autogen-waf.sh for all buildsAndrew Tridgell4-88/+4
the symlink will get updated with the right target when waf dist is used in each directory
2010-04-11subunit: Cope with lowercase test results in tap2subunit.Jelmer Vernooij2-5/+16
Also submitted upstream.
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-1/+1
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-10torture: Simplify torture suite running, call restricted test suite runner.Jelmer Vernooij2-0/+12
2010-04-10lib/replace: create a LIBREPLACE_H subsystemStefan Metzmacher1-3/+12
metze
2010-04-09lib/torture: also print intergers as HEX values in the torture_assert macrosStefan Metzmacher1-6/+8
metze
2010-04-09torture: add torture_assert_goto() convenience macroKamen Mazdrashki1-0/+7
2010-04-08tsocket_bsd: Always use a real length for the sa_socklen, and keep it aroundAndrew Bartlett1-68/+16
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-08Revert "socket-wrapper: not all systems have FIONREAD defined"Stefan Metzmacher1-2/+0
This reverts commit 710aa773d54509de34404f9992c5058ddfa45f3b. 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-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy3-6/+4
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-07update-external: Support updating dnspython.Jelmer Vernooij1-0/+5
2010-04-07s4-python: Use standard infrastructure for finding included testtools, ↵Jelmer Vernooij1-19/+0
subunit and iso8601.
2010-04-06s4-waf: don't need TOUCH_FILE() any moreAndrew Tridgell1-1/+0
2010-04-06s4-waf: replace TOUCH_FILE() with normal install rulesAndrew Tridgell1-4/+5
this allows it to work with 'waf uninstall'
2010-04-06s4-waf: fixed waf distcheck for our standalone libs and s4Andrew Tridgell4-0/+16
2010-04-06s4-waf: added simple 'waf test' support for tdb, talloc and ldbAndrew Tridgell3-4/+16