view package.bash @ 53:c2371bb6cf84 stable-3-5

3.5 - better error message when rejecting based on ns records on the sbl
author carl
date Sat, 17 Jul 2004 11:14:11 -0700
parents a84752107aca
children dca56b2de019
line wrap: on
line source

#!/bin/bash

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

    cp sample1.conf   $VER/dnsbl.conf
    cp sample.conf    $VER
    cp html-tags.conf $VER
    cp tld.conf       $VER
    cp *cpp           $VER
    cp *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