head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.96 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.94 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.92 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.90 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.88 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.86 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.84 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.82 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.80 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.78 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.76 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.74 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.72 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.70 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.68 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.66 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.64 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.62 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.60 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.58 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.56 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.54 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.52 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.48 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.28 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.50 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.46 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.44 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.42 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.40 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.38 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.36 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.34 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.32 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.30 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.26 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.24 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.22 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.20 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.18 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.16 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.14 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.12 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.10 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.8 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.6 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.4 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.2 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.5.0.26 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.24 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.22 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.20 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.18 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.16 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.14 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.12 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.10 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.8 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.6 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.4 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.2 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.4.0.62 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.60 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.58 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.56 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.54 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.52 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.50 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.48 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.46 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.44 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.42 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.40 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.38 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 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 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2014.04.20.21.03.25; author adam; state Exp; branches; next 1.5; commitid tDuRKcLmlwjTTsxx; 1.5 date 2011.03.18.10.39.08; author adam; state Exp; branches; next 1.4; 1.4 date 2003.07.12.17.26.16; author taca; state Exp; branches; next 1.3; 1.3 date 2001.12.21.21.04.23; author jlam; state Exp; branches; next 1.2; 1.2 date 2000.06.06.07.21.47; author kleink; state Exp; branches; next 1.1; 1.1 date 2000.02.07.01.37.35; author hubertf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.02.07.01.37.35; author hubertf; state Exp; branches; next ; desc @@ 1.6 log @Changes 3.0.3: - Delayed UDP connection - makefile ignores LDFLAGS - mem leak in config parser - vtun3 server should offer vtun2-compatible encryption - Parallel make Makefile.in race condition - link timeout in UDP mode Minor fixes in lfd_lzo.c to ensure correct type casting Add description of "keepalive timeout:count;" syntax to man page and vtund.conf sample. Remove doubled if(send_a_file){...} block in linkfd.c. - reduce connection chatter - improve linking on rebuilds @ text @$NetBSD: patch-aa,v 1.5 2011/03/18 10:39:08 adam Exp $ --- Makefile.in.orig 2012-07-09 04:55:38.000000000 +0000 +++ Makefile.in @@@@ -19,5 +19,5 @@@@ # CC = @@CC@@ -CFLAGS = @@CFLAGS@@ @@CPPFLAGS@@ +CFLAGS = @@CFLAGS@@ @@CPPFLAGS@@ ${DEFS} LDFLAGS = @@LDFLAGS@@ @@LIBS@@ @@@@ -43,5 +43,5 @@@@ PID_FILE = ${VAR_DIR}/run/vtund.pid CFG_FILE = ${ETC_DIR}/vtund.conf STAT_DIR = ${VAR_DIR}/log/vtund -LOCK_DIR = ${VAR_DIR}/lock/vtund +LOCK_DIR = ${VAR_DIR}/run/vtund DEFS = -DVTUN_CONFIG_FILE=\"$(CFG_FILE)\" -DVTUN_PID_FILE=\"$(PID_FILE)\" \ @@@@ -56,7 +56,4 @@@@ OBJS = main.o cfg_file.tab.o cfg_file.le CONFIGURE_FILES = Makefile config.status config.cache config.h config.log -%.o: %.c vtun.h lib.h - $(CC) $(CFLAGS) $(DEFS) -c $< - vtund: $(OBJS) $(CC) $(CFLAGS) -o vtund $(OBJS) $(LFD_OBJS) $(LDFLAGS) @ 1.5 log @Changes 3.0.2: * vtun3 client should parse vtun2 server encr directives * cfg_file.y bugs * build on c5 still fails Changes 3.0.1: * fix build for lzo2 * new debian rc scripts Changes 3.0.0: * Configure looks for liblzo2 when available @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Makefile.in.orig 2008-01-07 22:35:55.000000000 +0000 d5 1 a5 1 @@@@ -19,6 +19,6 @@@@ a8 1 -LDFLAGS = @@LIBS@@ d10 1 a10 1 +LDFLAGS = @@LDFLAGS@@ @@LIBS@@ d12 1 a12 2 YACC = @@YACC@@ @@@@ -42,5 +42,5 @@@@ PID_FILE = ${VAR_DIR}/run/vtund.pid d19 1 a19 1 @@@@ -55,7 +55,4 @@@@ OBJS = main.o cfg_file.tab.o cfg_file.le @ 1.4 log @Update vtun package to 2.6. ver 2.6: No changes; just renumber. ver 2.5.3: $DESTDIR in makefile for packaging glee (PLD) Tighter code in generic/pty_dev.c where available (PLD) Various spec file improvements from (PLD) ver 2.5.2: Configure fixes, to ensure vtun will build under Mac OS/X (Kurt Werle) exclude #inclusion under OS/X ver 2.5.1: Cleanups, reformat code, Automake improvements (Greg) Improvement of Special SuSE init files (Willems Luc) Spec file improvements and testing under SuSE (Willems Luc) PLD build patch from Arkadiusz Miskiewicz re-execute up-commands on re-up under persist-keep (David Kimdon, Leo Bergolth) prevent reentering syslog in signal handlers (Leo Bergolth) fd leak in tunnel.c (David Kimdon, Leo Bergolth) fix configure wrt openSSL and SASL to pick correct MD5.h (Leo Bergolth) prevent closing non-existant stat file (Edan Ayal) minor packaging improvements (Bishop Clark) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2001/12/21 21:04:23 jlam Exp $ d3 1 a3 1 --- Makefile.in.orig 2002-12-21 01:55:47.000000000 +0900 d5 1 a5 2 @@@@ -18,8 +18,8 @@@@ # Makefile.in,v 1.6.2.1 2001/08/06 23:16:35 maxk Exp d14 1 a14 3 YACCFLAGS = -d @@@@ -41,7 +41,7 @@@@ VAR_DIR = @@localstatedir@@ PID_FILE = ${VAR_DIR}/run/vtund.pid d21 1 a21 3 -DVTUN_STAT_DIR=\"$(STAT_DIR)\" -DVTUN_LOCK_DIR=\"$(LOCK_DIR)\" @@@@ -54,9 +54,6 @@@@ OBJS = main.o cfg_file.tab.o cfg_file.le a28 1 @ 1.3 log @Buildlink'ify and use the generic INSTALL scripts. Also move the lock directory to /var/run/vtund. This mirrors where samba installs its lock files (/var/run/samba). Lastly, make the vtund.8 manpage reflect where everything is really located. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Makefile.in.orig Mon May 29 09:35:11 2000 d5 2 a6 1 @@@@ -19,7 +19,7 @@@@ d9 1 a9 1 CFLAGS = @@CFLAGS@@ @@CPPFLAGS@@ d11 1 d16 1 a16 1 @@@@ -41,7 +41,7 @@@@ d25 10 @ 1.2 log @Update to vtun-2.3; besides a vtund.conf(5) manual page, changes include: ver 2.3: Fixed incorrect error handling in UDP and TCP drivers. Makefile improvements. RPM package fixes. Persist mode fixes. Fixed a couple of memory and file descriptor leaks. Correct closing of Solaris TUN device. Added man page for the configuration file. Documentation update. Team members list update. @ text @d3 8 a10 8 --- Makefile.in.orig Mon May 29 15:35:11 2000 +++ Makefile.in Tue Jun 6 08:58:08 2000 @@@@ -36,7 +36,7 @@@@ SBIN_DIR = @@sbindir@@ MAN_DIR = @@mandir@@ ETC_DIR = @@sysconfdir@@ -VAR_DIR = @@localstatedir@@ +VAR_DIR = /var d12 3 d17 3 a19 1 @@@@ -88,6 +88,7 @@@@ d21 2 a22 6 install_config: $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(ETC_DIR) + $(INSTALL) -m 600 $(INSTALL_OWNER) vtund.conf $(ETC_DIR)/vtund.conf.example; \ if [ ! -f $(ETC_DIR)/vtund.conf ]; then \ $(INSTALL) -m 600 $(INSTALL_OWNER) vtund.conf $(ETC_DIR); \ fi @ 1.1 log @Initial revision @ text @d3 3 a5 3 --- Makefile.in.BAK Fri Feb 4 04:59:50 2000 +++ Makefile.in Fri Feb 4 05:03:27 2000 @@@@ -24,7 +24,7 @@@@ d14 1 a14 1 @@@@ -110,6 +110,7 @@@@ d17 2 a18 2 $(INSTALL) -d -m 755 -o root -g 0 $(ETC_DIR) + $(INSTALL) -m 600 -o root -g 0 vtund.conf $(ETC_DIR)/vtund.conf.example; \ d20 1 a20 1 $(INSTALL) -m 600 -o root -g 0 vtund.conf $(ETC_DIR); \ @ 1.1.1.1 log @Import vtun-2.0: VTun provides the method for creating Virtual Tunnels over TCP/IP networks and allows to shape, compress, encrypt traffic in that tunnels. Supported type of tunnels are: PPP, IP, Ethernet and most of other serial protocols and programs. VTun is easily and highly configurable, it can be used for various network task like VPN, Mobile IP, Shaped Internet access, IP address saving, etc. It is completely user space implementation and does not require modification to any kernel parts. @ text @@