diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2008-06-22 04:52:39 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2008-06-22 04:52:39 +0000 |
commit | ab11ff84c803d6c9ae43ad8b488821496d1bd5ff (patch) | |
tree | d0b44961448333a66f48c4401cf0f5cb7748009c /net/inadyn/Makefile | |
parent | a227983f160b04b32c39b6852f70053d3d2c13e5 (diff) | |
download | pkgsrc-ab11ff84c803d6c9ae43ad8b488821496d1bd5ff.tar.gz |
Initial import of inadyn-1.96.2.
INADYN is a dynamic DNS client. That is, it maintains the IP address of a
host name. It periodically checks whether the IP address stored by the DNS
server is the real current address of the machine that is running INADYN.
Features:
* supports the following dynamic DNS services:
* dyndns.org (in all three flavors: dynamic, static, custom)
* freedns.afraid.org
* zoneedit.com
* no-ip.com
* maintains up multiple aliases of the same IP address
* runs as a service (Windows 2000/XP, Linux)
* or runs as a console application
* updates the correct IP address even behind a NAT router.
* supports access via http proxy
* does not perform unnecessary updates.
* has 'install and forget it feature'. That is, after install one can
completely forget about it. No maintenance required. (as long as no
bugs are found;-)
Diffstat (limited to 'net/inadyn/Makefile')
-rw-r--r-- | net/inadyn/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net/inadyn/Makefile b/net/inadyn/Makefile new file mode 100644 index 00000000000..0e5b10cc99e --- /dev/null +++ b/net/inadyn/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/06/22 04:52:39 dmcmahill Exp $ +# + +DISTNAME= inadyn.v1.96.2 +PKGNAME= inadyn-1.96.2 +CATEGORIES= net +MASTER_SITES= http://www.inatech.eu/inadyn/ +EXTRACT_SUFX= .zip + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.inatech.eu/inadyn/ +COMMENT= Dynamic DNS client + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_TOOLS+= gmake + +LIBS.SunOS= -lsocket -lnsl +MAKE_ENV+= TARGET_ARCH=pkgsrc + +WRKSRC= ${WRKDIR}/inadyn +MAKE_FILE?= makefile + +INSTALLATION_DIRS= bin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 + +# do the dos to unix thing before patching to make it easier to +# try changes (don't need the dos2unix and unix2dos in the mix) +pre-patch: + cd ${WRKSRC}; for file in man/inadyn.conf.5 man/inadyn.8 src/dyndns.h ; do \ + ${SED} -e "s|/etc|${PKG_SYSCONFDIR}|g" \ + $${file} > $${file}.orig; \ + ${CP} -f $${file}.orig $${file}; \ + done + cd ${WRKSRC}/src && for f in * ; do \ + if ${TEST} -f $$f ; then \ + mv $$f $$f.bak ; cat $$f.bak | ${TR} -d '\r' > $$f ; \ + rm $$f.bak ; \ + fi \ + done + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pkgsrc/inadyn ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/inadyn.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 + ${INSTALL_MAN} ${WRKSRC}/man/inadyn.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + +.include "../../mk/bsd.pkg.mk" |