[Midnightbsd-cvs] mports: mports/dns: Add inadyn
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Nov 11 18:19:35 EST 2007
Log Message:
-----------
Add inadyn
Modified Files:
--------------
mports/dns:
Makefile (r1.10 -> r1.11)
Added Files:
-----------
mports/dns/inadyn:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
mports/dns/inadyn/files:
patch-man::inadyn.8 (r1.1)
patch-readme.html (r1.1)
patch-src::dyndns.h (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/dns/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -L dns/Makefile -L dns/Makefile -u -r1.10 -r1.11
--- dns/Makefile
+++ dns/Makefile
@@ -9,6 +9,7 @@
SUBDIR += c-ares
SUBDIR += ddclient
SUBDIR += ez-ipupdate
+ SUBDIR += inadyn
SUBDIR += libidn
SUBDIR += mdnsd
SUBDIR += p5-Net-DNS
--- /dev/null
+++ dns/inadyn/pkg-descr
@@ -0,0 +1,8 @@
+INADYN is a dynamic DNS client, it maintains the IP address of a host name by
+periodically checking whether the IP address stored by the DNS server is the
+real current address of the machine that is running INADYN.
+
+Supported dynamic DNS services are: dyndns.org (in all three flavors: dynamic,
+static, custom), freedns.afraid.org, zoneedit.com, no-ip.com
+
+WWW: http://inadyn.ina-tech.net/
--- /dev/null
+++ dns/inadyn/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: inadyn
+# Date created: 9 September 2005
+# Whom: Alex Samorukov <samm at os2.kiev.ua>
+#
+# $MidnightBSD: mports/dns/inadyn/Makefile,v 1.1 2007/11/11 23:19:33 laffer1 Exp $
+# $FreeBSD: ports/dns/inadyn/Makefile,v 1.6 2007/09/12 21:20:29 edwin Exp $
+#
+
+PORTNAME= inadyn
+PORTVERSION= 1.96.2
+CATEGORIES= dns
+MASTER_SITES= http://inadyn.ina-tech.net/ \
+ http://www.mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/
+DISTNAME= ${PORTNAME}.v${PORTVERSION}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= ports at midnightbsd.org
+COMMENT= INADYN - Simple DYNAMIC DNS client
+LICENSE= gpl2
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_ZIP= yes
+USE_DOS2UNIX= yes
+USE_GMAKE= yes
+MAKEFILE= makefile
+
+MAN8= inadyn.8
+MAN5= inadyn.conf.5
+MANCOMPRESSED= no
+
+PORTDOCS= readme.html
+PLIST_FILES= bin/inadyn
+
+NO_INSTALL_MANPAGES=yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|gcc|$$\(CC\)|g' ${WRKSRC}/makefile
+ ${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \
+ ${WRKSRC}/man/inadyn.8 ${WRKSRC}/readme.html \
+ ${WRKSRC}/src/dyndns.h
+
+do-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
+.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/linux/inadyn ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/man/inadyn.8 ${MANPREFIX}/man/man8
+ ${INSTALL_SCRIPT} ${WRKSRC}/man/inadyn.conf.5 ${MANPREFIX}/man/man5
+
+.include <bsd.port.mk>
--- /dev/null
+++ dns/inadyn/distinfo
@@ -0,0 +1,3 @@
+MD5 (inadyn.v1.96.2.zip) = d394ed5ab7a9313992bdc62c412cb369
+SHA256 (inadyn.v1.96.2.zip) = cabaf79a467918dbdafa84792c963047692cd91283a808981736f78c95751650
+SIZE (inadyn.v1.96.2.zip) = 110194
--- /dev/null
+++ dns/inadyn/files/patch-src::dyndns.h
@@ -0,0 +1,12 @@
+diff -Naur src/dyndns.h.orig src/dyndns.h
+--- src/dyndns.h.orig 2007-08-21 18:42:48.000000000 +0000
++++ src/dyndns.h 2007-08-21 18:42:57.000000000 +0000
+@@ -44,7 +44,7 @@
+
+ /*test values*/
+ #define DYNDNS_DEFAULT_DEBUG_LEVEL 1
+-#define DYNDNS_DEFAULT_CONFIG_FILE "/etc/inadyn.conf"
++#define DYNDNS_DEFAULT_CONFIG_FILE "%%PREFIX%%/etc/inadyn.conf"
+
+ #define DYNDNS_MY_USERNAME "test"
+ #define DYNDNS_MY_PASSWD "test"
--- /dev/null
+++ dns/inadyn/files/patch-readme.html
@@ -0,0 +1,39 @@
+diff -Naur readme.html.orig readme.html
+--- readme.html.orig 2007-08-21 18:43:09.000000000 +0000
++++ readme.html 2007-08-21 18:43:22.000000000 +0000
+@@ -195,7 +195,7 @@
+ mode, with configuration read from file of an address from
+ freedns.afraid.org </span><br>
+ Config file (can be placed anywhere, but in linux is convenient in
+-default location: /etc/inadyn.conf<br>
++default location: %%PREFIX%%/etc/inadyn.conf<br>
+ Content of cfg file:<br>
+ --update_period 60000 <br>
+ --alias test.homeip.net,hash_for_host1 <br>
+@@ -204,7 +204,7 @@
+ rights, more secure)
+ <br>
+ Launching of inadyn does not need any params. It looks for
+-/etc/inadyn.config
++%%PREFIX%%/etc/inadyn.config
+ <br>
+ <br>
+ <span style="font-weight: bold;">4. Freedns update in console </span><br>
+@@ -230,7 +230,7 @@
+ can be present in the
+ command line from a configuration file. This feature allows the user to
+ write the options only once, and avoids frequent retyping.<br>
+-<i>Default configuration file</i> is /etc/inadyn.conf under Unix
++<i>Default configuration file</i> is %%PREFIX%%/etc/inadyn.conf under Unix
+ systems. <br>
+ The location of the config file can be given ot inadyn via --input_file
+ option <br>
+@@ -314,7 +314,7 @@
+ input file name that
+ contains
+ inadyn command options (adds to those already present in the cmd line).
+-The default configuration file name is '/etc/inadyn.conf'. It is only
++The default configuration file name is '%%PREFIX%%/etc/inadyn.conf'. It is only
+ used if inadyn is called without any command line options. This allows
+ inadyn to be called without any arguments. The format is as expected
+ for a **NIX config file. See below for details.<br>
--- /dev/null
+++ dns/inadyn/files/patch-man::inadyn.8
@@ -0,0 +1,36 @@
+diff -Naur man/inadyn.8.orig man/inadyn.8
+--- man/inadyn.8.orig 2007-08-21 18:48:17.000000000 +0000
++++ man/inadyn.8 2007-08-21 21:32:49.000000000 +0000
+@@ -88,7 +88,7 @@
+ .I \-\-input_file
+ The file name that contains inadyn command options exactly as specified in
+ the command line syntax (adds to those already present in the cmd
+-line). The default configuration file name is '/etc/inadyn.conf'. It is
++line). The default configuration file name is '%%PREFIX%%/etc/inadyn.conf'. It is
+ looked at automatically if
+ .B inadyn
+ is called without any command line options. The format is as expected
+@@ -204,8 +204,7 @@
+ When the user has several names then each name should be followed with
+ that name hash string.
+ .SH OUTPUT
+-.B
+-inadyn
++.B inadyn
+ prints a message when the IP is updated. If no update is needed then by
+ default it prints a single '.' character, unless \-\-verbose is set to 0.
+ Therefore, unless \-\-verbose is set to 0, the log file will contains lot
+@@ -214,9 +213,12 @@
+ will print some error messages. Those are harmless and should be
+ followed by 'OK' messages after the connection is back up.
+
+-.SH Signals
++.SH SIGNALS
+ Any of the SIG_HUP, SIG_INT, SIG_QUIT will cause inadyn to terminate gracefully.
+
++.SH FILES
++%%PREFIX%%/etc/inadyn.conf
++
+ .SH "SEE ALSO"
+ .SS "Other manual pages"
+ The syntax of the optional configuration file is given by
More information about the Midnightbsd-cvs
mailing list