diff options
author | adamw <adamw@FreeBSD.org> | 2017-12-15 01:08:01 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2017-12-15 01:08:01 +0800 |
commit | 40748efe25ee61f65b0437f7d7f79410114a6cf9 (patch) | |
tree | 568af5b275317acbcbb120fc8341446cb14a84e8 /dns | |
parent | 6f0d6a3d427bd3124b37930081abe79f00ba49df (diff) | |
download | freebsd-ports-gnome-40748efe25ee61f65b0437f7d7f79410114a6cf9.tar.gz freebsd-ports-gnome-40748efe25ee61f65b0437f7d7f79410114a6cf9.tar.zst freebsd-ports-gnome-40748efe25ee61f65b0437f7d7f79410114a6cf9.zip |
Add dns/dynip.
dynip is a daemon that monitors your host system ISP assigned dynamic IP
address. If it changes, dynip automatically updates the dynamic DNS IP
address at your dynamic DNS hosting provider then posts an informational
message to the host system log followed by sending an informational email
to user root.
The dynip daemon and the daily script are very simple Bourne Shell type
scripts containing self documenting embedded comments. They use the
"fetch" command to issue the standard browser style URL format used by
most dynamic DNS hosting providers for the purpose of actual updating
the registered IP address with the new IP address. There are some small
variations in the URL format depending on the dynamic DNS hosting
provider being used.
Mandatory requirements. The host that is running dynip "MUST" be cabled
directly to the ISP modem and be using the public routable dynamic IP
address assigned by the ISP.
Includes templates for these dynamic DNS hosting providers
namecheap.com
freedns.afraid.org
changeip.com
no-ip.com
zoneedit.com
easydns.com
and is simple to configure for other providers that use a variation
of the URL format.
WWW: http://dynip.sourceforge.net/
PR: 224329
Submitted by: Joe Barbish
Diffstat (limited to 'dns')
-rw-r--r-- | dns/Makefile | 1 | ||||
-rw-r--r-- | dns/dynip/Makefile | 32 | ||||
-rw-r--r-- | dns/dynip/distinfo | 3 | ||||
-rw-r--r-- | dns/dynip/pkg-descr | 29 | ||||
-rw-r--r-- | dns/dynip/pkg-message | 9 | ||||
-rw-r--r-- | dns/dynip/pkg-plist | 4 |
6 files changed, 78 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile index e2f8e242fdf0..0639d031faba 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -63,6 +63,7 @@ SUBDIR += dq SUBDIR += drool SUBDIR += dualserver + SUBDIR += dynip SUBDIR += erlang-idna SUBDIR += ez-ipupdate SUBDIR += fastresolve diff --git a/dns/dynip/Makefile b/dns/dynip/Makefile new file mode 100644 index 000000000000..369d58e8da10 --- /dev/null +++ b/dns/dynip/Makefile @@ -0,0 +1,32 @@ +# Created by: Joe Barbish +# $FreeBSD$ + +PORTNAME= dynip +PORTVERSION= 0.0 +CATEGORIES= dns +MASTER_SITES= SF/${PORTNAME} + +MAINTAINER= dynip@a1poweruser.com +COMMENT= Dynamic IP Address Updater + +LICENSE= BSD2CLAUSE + +USES= tar:bzip2 +NO_BUILD= yes +NO_ARCH= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/dynip \ + ${STAGEDIR}${PREFIX}/bin + + ${INSTALL_SCRIPT} ${WRKSRC}/dynip_rcd \ + ${STAGEDIR}${PREFIX}/etc/rc.d/dynip + + ${INSTALL_MAN} ${WRKSRC}/dynip.8 \ + ${STAGEDIR}${MAN8PREFIX}/man/man8 + + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily + ${INSTALL_SCRIPT} ${WRKSRC}/dynip_daily \ + ${STAGEDIR}${PREFIX}/etc/periodic/daily/dynip + +.include <bsd.port.mk> diff --git a/dns/dynip/distinfo b/dns/dynip/distinfo new file mode 100644 index 000000000000..60e6f03c7cb0 --- /dev/null +++ b/dns/dynip/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1511635168 +SHA256 (dynip-0.0.tar.bz2) = 323cc11b367b04027741cbcfcad6b9af45e3cc9ca1dffe1b36b4b29c42fd297b +SIZE (dynip-0.0.tar.bz2) = 5057 diff --git a/dns/dynip/pkg-descr b/dns/dynip/pkg-descr new file mode 100644 index 000000000000..791650c896de --- /dev/null +++ b/dns/dynip/pkg-descr @@ -0,0 +1,29 @@ +dynip is a daemon that monitors your host system ISP assigned dynamic IP +address. If it changes, dynip automatically updates the dynamic DNS IP +address at your dynamic DNS hosting provider then posts an informational +message to the host system log followed by sending an informational email +to user root. + +The dynip daemon and the daily script are very simple Bourne Shell type +scripts containing self documenting embedded comments. They use the +"fetch" command to issue the standard browser style URL format used by +most dynamic DNS hosting providers for the purpose of actual updating +the registered IP address with the new IP address. There are some small +variations in the URL format depending on the dynamic DNS hosting +provider being used. + +Mandatory requirements. The host that is running dynip "MUST" be cabled +directly to the ISP modem and be using the public routable dynamic IP +address assigned by the ISP. + +Includes templates for these dynamic DNS hosting providers + namecheap.com + freedns.afraid.org + changeip.com + no-ip.com + zoneedit.com + easydns.com +and is simple to configure for other providers that use a variation +of the URL format. + +WWW: http://dynip.sourceforge.net/ diff --git a/dns/dynip/pkg-message b/dns/dynip/pkg-message new file mode 100644 index 000000000000..89aec54092d9 --- /dev/null +++ b/dns/dynip/pkg-message @@ -0,0 +1,9 @@ +######################################################################## + + dynip + + Dynamic IP Address Updater + + Issue "man dynip" For set up and usage information + +######################################################################## diff --git a/dns/dynip/pkg-plist b/dns/dynip/pkg-plist new file mode 100644 index 000000000000..2c2aa34bc56a --- /dev/null +++ b/dns/dynip/pkg-plist @@ -0,0 +1,4 @@ +bin/dynip +etc/rc.d/dynip +etc/periodic/daily/dynip +man/man8/dynip.8.gz |