Changeset 656 for branches


Ignore:
Timestamp:
Jun 9, 2006, 12:45:56 AM (13 years ago)
Author:
bcornec
Message:

Debian build continued

Location:
branches/2.0.8/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0.8/tools/build2qemu

    r602 r656  
    8080        sleep 300
    8181    fi
    82     ssh -p $sp root@localhost "perl -pi -e 's|/home/bruno|/users/bruno|' /etc/passwd /home/bruno/.rpmmacros ; mv /home /users; rpm -e tetex tetex-latex passivetex jadetex texinfo xmltex linuxdoc-tools xmlto docbook-utils-pdf subversion tetex-context tetex-dvips docbook-utils"
    8382    rdate=`date "+%m%d%H%M"`
    8483    ssh -p $sp root@localhost "date $rdate"
  • branches/2.0.8/tools/distro-env

    r597 r656  
    124124    fi
    125125    mkdir -p ${TOPBUILDDIR}/{RPMS,SRPMS,SPECS,SOURCES,BUILD}
     126elif [ _"$dtype" = _"deb" ]; then
     127    export TOPBUILDDIR=${BASE}/build
     128    mkdir -p ${TOPBUILDDIR}
    126129elif [ _"$dtype" = _"ebuild" ]; then
    127130    export TOPBUILDDIR=${BASE}/build
  • branches/2.0.8/tools/mkchangelog.pl

    r646 r656  
    1010use strict;
    1111use Date::Manip;
     12use File::Basename;
     13use English;
    1214
    1315my $log = "";
     
    1618my $pkg2;
    1719my $outfile = $ARGV[2];
    18 my $TOOLHOME = $ENV{TOOLHOME};
    1920my $chglog = "";
    2021my $ndate = "";
     22my $n2date = "";
    2123my $tmp = "";
    2224my $ver = "";
     
    3032        (not (defined $pkg)) || ($pkg eq "") ||
    3133        (not (defined $outfile)) || ($outfile eq ""));
     34
     35my $TOOLHOME;
     36$tmp = dirname($PROGRAM_NAME);
     37if ($tmp =~ /^\//) {
     38    $TOOLHOME = $tmp;
     39    }
     40else {
     41    $TOOLHOME = "$ENV{PWD}/$tmp";
     42    }
    3243
    3344die "TOOLHOME doesn't exist" if (not (defined $TOOLHOME));
     
    5465$tmp = <INPUT>;
    5566$tmp = <INPUT>;
     67if ($dtype eq "announce") {
     68    print OUTPUT $tmp;
     69}
    5670$tmp = <INPUT>;
     71if ($dtype eq "announce") {
     72    print OUTPUT $tmp;
     73}
    5774
    5875# Handle each block separated by newline
     
    6380    #print "**$date**\n";
    6481    $ndate = UnixDate($date,"%a", "%b", "%d", "%Y");
     82    $n2date = &UnixDate($date,"%a, %d %b %Y %H:%M:%S %z");
    6583    #print "**$ndate**\n";
    6684    if ($dtype eq "rpm") {
    6785        print OUTPUT "* $ndate Bruno Cornec <bruno\@mondorescue.org> $ver\n";
    6886        print OUTPUT "- Updated to $ver\n";
     87        }
     88    if ($dtype eq "deb") {
     89        print OUTPUT "$pkg ($ver) unstable; urgency=low\n";
     90        print OUTPUT "\n";
     91        }
    6992
    70         $tmp = <INPUT>;
    71         while ($tmp !~ /^$/) {
    72             print OUTPUT $tmp;
    73             last if (eof(INPUT));
    74             $tmp = <INPUT>;
     93    $tmp = <INPUT>;
     94    while ($tmp !~ /^$/) {
     95        print OUTPUT "  * $tmp";
     96        last if (eof(INPUT));
     97        $tmp = <INPUT>;
     98    }
     99    print OUTPUT "\n";
     100
     101    if ($dtype eq "deb") {
     102        print OUTPUT " -- Bruno Cornec <bruno\@mondorescue.org>  $n2date\n\n";
     103        print OUTPUT "\n";
    75104        }
    76         print OUTPUT "\n";
    77         last if (eof(INPUT));
    78     }
     105
     106    last if (eof(INPUT));
     107    last if ($dtype eq "announce");
    79108}
    80109close(OUTPUT);
Note: See TracChangeset for help on using the changeset viewer.