Index: head/dns/namesilo_ddns/files/patch-eb8e01 =================================================================== --- head/dns/namesilo_ddns/files/patch-eb8e01 (revision 480764) +++ head/dns/namesilo_ddns/files/patch-eb8e01 (nonexistent) @@ -1,41 +0,0 @@ -From eb8e0195483a91c06543d6f680898dc7d5baba50 Mon Sep 17 00:00:00 2001 -From: Chris Rees -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 - Property changes on: head/dns/namesilo_ddns/files/patch-eb8e01 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/dns/namesilo_ddns/Makefile =================================================================== --- head/dns/namesilo_ddns/Makefile (revision 480764) +++ head/dns/namesilo_ddns/Makefile (revision 480765) @@ -1,29 +1,28 @@ # $FreeBSD$ PORTNAME= namesilo_ddns -PORTVERSION= 2.1 -PORTREVISION= 1 +PORTVERSION= 2.2 DISTVERSIONPREFIX=v CATEGORIES= dns net MAINTAINER= crees@FreeBSD.org COMMENT= Updates DNS records with Namesilo for dynamic IP addresses LICENSE= MIT RUN_DEPENDS= xmllint:textproc/libxml2 USE_GITHUB= yes GH_ACCOUNT= crees NO_BUILD= yes PLIST_FILES= sbin/${PORTNAME} "@sample etc/${PORTNAME}.conf.sample" do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample \ ${STAGEDIR}${PREFIX}/etc/ .include Index: head/dns/namesilo_ddns/distinfo =================================================================== --- head/dns/namesilo_ddns/distinfo (revision 480764) +++ head/dns/namesilo_ddns/distinfo (revision 480765) @@ -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