summaryrefslogtreecommitdiff
path: root/pcr/opendnssec
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/opendnssec')
-rw-r--r--pcr/opendnssec/PKGBUILD18
-rw-r--r--pcr/opendnssec/opendnssec.install6
2 files changed, 17 insertions, 7 deletions
diff --git a/pcr/opendnssec/PKGBUILD b/pcr/opendnssec/PKGBUILD
index 001d55f15..392e8d939 100644
--- a/pcr/opendnssec/PKGBUILD
+++ b/pcr/opendnssec/PKGBUILD
@@ -2,8 +2,8 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=opendnssec
-pkgver=1.4.7
-pkgrel=2
+pkgver=1.4.8.2
+pkgrel=1
pkgdesc="Turn-key solution for DNSSEC (sqlite3)"
arch=('i686' 'x86_64')
url="http://www.opendnssec.org/"
@@ -28,27 +28,27 @@ source=("http://www.opendnssec.org/files/source/${pkgname}-${pkgver}.tar.gz"
"opendnssec.tmpfiles")
noextract=()
-md5sums=('363387b90624acc2e3f6d33fea23c2d3'
+md5sums=('d7a45659318667d612208066f94d43b2'
'471ec859269bc2add2ad6f95539e8c04'
'e762cdc2c3f8be40aeff379aa4bade76'
'c5464f7be7984bb9a925da0b157eafdf'
'69908ba1f46c25e4c34bc91f45bc9660')
-sha1sums=('c8a5808d68a50db8ed7edf806a58f54428ad7aa8'
+sha1sums=('fd971ac015513206495b1f8531ebadabd010ca98'
'a8234e007fb56262c450016d4058693b4fb7c98c'
'2a4fac3a16fea3f89b281f0933b6920524978d49'
'fa28111fdce06c389813ff6ed2d4cae136252488'
'f10d783b3e0232fd3beff645a07207c161371d0c')
-sha256sums=('8f757ca9e88d6a6dc8f9b6e46a3da5e3a2881b3311fb91c428bcf906683ac41f'
+sha256sums=('7fd553ee39173e807477ed1daff6ee2f8b1c83875cd2e52a1df3315bf0015513'
'c16b206258bca7fd0fd4838c23d3a1bd80bc33aaf355f6ccdbfbfb3b4c3a7e8f'
'596d238ad219de1c88f79fd26a8b829250bf0512a308b34c11fd231d0b4eb0f4'
'75cecbfb0ece13957a68a5bc39c20a1d69b95373e7473545d70621e1732733d8'
'28a43d8d5ee512db5425c86bdba9c5832753dce0260291958b1b73253e3ebf55')
-sha384sums=('b99c5cd05eb11167f353a5b95d01e1f2c2cadf9c1e49c04afe99f2b083338589d189b5c651274378a427c278cb7ad7ac'
+sha384sums=('1f33ad05d86b056760c1600fd61a5645e6dee1101e8eaa4897a2c0a7d5a50295eda95bd75f0007672c9fe648a8ac01e3'
'9fbdf5f5e50c1bddc9d7e0ea3126bb520b00cb3f764878629c86075303226b011e401158751a5d3086e22e8ac8f685e7'
'29d68ccca64339ab190518f6c5bffedba71287548634e305a12c98b7744984cc37f6a1748394ca0d96e709dbd520fe19'
'0869168e8c5a5064cbac0d2f0afe71539a68785d548752c609759381648b04015fc7c3ed9684aec944a914143c777a66'
'5c42366ad7b99d496679b089c1605b3af9060ba737350915439d8ef7bbcfd0f7128c389d256a62754bb79e5ad3e215c2')
-sha512sums=('def2a8e41331bd70f287ea3081a7368144ada92ad5cc9f62d28d3064e34f7c0c84998422d515f5ec9c7e668757e796df8c5446839e24e4a9e2af1357c342c0b2'
+sha512sums=('7f2e10b425f60947aca40c61509b07ddc4363105cc882b518ffa816437299d6f881411cb38325f27b3a34c2005953988b39c945362866dd0f1f7c6ef973bfa06'
'd927457d2d7a5343c4480ff34237f49e3829cef65eefd71fb58ce4fa15d8d969126e64c5a59dc02cc7792876f8a5a91cd4de3c5bfe3acc0396663c8c139d7cce'
'39068133b3bfd075f3555491096be50ea0973a73ac716abb19faed0aa972ef043a6012491d4c6c208443352a2a508b8ebfbd7273fd84df43b3d6d478e72e7957'
'a3700c82e6577bdacbce9cfd749e71e3c749814884ad4e9a1359e97105f9c045dc1472ba231ecb52c23855cacf67874623c8eef715955bfd41239b199d03a0db'
@@ -93,6 +93,10 @@ package() {
install -Dm0644 "LICENSE" \
"${pkgdir}/usr/share/licenses/opendnssec/LICENSE"
+ #Migration scripts for 1.4.8
+ /usr/bin/install -c -m 644 "enforcer/utils/migrate_1_4_8.mysql" "${pkgdir}/usr/share/opendnssec"
+ /usr/bin/install -c -m 644 "enforcer/utils/migrate_1_4_8.sqlite3" "${pkgdir}/usr/share/opendnssec"
+
chown 227:227 "${pkgdir}/etc/opendnssec" -R
chown 227:227 "${pkgdir}/var/lib/opendnssec" -R
diff --git a/pcr/opendnssec/opendnssec.install b/pcr/opendnssec/opendnssec.install
index 184803ba5..e9e2eed80 100644
--- a/pcr/opendnssec/opendnssec.install
+++ b/pcr/opendnssec/opendnssec.install
@@ -22,6 +22,12 @@ post_upgrade() {
echo "Run /usr/share/opendnssec/migrate_adapters_1.sqlite3 on your kasp database"
echo "e.g: sqlite3 kasp.db < /usr/share/opendnssec/migrate_adapters_1.sqlite3"
fi
+ if [ $OLD != "1.4.8" -a $NEW == "1.4.8" ]; then
+ echo ">> NOTICE: UPGRADE TO 1.4.8"
+ echo "This update requires upgrading the database"
+ echo "Run /usr/share/opendnssec/migrate_1_4_8.sqlite3 on your kasp database"
+ echo "e.g: sqlite3 kasp.db < /usr/share/opendnssec/migrate_1_4_8.sqlite3"
+ fi
}
post_remove() {