home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   TUXPOWER      Advocacy for the Linux operating system      1,237 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4 of 1,237   
   Maurice Kinal to All   
   husky_stable.sh   
   15 Apr 11 03:00:12   
   
   #!/bin/bash   
   TOPDIR=/mnt/archives/experiment/fidostuff   
   BUILDDIR=$TOPDIR/build   
   PKGDIR=$TOPDIR/packages   
   SRCDIR=$TOPDIR/stable   
   PKG=$BUILDDIR/package   
   pkgname="stable_husky"   
      
   # extract and fix needed huskymak.cfg   
   cd $BUILDDIR   
   tar zxvf $SRCDIR/huskybase-1.4-tar.gz huskybse/huskymak.cfg   
   mv $BUILDDIR/huskybse/huskymak.cfg $BUILDDIR && rm -r $BUILDDIR/huskybse   
   sed -i '/PREFIX/s%/local%%' $BUILDDIR/huskymak.cfg   
   sed -i s/'-m 555'/'-m 755'/g $BUILDDIR/huskymak.cfg   
   sed -i s/'-m 444'/'-m 644'/g $BUILDDIR/huskymak.cfg   
   sed -i '/CFGDIR/s%$(PREFIX)/etc/fido%/home/fido/etc%' $BUILDDIR/huskymak.cfg   
   sed -i '/OPTCFLAGS/s/O3/Os -march=core2/' $BUILDDIR/huskymak.cfg   
      
   # extract sources   
   tar zxvf $SRCDIR/fidoconf-1.4-rc5.tar.gz -C $BUILDDIR   
   tar zxvf $SRCDIR/hpt-1.4-rc5.tar.gz -C $BUILDDIR   
   tar zxvf $SRCDIR/msged-6.2RC1-stable-src.tgz -C $BUILDDIR   
   tar zxvf $SRCDIR/smapi-2.4-rc5.tar.gz -C $BUILDDIR   
      
   # build and install (if needed) smapi   
   cd $BUILDDIR/smapi   
   make   
   if [ ! -d /usr/include/smapi ]   
   then   
     make install   
   fi   
   install -dv $PKG/usr/{lib,include/smapi}   
   for f in api_brow.h api_jam.h compiler.h ffind.h msgapi.h patmat.h prog.h \   
     progprot.h stamp.h typedefs.h unused.h   
   do   
     install -v -m 644 -o root -g root $f $PKG/usr/include/smapi   
   done   
   install -vs -m 755 -o root -g root libsmapi.so.2.4.0 $PKG/usr/lib   
   ln -svf libsmapi.so.2.4.0 $PKG/usr/lib/libsmapi.so.2.4   
   ln -svf libsmapi.so.2.4.0 $PKG/usr/lib/libsmapi.so.2   
   ln -svf libsmapi.so.2.4.0 $PKG/usr/lib/libsmapi.so   
   strip -g libsmapi.a   
   install -v -m 644 -o root -g root libsmapi.a $PKG/usr/lib   
      
   # build fidoconf and install   
   cd $BUILDDIR/fidoconf   
   make   
   if [ ! -d /usr/include/fidoconf ]   
   then   
     make install   
   fi   
   install -dv $PKG/usr/{bin,include/fidoconf}   
   install -vs -m 755 -o root -g root libfidoconfig.so.1.4.0 $PKG/usr/lib   
   ln -svf libfidoconfig.so.1.4.0 $PKG/usr/lib/libfidoconfig.so.1.4   
   ln -svf libfidoconfig.so.1.4.0 $PKG/usr/lib/libfidoconfig.so   
      
   for f in fconf2msged fconf2golded fconf2aquaed fconf2fidogate fconf2squish \     
     fconf2tornado fconf2binkd linked fecfg2fconf tparser   
   do   
     install -vs -m 755 -o root -g root $f $PKG/usr/bin   
   done   
   install -v -m 755 -o root -g root linkedto fconf2na.pl fconf2areasbbs \   
     $PKG/usr/bin   
      
   for f in fidoconf.h areatree.h findtok.h typesize.h common.h dirlayer.h \   
     adcase.h xstr.h crc.h log.h recode.h tree.h temp.h afixcmd.h arealist.h \   
     version.h   
   do   
     install -v -m 644 -o root -g root $f $PKG/usr/include/fidoconf   
   done   
      
   strip -g libfidoconfig.a   
   install -v -m 644 -o root -g root libfidoconfig.a $PKG/usr/lib   
      
   # build hpt   
   cd $BUILDDIR/hpt   
   make   
   install -vs -m 755 -o root -g root hpt hptlink hpttree pktinfo txt2pkt \   
     $PKG/usr/bin   
      
   # build msged   
   cd $BUILDDIR/msged   
   make   
   install -vs -m 755 -o root -g root msged $PKG/usr/bin   
      
   # create total package   
   cd $PKG   
   manifest $pkgname   
   tar Jcvf $PKGDIR/$pkgname.txz .   
   cd $TOPDIR && rm -r $BUILDDIR/*   
      
   # end of stable husky build script   
      
   --- WeBeBashing with 'hpt post'   
    * Origin: Pointy Stick Society (1:261/38.9)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca