Hello community,

here is the log from the commit of package pdns for openSUSE:Factory checked in 
at 2017-08-24 18:43:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pdns (Old)
 and      /work/SRC/openSUSE:Factory/.pdns.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pdns"

Thu Aug 24 18:43:26 2017 rev:48 rq:513688 version:4.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/pdns/pdns.changes        2017-04-12 
18:16:13.121936379 +0200
+++ /work/SRC/openSUSE:Factory/.pdns.new/pdns.changes   2017-08-24 
18:43:28.920755652 +0200
@@ -1,0 +2,22 @@
+Sun Jul 30 18:15:21 UTC 2017 - w...@rosenauer.org
+
+- This makes the schema fit storage requirements of various
+  mysql/mariadb versions. pdns-4.0.4_mysql-schema-mariadb.patch
+- preset uid and gid in configuration
+
+-------------------------------------------------------------------
+Fri Jun 23 14:33:13 UTC 2017 - mich...@stroeder.com
+
+- fixed use of pdns_protobuf
+
+-------------------------------------------------------------------
+Fri Jun 23 11:31:23 UTC 2017 - mich...@stroeder.com
+
+- update to 4.0.4
+  - fixes ed25519 signer. This signer hashed the message before
+    signing, resulting in unverifiable signatures.
+  - send a notification to all slave servers after every dnsupdate
+  for complete list of changes, see 
+https://blog.powerdns.com/2017/06/23/powerdns-authoritative-server-4-0-4-released/
+
+-------------------------------------------------------------------

Old:
----
  pdns-4.0.3.tar.bz2
  pdns-4.0.3.tar.bz2.sig

New:
----
  pdns-4.0.4.tar.bz2
  pdns-4.0.4.tar.bz2.sig
  pdns-4.0.4_mysql-schema-mariadb.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pdns.spec ++++++
--- /var/tmp/diff_new_pack.IgDiYR/_old  2017-08-24 18:43:30.048596765 +0200
+++ /var/tmp/diff_new_pack.IgDiYR/_new  2017-08-24 18:43:30.052596201 +0200
@@ -17,11 +17,11 @@
 
 
 Name:           pdns
-Version:        4.0.3
+Version:        4.0.4
 Release:        0
 #
 %define pkg_name       pdns
-%define pkg_version 4.0.3
+%define pkg_version 4.0.4
 #
 %if 0%{?suse_version} > 1230 || 0%{?rhel_version} > 600 || 0%{?centos_version} 
> 600 || 0%{?fedora_version} >= 20 || 
0%{?el7}%{?fc20}%{?fc21}%{?fc22}%{?fc23}%{?fc24}%{?fc25}
 %bcond_without systemd
@@ -146,6 +146,8 @@
 Source1:        rcpdns
 Source2:        README.opendbx
 Patch:          pdns-4.0.3_allow_dacoverride_in_capset.patch
+# PATCH-FIX-UPSTREAM pdns-4.0.4_mysql-schema-mariadb.patch
+Patch2:         pdns-4.0.4_mysql-schema-mariadb.patch
 Summary:        Modern, advanced and high performance authoritative-only 
nameserver
 License:        GPL-2.0
 Group:          Productivity/Networking/DNS/Servers
@@ -314,6 +316,7 @@
 %prep
 %setup -n %{name}-%{pkg_version}
 %patch -p1
+%patch2 -p1
 %if %{with pdns_opendbx}
 cp %{S:2} README.opendbx
 %endif
@@ -334,7 +337,7 @@
   --with-pic \
   --enable-libsodium \
   --enable-reproducible \
-%if %{with dnsdist_protobuf}
+%if %{with pdns_protobuf}
   --with-protobuf \
 %endif
 %if %{with pdns_botan}
@@ -410,7 +413,10 @@
 %install
 make %{?_smp_mflags} install DESTDIR="%{buildroot}"
 
-mv %{buildroot}%{_sysconfdir}/%{pkg_name}/pdns.conf{-dist,}
+sed -i "s:# setgid=:setgid=pdns:g
+s:# setuid=:setuid=pdns:g" \
+  %{buildroot}%{_sysconfdir}/%{pkg_name}/pdns.conf-dist
+mv %{buildroot}%{_sysconfdir}/%{pkg_name}/pdns.conf-dist 
%{buildroot}%{_sysconfdir}/%{pkg_name}/pdns.conf
 
 %if %{with systemd}
 ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{pkg_name}

