From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 30 05:00:43 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 759DA16A4CE for ; Fri, 30 Jan 2004 05:00:43 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ECEF43D41 for ; Fri, 30 Jan 2004 05:00:38 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0UD0cFR079693 for ; Fri, 30 Jan 2004 05:00:38 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0UD0c41079692; Fri, 30 Jan 2004 05:00:38 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 30 Jan 2004 05:00:38 -0800 (PST) Resent-Message-Id: <200401301300.i0UD0c41079692@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christian Lackas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36C9716A4CE for ; Fri, 30 Jan 2004 04:56:50 -0800 (PST) Received: from mail.clean-lasersysteme.de (mail.clean-lasersysteme.de [212.117.69.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C9A143D72 for ; Fri, 30 Jan 2004 04:55:28 -0800 (PST) (envelope-from lackas@cleanlaser.de) Received: from router.cleanlaser.de (localhost [127.0.0.1]) i0UCt7Fm068759; Fri, 30 Jan 2004 13:55:07 +0100 (CET) (envelope-from lackas@router.cleanlaser.de) Received: (from lackas@localhost) by router.cleanlaser.de (8.12.9p2/8.12.9/Submit) id i0UCt6s3068757; Fri, 30 Jan 2004 13:55:06 +0100 (CET) (envelope-from lackas) Message-Id: <200401301255.i0UCt6s3068757@router.cleanlaser.de> Date: Fri, 30 Jan 2004 13:55:06 +0100 (CET) From: Christian Lackas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: delta@lackas.net Subject: ports/62111: update port security/vpnc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Christian Lackas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 13:00:43 -0000 >Number: 62111 >Category: ports >Synopsis: update port security/vpnc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jan 30 05:00:37 PST 2004 >Closed-Date: >Last-Modified: >Originator: Christian Lackas >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD router.cleanlaser.de 4.9-STABLE FreeBSD 4.9-STABLE #12: Thu Oct 30 19:11:13 CET 2003 root@router.cleanlaser.de:/usr/obj/usr/src/sys/DELTA i386 >Description: update to new vpnc version, fixes and additions to man-page, using new libgcrypt-devel port >How-To-Repeat: >Fix: Apply patch: cd /usr/ports/security/vpnc && patch -p0 < /path/to/patch diff -urN /usr/ports/security/vpnc/Makefile vpnc/Makefile --- /usr/ports/security/vpnc/Makefile Mon Dec 22 20:23:14 2003 +++ vpnc/Makefile Fri Jan 30 01:30:11 2004 @@ -7,44 +7,40 @@ PORTNAME= vpnc PORTVERSION= 0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-rm+zomb-pre6 +DISTNAME= ${PORTNAME}-${PORTVERSION}-rm+zomb-pre7 MAINTAINER= delta@lackas.net COMMENT= Client for Cisco 3000 VPN Concentrator -LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt +LIB_DEPENDS= gcrypt.10:${PORTSDIR}/security/libgcrypt-devel USE_GMAKE= yes USE_REINPLACE= yes ALL_TARGET= vpnc -MAN8= vpnc.8 - -post-patch: - @${REINPLACE_CMD} -e \ - 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/vpnc.c - @${REINPLACE_CMD} -e \ - 's|%%CC%%|${CC}|;s|%%CFLAGS%%|${CFLAGS}|' \ - ${WRKSRC}/Makefile +MAN8=vpnc.8 do-install: - @${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin + @${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc @${INSTALL_SCRIPT} -m 755 ${FILESDIR}/vpnc.sh ${PREFIX}/etc/rc.d/vpnc.sh.sample + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${PREFIX}/etc/rc.d/vpnc.sh.sample @${INSTALL_DATA} -m 600 ${WRKSRC}/vpnc.conf ${PREFIX}/etc/vpnc.conf.sample +.if !defined(NO_INSTALL_MANPAGES) @${INSTALL_MAN} ${FILESDIR}/vpnc.8 ${PREFIX}/man/man8 +.endif .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR} .endif - -post-install: @${CAT} ${PKGMESSAGE} - @${REINPLACE_CMD} -e \ - 's|%%PREFIX%%|${PREFIX}|' ${PREFIX}/etc/rc.d/vpnc.sh.sample + +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/vpnc.c + @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|;s|%%CFLAGS%%|${CFLAGS}|' ${WRKSRC}/Makefile .include diff -urN /usr/ports/security/vpnc/distinfo vpnc/distinfo --- /usr/ports/security/vpnc/distinfo Wed Dec 17 16:19:50 2003 +++ vpnc/distinfo Fri Jan 30 01:06:02 2004 @@ -1 +1 @@ -MD5 (vpnc-0.2-rm+zomb-pre6.tar.gz) = e2061c70455f333b2ee9089c6e25adec +MD5 (vpnc-0.2-rm+zomb-pre7.tar.gz) = 3aae30829aab05dca932c3f77800b155 diff -urN /usr/ports/security/vpnc/files/patch-Makefile vpnc/files/patch-Makefile --- /usr/ports/security/vpnc/files/patch-Makefile Mon Dec 22 20:23:15 2003 +++ vpnc/files/patch-Makefile Fri Jan 30 01:06:31 2004 @@ -14,8 +14,7 @@ ifeq ($(shell uname -s), Linux) SYSDEP=sysdep-linux.o endif --ifeq ($(shell uname -s), NetBSD) -+ifeq ($(shell uname -s), FreeBSD) + ifeq ($(shell uname -s), NetBSD) CFLAGS += -DSOCKADDR_IN_SIN_LEN SYSDEP=sysdep-bsd.o endif diff -urN /usr/ports/security/vpnc/files/vpnc.8 vpnc/files/vpnc.8 --- /usr/ports/security/vpnc/files/vpnc.8 Mon Dec 22 20:23:15 2003 +++ vpnc/files/vpnc.8 Fri Jan 30 01:06:42 2004 @@ -30,7 +30,7 @@ TUN/TAP driver in Linux kernel 2.4 and above and device .BR tun (4) -on BSD. +on BSD. It runs completely in user space. The vpnc daemon by it self does not set any routes. The user has to do it on its own, e.g. for a full tunnel under FreeBSD @@ -62,7 +62,10 @@ .IP "--ifname name" name of the tun-interface to use .IP "--local-port port number" -use this port for the connection <0-65535>, use 0 for random +use this port for the connection <0-65535> to allow multiple instances of vpnc +running, use 0 a for +.I random +port .IP "--pid-file filename" store the pid of background process there .IP "--dh IKE DH group" @@ -72,7 +75,8 @@ .IP "--non-inter" non interactive mode, don't ask any questions .IP "--debug nr" -set debugging level <0/1/2/3/99> +set debugging level: none(0), basic(1), control flow(2), packet dump(3), +include username/password(99) .IP "--no-detach" do not send daemon to background .IP "--print-config" @@ -103,7 +107,7 @@ .P Xauth username abcdef .P -Xauth passwort 123456 +Xauth password 123456 .PD .RE >Release-Note: >Audit-Trail: >Unformatted: