From owner-cvs-all@FreeBSD.ORG Fri Sep 26 00:19:50 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F817106568F; Fri, 26 Sep 2008 00:19:50 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 40C5D8FC0C; Fri, 26 Sep 2008 00:19:50 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8Q0Josc023967; Fri, 26 Sep 2008 00:19:50 GMT (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8Q0Jog4023966; Fri, 26 Sep 2008 00:19:50 GMT (envelope-from sobomax) Message-Id: <200809260019.m8Q0Jog4023966@repoman.freebsd.org> From: Maxim Sobolev Date: Fri, 26 Sep 2008 00:19:50 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/security/vpnc Makefile ports/security/vpnc/files patch-vpnc-script X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 00:19:50 -0000 sobomax 2008-09-26 00:19:50 UTC FreeBSD ports repository Modified files: security/vpnc Makefile security/vpnc/files patch-vpnc-script Log: Use kldstat(8) to check for the availability of the if_tun module in the kernel instead of checking for existance of /dev/tun. The latter causes tun(8) to allocate new instance, which is not good by itself, but also on all FreeBSD versions before the very recent -current it causes number of tun devices to grow each time the script is invoked (and it's invoked every time when vpnc makes a new connection). Bump PORTREVISION. Approved by: MAINTAINER Revision Changes Path 1.38 +1 -1 ports/security/vpnc/Makefile 1.4 +21 -2 ports/security/vpnc/files/patch-vpnc-script