aboutsummaryrefslogtreecommitdiffstats
path: root/community
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:18 -0300
commit6e24444f02c10d34820203b25a71998e9b2ea9f6 (patch)
tree4288cf8aca0dbf091d4c9b2affabc8edc3fe2dc4 /community
parent9e8380b6496455e04d4c1bd2aac11e321420fef0 (diff)
downloadaports-6e24444f02c10d34820203b25a71998e9b2ea9f6.tar.bz2
aports-6e24444f02c10d34820203b25a71998e9b2ea9f6.tar.xz
community/pdns: add missing schema file
Diffstat (limited to 'community')
-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 addbdc525e..ce40f88cc6 100644
--- a/community/pdns/APKBUILD
+++ b/community/pdns/APKBUILD
@@ -38,6 +38,7 @@ pkggroups="pdns"
source="https://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2
$pkgname.initd
$pkgname.conf
+ 4.1.10_to_4.1.11.schema.pgsql.sql.patch
README.alpine
"
builddir="$srcdir/$pkgname-$pkgver"
@@ -147,4 +148,5 @@ backend_sqlite3() { _mv_backend gsqlite3 sqlite; }
sha512sums="18215f523a39d48c8756bc13ecae1bd78967c2d66619d93ddaafb13062690002a9bdfe1d337796820706692c449286c7b9e9b8d45933684d32acbc20e490c0c4 pdns-4.1.11.tar.bz2
3a55547e1b6407e7d2faa6e02982ed903c2364381af1b7eeb626ae3a8b0e32558dd79bf31c982b134414e5636d4868c1f3660ac523f25d2440ed6f7b436843bf pdns.initd
3f809f3257680c3e496fa6a4c86c8a636db5d9d5b92aef96fe54c29b8266ee590deb792d13205cc171e27307fa73295dd3b101b09102fd66a2393a7cdbf9dd27 pdns.conf
+a3caac012fae6d53afa9d08eaf4d2e70b406197e586b6716e0a9177d3833165493a55bf119669fd29c4397a8230a33982e38ef0b5a6883d71ee8869c06f0fe22 4.1.10_to_4.1.11.schema.pgsql.sql.patch
f2781a23e14bea9b4bbb84f3b596663c76359c449ef6fd39c87b5ea1163c47e01c5ba490c804709033598f0542ac558bde477729ad1ab9f17d49606fa61b2049 README.alpine"