]> granicus.if.org Git - pdns/commitdiff
Package the random backend in the main server package
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 11 Sep 2015 10:43:46 +0000 (12:43 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 11 Sep 2015 10:43:46 +0000 (12:43 +0200)
build-scripts/build-auth-rpm
build-scripts/debian-authoritative/pdns-server.install
build-scripts/debian-authoritative/rules

index b13e104b151702871b415de7968c41aa6bbd5544..42bd5f6e920106862e4b6041b1beb47513e00f9e 100755 (executable)
@@ -157,7 +157,7 @@ export CPPFLAGS="-DLDAP_DEPRECATED"
        --disable-silent-rules \
        --with-modules='' \
        --with-lua \
-       --with-dynmodules='%{backends}' \
+       --with-dynmodules='%{backends} random' \
        --enable-cryptopp \
        --enable-tools \
        --enable-remotebackend-http \
@@ -214,6 +214,7 @@ fi
 %{_mandir}/man1/pdnssec.1.gz
 %{_initrddir}/pdns
 %dir %{_libdir}/%{name}/
+%{_libdir}/%{name}/librandombackend.so
 %dir %{_sysconfdir}/%{name}/
 %config(noreplace) %{_sysconfdir}/%{name}/pdns.conf
 
@@ -406,7 +407,7 @@ export CPPFLAGS="-DLDAP_DEPRECATED"
        --with-modules='' \
        --with-system-mbedtls \
        --with-lua \
-       --with-dynmodules='%{backends}' \
+       --with-dynmodules='%{backends} random' \
        --enable-cryptopp \
        --enable-tools \
        --enable-unit-tests
@@ -466,6 +467,7 @@ exit 0
 %{_mandir}/man1/pdnssec.1.gz
 %{_unitdir}/pdns.service
 %dir %{_libdir}/%{name}/
+%{_libdir}/%{name}/librandombackend.so
 %dir %{_sysconfdir}/%{name}/
 %config(noreplace) %{_sysconfdir}/%{name}/pdns.conf
 
index aaf83091830720363d1b007cb9cc0063d2b6cba7..edbf68a1079590dea0d4bbbd0bb428ae72f00a11 100644 (file)
@@ -2,6 +2,7 @@ usr/bin/pdns_control
 usr/bin/zone2sql
 usr/bin/pdnssec
 usr/lib/*/pdns/libbindbackend.so*
+usr/lib/*/pdns/librandombackend.so*
 usr/sbin/pdns_server
 debian/config/pdns.local.conf usr/share/pdns-server/
 debian/config/pdns usr/share/pdns-server/
index 74625af9801c7ac49702a8f4af20aa7531b98f97..5d5974b51ae168059e14379b73503c088346f2c3 100755 (executable)
@@ -5,7 +5,7 @@ version := $(shell dpkg-parsechangelog -SVersion).$(shell dpkg-vendor --query Ve
 CXXFLAGS += -DPACKAGEVERSION='"$(version)"'
 
 # Backends
-backends := bind ldap pipe gmysql gpgsql gsqlite3 geoip lua mydns remote
+backends := bind ldap pipe gmysql gpgsql gsqlite3 geoip lua mydns remote random
 
 DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)