aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2018-09-26 19:51:48 +0000
committerChris Rees <crees@FreeBSD.org>2018-09-26 19:51:48 +0000
commit346d8ef2401bfa3743257a3b30c4780525e9db17 (patch)
tree6ca17765301d414388d789ebc0b4b73971c449ef /dns
parentdd731941deb0f85e4bd42fa0a9e6e7ce9ae356fc (diff)
downloadports-346d8ef2401bfa3743257a3b30c4780525e9db17.tar.gz
ports-346d8ef2401bfa3743257a3b30c4780525e9db17.zip
Update to 2.2
This avoids overwriting IP info; meaning you can have multiple instances running
Notes
Notes: svn path=/head/; revision=480765
Diffstat (limited to 'dns')
-rw-r--r--dns/namesilo_ddns/Makefile3
-rw-r--r--dns/namesilo_ddns/distinfo6
-rw-r--r--dns/namesilo_ddns/files/patch-eb8e0141
3 files changed, 4 insertions, 46 deletions
diff --git a/dns/namesilo_ddns/Makefile b/dns/namesilo_ddns/Makefile
index 2af2e5ad55da..05e4bc83a110 100644
--- a/dns/namesilo_ddns/Makefile
+++ b/dns/namesilo_ddns/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= namesilo_ddns
-PORTVERSION= 2.1
-PORTREVISION= 1
+PORTVERSION= 2.2
DISTVERSIONPREFIX=v
CATEGORIES= dns net
diff --git a/dns/namesilo_ddns/distinfo b/dns/namesilo_ddns/distinfo
index f723b64268f1..07a7403ba361 100644
--- a/dns/namesilo_ddns/distinfo
+++ b/dns/namesilo_ddns/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1536603101
-SHA256 (crees-namesilo_ddns-v2.1_GH0.tar.gz) = d12604bc934332f4a9fe83f2567eba4bb66c0f0ed95265d00872002e08d6e3b9
-SIZE (crees-namesilo_ddns-v2.1_GH0.tar.gz) = 3833
+TIMESTAMP = 1537991462
+SHA256 (crees-namesilo_ddns-v2.2_GH0.tar.gz) = 3e299608f14764a39607ff65d5d18757b7af16e9cc09c8586338e77b4288c09c
+SIZE (crees-namesilo_ddns-v2.2_GH0.tar.gz) = 3839
diff --git a/dns/namesilo_ddns/files/patch-eb8e01 b/dns/namesilo_ddns/files/patch-eb8e01
deleted file mode 100644
index e28ea0081ee7..000000000000
--- a/dns/namesilo_ddns/files/patch-eb8e01
+++ /dev/null
@@ -1,41 +0,0 @@
-From eb8e0195483a91c06543d6f680898dc7d5baba50 Mon Sep 17 00:00:00 2001
-From: Chris Rees <crees@FreeBSD.org>
-Date: Tue, 11 Sep 2018 18:50:59 +0100
-Subject: [PATCH] Fix use case where A and MX records (for example) exist for
- the same domain
-
-diff --git a/README.md b/README.md
-index 8b3f27e..1c18fde 100644
---- README.md
-+++ README.md
-@@ -1,5 +1,5 @@
- -----------------------------------------------------------------
--# namesilo_ddns version 2.0
-+# namesilo_ddns version 2.1_1
- Dynamic DNS record update with NameSilo.
-
- This is a shell script to update Namesilo's DNS record when IP changed. Set to run this script as cronjob in your system.
-diff --git a/namesilo_ddns.sh b/namesilo_ddns.sh
-index 741956e..ab1e0c3 100644
---- namesilo_ddns.sh
-+++ namesilo_ddns.sh
-@@ -1,6 +1,6 @@
- #!/bin/sh
-
--# namesilo_ddns version 2.0
-+# namesilo_ddns version 2.1_1
-
- ##For security, you should use a config file readable only by the user
- ##calling this utility (root may not be such a great idea). There is an example
-@@ -124,7 +124,7 @@ if [ "$CUR_IP" != "$KNOWN_IP" ]; then
-
- ##Update DNS record in Namesilo:
- $CURL "https://www.namesilo.com/api/dnsListRecords?version=1&type=xml&key=$APIKEY&domain=$DOMAIN" > /tmp/$DOMAIN.xml
-- RECORD_ID=`xmllint --xpath "//namesilo/reply/resource_record/record_id[../host/text() = '$HOST_DOT$DOMAIN' ]" /tmp/$DOMAIN.xml`
-+ RECORD_ID=`xmllint --xpath "//namesilo/reply/resource_record/record_id[../host/text() = '$HOST_DOT$DOMAIN' ][../type = 'A' ]" /tmp/$DOMAIN.xml`
- RECORD_ID=${RECORD_ID#*>}
- RECORD_ID=${RECORD_ID%<*}
- $CURL "https://www.namesilo.com/api/dnsUpdateRecord?version=1&type=xml&key=$APIKEY&domain=$DOMAIN&rrid=$RECORD_ID&rrhost=$HOST&rrvalue=$CUR_IP&rrttl=$TTL" > $RESPONSE
---
-2.16.2
-