aboutsummaryrefslogtreecommitdiff
path: root/dns/inadyn
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-10 11:27:04 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-10 11:27:04 +0000
commit3d85064cc11f5e39f547889ca24aa3d9b34e24d4 (patch)
tree0583a28329d0c7b95cbd1ff612172865b807b9c7 /dns/inadyn
parentf49f3264b6b0b7596ba194868c4968eaafa01bf7 (diff)
downloadports-3d85064cc11f5e39f547889ca24aa3d9b34e24d4.tar.gz
ports-3d85064cc11f5e39f547889ca24aa3d9b34e24d4.zip
Notes
Diffstat (limited to 'dns/inadyn')
-rw-r--r--dns/inadyn/Makefile9
-rw-r--r--dns/inadyn/files/patch-man::inadyn.836
-rw-r--r--dns/inadyn/files/patch-readme.html39
-rw-r--r--dns/inadyn/files/patch-src::dyndns.h12
-rw-r--r--dns/inadyn/pkg-descr11
5 files changed, 97 insertions, 10 deletions
diff --git a/dns/inadyn/Makefile b/dns/inadyn/Makefile
index 4159c59c7ec7..4d373ead353b 100644
--- a/dns/inadyn/Makefile
+++ b/dns/inadyn/Makefile
@@ -6,19 +6,18 @@
#
PORTNAME= inadyn
-PORTVERSION= 1.96
-PORTREVISION= 2
+PORTVERSION= 1.96.2
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
diff --git a/dns/inadyn/files/patch-man::inadyn.8 b/dns/inadyn/files/patch-man::inadyn.8
new file mode 100644
index 000000000000..4e24753bcc60
--- /dev/null
+++ b/dns/inadyn/files/patch-man::inadyn.8
@@ -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 --git a/dns/inadyn/files/patch-readme.html b/dns/inadyn/files/patch-readme.html
new file mode 100644
index 000000000000..8fb97f00aa20
--- /dev/null
+++ b/dns/inadyn/files/patch-readme.html
@@ -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&nbsp; file. See below for details.<br>
diff --git a/dns/inadyn/files/patch-src::dyndns.h b/dns/inadyn/files/patch-src::dyndns.h
new file mode 100644
index 000000000000..6fb7938bdb02
--- /dev/null
+++ b/dns/inadyn/files/patch-src::dyndns.h
@@ -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 --git a/dns/inadyn/pkg-descr b/dns/inadyn/pkg-descr
index e0ec1042a19b..b9a7f3d29a99 100644
--- a/dns/inadyn/pkg-descr
+++ b/dns/inadyn/pkg-descr
@@ -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/