Index: head/dns/inadyn/Makefile =================================================================== --- head/dns/inadyn/Makefile (revision 199383) +++ head/dns/inadyn/Makefile (revision 199384) @@ -1,45 +1,50 @@ # New ports collection makefile for: inadyn # Date created: 9 September 2005 # Whom: Alex Samorukov # # $FreeBSD$ # PORTNAME= inadyn PORTVERSION= 1.96.2 +PORTREVISION= 1 CATEGORIES= dns -MASTER_SITES= http://inadyn.ina-tech.net/ +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= samm@os2.kiev.ua COMMENT= INADYN - Simple DYNAMIC DNS client 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 Property changes on: head/dns/inadyn/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/dns/inadyn/files/patch-man::inadyn.8 =================================================================== --- head/dns/inadyn/files/patch-man::inadyn.8 (revision 199383) +++ head/dns/inadyn/files/patch-man::inadyn.8 (revision 199384) @@ -1,36 +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 '/usr/local/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 -+/usr/local/etc/inadyn.conf ++%%PREFIX%%/etc/inadyn.conf + .SH "SEE ALSO" .SS "Other manual pages" The syntax of the optional configuration file is given by Property changes on: head/dns/inadyn/files/patch-man::inadyn.8 ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/dns/inadyn/files/patch-readme.html =================================================================== --- head/dns/inadyn/files/patch-readme.html (revision 199383) +++ head/dns/inadyn/files/patch-readme.html (revision 199384) @@ -1,39 +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
Config file (can be placed anywhere, but in linux is convenient in -default location: /etc/inadyn.conf
-+default location: /usr/local/etc/inadyn.conf
++default location: %%PREFIX%%/etc/inadyn.conf
Content of cfg file:
--update_period 60000
--alias test.homeip.net,hash_for_host1
@@ -204,7 +204,7 @@ rights, more secure)
Launching of inadyn does not need any params. It looks for -/etc/inadyn.config -+/usr/local/etc/inadyn.config ++%%PREFIX%%/etc/inadyn.config

4. Freedns update in console
@@ -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.
-Default configuration file is /etc/inadyn.conf under Unix -+Default configuration file is /usr/local/etc/inadyn.conf under Unix ++Default configuration file is %%PREFIX%%/etc/inadyn.conf under Unix systems.
The location of the config file can be given ot inadyn via --input_file option
@@ -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 '/usr/local/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.
Property changes on: head/dns/inadyn/files/patch-readme.html ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/dns/inadyn/files/patch-src::dyndns.h =================================================================== --- head/dns/inadyn/files/patch-src::dyndns.h (revision 199383) +++ head/dns/inadyn/files/patch-src::dyndns.h (revision 199384) @@ -1,12 +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 "/usr/local/etc/inadyn.conf" ++#define DYNDNS_DEFAULT_CONFIG_FILE "%%PREFIX%%/etc/inadyn.conf" #define DYNDNS_MY_USERNAME "test" #define DYNDNS_MY_PASSWD "test" Property changes on: head/dns/inadyn/files/patch-src::dyndns.h ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property