Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

Location:
vendor/current/buildtools/bin
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/buildtools/bin/waf

    r860 r988  
    1 waf-svn
     1#!/usr/bin/env python
     2# encoding: ISO-8859-1
     3# Thomas Nagy, 2005-2010
     4
     5"""
     6Redistribution and use in source and binary forms, with or without
     7modification, are permitted provided that the following conditions
     8are met:
     9
     101. Redistributions of source code must retain the above copyright
     11   notice, this list of conditions and the following disclaimer.
     12
     132. Redistributions in binary form must reproduce the above copyright
     14   notice, this list of conditions and the following disclaimer in the
     15   documentation and/or other materials provided with the distribution.
     16
     173. The name of the author may not be used to endorse or promote products
     18   derived from this software without specific prior written permission.
     19
     20THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
     21IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     22WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
     23DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
     24INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
     25(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
     26SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     27HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
     28STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
     29IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     30POSSIBILITY OF SUCH DAMAGE.
     31"""
     32
     33import os, sys
     34if sys.hexversion<0x203000f: raise ImportError("Waf requires Python >= 2.3")
     35
     36if 'PSYCOWAF' in os.environ:
     37        try:import psyco;psyco.full()
     38        except:pass
     39
     40VERSION="1.5.19"
     41REVISION="x"
     42INSTALL="x"
     43C1='x'
     44C2='x'
     45cwd = os.getcwd()
     46join = os.path.join
     47
     48WAF='waf'
     49def b(x):
     50        return x
     51
     52if sys.hexversion>0x300000f:
     53        WAF='waf3'
     54        def b(x):
     55                return x.encode()
     56
     57def err(m):
     58        print(('\033[91mError: %s\033[0m' % m))
     59        sys.exit(1)
     60
     61def test(dir):
     62        try: os.stat(join(dir, 'wafadmin')); return os.path.abspath(dir)
     63        except OSError: pass
     64
     65def find_lib():
     66        return os.path.abspath(os.path.join(os.path.dirname(__file__), '../../third_party/waf'))
     67
     68wafdir = find_lib()
     69w = join(wafdir, 'wafadmin')
     70t = join(w, 'Tools')
     71f = join(w, '3rdparty')
     72sys.path = [w, t, f] + sys.path
     73
     74if __name__ == '__main__':
     75        import Scripting
     76        Scripting.prepare(t, cwd, VERSION, wafdir)
     77
Note: See TracChangeset for help on using the changeset viewer.