ports/66202: [maintainer-update] security/vpnc

Christian Lackas delta at lackas.net
Mon May 3 13:00:36 UTC 2004


The following reply was made to PR ports/66202; it has been noted by GNATS.

From: Christian Lackas <delta at lackas.net>
To: freebsd-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: ports/66202: [maintainer-update] security/vpnc
Date: Mon, 3 May 2004 14:51:47 +0200

 Sorry, small error in patch (not using $PREFIX).
 Here is the right patch:
 
 
 diff -urN /usr/ports/security/vpnc/Makefile vpnc/Makefile
 --- /usr/ports/security/vpnc/Makefile	Thu Apr 29 15:41:55 2004
 +++ vpnc/Makefile	Mon May  3 12:42:39 2004
 @@ -7,11 +7,11 @@
  
  PORTNAME=	vpnc
  PORTVERSION=	0.2
 -PORTREVISION=	4
 +PORTREVISION=	5
  CATEGORIES=	security
  MASTER_SITES=	http://www.unix-ag.uni-kl.de/~massar/vpnc/ \
  	http://dragon.roe.ch/mirrors/distfiles/vpnc/
 -DISTNAME=	${PORTNAME}-${PORTVERSION}-rm+zomb-pre8
 +DISTNAME=	${PORTNAME}-${PORTVERSION}-rm+zomb-pre9
  DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${STARTSCRIPT}
  EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
  
 diff -urN /usr/ports/security/vpnc/distinfo vpnc/distinfo
 --- /usr/ports/security/vpnc/distinfo	Thu Apr 29 15:41:55 2004
 +++ vpnc/distinfo	Mon May  3 12:42:39 2004
 @@ -1,4 +1,4 @@
 -MD5 (vpnc-0.2-rm+zomb-pre8.tar.gz) = f6b5c2ffbc0b18df1b56667261d3643b
 -SIZE (vpnc-0.2-rm+zomb-pre8.tar.gz) = 51147
 +MD5 (vpnc-0.2-rm+zomb-pre9.tar.gz) = 252b565a4cb8a85644fa00fc96d4c3c2
 +SIZE (vpnc-0.2-rm+zomb-pre9.tar.gz) = 52182
  MD5 (vpnc-wrapper-1.9) = 85ec82bd75095c19d55d29cdfa499d4c
  SIZE (vpnc-wrapper-1.9) = 6213
 diff -urN /usr/ports/security/vpnc/files/patch-vpnc.c vpnc/files/patch-vpnc.c
 --- /usr/ports/security/vpnc/files/patch-vpnc.c	Thu Apr 29 15:41:55 2004
 +++ vpnc/files/patch-vpnc.c	Mon May  3 14:43:03 2004
 @@ -1,6 +1,28 @@
 ---- vpnc.c.orig	Sun Apr 25 02:46:23 2004
 -+++ vpnc.c	Sun Apr 25 02:46:50 2004
 -@@ -2036,8 +2036,8 @@
 +--- vpnc.c.dist	Mon May  3 14:13:05 2004
 ++++ vpnc.c	Mon May  3 14:13:41 2004
 +@@ -1527,10 +1527,10 @@
 + 	  reject = ISAKMP_N_ATTRIBUTES_NOT_SUPPORTED;
 + 	  break;
 + 	}
 +-	strbuf = xallocc(a->u.lots.length)+1;
 ++	strbuf = xallocc(a->u.lots.length+1);
 + 	memcpy(strbuf, a->u.lots.data, a->u.lots.length);
 + 	addenv("CISCO_DEF_DOMAIN", strbuf);
 +-	/*free(strbuf); free(): invalid pointer 0x80593f9! FIXME */
 ++	free(strbuf);
 + 	break;
 + 	
 +       case ISAKMP_MODECFG_ATTRIB_CISCO_BANNER:
 +@@ -1538,7 +1538,7 @@
 + 	  reject = ISAKMP_N_ATTRIBUTES_NOT_SUPPORTED;
 + 	  break;
 + 	}
 +-	strbuf = xallocc(a->u.lots.length)+1;
 ++	strbuf = xallocc(a->u.lots.length+1);
 + 	memcpy(strbuf, a->u.lots.data, a->u.lots.length);
 + 	addenv("CISCO_BANNER", strbuf);
 + 	free(strbuf);
 +@@ -2162,8 +2162,8 @@
       else
         read_config_file (argv[i], config, 0);
   
 diff -urN /usr/ports/security/vpnc/pkg-message vpnc/pkg-message
 --- /usr/ports/security/vpnc/pkg-message	Mon Dec 22 20:25:01 2003
 +++ vpnc/pkg-message	Mon May  3 12:42:39 2004
 @@ -1,7 +1,9 @@
 -If vpnc fails with
 +If vpnc under FreeBSD 4 fails with
  
      socket(SOCK_RAW): Protocol not supported
  
 -check your kernel configuration. The ESP protocol is only
 +check your kernel configuration. The ESP protocol may be only
  enabled for FAST_IPSEC (this cannot be configured together with
  IPSEC). See LINT for further details.
 +
 +Under FreeBSD 5 vpnc should work without any IPSEC enabled.
 
 
 
 
 -- 
 #!/usr/bin/perl -- -export-a-crypto-system-sig -RSA-3-lines-PERL
 print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
 )]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
 http://www.lackas.net/ Perl Delphi Linux MP3 Searchengines Domainchecker
 



More information about the freebsd-ports-bugs mailing list