ports/115699: [update] dns/inadyn 1.96.2 - removes gcc-3.4 dependency

Balwinder S Dheeman bdheeman at yahoo.com
Tue Aug 21 22:40:01 UTC 2007


>Number:         115699
>Category:       ports
>Synopsis:       [update] dns/inadyn 1.96.2 - removes gcc-3.4 dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 21 22:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Balwinder S Dheeman
>Release:        7.0-CURRENT
>Organization:
Anu'z Linux at HOME
>Environment:
FreeBSD cto.homelinux.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Aug 17 11:54:02 IST 2007     bsd at cto.homelinux.net:/usr/obj/usr/src/sys/MYKERNEL  i386

>Description:
I don't think this port has any specific to do with gcc-3.4 compiler; building with the gcc-4.2.0 (and the latest 4.2.1) is fine here.

I also have added a few patch files, for hard-coded /etc/inadyn.conf, although a sample config /usr/local/etc/inadyn.conf.sample and an rc script to automate daemonization also need to added. But are not mandatory.

>How-To-Repeat:
N.A.
>Fix:
Plz check the patch attached herewith.


Patch attached with submission follows:

diff -Naur /usr/ports/dns/inadyn.orig/Makefile /usr/ports/dns/inadyn/Makefile
--- /usr/ports/dns/inadyn.orig/Makefile	2007-04-17 19:41:28.000000000 +0000
+++ /usr/ports/dns/inadyn/Makefile	2007-08-21 18:37:20.000000000 +0000
@@ -6,28 +6,28 @@
 #
 
 PORTNAME=	inadyn
-PORTVERSION=	1.96
-PORTREVISION=	2
+PORTVERSION=	1.96.2
+PORTREVISION=	3
 CATEGORIES=	dns
 MASTER_SITES=	http://inadyn.ina-tech.net/
-DISTNAME=	inadyn.v1.96.2
+DISTNAME=	${PORTNAME}.v${PORTVERSION}
 EXTRACT_SUFX=	.zip
 
 MAINTAINER=	samm at os2.kiev.ua
 COMMENT=	INADYN - Simple DYNAMIC DNS client
 
-WRKSRC=		${WRKDIR}/inadyn
-USE_GCC=	3.4
+WRKSRC=		${WRKDIR}/${PORTNAME}
 USE_ZIP=	yes
+USE_DOS2UNIX=	yes
 USE_GMAKE=	yes
 MAKEFILE=	makefile
 
-MAN8=		inadyn.8
-MAN5=		inadyn.conf.5
+MAN8=		${PORTNAME}.8
+MAN5=		${PORTNAME}.conf.5
 MANCOMPRESSED=	no
 
 PORTDOCS=	readme.html
-PLIST_FILES=	bin/inadyn
+PLIST_FILES=	bin/${PORTNAME}
 
 NO_INSTALL_MANPAGES=yes
 
@@ -39,8 +39,8 @@
 	${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
+	 ${INSTALL_SCRIPT} ${WRKSRC}/bin/linux/${PORTNAME} ${PREFIX}/bin
+	 ${INSTALL_SCRIPT} ${WRKSRC}/man/${PORTNAME}.8 ${MANPREFIX}/man/man8
+	 ${INSTALL_SCRIPT} ${WRKSRC}/man/${PORTNAME}.conf.5 ${MANPREFIX}/man/man5
 
 .include <bsd.port.mk>
diff -Naur /usr/ports/dns/inadyn.orig/files/patch-man::inadyn.8 /usr/ports/dns/inadyn/files/patch-man::inadyn.8
--- /usr/ports/dns/inadyn.orig/files/patch-man::inadyn.8	1970-01-01 00:00:00.000000000 +0000
+++ /usr/ports/dns/inadyn/files/patch-man::inadyn.8	2007-08-21 21:33:45.000000000 +0000
@@ -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 '/usr/local/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
++
+ .SH "SEE ALSO"
+ .SS "Other manual pages"
+ The syntax of the optional configuration file is given by
diff -Naur /usr/ports/dns/inadyn.orig/files/patch-readme.html /usr/ports/dns/inadyn/files/patch-readme.html
--- /usr/ports/dns/inadyn.orig/files/patch-readme.html	1970-01-01 00:00:00.000000000 +0000
+++ /usr/ports/dns/inadyn/files/patch-readme.html	2007-08-21 18:44:07.000000000 +0000
@@ -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: /usr/local/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
++/usr/local/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 /usr/local/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 '/usr/local/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>
diff -Naur /usr/ports/dns/inadyn.orig/files/patch-src::dyndns.h /usr/ports/dns/inadyn/files/patch-src::dyndns.h
--- /usr/ports/dns/inadyn.orig/files/patch-src::dyndns.h	1970-01-01 00:00:00.000000000 +0000
+++ /usr/ports/dns/inadyn/files/patch-src::dyndns.h	2007-08-21 18:47:17.000000000 +0000
@@ -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	"/usr/local/etc/inadyn.conf"
+ 
+ #define DYNDNS_MY_USERNAME		"test"
+ #define DYNDNS_MY_PASSWD		"test"
diff -Naur /usr/ports/dns/inadyn.orig/pkg-descr /usr/ports/dns/inadyn/pkg-descr
--- /usr/ports/dns/inadyn.orig/pkg-descr	2005-09-20 15:15:31.000000000 +0000
+++ /usr/ports/dns/inadyn/pkg-descr	2007-08-21 18:56:51.000000000 +0000
@@ -1,7 +1,8 @@
-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.
-It supports the following dynamic DNS services: dyndns.org (in all three 
-flavors: dynamic, static, custom), freedns.afraid.org, zoneedit.com, no-ip.com 
+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/


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



More information about the freebsd-ports-bugs mailing list