view package.bash @ 105:c3e9fa6b37c6

move to autoconf/automake/docbook
author carl
date Sun, 18 Dec 2005 09:31:13 -0800
parents 5569df6d896e
children
line wrap: on
line source

#!/bin/bash

VER=dnsbl-5.10
mkdir $VER
    target1=/home/httpd/html/510sg/util/dnsbl.tar.gz
    target2=/home/httpd/html/510sg/dnsbl/dnsbl.conf
    target3=/home/httpd/html/510sg/dnsbl/index.html

    cp sample1.conf      $VER/dnsbl.conf
    cp sample.conf       $VER
    cp html-tags.conf    $VER
    cp hosts-ignore.conf $VER
    cp tld.conf          $VER
    cp *.cpp *.h *.rc    $VER
    cp install.bash      $VER
    cp *spec             $VER
    cp LICENSE           $VER
    cp RELEASE_NOTES     $VER
    tar cfvz $target1    $VER

    cp sample.conf $target2
    cp dnsbl.html  $target3

    scp $target1 ns1:$target1
    scp $target2 ns1:$target2
    scp $target3 ns1:$target3
rm -rf $VER