From owner-svn-ports-all@FreeBSD.ORG Thu Mar 21 20:38:17 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 41A9DC6; Thu, 21 Mar 2013 20:38:17 +0000 (UTC) (envelope-from lippe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 24954989; Thu, 21 Mar 2013 20:38:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2LKcHBu018440; Thu, 21 Mar 2013 20:38:17 GMT (envelope-from lippe@svn.freebsd.org) Received: (from lippe@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2LKcFlm018430; Thu, 21 Mar 2013 20:38:15 GMT (envelope-from lippe@svn.freebsd.org) Message-Id: <201303212038.r2LKcFlm018430@svn.freebsd.org> From: Felippe de Meirelles Motta Date: Thu, 21 Mar 2013 20:38:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314870 - in head/dns: . inadyn-mt inadyn-mt/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 20:38:17 -0000 Author: lippe Date: Thu Mar 21 20:38:15 2013 New Revision: 314870 URL: http://svnweb.freebsd.org/changeset/ports/314870 Log: inadyn, inadyn-advanced fork. A multi-OS (*NIX, BSD, NT, 32 bit Win) console/service/daemon dynamic DNS client. It gives the possibility to have your own fixed hostname registered on the internet, although your IP might be changing. It checks periodically whether the IP address stored by the DNS server is the real current IP address of the machine that is running it. WWW: http://sourceforge.net/projects/inadyn-mt/ PR: ports/177149 Submitted by: William Grzybowski Added: head/dns/inadyn-mt/ head/dns/inadyn-mt/Makefile (contents, props changed) head/dns/inadyn-mt/distinfo (contents, props changed) head/dns/inadyn-mt/files/ head/dns/inadyn-mt/files/inadyn-mt.in (contents, props changed) head/dns/inadyn-mt/files/patch-dyndns.h (contents, props changed) head/dns/inadyn-mt/files/patch-readme.html (contents, props changed) head/dns/inadyn-mt/pkg-descr (contents, props changed) Modified: head/dns/Makefile (contents, props changed) Modified: head/dns/Makefile ============================================================================== --- head/dns/Makefile Thu Mar 21 20:29:36 2013 (r314869) +++ head/dns/Makefile Thu Mar 21 20:38:15 2013 (r314870) @@ -60,6 +60,7 @@ SUBDIR += idnkit SUBDIR += idnkit2 SUBDIR += inadyn + SUBDIR += inadyn-mt SUBDIR += ipcheck SUBDIR += knot SUBDIR += ldapdns Added: head/dns/inadyn-mt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/inadyn-mt/Makefile Thu Mar 21 20:38:15 2013 (r314870) @@ -0,0 +1,44 @@ +# Created by: William Grzybowski +# $FreeBSD$ + +PORTNAME= inadyn-mt +PORTVERSION= 02.24.38 +CATEGORIES= dns +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}.v.${PORTVERSION}/ +DISTNAME= ${PORTNAME}.v.${PORTVERSION} + +MAINTAINER= william88@gmail.com +COMMENT= Simple dynamic dns client + +USE_RC_SUBR= inadyn-mt +GNU_CONFIGURE= yes + +CONFIGURE_ARGS= --disable-sound + +.if !defined(NO_INSTALL_MANPAGES) +MAN8= inadyn-mt.8 +MAN5= inadyn-mt.conf.5 +.endif + +PORTDOCS= readme.html +PLIST_FILES= bin/inadyn-mt + +post-patch: + @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \ + ${WRKSRC}/man/inadyn-mt.8 ${WRKSRC}/readme.html \ + ${WRKSRC}/src/dyndns.h + +.include + +do-install: +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} -p ${WRKSRC}/${PORTDOCS} ${DOCSDIR} +.endif + ${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/inadyn-mt ${PREFIX}/bin +.if !defined(NO_INSTALL_MANPAGES) + ${INSTALL_MAN} ${WRKSRC}/man/inadyn-mt.8 ${MANPREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/man/inadyn-mt.conf.5 ${MANPREFIX}/man/man5 +.endif + +.include Added: head/dns/inadyn-mt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/inadyn-mt/distinfo Thu Mar 21 20:38:15 2013 (r314870) @@ -0,0 +1,2 @@ +SHA256 (inadyn-mt.v.02.24.38.tar.gz) = 3a1028218e395cfda981fd912d2c097d3433037e62ca0594ea0f3bdf2b7bf0a4 +SIZE (inadyn-mt.v.02.24.38.tar.gz) = 991330 Added: head/dns/inadyn-mt/files/inadyn-mt.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/inadyn-mt/files/inadyn-mt.in Thu Mar 21 20:38:15 2013 (r314870) @@ -0,0 +1,24 @@ +#!/bin/sh +# +# PROVIDE: inadynmt +# REQUIRE: NETWORKING +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# inadynmt_enable="YES" +# + +. /etc/rc.subr + +name="inadynmt" +rcvar=inadynmt_enable + +command=%%PREFIX%%/bin/inadyn-mt + +load_rc_config $name + +: ${inadynmt_enable="NO"} + +run_rc_command "$1" Added: head/dns/inadyn-mt/files/patch-dyndns.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/inadyn-mt/files/patch-dyndns.h Thu Mar 21 20:38:15 2013 (r314870) @@ -0,0 +1,19 @@ +diff --git src/dyndns.h src/dyndns.h +index ed854c1..7513275 100644 +--- src/dyndns.h ++++ src/dyndns.h +@@ -106,11 +106,11 @@ typedef enum + + /*test values*/ + #define DYNDNS_DEFAULT_DEBUG_LEVEL LOG_WARNING +-#define DYNDNS_MT_DEFAULT_CONFIG_FILE_OLD "/etc/inadyn-mt/inadyn-mt.conf" +-#define DYNDNS_MT_DEFAULT_CONFIG_FILE "/etc/inadyn-mt.conf" ++#define DYNDNS_MT_DEFAULT_CONFIG_FILE_OLD "%%PREFIX%%/etc/inadyn-mt/inadyn-mt.conf" ++#define DYNDNS_MT_DEFAULT_CONFIG_FILE "%%PREFIX%%/etc/inadyn-mt.conf" + + /*inadyn backward compatibility*/ +-#define DYNDNS_DEFAULT_CONFIG_FILE "/etc/inadyn.conf" ++#define DYNDNS_DEFAULT_CONFIG_FILE "%%PREFIX%%/etc/inadyn.conf" + + #define DYNDNS_DEFAULT_CACHE_PREFIX "/tmp/" + #define DYNDNS_DEFAULT_IP_FILE "inadyn_ip.cache" Added: head/dns/inadyn-mt/files/patch-readme.html ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/inadyn-mt/files/patch-readme.html Thu Mar 21 20:38:15 2013 (r314870) @@ -0,0 +1,78 @@ +diff --git readme.html readme.html +index fc3d3d2..54553ee 100644 +--- readme.html ++++ readme.html +@@ -285,7 +285,7 @@ update request, i.e., both ip address types may be sent in a comma delimited lis +

+

'--input_file <path/file>': input file name that + contains inadyn-mt command options (adds to those already present in the cmd line). +-The default configuration file name is '/etc/inadyn-mt.conf'. It is only ++The default configuration file name is '%%PREFIX%%/etc/inadyn-mt.conf'. It is only + used if inadyn-mt is called without any command line options. This allows + inadyn-mt to be called without any arguments. The format is as expected + for a **NIX config  file. See below for details.
+@@ -345,7 +345,7 @@ DEFAULT value is intended for default service at dyndns.org: dyndns@dyndns.org + '--retry_pending': retry ip update even after network comm retries exhausted, default on.
+ '--retry_pending_interval <#>': network comm seconds update retry interval, after retries exhausted, 5 to 3600, default 300.
+-'--lang_file <path/file>': [language file path, and file name]. defaults to either ../inadyn-mt/lang/en.lng, or /etc/inadyn-mt/en.lng. No parameter option gives hard coded defaults
++'--lang_file <path/file>': [language file path, and file name]. defaults to either ../inadyn-mt/lang/en.lng, or %%PREFIX%%/etc/inadyn-mt/en.lng. No parameter option gives hard coded defaults
+ '--online_check_url <srv_name[:port] url>': server name, optional port, and url to reach to confirm online status.
+ '--status_interval <#>': seconds [30..864000] interval at which to check online status, default 600.
+ '--alert_retries <#>': network retries before audible network status alerts. [0..100], default 0.
+@@ -377,7 +377,7 @@ DEFAULT value is intended for default service at dyndns.org: dyndns@dyndns.org + +- Config file (can be placed anywhere, but in linux is convenient in default location: /etc/inadyn-mt.conf
++ Config file (can be placed anywhere, but in linux is convenient in default location: %%PREFIX%%/etc/inadyn-mt.conf
+ Content of cfg file:
+ + --update_period 60000
+@@ -385,7 +385,7 @@ DEFAULT value is intended for default service at dyndns.org: dyndns@dyndns.org + --change_persona 10012 #to change to another user id after init. (less rights, more secure) +
+- Launching of inadyn-mt does not need any params. It looks for /etc/inadyn.config ++ Launching of inadyn-mt does not need any params. It looks for %%PREFIX%%/etc/inadyn.config +
+
+ 4. Freedns update in console
+@@ -396,7 +396,7 @@ DEFAULT value is intended for default service at dyndns.org: dyndns@dyndns.org +-Default configuration file is /etc/inadyn.conf under Unix systems.
++Default configuration file is %%PREFIX%%/etc/inadyn.conf under Unix systems.
+ The location of the config file can be given to inadyn-mt via --input_file option

+ The format :
+ - '#' is a comment sign.
+@@ -766,7 +766,7 @@ Ver.  inadyn-mt 2.18.28 - June 2010
+ Ver.  inadyn-mt 2.18.26 - June 2010
+        Changes:
+        - inadyn man files updated to inadyn-mt
+-       - *nix inadyn-mt.conf moved to /etc
++       - *nix inadyn-mt.conf moved to %%PREFIX%%/etc
+        - added debian dpkg-buildpackage directory, et al
+        - moved *nix meta files to /usr/share

+ +@@ -776,7 +776,7 @@ Ver.  inadyn-mt 2.18.24 - May 2010
+ + Ver.  inadyn-mt 2.18.22 - May 2010
+        Changes:
+-       - *nix meta files search root /etc, /usr/share, /usr/local/etc
++       - *nix meta files search root %%PREFIX%%/etc, /usr/share, /usr/local/etc
+        - too many params compiler warning fixed

+ + Ver.  inadyn-mt 2.18.20 - May 2010
+@@ -1073,8 +1073,8 @@ Ver.  inadyn-mt 2.12.02 - May 2008
+ inadyn-mt
+        - updated inadyn-mt man files' original inadyn homepage + to http://www.inatech.eu/inadyn/
+-       - changed default config file from /etc/inadyn.conf to +-/etc/inadyn-mt/inadyn-mt.conf

++       - changed default config file from %%PREFIX%%/etc/inadyn.conf to ++%%PREFIX%%/etc/inadyn-mt/inadyn-mt.conf

+ + Ver.  inadyn-mt 2.12.01 - May 2008
+     Changes:
Added: head/dns/inadyn-mt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/inadyn-mt/pkg-descr Thu Mar 21 20:38:15 2013 (r314870) @@ -0,0 +1,9 @@ +inadyn, inadyn-advanced fork. A multi-OS (*NIX, BSD, NT, 32 bit Win) +console/service/daemon dynamic DNS client. + +It gives the possibility to have your own fixed hostname registered on the +internet, although your IP might be changing. It checks periodically whether +the IP address stored by the DNS server is the real current IP address of the +machine that is running it. + +WWW: http://sourceforge.net/projects/inadyn-mt/