diff --git a/dns/Makefile b/dns/Makefile index 71c200092077..60c63d508f51 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -1,244 +1,245 @@ COMMENT = Domain Name Service tools SUBDIR += adns SUBDIR += adsuck SUBDIR += amass SUBDIR += ares SUBDIR += axfr2acl SUBDIR += bind-tools SUBDIR += bind9-devel SUBDIR += bind911 SUBDIR += bind916 SUBDIR += bindgraph SUBDIR += blocky SUBDIR += bundy SUBDIR += c-ares SUBDIR += cli53 SUBDIR += coredns SUBDIR += crossip SUBDIR += curvedns SUBDIR += ddclient SUBDIR += ddns SUBDIR += denominator SUBDIR += dhisd SUBDIR += djbdns SUBDIR += djbdns-tools SUBDIR += dlint SUBDIR += dnrd SUBDIR += dns2blackhole SUBDIR += dns2tcp SUBDIR += dns_balance SUBDIR += dnsblast SUBDIR += dnscap SUBDIR += dnscheckengine SUBDIR += dnscontrol SUBDIR += dnscrypt-proxy2 SUBDIR += dnscrypt-wrapper SUBDIR += dnsdbck SUBDIR += dnsdbflex SUBDIR += dnsdbq SUBDIR += dnsdist SUBDIR += dnsenum SUBDIR += dnsflood SUBDIR += dnsforwarder SUBDIR += dnshistory SUBDIR += dnsjava SUBDIR += dnsmasq SUBDIR += dnsmasq-devel SUBDIR += dnsmax-perl SUBDIR += dnsproxy SUBDIR += dnsrecon SUBDIR += dnsreflector SUBDIR += dnstable SUBDIR += dnstable-convert SUBDIR += dnstop SUBDIR += dnstracer SUBDIR += dnsutl SUBDIR += dnsviz SUBDIR += dnswalk SUBDIR += dnswall SUBDIR += doc SUBDIR += dog SUBDIR += doggo SUBDIR += doh-proxy SUBDIR += dq SUBDIR += drool SUBDIR += dsc SUBDIR += dsp SUBDIR += dynip SUBDIR += encrypted-dns-server SUBDIR += erlang-idna SUBDIR += fastresolve SUBDIR += firedns SUBDIR += flamethrower SUBDIR += fpdns SUBDIR += gdnsd2 SUBDIR += gdnsd3 SUBDIR += gen6dns SUBDIR += getdns SUBDIR += hesiod + SUBDIR += hetzner_ddns SUBDIR += hostdb SUBDIR += idnkit SUBDIR += idnkit2 SUBDIR += inadyn SUBDIR += ipcheck SUBDIR += ironsides SUBDIR += kadnode SUBDIR += kf5-kdnssd SUBDIR += knock SUBDIR += knot-resolver SUBDIR += knot3 SUBDIR += knot3-lib SUBDIR += ldapdns SUBDIR += ldns SUBDIR += libasr SUBDIR += libasr-devel SUBDIR += libbind SUBDIR += libdjbdns SUBDIR += libidn SUBDIR += libidn2 SUBDIR += libmicrodns SUBDIR += libnspsl SUBDIR += libpsl SUBDIR += linux-c7-libasyncns SUBDIR += mDNSResponder_nss SUBDIR += maradns SUBDIR += mdnsd SUBDIR += mydns SUBDIR += mydns-ng SUBDIR += namesilo_ddns SUBDIR += nextdns SUBDIR += noip SUBDIR += nsd SUBDIR += nslint SUBDIR += nsnotifyd SUBDIR += nsping SUBDIR += nss_mdns SUBDIR += nss_resinit SUBDIR += opendnssec2 SUBDIR += openresolv SUBDIR += p5-AnyEvent-CacheDNS SUBDIR += p5-AnyEvent-DNS-EtcHosts SUBDIR += p5-App-DSC-DataTool SUBDIR += p5-BIND-Conf_Parser SUBDIR += p5-BIND-Config-Parser SUBDIR += p5-DNS-Config SUBDIR += p5-DNS-EasyDNS SUBDIR += p5-DNS-Ldns SUBDIR += p5-DNS-Zone SUBDIR += p5-DNS-ZoneParse SUBDIR += p5-DSC SUBDIR += p5-Data-Validate-Domain SUBDIR += p5-IO-Async-Resolver-DNS SUBDIR += p5-Mozilla-PublicSuffix SUBDIR += p5-Net-Amazon-Route53 SUBDIR += p5-Net-Bonjour SUBDIR += p5-Net-DNS SUBDIR += p5-Net-DNS-Async SUBDIR += p5-Net-DNS-Check SUBDIR += p5-Net-DNS-Codes SUBDIR += p5-Net-DNS-Lite SUBDIR += p5-Net-DNS-Match SUBDIR += p5-Net-DNS-RR-SRV-Helper SUBDIR += p5-Net-DNS-Resolver-Mock SUBDIR += p5-Net-DNS-Resolver-Programmable SUBDIR += p5-Net-DNS-SEC SUBDIR += p5-Net-DNS-TestNS SUBDIR += p5-Net-DNS-ToolKit SUBDIR += p5-Net-DNS-Zone-Parser SUBDIR += p5-Net-DNS-ZoneFile-Fast SUBDIR += p5-Net-DNSBL-MultiDaemon SUBDIR += p5-Net-DNSBL-Statistics SUBDIR += p5-Net-DRI SUBDIR += p5-Net-Domain-ExpireDate SUBDIR += p5-Net-Domain-TLD SUBDIR += p5-Net-LibIDN SUBDIR += p5-Net-LibIDN2 SUBDIR += p5-Net-Nslookup SUBDIR += p5-Net-RBLClient SUBDIR += p5-Net-RNDC SUBDIR += p5-POE-Component-Client-DNS SUBDIR += p5-POE-Component-Client-DNS-Recursive SUBDIR += p5-POE-Component-Client-DNSBL SUBDIR += p5-POE-Component-Resolver SUBDIR += p5-POE-Component-Server-DNS SUBDIR += p5-POE-Filter-DNS-TCP SUBDIR += p5-Tie-DNS SUBDIR += p5-URBL-Prepare SUBDIR += packetq SUBDIR += pdnsd SUBDIR += pear-File_DNS SUBDIR += pear-Horde_Idna SUBDIR += pear-Net_DNS2 SUBDIR += powerdns SUBDIR += powerdns-recursor SUBDIR += public_suffix_list SUBDIR += py-adns SUBDIR += py-aiodns SUBDIR += py-cloudflare SUBDIR += py-dns-crawler SUBDIR += py-dns-lexicon SUBDIR += py-dnspython SUBDIR += py-dnspython2 SUBDIR += py-easyzone SUBDIR += py-idna SUBDIR += py-idna_ssl SUBDIR += py-ldns SUBDIR += py-localzone SUBDIR += py-namebench SUBDIR += py-ns1-python SUBDIR += py-publicsuffix SUBDIR += py-publicsuffix2 SUBDIR += py-publicsuffixlist SUBDIR += py-py3dns SUBDIR += py-pybonjour SUBDIR += py-pycares SUBDIR += py-pydnstable SUBDIR += py-pywdns SUBDIR += py-tld SUBDIR += py-tldextract SUBDIR += qmdnsengine SUBDIR += radns SUBDIR += rbldnsd SUBDIR += rbllookup SUBDIR += rbllookup-ng SUBDIR += rdap SUBDIR += renewck SUBDIR += rpsl2acl SUBDIR += rubygem-dnsruby SUBDIR += rubygem-gitlab-net-dns SUBDIR += rubygem-google-apis-dns_v1 SUBDIR += rubygem-google-cloud-dns SUBDIR += rubygem-idn-ruby SUBDIR += rubygem-net-dns SUBDIR += rubygem-public_suffix SUBDIR += rubygem-public_suffix_service SUBDIR += rubygem-resolv SUBDIR += rubygem-resolv-replace SUBDIR += rubygem-simpleidn SUBDIR += rubygem-validates_hostname SUBDIR += rubygem-zonefile SUBDIR += samba-nsupdate SUBDIR += scavenge SUBDIR += sheerdns SUBDIR += sleuth SUBDIR += subfinder SUBDIR += tinystats SUBDIR += totd SUBDIR += udns SUBDIR += unbound SUBDIR += updatedd SUBDIR += utdns SUBDIR += validns SUBDIR += vhostcname SUBDIR += vizone SUBDIR += void-zones-tools SUBDIR += walker SUBDIR += wdns SUBDIR += whoseip SUBDIR += wrapsrv SUBDIR += yadifa SUBDIR += zkt SUBDIR += zonenotify .include diff --git a/dns/hetzner_ddns/Makefile b/dns/hetzner_ddns/Makefile new file mode 100644 index 000000000000..08998b53c0e5 --- /dev/null +++ b/dns/hetzner_ddns/Makefile @@ -0,0 +1,34 @@ +# Created by: Filip Parag + +PORTNAME= hetzner_ddns +DISTVERSION= 0.2.2 +CATEGORIES= dns + +MAINTAINER= filip@parag.rs +COMMENT= Hetzner Dynamic DNS Daemon + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= jq:textproc/jq \ + curl:ftp/curl + +NO_ARCH= yes +NO_BUILD= yes + +USE_GITHUB= yes +GH_ACCOUNT= filiparag + +PLIST_FILES= bin/${PORTNAME} \ + share/man/man1/${PORTNAME}.1.gz \ + "@sample etc/${PORTNAME}.conf.sample" + +USE_RC_SUBR= ${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.man \ + ${STAGEDIR}${MANPREFIX}/share/man/man1/${PORTNAME}.1 + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + +.include diff --git a/dns/hetzner_ddns/distinfo b/dns/hetzner_ddns/distinfo new file mode 100644 index 000000000000..41bd4d428ac9 --- /dev/null +++ b/dns/hetzner_ddns/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1623187734 +SHA256 (filiparag-hetzner_ddns-0.2.2_GH0.tar.gz) = 0507f0a3c20530ebfc0e07cc086c64a889e095b86503c714393d60135aeea9f3 +SIZE (filiparag-hetzner_ddns-0.2.2_GH0.tar.gz) = 7201 diff --git a/dns/hetzner_ddns/files/hetzner_ddns.in b/dns/hetzner_ddns/files/hetzner_ddns.in new file mode 100755 index 000000000000..b1ea2bf6ef3a --- /dev/null +++ b/dns/hetzner_ddns/files/hetzner_ddns.in @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ + +# PROVIDE: hetzner_ddns +# REQUIRE: LOGIN + +. /etc/rc.subr + +name=hetzner_ddns +rcvar="${name}_enable" +pidfile="/var/run/${name}.pid" +start_cmd="${name}_start" +load_rc_config $name +command="/usr/local/bin/${name}" +command_args="--daemon" +procname="/bin/sh" + +hetzner_ddns_start() +{ + export PATH="$PATH:/usr/local/bin" + eval "${command} ${command_args}" +} + +run_rc_command "$1" diff --git a/dns/hetzner_ddns/pkg-descr b/dns/hetzner_ddns/pkg-descr new file mode 100644 index 000000000000..dc3653e1a54f --- /dev/null +++ b/dns/hetzner_ddns/pkg-descr @@ -0,0 +1,9 @@ +Hetzner Dynamic DNS Daemon + +A simple daemon to continuously update Hetzner DNS +A and AAAA records for your server with a dynamic IP address. + +It features support for multiple subdomain records with painless +configuration and administration. + +WWW: https://github.com/filiparag/hetzner_ddns