Changeset 1028


Ignore:
Timestamp:
Jan 3, 2007, 1:00:58 PM (12 years ago)
Author:
bruno
Message:
  • Slackware 10.2 support added (from svn merge -r 1022:1027 $SVN_M/branches/2.2.1)
  • mkanounce now adds the ANNOUNCE keyword to mails
  • 2.2.1 announce in DB
Location:
branches/stable
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/build2pkg

    r924 r1028  
    115115            status=-1
    116116        fi
     117        export pkg="$pkg $p-${PVER}.ebuild"
    117118    elif [  _"$dtype" = _"deb" ]; then
    118119        cd $TOPBUILDDIR
     
    122123        ln -s distributions/${ddir}-$dver debian
    123124        dpkg-buildpackage -us -uc -rfakeroot
     125        export pkg="$pkg $p-${PVER}.deb"
    124126        # Et voila !
     127    elif [  _"$dfam" = _"slackware" ]; then
     128        mkdir -p $TOPBUILDDIR/build-${p}/install
     129        cd $TOPBUILDDIR
     130        tar xfz $src
     131        cd ${p}-${PVER}
     132        mv distributions/${ddir}-$dver/slack-* $TOPBUILDDIR/build-${p}/install
     133        if [ -e distributions/${ddir}-$dver/doinst.sh ]; then
     134            mv distributions/${ddir}-$dver/doinst.sh $TOPBUILDDIR/build-${p}/install
     135        fi
     136        if [ _"$p" = _"mindi-busybox" ]; then
     137            make oldconfig
     138            make busybox
     139            DESTDIR=$TOPBUILDDIR/build-${p}/usr/lib/mindi/rootfs
     140            make PREFIX=$DESTDIR install
     141        elif [ _"$p" = _"mindi" ]; then
     142            export DONT_RELINK=1
     143            export HEAD=$TOPBUILDDIR/build-${p}
     144            export PREFIX=/usr
     145            export CONFDIR=/etc
     146            export MANDIR=/usr/man
     147            export DOCDIR=/usr/doc
     148            export LIBDIR=/usr/lib
     149            export RPMBUILDMINDI="true"
     150            ./install.sh
     151        elif [ _"$p" = _"mondo" ]; then
     152            ./configure --prefix=/usr
     153            make VERSION=$PVER
     154            make DESTDIR=$TOPBUILDDIR/build-${p} install
     155        elif [ _"$p" = _"mondo-doc" ]; then
     156            make -f Makefile.man VERSION=$PVER
     157            make -f Makefile.howto VERSION=$PVER
     158            make -f Makefile.man install INSTALLDIR=$TOPBUILDDIR/build-${p}/usr/doc/$p-${PVER}
     159            make -f Makefile.howto install INSTALLDIR=$TOPBUILDDIR/build-${p}/usr/doc/$p-${PVER}
     160        else
     161            echo "Package $p not configured for $dfam"
     162        fi
     163        cd $TOPBUILDDIR/build-${p}
     164        ar=`arch`
     165        pkg1=$p-${PVER}-${ar}-${TAG}mr.tgz
     166        echo "Running sudo /sbin/makepkg -p -l y -c y $pkg1"
     167        sudo /sbin/makepkg -p -l y -c y $pkg1
     168        export pkg="$pkg $pkg1"
    125169    else
    126170        echo "Unknown"
  • branches/stable/tools/distro-env

    r1014 r1028  
    8080    suf=".${ddir}${dver1}"
    8181elif [ $ddir = "slackware" ]; then
    82     dfam="slack"
     82    dfam="slackware"
    8383    dtype="tgz"
    8484    suf=".${dfam}${dver}"
     
    138138elif [ _"$dtype" = _"deb" ]; then
    139139    mkdir -p ${TOPBUILDDIR}
     140elif [ _"$dfam" = _"slackware" ]; then
     141    mkdir -p ${TOPBUILDDIR}
    140142elif [ _"$dtype" = _"ebuild" ]; then
    141143    mkdir -p ${TOPBUILDDIR}/portage
  • branches/stable/tools/mkannounce

    r1013 r1028  
    3636MondoRescue $VER is now available</p>
    3737
    38 <p>I'm happy to announce the availability of a newest version of mondoescue $VER. Enjoy it as usual!</p>
     38<p>I'm happy to announce the availability of a newest version of mondorescue $VER. Enjoy it as usual!</p>
    3939<p>
    4040Now available at <a href="ftp://ftp.mondorescue.org/">ftp://ftp.mondorescue.org/
     
    8888cat $MONDOTMP/announce.hdr $MONDOTMP/announce.tmp $MONDOTMP/announce.ftr | w3m -dump -T text/html > $MONDOTMP/mondo.ann.txt
    8989export EMAIL="bruno@mondorescue.org"
    90 cat $MONDOTMP/mondo.ann.txt | mutt -s "`head -1 $MONDOTMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de
     90cat $MONDOTMP/mondo.ann.txt | mutt -s "ANNOUNCE: `head -1 $MONDOTMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de
    9191rm -rf $MONDOTMP
  • branches/stable/tools/pkg2ftp

    r1011 r1028  
    6868        spkg="$spkg ${TOPBUILDDIR}/portage/sys-apps/$p/$pv.ebuild"
    6969        pkg="$pkg /usr/portage/packages/All/$pv.tbz2"
     70    elif [  _"$dfam" = _"slackware" ]; then
     71        pkg="$pkg ${TOPBUILDDIR}/build-$p/$pv-*-${tag}mr.tgz"
    7072    fi
    7173done
  • branches/stable/tools/svn2build

    r1006 r1028  
    8484        elif [ "$dtype" = "ebuild" ]; then
    8585            m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v.ebuild
     86        elif [ "$dtype" = "tgz" ]; then
     87            m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/slack-desc > $dest/distributions/${ddir}-$dver/slack-desc
    8688        elif [ "$dtype" = "deb" ]; then
    8789            cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver
Note: See TracChangeset for help on using the changeset viewer.