summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2019-12-29 19:28:20 -0500
committerChris Severance2019-12-29 19:28:20 -0500
commit0f688d1a433e0df606941c6ece003e8ffd61563e (patch)
treefee4090978da7fa077907da952d58f9fe4035e66
parent62f45c160a78577abc2bf53965e83155826029ec (diff)
downloadaur-0f688d1a433e0df606941c6ece003e8ffd61563e.tar.gz
autu: Update to 0.2.1-1 Change download
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD15
2 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2c98757b349c..dd62f634536e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Mon Dec 30 00:28:20 UTC 2019
pkgbase = update-dnsomatic
pkgdesc = A perl utility that updates OpenDNS DNS-O-Matic, and is simpler than inyadn
pkgver = 0.2.1
@@ -13,7 +15,8 @@ pkgbase = update-dnsomatic
depends = perl-lwp-protocol-https
optdepends = cron: use cron instead of systemd timers
backup = etc/update-dnsomatic/config
- source = http://update-dnsomatic.googlecode.com/files/update-dnsomatic-0.2.1.tar.gz
+ source = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/update-dnsomatic/update-dnsomatic-0.2.1.tar.gz
+ md5sums = 3710f7a927e79d0d35bc5b4fcc03b31b
sha256sums = e4b44ffc8caf1114464ca2ae7a925ca06b632379befa88ac39e36c09253a4715
pkgname = update-dnsomatic
diff --git a/PKGBUILD b/PKGBUILD
index c97e388080c6..43453e70e9c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Matt Parnell <parwok@gmail.com>
# BUG: So far as I can tell updating multiple hosts with a single request is no longer supported by the DNS-O-Matic service.
-# The code could be updated to put out a separate request for each host. This is a big more than sed can do.
+# The code could be updated to put out a separate request for each host. This is a bit more than sed can do.
# Future BUG: When multiple hosts is implemented, don't wait for IP to change when new hosts are added.
# Until this is fixed server connections are not attempted when multiple hosts are specified.
# FIXED: The interactive stuff in the old PKGBUILD has been moved to install
@@ -30,14 +30,17 @@ pkgver='0.2.1'
pkgrel='1'
pkgdesc='A perl utility that updates OpenDNS DNS-O-Matic, and is simpler than inyadn'
arch=('i686' 'x86_64')
+#url='https://github.com/rivy/update-dnsomatic'
url='http://prawnuk.blogspot.com/2008/11/dnsomatic-updater.html' # Seán Doher
license=('GPL')
depends=('perl' 'perl-libwww' 'perl-crypt-ssleay' 'perl-lwp-protocol-https')
optdepends=('cron: use cron instead of systemd timers')
-backup='etc/update-dnsomatic/config'
-source=("http://update-dnsomatic.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('e4b44ffc8caf1114464ca2ae7a925ca06b632379befa88ac39e36c09253a4715')
+backup=('etc/update-dnsomatic/config')
install="${pkgname}.install"
+#source=("http://update-dnsomatic.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/update-dnsomatic/update-dnsomatic-${pkgver}.tar.gz")
+md5sums=('3710f7a927e79d0d35bc5b4fcc03b31b')
+sha256sums=('e4b44ffc8caf1114464ca2ae7a925ca06b632379befa88ac39e36c09253a4715')
package() {
set -u
@@ -76,7 +79,7 @@ if (!GetOptions (
install -Dm644 <(cat << EOF
# Automatically generated by ${pkgname}-${pkgver} PKGBUILD from Arch Linux AUR
-# http://aur.archlinux.org/
+# https://aur.archlinux.org/
[Unit]
Description=OpenDNS DNS-O-Matic updater ${pkgname}
@@ -93,7 +96,7 @@ EOF
install -Dm644 <(cat << EOF
# Automatically generated by ${pkgname}-${pkgver} PKGBUILD from Arch Linux AUR
-# http://aur.archlinux.org/
+# https://aur.archlinux.org/
[Unit]
Description=OpenDNS DNS-O-Matic updater ${pkgname}