++++++ pdns-4.0.3.tar.bz2 -> pdns-4.0.4.tar.bz2 ++++++
++++ 6765 lines of diff (skipped)

++++++ pdns-4.0.4_mysql-schema-mariadb.patch ++++++
Upstream: 
https://github.com/Habbie/pdns/commit/2c61f8dfe45eda3c550f496436422be252049fae

diff --git a/modules/gmysqlbackend/schema.mysql.sql 
b/modules/gmysqlbackend/schema.mysql.sql
index 002fe928cc..a3d2e7a8e9 100644
--- a/modules/gmysqlbackend/schema.mysql.sql
+++ b/modules/gmysqlbackend/schema.mysql.sql
@@ -5,9 +5,9 @@ CREATE TABLE domains (
   last_check            INT DEFAULT NULL,
   type                  VARCHAR(6) NOT NULL,
   notified_serial       INT DEFAULT NULL,
-  account               VARCHAR(40) DEFAULT NULL,
+  account               VARCHAR(40) CHARACTER SET 'utf8' DEFAULT NULL,
   PRIMARY KEY (id)
-) Engine=InnoDB;
+) Engine=InnoDB CHARACTER SET 'latin1';
 
 CREATE UNIQUE INDEX name_index ON domains(name);
 
@@ -25,7 +25,7 @@ CREATE TABLE records (
   ordername             VARCHAR(255) BINARY DEFAULT NULL,
   auth                  TINYINT(1) DEFAULT 1,
   PRIMARY KEY (id)
-) Engine=InnoDB;
+) Engine=InnoDB CHARACTER SET 'latin1';
 
 CREATE INDEX nametype_index ON records(name,type);
 CREATE INDEX domain_id ON records(domain_id);
@@ -35,9 +35,9 @@ CREATE INDEX recordorder ON records (domain_id, ordername);
 CREATE TABLE supermasters (
   ip                    VARCHAR(64) NOT NULL,
   nameserver            VARCHAR(255) NOT NULL,
-  account               VARCHAR(40) NOT NULL,
+  account               VARCHAR(40) CHARACTER SET 'utf8' NOT NULL,
   PRIMARY KEY (ip, nameserver)
-) Engine=InnoDB;
+) Engine=InnoDB CHARACTER SET 'latin1';
 
 
 CREATE TABLE comments (
@@ -46,10 +46,10 @@ CREATE TABLE comments (
   name                  VARCHAR(255) NOT NULL,
   type                  VARCHAR(10) NOT NULL,
   modified_at           INT NOT NULL,
-  account               VARCHAR(40) NOT NULL,
-  comment               VARCHAR(64000) NOT NULL,
+  account               VARCHAR(40) CHARACTER SET 'utf8' NOT NULL,
+  comment               VARCHAR(16000) CHARACTER SET 'utf8' NOT NULL,
   PRIMARY KEY (id)
-) Engine=InnoDB;
+) Engine=InnoDB CHARACTER SET 'latin1';
 
 CREATE INDEX comments_domain_id_idx ON comments (domain_id);
 CREATE INDEX comments_name_type_idx ON comments (name, type);
@@ -62,7 +62,7 @@ CREATE TABLE domainmetadata (
   kind                  VARCHAR(32),
   content               TEXT,
   PRIMARY KEY (id)
-) Engine=InnoDB;
+) Engine=InnoDB CHARACTER SET 'latin1';
 
 CREATE INDEX domainmetadata_idx ON domainmetadata (domain_id, kind);
 
@@ -74,7 +74,7 @@ CREATE TABLE cryptokeys (
   active                BOOL,
   content               TEXT,
   PRIMARY KEY(id)
-) Engine=InnoDB;
+) Engine=InnoDB CHARACTER SET 'latin1';
 
 CREATE INDEX domainidindex ON cryptokeys(domain_id);
 
@@ -85,6 +85,6 @@ CREATE TABLE tsigkeys (
   algorithm             VARCHAR(50),
   secret                VARCHAR(255),
   PRIMARY KEY (id)
-) Engine=InnoDB;
+) Engine=InnoDB CHARACTER SET 'latin1';
 
 CREATE UNIQUE INDEX namealgoindex ON tsigkeys(name, algorithm);

Reply via email to