UPDATE: net/inadyn 1.99.6

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: net/inadyn 1.99.6

Ralf Horstmann-2
Hi,

here is an update to inadyn 1.99.6. Changes:

- change of upstream
- several dyndns provider updates
- ability to check IP of interface
- openbsd patches included upstream
- many bugfixes

Tested on i386, amd64

Cheers,
Ralf

Index: Makefile
===================================================================
RCS file: /usr/cvs/openbsd/ports/net/inadyn/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile 11 Mar 2013 11:35:47 -0000 1.3
+++ Makefile 1 Feb 2014 15:20:58 -0000
@@ -2,11 +2,11 @@
 
 COMMENT = small memory footprint dynamic dns updater
 
-DISTNAME = inadyn-1.98.0
+DISTNAME = inadyn-1.99.6
 
 CATEGORIES = net
 
-HOMEPAGE = http://vmlinux.org/jocke/inadyn.shtml
+HOMEPAGE = http://troglobit.com/inadyn.html
 
 MAINTAINER = Pierre-Emmanuel Andre <[hidden email]>
 
@@ -15,11 +15,13 @@
 
 WANTLIB = c
 
-MASTER_SITES = ftp://ftp.vmlinux.org/pub/People/jocke/inadyn/
+MASTER_SITES = ftp://troglobit.com/inadyn/
 EXTRACT_SUFX = .tar.bz2
 
 USE_GMAKE = Yes
 NO_TEST = Yes
+
+MAKE_FLAGS= mandir=${TRUEPREFIX}/man
 
 post-install:
  ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/inadyn/
Index: distinfo
===================================================================
RCS file: /usr/cvs/openbsd/ports/net/inadyn/distinfo,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 distinfo
--- distinfo 21 Jul 2011 12:17:02 -0000 1.1.1.1
+++ distinfo 1 Feb 2014 15:20:58 -0000
@@ -1,5 +1,2 @@
-MD5 (inadyn-1.98.0.tar.bz2) = FY8B7hX0/sA7SQkkKV5yHA==
-RMD160 (inadyn-1.98.0.tar.bz2) = Bl/UcBEvUAWjhxcjSugD7RmANd8=
-SHA1 (inadyn-1.98.0.tar.bz2) = UVub7j2Vi4FRsh7669FAdBfbcDc=
-SHA256 (inadyn-1.98.0.tar.bz2) = Fn+DDVyoB2Mc5xBAMAKG+DYXs/CwLkjGy3Enxc3caCE=
-SIZE (inadyn-1.98.0.tar.bz2) = 50753
+SHA256 (inadyn-1.99.6.tar.bz2) = 0D23i1Tx8JfYTXYLPKhpMydacBJI86U012prhtRfBkE=
+SIZE (inadyn-1.99.6.tar.bz2) = 47544
Index: files/inadyn.conf
===================================================================
RCS file: /usr/cvs/openbsd/ports/net/inadyn/files/inadyn.conf,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 inadyn.conf
--- files/inadyn.conf 21 Jul 2011 12:17:02 -0000 1.1.1.1
+++ files/inadyn.conf 24 Nov 2013 16:18:46 -0000
@@ -5,5 +5,5 @@
 update_period_sec 600 # Check for a new IP every 600 seconds
 username test
 password test
-dyndns_system [hidden email]
+dyndns_system [hidden email]
 alias test.homeip.net
Index: patches/patch-Makefile
===================================================================
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile 21 Jul 2011 12:17:02 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,30 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.1.1.1 2011/07/21 12:17:02 pea Exp $
---- Makefile.orig Mon Feb 28 09:34:36 2011
-+++ Makefile Tue May 10 11:05:15 2011
-@@ -16,7 +16,7 @@ CC           ?= $(CROSS)gcc
- prefix       ?= /usr/local
- sysconfdir   ?= /etc
- datadir       = $(prefix)/share/doc/inadyn
--mandir        = $(prefix)/share/man
-+mandir        = $(prefix)/man
-
- # This magic trick looks like a comment, but works on BSD PMake
- #include <config.mk>
-@@ -27,14 +27,14 @@ BASE_OBJS     = src/base64utils.o src/md5.o src/dyndns
- src/os.o src/os_psos.o src/tcp.o src/inadyn_cmd.o
- OBJS      = $(BASE_OBJS) $(CFG_OBJ) $(EXTRA_OBJS)
- CFLAGS        = -Iinclude -DVERSION_STRING=\"$(VERSION)\" $(CFG_INC) $(EXTRA_CFLAGS)
--CFLAGS       += -O2 -W -Wall
--LDLIBS       += -lresolv $(EXTRA_LIBS)
-+CFLAGS       ?= -O2 -W -Wall
-+LDLIBS       += $(EXTRA_LIBS)
- DISTFILES     = README COPYING LICENSE
-
- # Pattern rules
- .c.o:
- @printf "  CC      $@\n"
-- @$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
-+ $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
-
- # Build rules
- all: $(EXEC)
Index: patches/patch-src_dyndns_c
===================================================================
RCS file: patches/patch-src_dyndns_c
diff -N patches/patch-src_dyndns_c
--- patches/patch-src_dyndns_c 21 Jul 2011 12:17:02 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-$OpenBSD: patch-src_dyndns_c,v 1.1.1.1 2011/07/21 12:17:02 pea Exp $
---- src/dyndns.c.orig Fri May  6 13:04:10 2011
-+++ src/dyndns.c Fri May  6 13:04:55 2011
-@@ -19,11 +19,13 @@
-  */
-
- #define MODULE_TAG ""
--#include <resolv.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/time.h>
- #include <sys/types.h>
-+#include <netinet/in.h>
-+#include <arpa/nameser.h>
-+#include <resolv.h>
- #include <sys/stat.h>
- #include <time.h>
-
Index: patches/patch-src_inadyn_cmd_c
===================================================================
RCS file: patches/patch-src_inadyn_cmd_c
diff -N patches/patch-src_inadyn_cmd_c
--- patches/patch-src_inadyn_cmd_c 21 Jul 2011 12:17:02 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_inadyn_cmd_c,v 1.1.1.1 2011/07/21 12:17:02 pea Exp $
---- src/inadyn_cmd.c.orig Fri May  6 13:40:40 2011
-+++ src/inadyn_cmd.c Fri May  6 13:41:14 2011
-@@ -650,7 +650,7 @@ static RC_TYPE set_change_persona_handler(CMD_DATA *p_
- }
- }
-
-- if (sscanf(arg, "%[a-z]", username) != 1)
-+ if (sscanf(arg, "%[_a-z]", username) != 1)
- {
- return RC_DYNDNS_INVALID_OPTION;
- }
Index: patches/patch-src_ip_c
===================================================================
RCS file: patches/patch-src_ip_c
diff -N patches/patch-src_ip_c
--- patches/patch-src_ip_c 21 Jul 2011 12:17:02 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-src_ip_c,v 1.1.1.1 2011/07/21 12:17:02 pea Exp $
---- src/ip.c.orig Fri May  6 13:05:07 2011
-+++ src/ip.c Fri May  6 13:05:51 2011
-@@ -17,6 +17,9 @@
-  */
-
- #define MODULE_TAG ""
-+#include <sys/types.h>
-+#include <netinet/in.h>
-+#include <arpa/nameser.h>
- #include <resolv.h>
- #include <stdlib.h>
- #include <string.h>