public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] Update pdns to 4.0-alpha3.
@ 2016-05-19 12:07 Stefan Schantl
  2016-05-20 10:19 ` Michael Tremer
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Schantl @ 2016-05-19 12:07 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2828 bytes --]

This is an update to the latest available development snapshot of the next major version.

The powerDNS 4.0 series is currently under heavy devolpment and the team
periodly releaes develoment snaphots (currently alpha3).

A lot of the implemented improvements are listed on their official blog:

https://blog.powerdns.com/2016/03/09/powerdns-recursor-4-0-0-alpha-2-released/
https://blog.powerdns.com/2016/05/11/powerdns-authoritative-server-4-0-0-alpha-3-released/

One of the most important advantages against the current used powerDNS 3 series is,
that the next major version will be able use openssl for crytographic operations and not
longer require polarssl/mbedtls for them.

Fixes #11126.
Reference #10947, #11125.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 pdns/pdns.nm | 35 +++++++++++++++--------------------
 1 file changed, 15 insertions(+), 20 deletions(-)

diff --git a/pdns/pdns.nm b/pdns/pdns.nm
index 0366ab5..1772c37 100644
--- a/pdns/pdns.nm
+++ b/pdns/pdns.nm
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = pdns
-version    = 3.4.7
-release    = 2
+version    = 4.0.0-alpha3
+release    = 1
 
 groups     = Networking/DNS
 url        = http://powerdns.com/
@@ -23,18 +23,18 @@ source_dl  = http://downloads.powerdns.com/releases/
 sources    = %{thisapp}.tar.bz2
 
 build
-	# pdns uses polarssl which is no longer maintained
-	# upstream any more. Since nothing else is using
-	# polarssl any more we have dropped this from the
-	# distribution and bundle it with pdns.
-
 	requires
-		boost-devel
-		chrpath
+		/usr/bin/hostname
+		boost-devel >= 1.60.0
+		bison
+		flex
 		gcc-c++
+		libsodium-devel
 		lua-devel
+		openssl-devel
 		shadow-utils
 		sqlite-devel
+		systemd-devel
 		zlib-devel
 	end
 
@@ -43,12 +43,15 @@ build
 
 	configure_options += \
 		--sysconfdir=%{sysconfdir}/pdns \
+		--libdir=%{libdir}/powerdns \
 		--with-modules="" \
-		--with-dynmodules="pipe geo gsqlite3" \
+		--with-dynmodules="pipe gsqlite3" \
 		--with-lua \
+		--with-sqlite3 \
+		--enable-libsodium \
 		--enable-tools \
-		--disable-static \
-		--enable-unit-tests
+		--enable-systemd \
+		--disable-static
 
 	prepare_cmds
 		%{create_user}
@@ -81,14 +84,6 @@ build
 
 		# Remove unneded binaries.
 		rm -vf %{BUILDROOT}%{bindir}/zone2ldap
-
-		# Remove rpath from binaries and backend libs.
-		chrpath --delete %{BUILDROOT}/usr/bin/pdns_control
-		chrpath --delete %{BUILDROOT}/usr/bin/zone2sql
-		chrpath --delete %{BUILDROOT}/usr/sbin/pdns_server
-		chrpath --delete %{BUILDROOT}%{libdir}/pdns/*.so
-		chrpath --delete %{BUILDROOT}/usr/bin/dnsreplay
-		chrpath --delete %{BUILDROOT}/usr/bin/pdnssec
 	end
 end
 
-- 
2.5.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Update pdns to 4.0-alpha3.
  2016-05-19 12:07 [PATCH] Update pdns to 4.0-alpha3 Stefan Schantl
@ 2016-05-20 10:19 ` Michael Tremer
  2016-05-20 12:06   ` [PATCHv2] pdns: Update " Stefan Schantl
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Tremer @ 2016-05-20 10:19 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 3643 bytes --]

Hi,

On Thu, 2016-05-19 at 14:07 +0200, Stefan Schantl wrote:
> This is an update to the latest available development snapshot of the next
> major version.
> 
> The powerDNS 4.0 series is currently under heavy devolpment and the team
> periodly releaes develoment snaphots (currently alpha3).
> 
> A lot of the implemented improvements are listed on their official blog:
> 
> https://blog.powerdns.com/2016/03/09/powerdns-recursor-4-0-0-alpha-2-released/
> https://blog.powerdns.com/2016/05/11/powerdns-authoritative-server-4-0-0-alpha
> -3-released/
> 
> One of the most important advantages against the current used powerDNS 3
> series is,
> that the next major version will be able use openssl for crytographic
> operations and not
> longer require polarssl/mbedtls for them.

This is really important that we can finally properly drop polarssl which is
more than just a headache.

> Fixes #11126.
> Reference #10947, #11125.
> 
> Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> ---
>  pdns/pdns.nm | 35 +++++++++++++++--------------------
>  1 file changed, 15 insertions(+), 20 deletions(-)
> 
> diff --git a/pdns/pdns.nm b/pdns/pdns.nm
> index 0366ab5..1772c37 100644
> --- a/pdns/pdns.nm
> +++ b/pdns/pdns.nm
> @@ -4,8 +4,8 @@
>  #############################################################################
> ##
>  
>  name       = pdns
> -version    = 3.4.7
> -release    = 2
> +version    = 4.0.0-alpha3
> +release    = 1

Please write the version/release as follows:

version = 4.0.0
prerelease = alpha3
release = 0.1-%{prerelease}
thisapp = %{name}-%{version}-%{prerelease}

So we will be able to remove the prerelease bit, set release to 1 and pakfire
will detect this as an update then.
>  
>  groups     = Networking/DNS
>  url        = http://powerdns.com/
> @@ -23,18 +23,18 @@ source_dl  = http://downloads.powerdns.com/releases/
>  sources    = %{thisapp}.tar.bz2
>  
>  build
> -	# pdns uses polarssl which is no longer maintained
> -	# upstream any more. Since nothing else is using
> -	# polarssl any more we have dropped this from the
> -	# distribution and bundle it with pdns.
> -
>  	requires
> -		boost-devel
> -		chrpath
> +		/usr/bin/hostname
> +		boost-devel >= 1.60.0
> +		bison
> +		flex
>  		gcc-c++
> +		libsodium-devel
>  		lua-devel
> +		openssl-devel
>  		shadow-utils
>  		sqlite-devel
> +		systemd-devel
>  		zlib-devel
>  	end
>  
> @@ -43,12 +43,15 @@ build
>  
>  	configure_options += \
>  		--sysconfdir=%{sysconfdir}/pdns \
> +		--libdir=%{libdir}/powerdns \
>  		--with-modules="" \
> -		--with-dynmodules="pipe geo gsqlite3" \
> +		--with-dynmodules="pipe gsqlite3" \
>  		--with-lua \
> +		--with-sqlite3 \
> +		--enable-libsodium \
>  		--enable-tools \
> -		--disable-static \
> -		--enable-unit-tests
> +		--enable-systemd \
> +		--disable-static

Why are the unit tests disabled? make check does not do anything any more.

>  
>  	prepare_cmds
>  		%{create_user}
> @@ -81,14 +84,6 @@ build
>  
>  		# Remove unneded binaries.
>  		rm -vf %{BUILDROOT}%{bindir}/zone2ldap
> -
> -		# Remove rpath from binaries and backend libs.
> -		chrpath --delete %{BUILDROOT}/usr/bin/pdns_control
> -		chrpath --delete %{BUILDROOT}/usr/bin/zone2sql
> -		chrpath --delete %{BUILDROOT}/usr/sbin/pdns_server
> -		chrpath --delete %{BUILDROOT}%{libdir}/pdns/*.so
> -		chrpath --delete %{BUILDROOT}/usr/bin/dnsreplay
> -		chrpath --delete %{BUILDROOT}/usr/bin/pdnssec
>  	end
>  end
>  

-Michael

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCHv2] pdns: Update to 4.0-alpha3.
  2016-05-20 10:19 ` Michael Tremer
@ 2016-05-20 12:06   ` Stefan Schantl
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Schantl @ 2016-05-20 12:06 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2951 bytes --]

This is an update to the latest available development snapshot for the
next major version of PowerDNS.

The powerDNS 4.0 series is currently under heavy devolpment and the team
periodly releaes develoment snaphots (currently alpha3).

A lot of the implemented improvements are listed on their official blog:

https://blog.powerdns.com/2016/03/09/powerdns-recursor-4-0-0-alpha-2-released/
https://blog.powerdns.com/2016/05/11/powerdns-authoritative-server-4-0-0-alpha-3-released/

One of the most important advantages against the current used powerDNS 3 series is,
that the next major version will be able use openssl for crytographic operations and not
longer require polarssl/mbedtls for them.

Fixes #11126.
Reference #10947, #11125.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 pdns/pdns.nm | 38 ++++++++++++++++++--------------------
 1 file changed, 18 insertions(+), 20 deletions(-)

diff --git a/pdns/pdns.nm b/pdns/pdns.nm
index 0366ab5..10d9f84 100644
--- a/pdns/pdns.nm
+++ b/pdns/pdns.nm
@@ -4,8 +4,10 @@
 ###############################################################################
 
 name       = pdns
-version    = 3.4.7
-release    = 2
+version    = 4.0.0
+prerelease = alpha3
+release    = 0.1-%{prerelease}
+thisapp    = %{name}-%{version}-%{prerelease}
 
 groups     = Networking/DNS
 url        = http://powerdns.com/
@@ -23,18 +25,18 @@ source_dl  = http://downloads.powerdns.com/releases/
 sources    = %{thisapp}.tar.bz2
 
 build
-	# pdns uses polarssl which is no longer maintained
-	# upstream any more. Since nothing else is using
-	# polarssl any more we have dropped this from the
-	# distribution and bundle it with pdns.
-
 	requires
-		boost-devel
-		chrpath
+		/usr/bin/hostname
+		boost-devel >= 1.60.0
+		bison
+		flex
 		gcc-c++
+		libsodium-devel
 		lua-devel
+		openssl-devel
 		shadow-utils
 		sqlite-devel
+		systemd-devel
 		zlib-devel
 	end
 
@@ -43,12 +45,16 @@ build
 
 	configure_options += \
 		--sysconfdir=%{sysconfdir}/pdns \
+		--libdir=%{libdir}/powerdns \
 		--with-modules="" \
-		--with-dynmodules="pipe geo gsqlite3" \
+		--with-dynmodules="pipe gsqlite3" \
 		--with-lua \
+		--with-sqlite3 \
+		--enable-libsodium \
+		--enable-systemd \
 		--enable-tools \
-		--disable-static \
-		--enable-unit-tests
+		--enable-unit-tests \
+		--disable-static
 
 	prepare_cmds
 		%{create_user}
@@ -81,14 +87,6 @@ build
 
 		# Remove unneded binaries.
 		rm -vf %{BUILDROOT}%{bindir}/zone2ldap
-
-		# Remove rpath from binaries and backend libs.
-		chrpath --delete %{BUILDROOT}/usr/bin/pdns_control
-		chrpath --delete %{BUILDROOT}/usr/bin/zone2sql
-		chrpath --delete %{BUILDROOT}/usr/sbin/pdns_server
-		chrpath --delete %{BUILDROOT}%{libdir}/pdns/*.so
-		chrpath --delete %{BUILDROOT}/usr/bin/dnsreplay
-		chrpath --delete %{BUILDROOT}/usr/bin/pdnssec
 	end
 end
 
-- 
2.5.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-20 12:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-19 12:07 [PATCH] Update pdns to 4.0-alpha3 Stefan Schantl
2016-05-20 10:19 ` Michael Tremer
2016-05-20 12:06   ` [PATCHv2] pdns: Update " Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox