From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 21 22:40:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE3A516A41B for ; Tue, 21 Aug 2007 22:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8DC1713C459 for ; Tue, 21 Aug 2007 22:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7LMe1VQ025524 for ; Tue, 21 Aug 2007 22:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7LMe15Q025523; Tue, 21 Aug 2007 22:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 21 Aug 2007 22:40:01 GMT Resent-Message-Id: <200708212240.l7LMe15Q025523@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Balwinder S Dheeman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0699616A417 for ; Tue, 21 Aug 2007 22:36:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E812513C459 for ; Tue, 21 Aug 2007 22:36:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7LMarcr000740 for ; Tue, 21 Aug 2007 22:36:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l7LMar5K000739; Tue, 21 Aug 2007 22:36:53 GMT (envelope-from nobody) Message-Id: <200708212236.l7LMar5K000739@www.freebsd.org> Date: Tue, 21 Aug 2007 22:36:53 GMT From: Balwinder S Dheeman To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/115699: [update] dns/inadyn 1.96.2 - removes gcc-3.4 dependency X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 22:40:01 -0000 >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@HOME >Environment: FreeBSD cto.homelinux.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Aug 17 11:54:02 IST 2007 bsd@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@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 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
+ Config file (can be placed anywhere, but in linux is convenient in +-default location: /etc/inadyn.conf
++default location: /usr/local/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 +
+
+ 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 + 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 + 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.
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: