~ubuntu-branches/ubuntu/maverick/pdns/maverick-updates

« back to all changes in this revision

Viewing changes to pdns/release-scripts/make-linux-statics

  • Committer: Bazaar Package Importer
  • Author(s): Debian PowerDNS Maintainers
  • Date: 2005-07-29 20:24:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050729202433-cfrk71byx0mmmbk6
Tags: 2.9.18-1
* New upstream release (Closes: #318798)
* Drop patches: 64bit-compile-fix.dpatch, addfeatures-ldapbackend.dpatch,
  amd64-compilefix.dpatch, blankout-domain-fix.dpatch,
  consistent-sql.dpatch, dosfix-ldapbackend.dpatch, fix-exit-status.dpatch,
  gpgsql-compilefix.dpatch, gsqlite-compilefix.dpatch, gsqlite-slave.dpatch,
  recursor-slowdown.patch.dpatch, typoinitscript.dpatch, zone2ldap.dpatch
  They are applied upstream.
* The ldapbackend did not properly escape all queries, allowing it to fail
  and not answer questions. (CAN-2005-2301)
* Questions from clients denied recursion could blank out answers to clients
  who are allowed recursion services, temporarily. (CAN-2005-2302)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/make -f
2
 
 
3
 
all: compile package
4
 
 
5
 
compile:
6
 
        make distclean
7
 
        ./configure --enable-static-binaries
8
 
        cd ../pdns-pipebackend ; ./configure ; make clean;      make 
9
 
        cd ../ahudns-mysqlbackend ; ./configure ; make clean ;  make && cd -
10
 
        cd  ../ahudns-pdnsbackend ; ./configure ; make clean ;  make && cd -
11
 
        cd ../pdns-gpgsqlbackend; ./configure ; make clean  ;   make && cd -
12
 
        cd ../pdns-gmysqlbackend; ./configure ; make clean  ;   make && cd -
13
 
        rm -f extra/*.o 
14
 
        cd extra; ln -s ../backends/bind/{bindbackend.o,zoneparser2.o,bindparser.o,bindlexer.o} . ; cd -
15
 
        cd extra ; ln -s ../backends/bind/huffman.o . ; cd -
16
 
        cd extra ; ln -s ../../pdns-pipebackend/*.o . ; cd -
17
 
        cd extra; ln -s ../../ahudns-mysqlbackend/*.o . ; cd -
18
 
        cd extra; ln -s ../../ahudns-pdnsbackend/*.o . ; cd -
19
 
        cd extra; ln -s ../../pdns-gpgsqlbackend/*.o . ; cd -
20
 
        cd extra; ln -s ../../pdns-gmysqlbackend/*.o . ; cd -
21
 
        echo "-lmysqlclient  -L/opt/postgresql/lib -lpq++ -lpq -lssl -lcrypt -lcrypto" > extra/ld
22
 
        rm -f libs/*
23
 
        make 
24
 
        make mkbindist
25
 
 
26
 
 
27
 
package:
28
 
        mkdir -p release-files/deb/stable
29
 
        mkdir -p release-files/linux-static
30
 
        mkdir -p release-files/rpm
31
 
 
32
 
        rm -rf ../pdns_*deb
33
 
        rm -rf ../pdns-*rpm
34
 
 
35
 
        cp backends/bind/zone2sql .
36
 
        
37
 
        sudo debian/rules.stable clean
38
 
        sudo debian/rules.stable binary
39
 
 
40
 
        mv ../pdns_*deb release-files/deb/stable
41
 
 
42
 
        cp pathconfig.redhat pathconfig
43
 
        DESTDIR=/tmp/pdns sudo ./installer
44
 
        sudo rpm -bb ./pdns.spec
45
 
        mv ../pdns-*rpm release-files/rpm
46
 
 
47
 
        rm -f pdns*tar.gz
48
 
 
49
 
        . ./mkbindist
50
 
        mv pdns*tar.gz release-files/linux-static
51
 
                        
52