head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.90 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.88 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.86 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.84 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.82 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.80 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.78 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.76 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.74 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.72 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.70 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.68 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.66 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.64 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.62 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.60 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.58 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.56 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.54 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.52 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.50 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.48 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.46 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.42 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.22 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.44 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.40 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.38 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.36 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.34 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.32 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.30 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.28 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.26 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.24 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.20 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.18 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.16 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.14 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.12 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.10 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.8 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.6 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.4 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.2 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.4.0.4 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.2 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.3.0.90 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.88 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.86 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.84 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.82 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.80 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.78 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.76 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.74 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.72 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.70 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.68 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.66 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.64 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.62 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.60 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.58 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.56 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.54 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.52 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.50 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.48 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.46 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.44 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.42 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.40 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.38 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.1.1.1 comdex-fall-1999:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2015.03.05.14.44.33; author mef; state Exp; branches; next 1.4; commitid N28h8eyfi8shyqcy; 1.4 date 2014.09.23.14.59.24; author jperkin; state Exp; branches; next 1.3; commitid Gx1Nc0f8dcsuStRx; 1.3 date 2003.07.03.00.08.54; author hubertf; state Exp; branches; next 1.2; 1.2 date 2000.08.09.21.00.11; author hubertf; state Exp; branches; next 1.1; 1.1 date 99.07.19.11.38.33; author jlam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.07.19.11.38.33; author jlam; state Exp; branches; next ; desc @@ 1.5 log @(pkgsrc) - Add LICENSE= modified-bsd (upstream) - Update 5.2 to 5.5 ----------------- WHATSNEW in 5.5 =============== In 5.4 the new NAT friendly behaviour was achieved by sending packets with an rport of 0 to the server. In 5.5 this is no longer needed since the server looks at the version number; hence 5.5 packets still go out with rport set, making them compatible with servers of versions 5.3 or lower. This was a small change/correction and 5.5 is a minor update. WHATSNEW in 5.4 =============== DHIS packet messages leaving a host will now leave from the DHIS return port (58800 by default) instead of a randomly assigned port. Messages sent by this client to a server are marked with a return port of 0 in the payload of the DHIS packet which causes the server to reply to the UDP port from which it receives a packet. In other words, the return UDP port is no longer embedded in a DHIS packet but instead is taken by the server from the UDP layer of the network packet. This feature (dhis client) only works with a DHIS server that implements it; hence, a dhisd server of version 5.4 or above is required for a 5.4 client to operate. This feature is particularly useful in systems behind NAT; whereas before a NAT redirect rule to the return DHIS port (58800 by default) was required, with DHIS 5.4 this is no longer required since NAT boxes should keep the UDP state and redirect back to the right host. A new protocol is also implemented with DHID 5.4; instead of waiting for server checks with CHECK_REQ, the client refreshes itself to the server by sending periodic ECHO_REQ packets to it (every refresh period). The server keeps the host online and only brings it offline it it doesn't see any ECHO_REQ packets for up to 3 times the refresh period. WHATSNEW in 5.3 =============== The documentation was updated. DHID can now be executed under any user (not only root) without changes to the code. The pid file default location was changed to /var/run/dhid.pid @ text @$NetBSD: patch-aa,v 1.4 2014/09/23 14:59:24 jperkin Exp $ --- Makefile.orig 2008-05-22 23:11:43.000000000 +0900 +++ Makefile 2015-03-05 23:36:46.000000000 +0900 @@@@ -29,16 +29,16 @@@@ CC=cc # # For password mode only (no QRC), remove the -DQRC=1 statement # CFLAGS=-I/usr/local/include -Wall -CFLAGS=-I/usr/local/include -DQRC=1 -Wall +CFLAGS=-I${LOCALBASE}/include -DQRC=1 -DLOCALBASE=\"${LOCALBASE}\" -LFLAGS=-L/usr/local/lib +LFLAGS=-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib # For password mode only (no QRC), comment the following line and keep LIBS # empty. # Add -lnsl and -lsocket to LIBS in SysV systems (e.g. Solaris) # LIBS= # LIBS=-lnsl -lsocket -LIBS=-lgmp +LIBS=-lgmp ${LDFLAGS} RM=rm -f @ 1.4 log @SunOS needs -lsocket -lnsl. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2003/07/03 00:08:54 hubertf Exp $ d3 3 a5 5 --- Makefile.orig 2001-09-12 10:12:02.000000000 +0000 +++ Makefile @@@@ -29,9 +29,9 @@@@ CC=cc # Add -lnsl and -lsocket to LIBS in SysV systems d7 2 d10 2 d13 7 a20 2 +CFLAGS=-I${LOCALBASE}/include -DQRC=1 -DLOCALBASE=\"${LOCALBASE}\" +LFLAGS=-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib d23 2 a24 2 # Use these and comment the above if you wish to compile dhid without # secure public key authentication or don't have the GMP library @ 1.3 log @Update dhid to 5.0. Changes: 1) OnCmd and OffCmd options now are executed with the hostid parameter, the local IPv4 dynamic IP address and additional parameters specified in dhid.conf @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Makefile.orig Wed Sep 12 12:12:02 2001 d5 1 a5 1 @@@@ -29,8 +29,8 @@@@ d11 1 d14 1 a14 1 LIBS=-lgmp d17 1 @ 1.2 log @Update to dhis client R4. Changes: * improved security * server can detect when client goes down, and remove entry @ text @d3 2 a4 2 --- Makefile.orig Sat Apr 8 20:02:28 2000 +++ Makefile Mon Aug 7 04:22:23 2000 d9 1 a9 1 -CFLAGS=-I/usr/local/include -DQRC=1 d11 2 a12 2 +CFLAGS+= -I${LOCALBASE}/include -DQRC=1 -DLOCALBASE=\"${LOCALBASE}\" +LFLAGS+= -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib a15 15 @@@@ -43,10 +43,13 @@@@ RM=rm -f -all: dhid +all: dhid genkeys dhid: conf.o network.o main.o $(CC) $(LFLAGS) -o dhid conf.o network.o main.o $(LIBS) + +genkeys: genkeys.c + $(CC) $(CFLAGS) $(LFLAGS) -o genkeys genkeys.c $(LIBS) main.o: dhid.h main.c $(CC) $(CFLAGS) -c main.c @ 1.1 log @Initial revision @ text @d3 15 a17 10 --- Makefile.orig Tue Jun 22 07:30:37 1999 +++ Makefile Mon Jul 19 07:19:04 1999 @@@@ -26,7 +26,7 @@@@ # DHIS(c) Dynamic Host Information System Release 3.0 CC=cc -CFLAGS= +CFLAGS+=-O2 LFLAGS= LIBS= d19 12 @ 1.1.1.1 log @dhid-3.0: Dynamic Host Information Service client daemon @ text @@