1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

906 Commits

Author SHA1 Message Date
Jelmer Vernooij
84891b048d s4-python: Install external packages to a different directory but import into
the normal namespace when the system doesn't have it available.
2010-04-01 15:33:07 +02:00
Jelmer Vernooij
5f3fcf7a77 s4-python: Install external included packages only if they're not present on the system. 2010-03-31 03:56:24 +02:00
Jelmer Vernooij
0e77bea165 installmisc: Support DESTDIR for Python directories. 2010-03-31 03:47:10 +02:00
Matthias Dieter Wallnöfer
c8fe49b2d3 s4:installmisc.sh - fix location of "dnspython" library 2010-03-29 22:35:16 +02:00
Matthias Dieter Wallnöfer
fde707aa0c s4:"dns_update_list" file: install it properly into the private directory
This is what the "samba_dnsupdate" script requests (line 220).
2010-03-08 20:37:36 +01:00
Matthias Dieter Wallnöfer
a34eafc693 Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder"
This reverts commit b49276e291.
2010-03-08 20:30:06 +01:00
Andrew Tridgell
25a0750b81 s4-python: only install external python libs that are missing 2010-03-05 11:54:37 +11:00
Andrew Tridgell
8c7cf499ab s4-python: allow us to have samba copies of python libraries we depend on
For python libraries like dns.resolver it is useful to be able to install 
a copy of the library with Samba. This set of functions allows us to do that
while using the locally installed version if it is available

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-05 11:54:36 +11:00
Matthias Dieter Wallnöfer
b49276e291 s4:script/installmisc.sh - install "dns_update_list" to target setup folder 2010-02-26 20:41:38 +01:00
Andrew Tridgell
ad7223b9bd dns: install samba_dnsupdate 2010-02-26 13:59:16 +11:00
Andrew Bartlett
8d03b5e224 s4:install Fix bug #7149 reported by JHT.
We need to install named.conf.update for provision to succeed from the
installed setup file.

Andrew Bartlett
2010-02-25 09:50:03 +11:00
Jelmer Vernooij
9e5ef916d4 net: Move 'newuser' to 'net newuser'
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31 17:33:27 +11:00
Jelmer Vernooij
345b25d059 net: Move setexpiry to 'net setexpiry'
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31 17:33:24 +11:00
Jelmer Vernooij
433f58f5a7 s4/net: Pass all arguments through to the Python commands. 2009-12-29 16:26:20 +01:00
Jelmer Vernooij
e60a40e287 s4/net: Add domainlevel subcommand. 2009-12-29 16:26:20 +01:00
Jelmer Vernooij
72d93599d9 python: Remove sys.path line rather than updating it when installing to python system path. 2009-12-27 17:30:59 +01:00
Andrew Bartlett
ca2c645156 Fix build of Samba4 from tarball generated by mkrelease.sh
Revert "Remove RFC's from the release tarballs to make the lives of the Debian"

This reverts commit eda7f35bc8.

These files are essential to the Samba4 build.

Andrew Bartlett
2009-12-01 14:43:55 +11:00
Andrew Tridgell
e96f9a40ad s4-install: old systems don't have sed -i
surprisingly, this failure came from SLES8. I didn't realise that the
-i option was so new!
2009-11-27 19:58:29 +11:00
Andrew Tridgell
61a278fd8a s4-install: fixed install path for python scripts
when we install python scripts we need to fix the internal path used
to find modules. We also need to install the scripts in the right
place. Most of them should go in $SBINDIR not share/setup/
2009-11-27 16:05:05 +11:00
Matthias Dieter Wallnöfer
a6e8e87c55 s4:installmisc - install also the new "domainlevel" tool from the setup dir 2009-11-24 22:24:00 +01:00
TAKEDA Yasuma
594426a998 * install setup/display-specifiers files which are needed by provision script
Signed-off-by: TAKEDA Yasuma <yasuma@osstech.co.jp>
2009-11-11 08:37:38 +01:00
Andrew Tridgell
8585cf1a78 s4-script: cleanup tmp files in minimial_includes.pl
also changes to use perl fns, instead of shell
2009-10-20 16:04:36 +11:00
Matthias Dieter Wallnöfer
fb13eb7db8 s4:w32err_code.py script - put it under "scripting/bin"
I think this is a better location for this script. Since the subdirectory
"script" of "source4" contains only scripts for "make install" and "make
uninstall".
2009-10-15 12:48:20 +02:00
Andrew Tridgell
2b9818ce0f scripts: handle non-C files in minimal_includes.pl 2009-10-12 13:31:34 +11:00
Kamen Mazdrashki
22d42d1629 w32err: Script to fetch and prepare errors to be updated/added
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30 15:48:40 +03:00
Andrew Tridgell
c35bbad63e s4-scripts: make minimal_includes handle our -I overrides 2009-09-19 14:11:57 -07:00
Andrew Bartlett
498faae1a3 s4:install Remove provision-backend script from 'make install'
Spotted by MICHAEL BROWN <mbrown@mesainc.com>

