Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

Location:
vendor/current/source4/script
Files:
15 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source4/script/depfilter.py

    r414 r740  
    1 #!/usr/bin/python
     1#!/usr/bin/env python
    22#
    33# Filter out arcs in a dotty graph that are at or below a certain
  • vendor/current/source4/script/minimal_includes.pl

    r414 r740  
    1212my $opt_remove = 0;
    1313my $opt_skip_system = 0;
     14my $opt_waf = 0;
    1415
    1516#####################################################################
     
    4445        my $fname = shift;
    4546        my $obj;
    46         if ($fname =~ s/(.*)\.c$/$1.o/) {
     47        if ($opt_waf) {
     48                my $ret = `../buildtools/bin/waf $fname 2>&1`;
     49                return $ret
     50        }
     51        if ($fname =~ s/(.*)\..*$/$1.o/) {
    4752                $obj = "$1.o";
    4853        } else {
     
    6873        $lines->[$i] = "";
    6974
    70         `/bin/mv -f $fname $fname.misaved` && die "failed to rename $fname";
     75        my $mname = $fname . ".misaved";
     76
     77        unlink($mname);
     78        rename($fname, $mname) || die "failed to rename $fname";
    7179        save_lines($fname, $lines);
    7280       
     
    8088                        } else {
    8189                                print "$fname: removing $line\n";
     90                                unlink($mname);
    8291                                return;
    8392                        }
     
    8897
    8998        $lines->[$i] = $line;
    90         `/bin/mv -f $fname.misaved $fname` && die "failed to restore $fname";
     99        rename($mname, $fname) || die "failed to restore $fname";
    91100}
    92101
     
    139148                 --remove       remove includes, don't just list them
    140149                 --skip-system  don't remove system/ includes
     150                 --waf          use waf target conventions
    141151";
    142152}
     
    148158            'remove' => \$opt_remove,
    149159            'skip-system' => \$opt_skip_system,
     160            'waf' => \$opt_waf,
    150161            );
    151162
  • vendor/current/source4/script/mkproto.pl

    r414 r740  
    129129        my ($file,$line) = @_;
    130130
    131         if ($line =~ /^_PUBLIC_ FN_(GLOBAL|LOCAL)_(CONST_STRING|STRING|BOOL|bool|CHAR|INTEGER|LIST)\((\w+),.*\)/o) {
     131        if ($line =~ /^FN_(GLOBAL|LOCAL)_(CONST_STRING|STRING|BOOL|bool|CHAR|INTEGER|LIST)\((\w+),.*\)/o) {
    132132                my $scope = $1;
    133133                my $type = $2;
     
    148148                            );
    149149
    150                 $file->("$tmap{$type}$name($smap{$scope});\n");
     150                $file->("$tmap{$type}lpcfg_$name($smap{$scope});\n");
    151151        }
    152152}
     
    191191                next if ($line =~ /^\/|[;]/);
    192192
    193                 if ($line =~ /^_PUBLIC_ FN_/) {
     193                if ($line =~ /^FN_/) {
    194194                        handle_loadparm($public_file, $line);
    195195                        handle_loadparm($private_file, $line);
  • vendor/current/source4/script/mkrelease.sh

    r414 r740  
    77fi
    88
    9 OUTDIR=`mktemp -d samba-XXXXX`
    10 (git archive --format=tar HEAD | (cd $OUTDIR/ && tar xf -))
     9cd source4
     10../buildtools/bin/waf dist
     11TGZFILE="`echo *.tar.gz`"
     12gunzip $TGZFILE
     13TARFILE="`echo *.tar`"
    1114
    12 echo SAMBA_VERSION_IS_GIT_SNAPSHOT=no >> $OUTDIR/source4/VERSION
    13 
    14 rm -f $OUTDIR/source4/ldap_server/devdocs/rfc????.txt \
    15       $OUTDIR/source4/heimdal/lib/wind/rfc????.txt
    16 
    17 #Prepare the tarball for a Samba4 release, with some generated files,
    18 #but without Samba3 stuff (to avoid confusion)
    19 ( cd $OUTDIR/ || exit 1
    20  rm -rf README Manifest Read-Manifest-Now Roadmap source3 packaging docs-xml examples swat WHATSNEW.txt MAINTAINERS || exit 1
    21  cd source4 || exit 1
    22  ./autogen.sh || exit 1
    23  ./configure || exit 1
    24  make dist  || exit 1
    25 ) || exit 1
    26 
    27 VERSION_FILE=$OUTDIR/source4/version.h
    28 if [ ! -f $VERSION_FILE ]; then
    29     echo "Cannot find version.h at $VERSION_FILE"
    30     exit 1;
    31 fi
    32 
    33 VERSION=`sed -n 's/^SAMBA_VERSION_STRING=//p' $VERSION_FILE`
    34 echo "Version: $VERSION"
    35 mv $OUTDIR samba-$VERSION || exit 1
    36 tar -cf samba-$VERSION.tar samba-$VERSION || (rm -rf samba-$VERSION; exit 1)
    37 rm -rf samba-$VERSION || exit 1
    3815echo "Now run: "
    39 echo "gpg --detach-sign --armor samba-$VERSION.tar"
    40 echo "gzip samba-$VERSION.tar"
     16echo "gpg --detach-sign --armor $TARFILE"
     17echo "gzip $TARFILE"
    4118echo "And then upload "
    42 echo "samba-$VERSION.tar.gz samba-$VERSION.tar.asc"
     19echo "$TARFILE.gz $TARFILE.asc"
    4320echo "to pub/samba/samba4/ on samba.org"
    44 
    45 
    46 
Note: See TracChangeset for help on using the changeset viewer.