run "sudo chmod 0755 /var/agentx"
}
+check_for_dangling_symlinks() {
+ run '! find -L . -name missing-sources -prune -o ! -name pubsuffix.cc -type l | grep .'
+}
+
build_auth() {
run "autoreconf -vi"
run "./configure \
build_recursor() {
export PDNS_RECURSOR_DIR=$HOME/pdns_recursor
+ run "cd pdns/recursordist"
+ check_for_dangling_symlinks
+ run "cd ../.."
# distribution build
run "./build-scripts/dist-recursor"
run "cd pdns/recursordist"
}
build_dnsdist(){
+ run "cd pdns/dnsdistdist"
+ check_for_dangling_symlinks
+ run "cd ../.."
run "./build-scripts/dist-dnsdist"
run "cd pdns/dnsdistdist"
run "tar xf dnsdist*.tar.bz2"