View | Details | Raw Unified | Return to bug 239850 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +1 lines)
Lines 1-8 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	powerdns
3
PORTNAME=	powerdns
4
DISTVERSION=	4.1.10
4
DISTVERSION=	4.1.13
5
PORTREVISION=	3
6
CATEGORIES=	dns ipv6
5
CATEGORIES=	dns ipv6
7
MASTER_SITES=	http://downloads.powerdns.com/releases/
6
MASTER_SITES=	http://downloads.powerdns.com/releases/
8
DISTNAME=	pdns-${DISTVERSION}
7
DISTNAME=	pdns-${DISTVERSION}
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1561114944
1
TIMESTAMP = 1565782037
2
SHA256 (pdns-4.1.10.tar.bz2) = 5a46cfde92caaaa2e85af9a15acb9ad81b56f4c8a8255c457e6938d8c0cb15c7
2
SHA256 (pdns-4.1.13.tar.bz2) = e7ea9c628a03652d2ca9e048525d44ac5628a9fede45e510ff9ba756ae2f5f25
3
SIZE (pdns-4.1.10.tar.bz2) = 1117663
3
SIZE (pdns-4.1.13.tar.bz2) = 1117990
(-)files/pkg-message.in (-3 / +3 lines)
Lines 15-23 Link Here
15
{ type: upgrade
15
{ type: upgrade
16
  maximum_versio: 3.4
16
  maximum_versio: 3.4
17
  message: <<EOM
17
  message: <<EOM
18
 ---------------------------------------------
18
 -----------------------------------------------
19
 IMPORTANT: PowerDNS Authoritive Server 3.4.0+:
19
 IMPORTANT: PowerDNS Authoritative Server 3.4.0+:
20
 ---------------------------------------------
20
 -----------------------------------------------
21
 This version needs a mandatory schema change for the gmsyql,
21
 This version needs a mandatory schema change for the gmsyql,
22
 gpgsql and gsqlite3 backends. SQL statements are available in
22
 gpgsql and gsqlite3 backends. SQL statements are available in
23
 %%DOCSDIR%% or http://doc.powerdns.com
23
 %%DOCSDIR%% or http://doc.powerdns.com
(-)pkg-install (+42 lines)
Line 0 Link Here
1
#! /bin/sh
2
3
# $FreeBSD$
4
5
PATH=/bin:/usr/bin:/usr/sbin
6
7
securitywarning() {
8
cat <<EOF
9
10
  === IMPORTANT FOR GPGSQL BACKEND USERS! ===
11
  The following only impacts anyone using the
12
  gpgsql (PostgreSQL) backend:
13
14
  An issue has been found in PowerDNS
15
  Authoritative Server allowing an authorized
16
  user to cause the server to exit by
17
  inserting a crafted record in a MASTER type
18
  zone under their control. The issue is due
19
  to the fact that the Authoritative Server
20
  will exit when it tries to store the
21
  notified serial in the PostgreSQL database,
22
  if this serial cannot be represented in 31
23
  bits.
24
25
  To fix the issue, run the following command
26
  against your PostgreSQL pdns database:
27
28
  ALTER TABLE domains ALTER notified_serial
29
  TYPE bigint USING CASE WHEN notified_serial
30
  >= 0 THEN notified_serial::bigint END;
31
32
  No software changes are required.
33
  ===========================================
34
EOF
35
}
36
37
case $2 in
38
PRE-INSTALL)
39
        securitywarning
40
        sleep 10
41
        ;;
42
esac
(-)pkg-plist (+1 lines)
Lines 59-64 Link Here
59
%%PORTEXAMPLES%%@dir %%EXAMPLESDIR%%
59
%%PORTEXAMPLES%%@dir %%EXAMPLESDIR%%
60
%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/3.4.0_to_4.1.0_schema.mysql.sql
60
%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/3.4.0_to_4.1.0_schema.mysql.sql
61
%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/3.4.0_to_4.1.0_schema.pgsql.sql
61
%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/3.4.0_to_4.1.0_schema.pgsql.sql
62
%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/4.1.10_to_4.1.11.schema.pgsql.sql
62
%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.mysql.sql
63
%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.mysql.sql
63
%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.pgsql.sql
64
%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.pgsql.sql
64
%%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
65
%%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.sqlite3.sql

Return to bug 239850