Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2013 10:27:06 -0700 (PDT)
From:      William Grzybowski <william88@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177149: [NEW PORT] dns/inadyn-mt
Message-ID:  <5149f16a.8219310a.1f48.ffffe521@mx.google.com>
Resent-Message-ID: <201303201730.r2KHU0Pj047299@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177149
>Category:       ports
>Synopsis:       [NEW PORT] dns/inadyn-mt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 20 17:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     William Grzybowski
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
>Description:

	inadyn-mt is a fork of inadyn (seems abandoned)
	Redports: https://redports.org/buildarchive/20130320170400-20558/
		https://redports.org/buildarchive/20130320172244-10136/

>How-To-Repeat:
>Fix:

	See attached patch


--- inadyn-mt.patch begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	inadyn-mt/Makefile
#	inadyn-mt/distinfo
#	inadyn-mt/files
#	inadyn-mt/pkg-descr
#	inadyn-mt/files/inadyn-mt.in
#	inadyn-mt/files/patch-dyndns.h
#	inadyn-mt/files/patch-readme.html
#
echo x - inadyn-mt/Makefile
sed 's/^X//' >inadyn-mt/Makefile << '303c3b1b2176f8d5f8ecc9927734d497'
X# Created by: William Grzybowski <william88@gmail.com>
X
XPORTNAME=	inadyn-mt
XPORTVERSION=	02.24.38
XPORTEPOCH=	1
XCATEGORIES=	dns
XMASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}.v.${PORTVERSION}/
XDISTNAME=	${PORTNAME}.v.${PORTVERSION}
X
XMAINTAINER=	william88@gmail.com
XCOMMENT=	Simple dynamic dns client
X
XUSE_RC_SUBR=	inadyn-mt
XGNU_CONFIGURE=	yes
X
XCONFIGURE_ARGS=	--disable-sound
X
X.if !defined(NO_INSTALL_MANPAGES)
XMAN8=		inadyn-mt.8
XMAN5=		inadyn-mt.conf.5
X.endif
X
XPORTDOCS=	readme.html
XPLIST_FILES=	bin/inadyn-mt
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \
X		${WRKSRC}/man/inadyn-mt.8 ${WRKSRC}/readme.html \
X		${WRKSRC}/src/dyndns.h
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} -p ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
X.endif
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/inadyn-mt ${PREFIX}/bin
X.if !defined(NO_INSTALL_MANPAGES)
X	${INSTALL_MAN} ${WRKSRC}/man/inadyn-mt.8 ${MANPREFIX}/man/man8
X	${INSTALL_MAN} ${WRKSRC}/man/inadyn-mt.conf.5 ${MANPREFIX}/man/man5
X.endif
X
X.include <bsd.port.mk>
303c3b1b2176f8d5f8ecc9927734d497
echo x - inadyn-mt/distinfo
sed 's/^X//' >inadyn-mt/distinfo << 'eece953ac509c29e668dae3d8d4c6898'
XSHA256 (inadyn-mt.v.02.24.38.tar.gz) = 3a1028218e395cfda981fd912d2c097d3433037e62ca0594ea0f3bdf2b7bf0a4
XSIZE (inadyn-mt.v.02.24.38.tar.gz) = 991330
eece953ac509c29e668dae3d8d4c6898
echo c - inadyn-mt/files
mkdir -p inadyn-mt/files > /dev/null 2>&1
echo x - inadyn-mt/pkg-descr
sed 's/^X//' >inadyn-mt/pkg-descr << '0a7b26d1a15e6dc58135c4c0da1cb475'
Xinadyn, inadyn-advanced fork. A multi-OS (*NIX, BSD, NT, 32 bit Win)
Xconsole/service/daemon dynamic DNS client.
X
XIt gives the possibility to have your own fixed hostname registered on the
Xinternet, although your IP might be changing. It checks periodically whether
Xthe IP address stored by the DNS server is the real current IP address of the
Xmachine that is running it.
X
XWWW: http://sourceforge.net/projects/inadyn-mt/
0a7b26d1a15e6dc58135c4c0da1cb475
echo x - inadyn-mt/files/inadyn-mt.in
sed 's/^X//' >inadyn-mt/files/inadyn-mt.in << 'ecdd5bfcf4c11c3af8c64dd2ed9a8a2a'
X#!/bin/sh
X#
X# PROVIDE: inadynmt
X# REQUIRE: NETWORKING
X# KEYWORD: shutdown
X#
X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
X# to enable this service:
X#
X# inadynmt_enable="YES"
X#
X
X. /etc/rc.subr
X
Xname="inadynmt"
Xrcvar=inadynmt_enable
X
Xcommand=%%PREFIX%%/bin/inadyn-mt
X
Xload_rc_config $name
X
X: ${inadynmt_enable="NO"}
X
Xrun_rc_command "$1"
ecdd5bfcf4c11c3af8c64dd2ed9a8a2a
echo x - inadyn-mt/files/patch-dyndns.h
sed 's/^X//' >inadyn-mt/files/patch-dyndns.h << 'aca5663b446eedc73180c88b87f0875b'
Xdiff --git src/dyndns.h src/dyndns.h
Xindex ed854c1..7513275 100644
X--- src/dyndns.h
X+++ src/dyndns.h
X@@ -106,11 +106,11 @@ typedef enum
X 
X /*test values*/
X #define DYNDNS_DEFAULT_DEBUG_LEVEL	LOG_WARNING
X-#define DYNDNS_MT_DEFAULT_CONFIG_FILE_OLD		"/etc/inadyn-mt/inadyn-mt.conf"
X-#define DYNDNS_MT_DEFAULT_CONFIG_FILE			"/etc/inadyn-mt.conf"
X+#define DYNDNS_MT_DEFAULT_CONFIG_FILE_OLD		"%%PREFIX%%/etc/inadyn-mt/inadyn-mt.conf"
X+#define DYNDNS_MT_DEFAULT_CONFIG_FILE			"%%PREFIX%%/etc/inadyn-mt.conf"
X 
X /*inadyn backward compatibility*/
X-#define DYNDNS_DEFAULT_CONFIG_FILE			"/etc/inadyn.conf"
X+#define DYNDNS_DEFAULT_CONFIG_FILE			"%%PREFIX%%/etc/inadyn.conf"
X 
X #define DYNDNS_DEFAULT_CACHE_PREFIX			"/tmp/"
X #define DYNDNS_DEFAULT_IP_FILE				"inadyn_ip.cache"
aca5663b446eedc73180c88b87f0875b
echo x - inadyn-mt/files/patch-readme.html
sed 's/^X//' >inadyn-mt/files/patch-readme.html << 'ffdd70d784fdd1d6a6cb621ed5b64341'
Xdiff --git readme.html readme.html
Xindex fc3d3d2..54553ee 100644
X--- readme.html
X+++ readme.html
X@@ -285,7 +285,7 @@ update request, i.e., both ip address types may be sent in a comma delimited lis
X </p>
X <p style="margin-left: 20px;">'--input_file &#60;path/file&#62;': input file name that
X contains inadyn-mt command options (adds to those already present in the cmd line).
X-The default configuration file name is '/etc/inadyn-mt.conf'. It is only
X+The default configuration file name is '%%PREFIX%%/etc/inadyn-mt.conf'. It is only
X used if inadyn-mt is called without any command line options. This allows
X inadyn-mt to be called without any arguments. The format is as expected
X for a **NIX config&nbsp; file. See below for details.<br>
X@@ -345,7 +345,7 @@ DEFAULT value is intended for default service at dyndns.org: dyndns@dyndns.org<b
X '--retry_interval &#60;#&#62;': network comm miliseconds retry interval.  0 to 30,000, default 1,000.<br>
X '--retry_pending': retry ip update even after network comm retries exhausted,  default on.<br>
X '--retry_pending_interval &#60;#&#62;': network comm seconds update retry interval, after retries exhausted,  5 to 3600, default 300.<br>
X-'--lang_file &#60;path/file&#62;':  [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<br>
X+'--lang_file &#60;path/file&#62;':  [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<br>
X '--online_check_url &#60;srv_name[:port] url&#62;': server name, optional port, and url to reach to confirm online status.<br>
X '--status_interval &#60;#&#62;': seconds [30..864000] interval at which to check online status, default 600.<br>
X '--alert_retries &#60;#&#62;':  network retries before audible network status alerts. [0..100], default 0.<br>
X@@ -377,7 +377,7 @@ DEFAULT value is intended for default service at dyndns.org: dyndns@dyndns.org<b
X   
X   3. Update every minute, in daemon mode, with configuration read from file of an address from freedns.afraid.org <br>
X   
X-  Config file (can be placed anywhere, but in linux is convenient in default location: /etc/inadyn-mt.conf<br>
X+  Config file (can be placed anywhere, but in linux is convenient in default location: %%PREFIX%%/etc/inadyn-mt.conf<br>
X   Content of cfg file:<br>
X   
X   --update_period 60000 <br>
X@@ -385,7 +385,7 @@ DEFAULT value is intended for default service at dyndns.org: dyndns@dyndns.org<b
X   --log_file /var/log/inadyn.log <br>
X   --change_persona 10012 #to change to another user id after init. (less rights, more secure)
X   <br>
X-  Launching of inadyn-mt does not need any params. It looks for /etc/inadyn.config
X+  Launching of inadyn-mt does not need any params. It looks for %%PREFIX%%/etc/inadyn.config
X   <br>
X   <br>
X   4. Freedns update in console <br>
X@@ -396,7 +396,7 @@ DEFAULT value is intended for default service at dyndns.org: dyndns@dyndns.org<b
X inadyn-mt can read the very same options which can be present in the
X command line from a configuration file. This feature allows the user to
X write the options only once, and avoids frequent retyping.<br>
X-<i>Default configuration file</i> is /etc/inadyn.conf under Unix systems. <br>
X+<i>Default configuration file</i> is %%PREFIX%%/etc/inadyn.conf under Unix systems. <br>
X The location of the config file can be given to inadyn-mt via --input_file option <br><br>
X <i>The format</i> :<br>
X - '#' is a comment sign. <br>
X@@ -766,7 +766,7 @@ Ver.&nbsp; inadyn-mt 2.18.28 - June 2010<br>
X Ver.&nbsp; inadyn-mt 2.18.26 - June 2010<br>
X &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Changes:<br>
X &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - inadyn man files updated to inadyn-mt<br>
X-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - *nix inadyn-mt.conf moved to /etc<br>
X+&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - *nix inadyn-mt.conf moved to %%PREFIX%%/etc<br>
X &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - added debian dpkg-buildpackage directory, et al<br>
X &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - moved *nix meta files to /usr/share<br><br>
X 
X@@ -776,7 +776,7 @@ Ver.&nbsp; inadyn-mt 2.18.24 - May 2010<br>
X 
X Ver.&nbsp; inadyn-mt 2.18.22 - May 2010<br>
X &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Changes:<br>
X-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - *nix meta files search root /etc, /usr/share, /usr/local/etc<br>
X+&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - *nix meta files search root %%PREFIX%%/etc, /usr/share, /usr/local/etc<br>
X &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - too many params compiler warning fixed<br><br>
X 
X Ver.&nbsp; inadyn-mt 2.18.20 - May 2010<br>
X@@ -1073,8 +1073,8 @@ Ver.&nbsp; inadyn-mt 2.12.02 - May 2008<br>
X inadyn-mt<br>
X &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - updated inadyn-mt man files' original inadyn homepage
X to http://www.inatech.eu/inadyn/<br>;
X-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - changed default config file from /etc/inadyn.conf to 
X-/etc/inadyn-mt/inadyn-mt.conf<br><br>
X+&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; - changed default config file from %%PREFIX%%/etc/inadyn.conf to 
X+%%PREFIX%%/etc/inadyn-mt/inadyn-mt.conf<br><br>
X 
X Ver.&nbsp; inadyn-mt 2.12.01 - May 2008<br>
X &nbsp;&nbsp;&nbsp; Changes:<br>
ffdd70d784fdd1d6a6cb621ed5b64341
exit
--- inadyn-mt.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5149f16a.8219310a.1f48.ffffe521>