Andrew Bartlett
2009-08-17 09:51:01 +10:00
Matthias Dieter Wallnöfer
aa6dc21fa3 s4: Add a new script for setting password properties for a domain in a easier way 2009-08-07 17:21:58 +02:00
Rusty Russell
38ff5906b3 s4: make install: prevent overwriting failure
We don't have to remove the eventual write privileges to enable the execute ones.
2009-08-04 19:02:42 +02:00
Jelmer Vernooij
eda7f35bc8 Remove RFC's from the release tarballs to make the lives of the Debian
maintainers of Samba4 a bit easier.
2009-07-30 12:29:21 +02:00
Timur I. Bakeyev
d6c44a704e Add ad-schema/*.txt and utils to the installmisc.sh
Install other useful scripts from the setup/ directory, not only
provisioning ones.

Also install setup/ad-schema/*.txt files to the SETUPDIR. These are
necessary for 'provision' to work properly.
2009-07-16 09:23:35 +10:00
Jelmer Vernooij
e285bb2da5 Move findstatic.pl script to top-level. 2009-06-03 15:06:15 +02:00
Andrew Kroeger
05be1cc717 s4:mkproto: Add NET_API_STATUS return type.
The recently added LIBNETAPI torture tests use NET_API_STATUS as a return type
for some functions.  The torture/libnetapi/proto.h private header that was being
generated by mkproto.pl did not include a prototype for the test_netuseradd()
function, as it did not know how to handle the NET_API_STATUS return type.
2009-06-01 19:55:34 +10:00
Praveen Arimbrathodiyil
c52be9f6a0 Fix missing backtick. 2009-05-07 14:16:19 +02:00
Matthias Dieter Wallnoefer
2de464a765 Fix uninstallman.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-20 16:22:02 +01:00
Björn Jacke
212756646e make man page (un)install more portable 2009-03-02 14:17:06 +01:00
Jelmer Vernooij
0118b2301b Don't use TMPDIR as variable, it's already used for other purposes.
Don't include GIT revision in release version strings.
2009-01-19 22:52:26 +01:00
Andrew Bartlett
b4551bba07 Delete more Samba3-specific files 2009-01-19 12:16:30 +11:00
Andrew Bartlett
96b1b8b94a Fix error message in mkrelease to refer to source4, not source 2009-01-14 15:06:39 +11:00
Jelmer Vernooij
edb7ac69cf Fix header installation. 2008-11-01 16:22:35 +01:00
Jelmer Vernooij
cf721521b6 Remove need to define _SAMBA_BUILD_ == 4 when using installed headers. 2008-11-01 15:10:56 +01:00
Stefan Metzmacher
6bc9fb887f selftest: move gdb_* and valgrind_* scripts to selftest/
metze
2008-10-28 12:20:59 +01:00
Jelmer Vernooij
5b5e36085a Share codepages. 2008-10-23 16:58:11 +02:00
Andrew Bartlett
a55afef6d3 Rework mkrelease.sh to exclude Samba3 files
This matches my proposal to samba-technical, and should allow a Samba4
release to be made shortly.

Andrew Bartlett
2008-10-20 20:07:09 +11:00
Jelmer Vernooij
8da78b7325 Move subunit helper utility to specific subunit directory. 2008-10-08 02:19:59 +02:00
Jelmer Vernooij
21df9532f5 Remove unused uninstallheader script. 2008-09-30 00:48:13 +02:00
Jelmer Vernooij
f379f67dd2 Fix installation of misc files. 2008-09-30 00:29:03 +02:00
Matthias Dieter Wallnöfer
f22f04f76b Stop creating symlinks to libraries without sonames. (caused recursive
symlinks overwriting the original file).
2008-09-29 22:47:07 +02:00
Jelmer Vernooij
13c44dec54 Stop installing JS libraries. 2008-09-21 15:08:16 +02:00
Jelmer Vernooij
53be14a19b Remove unused scripts. 2008-09-19 11:05:19 +02:00
Jelmer Vernooij
87afa77eac find_unused_makefilevars: Support parsing simple includes. 2008-09-19 11:04:18 +02:00
Jelmer Vernooij
fc7050e54c Add header. 2008-09-18 19:58:47 +02:00
Jelmer Vernooij
9007680678 Remove obsolete script. 2008-09-18 19:56:25 +02:00
Jelmer Vernooij
d7dbb530b5 Remove unused scripts for installing binaries.
(This used to be commit 677179234e)
2008-09-09 21:56:57 +02:00
Stefan Metzmacher
06d38e58e8 mkversion.sh: printf %s is more portable than echo -e
metze
(This used to be commit 274ae4b06a)
2008-06-27 09:22:21 +02:00
Jelmer Vernooij
d4172dac2c Use make magic for installing/uninstalling binaries.
(This used to be commit 97b724417f)
2008-06-26 11:51:22 +02:00
Andrew Bartlett
b7c8e020a6 Print prefixMap in a human-readable format.
This should allow the prefixMap to be edited, until we find the right
way to autogenerate it.

Andrew Bartlett
(This used to be commit 24ae9a55ec)
2008-05-29 18:38:17 +10:00
Jelmer Vernooij
4a8212c955 Refuse to install autogenerated proto header files.
(This used to be commit c0a84c2b46)
2008-05-21 20:46:16 +02:00
Jelmer Vernooij
32dfdae009 Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
(This used to be commit 8328ff7641)
2008-05-19 02:03:00 +02:00
Andrew Bartlett
ff1ad04300 When a test harness program fails, make the testsuite fail.
The problem fixed here is that pidl tests were not causing the 'number
of tests failing' count to increase, due to the way return codes are
processed on pipelines, in the shell.

By setting an exit code if we print 'failure', we ensure we fail
appropriately.

Andrew Bartlett
(This used to be commit 687e81883d)
2008-04-25 15:05:07 +01:00
Jelmer Vernooij
f800cf250f Move standard make compilation rules to build/make.
(This used to be commit ceda3312a9)
2008-04-14 14:51:57 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf674)
2008-04-02 04:53:27 +02:00
Andrew Kroeger
0ea02e8126 mkrelease: Add checks to ensure run from top-level directory of repository.
(This used to be commit 7d4c02fdfc)
2008-03-28 22:53:01 -05:00
Andrew Bartlett
bf0db7eb03 Add a few more safety catches to the mkrelease.sh script.
Andrew Bartlett
(This used to be commit 96eb3f1691)
2008-03-29 14:37:09 +11:00
Andrew Bartlett
1d29ab2536 Don't leave release trees hanging around
Andrew Bartlett
(This used to be commit e06911de33)
2008-03-29 14:23:43 +11:00
Andrew Kroeger
7ddcb20d15 mkrelease: Update to work with Git instead of SVN.
(This used to be commit 66efff41a7)
2008-03-28 21:55:09 -05:00
Kai Blin
3dddbb5e26 make: Fix make valgrindtest-env
(This used to be commit f56912e3b5)
2008-03-18 10:54:28 +01:00
Jelmer Vernooij
21b54de82f Allow absolute paths to be specified to mkproto.pl.
(This used to be commit 46d8d02028)
2008-02-29 15:39:32 +01:00
Jelmer Vernooij
0a5647c0e7 Remove the now unused cflags script.
(This used to be commit f97cce2522)
2008-02-29 15:02:30 +01:00
Jelmer Vernooij
2ba62662f8 Remove sDefault as static variable.
(This used to be commit 16f36ce499)
2008-02-28 20:04:58 +01:00
Jelmer Vernooij
a3052e79f4 Use make variables in cflags file (now supported by cflags.pl)
(This used to be commit d746fcde10)
2008-02-11 19:28:59 +01:00
Jelmer Vernooij
6c7a400945 Support including files in the cflags.pl script.
(This used to be commit 742e50aeb5)
2008-02-11 19:10:21 +01:00
Stefan Metzmacher
ef4e560174 prepare the mkversion.sh infrastructure for git branches in the build-farm
metze
(cherry-picked from 1bf4c7fb20)
(This used to be commit 464668b07a)
2008-01-10 19:34:24 +01:00
Jelmer Vernooij
e644673c09 r26675: mkproto: Add --all argument, fix some perl warnings.
(This used to be commit a175ee6594)
2008-01-05 15:36:01 -06:00
Jelmer Vernooij
0dbdfc2218 r26657: pidl: Add basics for generating Python modules.
(This used to be commit f1960ca7c4)
2008-01-03 15:27:02 -06:00
Andrew Bartlett
bcdc491058 r26647: Mark 'valgrind_run' as executable
(This used to be commit d00b87caff)
2008-01-03 12:33:35 -06:00
Jelmer Vernooij
7d270f73bc r26603: Don't install no longer available upgrade script.
(This used to be commit 69e469d9e1)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
af7e3dadf9 r26561: Fix make gdbtest, valgrindtest and testenv for shared libs.
(This used to be commit d2b9055bc0)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
6915cad127 r26560: Add script for running in valgrind.
(This used to be commit cb5d6a9ee2)
2007-12-24 01:51:00 -06:00
Andrew Bartlett
0819903703 r25923: Make sure to install phpldapadmin-config.php
Andrew Bartlett
(This used to be commit 472dd7b318)
2007-12-21 05:45:04 +01:00
Stefan Metzmacher
13d7fbb51a r25733: fix filename substitution and bail out if yacc output isn't generated
metze
(This used to be commit 43911e4017)
2007-12-21 05:43:33 +01:00
Stefan Metzmacher
e12a4cb2f3 [GLUE] fix some executable bits on shell scripts
metze
(This used to be commit 76f1f7d701)
2007-12-21 05:21:31 +01:00
Jelmer Vernooij
da6d24c459 r25555: Remove support for BOOL, True and False.
(This used to be commit 18a2bcfa9e)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
ce7bccef5f r25449: Add convenience function for opening the default smb.conf for openchange.
(This used to be commit 5f023ef7a4)
2007-10-10 15:07:36 -05:00
Stefan Metzmacher
34da75652d r25419: fix generation of git revision calculation
metze
(This used to be commit 7f70d5e7b9)
2007-10-10 15:07:29 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839)
2007-10-10 15:07:25 -05:00
Andrew Bartlett
2606996653 r25354: Thanks to Amin Azez <azez@ufomechanic.net> for finally getting me to
fix a provision without an smb.conf already setup.

Andrew Bartlett
(This used to be commit a00044d229)
2007-10-10 15:07:16 -05:00
Stefan Metzmacher
b15e7316a4 r25297: - fix sed arguments to make the replacement work
- always add #include "config.h" in the first line

metze
(This used to be commit 7939f847bf)
2007-10-10 15:07:08 -05:00
Stefan Metzmacher
95b8ab07f0 r25115: move normalizing of the define string into a function
and replace '-' with '_' as '-' isn't a string constant in C

jelmer: I assume the "..". for the public header was a bug...

metze
(This used to be commit 5522ee1461)
2007-10-10 15:06:42 -05:00
Jelmer Vernooij
a43dd8b956 r25056: Install some extra files. Patch from Stefan Gohmann
(This used to be commit 1b13c91375)
2007-10-10 15:06:23 -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 cda965e908)
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
9fd1b1c130 r25039: Rename service -> loadparm_service, use context more.
(This used to be commit ab417cb32b)
2007-10-10 15:05:45 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Andrew Bartlett
6f9ea168a6 r24822: Merge from SAMBA_4_0_RELEASE:
Update the mkrelease.sh script and mkversion.sh to make releasing correct
Samba4 tarballs harder to screw up.

Andrew Bartlett
(This used to be commit 5f9ca54b5c)
2007-10-10 15:03:16 -05:00
Andrew Bartlett
b7eae78794 r24819: We are preparing for alpha1, so update the mkversion script to cope with that.
Andrew Bartlett
(This used to be commit 6245da195b)
2007-10-10 15:03:16 -05:00
Jelmer Vernooij
1adedd108c r24724: Also install the .reg files for provisioning from an installed version.
(This used to be commit 9553c20ced)
2007-10-10 15:02:56 -05:00
Jelmer Vernooij
61ffa08f4c r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d9)
2007-10-10 15:02:54 -05:00
Jelmer Vernooij
8a1d019f53 r24709: Convert perl test harness output to subunit for nicer display.
(This used to be commit 1be11bd0a5)
2007-10-10 15:02:53 -05:00
Jelmer Vernooij
b409d4120f r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358)
2007-10-10 15:02:34 -05:00
Jelmer Vernooij
7ce6a75f4b r24338: Add callbacks for starting and finishing tests.
(This used to be commit 824833b59a)
2007-10-10 15:01:40 -05:00