aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-08-03 10:15:31 -0400
committerLeo <thinkabit.ukim@gmail.com>2019-08-03 13:22:38 -0300
commit6c6ec81281eb8a4bdeeb2e535655b357b153a83a (patch)
treef43ce85655bc4352708811cd7658fb1136675d85
parent1fc4c6a100506ca9ff9267f89aece8d93f4771f7 (diff)
downloadaports-6c6ec81281eb8a4bdeeb2e535655b357b153a83a.tar.gz
aports-6c6ec81281eb8a4bdeeb2e535655b357b153a83a.tar.bz2
aports-6c6ec81281eb8a4bdeeb2e535655b357b153a83a.tar.xz
community/pdns: add missing schema file
-rw-r--r--community/pdns/4.1.10_to_4.1.11.schema.pgsql.sql.patch31
-rw-r--r--community/pdns/APKBUILD2
2 files changed, 33 insertions, 0 deletions
diff --git a/community/pdns/4.1.10_to_4.1.11.schema.pgsql.sql.patch b/community/pdns/4.1.10_to_4.1.11.schema.pgsql.sql.patch
new file mode 100644
index 0000000000..525f954d14
--- /dev/null
+++ b/community/pdns/4.1.10_to_4.1.11.schema.pgsql.sql.patch
@@ -0,0 +1,31 @@
+diff --git a/modules/gpgsqlbackend/4.1.10_to_4.1.11.schema.pgsql.sql b/modules/gpgsqlbackend/4.1.10_to_4.1.11.schema.pgsql.sql
+new file mode 100644
+index 0000000..b0c2ee1
+--- /dev/null
++++ b/modules/gpgsqlbackend/4.1.10_to_4.1.11.schema.pgsql.sql
+@@ -0,0 +1 @@
++ALTER TABLE domains ALTER notified_serial TYPE bigint USING CASE WHEN notified_serial >= 0 THEN notified_serial::bigint END;
+diff --git a/modules/gpgsqlbackend/Makefile.am b/modules/gpgsqlbackend/Makefile.am
+index 8a820d5..9e2f271 100644
+--- a/modules/gpgsqlbackend/Makefile.am
++++ b/modules/gpgsqlbackend/Makefile.am
+@@ -12,6 +12,7 @@ dist_doc_DATA = \
+ schema.pgsql.sql \
+ nodnssec-3.x_to_3.4.0_schema.pgsql.sql \
+ dnssec-3.x_to_3.4.0_schema.pgsql.sql \
++ 4.1.10_to_4.1.11.schema.pgsql.sql \
+ 3.4.0_to_4.1.0_schema.pgsql.sql
+
+ libgpgsqlbackend_la_SOURCES = \
+diff --git a/modules/gpgsqlbackend/Makefile.in b/modules/gpgsqlbackend/Makefile.in
+index 4c1f978..9793c9d 100644
+--- a/modules/gpgsqlbackend/Makefile.in
++++ b/modules/gpgsqlbackend/Makefile.in
+@@ -479,6 +479,7 @@ dist_doc_DATA = \
+ schema.pgsql.sql \
+ nodnssec-3.x_to_3.4.0_schema.pgsql.sql \
+ dnssec-3.x_to_3.4.0_schema.pgsql.sql \
++ 4.1.10_to_4.1.11.schema.pgsql.sql \
+ 3.4.0_to_4.1.0_schema.pgsql.sql
+
+ libgpgsqlbackend_la_SOURCES = \
diff --git a/community/pdns/APKBUILD b/community/pdns/APKBUILD
index 93ccc3f53e..f4fd233948 100644
--- a/community/pdns/APKBUILD
+++ b/community/pdns/APKBUILD
@@ -39,6 +39,7 @@ source="https://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2
libressl-2.7.patch
$pkgname.initd
$pkgname.conf
+ 4.1.10_to_4.1.11.schema.pgsql.sql.patch
README.alpine
"
builddir="$srcdir/$pkgname-$pkgver"
@@ -149,4 +150,5 @@ sha512sums="18215f523a39d48c8756bc13ecae1bd78967c2d66619d93ddaafb13062690002a9bd
705fad6a9e7bd342d7f9665c5b3c21d3b919c4a43c5d03fa0d2bf3e25126f1f036edcb0ec66aa0168f6b2e5225c7ac684538cd29bc998245fbb25a57a3c84946 libressl-2.7.patch
3f5b202c56408168ddbf81b47f5c48ca65de91ada88751213a06a1096334b89176c5a6a58f3c6a893a2d15b51ece9f2a64d7d2ea836220a3e45fe362969c6cfa pdns.initd
3f809f3257680c3e496fa6a4c86c8a636db5d9d5b92aef96fe54c29b8266ee590deb792d13205cc171e27307fa73295dd3b101b09102fd66a2393a7cdbf9dd27 pdns.conf
+a3caac012fae6d53afa9d08eaf4d2e70b406197e586b6716e0a9177d3833165493a55bf119669fd29c4397a8230a33982e38ef0b5a6883d71ee8869c06f0fe22 4.1.10_to_4.1.11.schema.pgsql.sql.patch
f2781a23e14bea9b4bbb84f3b596663c76359c449ef6fd39c87b5ea1163c47e01c5ba490c804709033598f0542ac558bde477729ad1ab9f17d49606fa61b2049 README.alpine"