1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/dns/dynip/Makefile
Adam Weinberger 611e9b36dd 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
2017-12-14 17:08:01 +00:00

33 lines
671 B
Makefile

# 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>