| 1 | VERSION=3.1.7.1 |
|---|
| 2 | |
|---|
| 3 | INCLUDES="iputils.hh arguments.hh base64.hh zoneparser-tng.hh \ |
|---|
| 4 | rcpgenerator.hh lock.hh dnswriter.hh dnsrecords.hh dnsparser.hh utility.hh \ |
|---|
| 5 | recursor_cache.hh rec_channel.hh qtype.hh misc.hh dns.hh syncres.hh \ |
|---|
| 6 | sstuff.hh mtasker.hh mtasker.cc lwres.hh logger.hh ahuexception.hh \ |
|---|
| 7 | mplexer.hh win32_mtasker.hh win32_utility.cc ntservice.hh singleton.hh \ |
|---|
| 8 | recursorservice.hh dns_random.hh lua-pdns-recursor.hh" |
|---|
| 9 | |
|---|
| 10 | CFILES="syncres.cc misc.cc unix_utility.cc qtype.cc \ |
|---|
| 11 | logger.cc arguments.cc lwres.cc pdns_recursor.cc \ |
|---|
| 12 | recursor_cache.cc dnsparser.cc dnswriter.cc dnsrecords.cc rcpgenerator.cc \ |
|---|
| 13 | base64.cc zoneparser-tng.cc rec_channel.cc rec_channel_rec.cc rec_control.cc \ |
|---|
| 14 | selectmplexer.cc epollmplexer.cc kqueuemplexer.cc portsmplexer.cc pdns_hw.cc \ |
|---|
| 15 | win32_mtasker.cc win32_rec_channel.cc win32_logger.cc ntservice.cc \ |
|---|
| 16 | recursorservice.cc sillyrecords.cc lua-pdns-recursor.cc randomhelper.cc" |
|---|
| 17 | |
|---|
| 18 | cd docs |
|---|
| 19 | make pdns_recursor.1 rec_control.1 |
|---|
| 20 | cd .. |
|---|
| 21 | |
|---|
| 22 | DIRNAME=pdns-recursor-$VERSION |
|---|
| 23 | rm -rf $DIRNAME |
|---|
| 24 | mkdir $DIRNAME |
|---|
| 25 | cp $INCLUDES $CFILES $DIRNAME |
|---|
| 26 | cp Makefile-recursor $DIRNAME/Makefile |
|---|
| 27 | cp Makefile-recursor.win32 $DIRNAME/Makefile.win32 |
|---|
| 28 | cp README-recursor $DIRNAME/README |
|---|
| 29 | cp COPYING $DIRNAME/ |
|---|
| 30 | cp config-recursor.h $DIRNAME/config.h |
|---|
| 31 | mkdir $DIRNAME/rrd |
|---|
| 32 | cp tools/rrd/{create,update,makegraphs,index.html} $DIRNAME/rrd |
|---|
| 33 | cp ext/dlmalloc/malloc.{c,h} $DIRNAME |
|---|
| 34 | cp aes/*.{c,cc,h} $DIRNAME |
|---|
| 35 | cp pdns-recursor.init.d $DIRNAME |
|---|
| 36 | cp docs/pdns_recursor.1 docs/rec_control.1 $DIRNAME |
|---|
| 37 | cp configure-recursor $DIRNAME/configure |
|---|
| 38 | cp powerdns-example-script.lua $DIRNAME |
|---|
| 39 | |
|---|
| 40 | mkdir -p $DIRNAME/sysdeps |
|---|
| 41 | cp sysdeps-recursor/* $DIRNAME/sysdeps |
|---|
| 42 | cp "PowerDNS Recursor.vcproj" $DIRNAME/ |
|---|
| 43 | tar cf $DIRNAME.tar $DIRNAME |
|---|
| 44 | bzip2 -f $DIRNAME.tar # .. solaris |
|---|
| 45 | |
|---|
| 46 | zip -q $DIRNAME.zip $DIRNAME/* |
|---|
| 47 | |
|---|