Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2005 03:00:24 GMT
From:      "Oleg M. Golovanov" <olmi@zyx.4net.ru>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/87767: upgrade port - net/poptop
Message-ID:  <200510210300.j9L30O81028074@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/87767; it has been noted by GNATS.

From: "Oleg M. Golovanov" <olmi@zyx.4net.ru>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/87767: upgrade port - net/poptop
Date: Fri, 21 Oct 2005 10:59:49 +0800 (KRAST)

 diff -ru /usr/ports/net/poptop/Makefile /usr/ports/net/poptop-new/Makefile
 --- /usr/ports/net/poptop/Makefile	Wed Feb  4 16:09:55 2004
 +++ /usr/ports/net/poptop-new/Makefile	Fri Oct 21 09:04:07 2005
 @@ -1,22 +1,36 @@
  # New ports collection makefile for:	poptop
 -# Date created:		04 October 1999
 -# Whom:			Nick Sayer <nsayer@freebsd.org>
 +# Date created:		20 October 2005
 +# Whom:			Oleg Golovanov <olmi@rentech.ru>
  #
 -# $FreeBSD: ports/net/poptop/Makefile,v 1.20 2004/02/04 05:08:18 marcus Exp $
 +# $FreeBSD: ports/net/poptop/Makefile,v 1.20 2005/10/20 05:08:18 olmi Exp $
  #
  
  PORTNAME=	poptop
 -PORTVERSION=	1.1.4.b4
 -PORTREVISION=	3
 +PORTVERSION=	1.2.1
 +PORTREVISION=	9
  CATEGORIES=	net
 -MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 +MASTER_SITES=	http://jaist.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://easynews.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://nchc.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://optusnet.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://mesh.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://switch.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://kent.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://puzzle.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://cogent.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://citkit.dl.sourceforge.net/sourceforge/poptop/ \
 +		http://belnet.dl.sourceforge.net/sourceforge/poptop/ \
 +		${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	${PORTNAME}
  DISTNAME=	pptpd-${PORTVERSION:S/.b/-b/}
  
 -MAINTAINER=	ports@FreeBSD.org
 +MAINTAINER=	olmi@rentech.ru
  COMMENT=	Windows 9x compatible PPTP (VPN) server
  
 -WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
 +#WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
 +WRKSRC=                ${WRKDIR}/pptpd-${PORTVERSION}
 +
 +
  
  USE_GETOPT_LONG=	yes
  USE_REINPLACE=	yes
 diff -ru /usr/ports/net/poptop/distinfo /usr/ports/net/poptop-new/distinfo
 --- /usr/ports/net/poptop/distinfo	Fri Jan 30 16:05:39 2004
 +++ /usr/ports/net/poptop-new/distinfo	Fri Apr 22 19:24:16 2005
 @@ -1,2 +1,2 @@
 -MD5 (pptpd-1.1.4-b4.tar.gz) = 58603224998f22542e8d7ecb357bc006
 -SIZE (pptpd-1.1.4-b4.tar.gz) = 157684
 +MD5 (pptpd-1.2.1.tar.gz) = 067e9474998345485ba1e92cc5ff59c6
 +SIZE (pptpd-1.2.1.tar.gz) = 180974
 diff -ru /usr/ports/net/poptop/files/patch-aa /usr/ports/net/poptop-new/files/patch-aa
 --- /usr/ports/net/poptop/files/patch-aa	Thu Sep 12 02:54:18 2002
 +++ /usr/ports/net/poptop-new/files/patch-aa	Fri Oct 21 06:37:11 2005
 @@ -1,17 +1,11 @@
 ---- defaults.h.orig	Thu Mar  7 19:09:42 2002
 -+++ defaults.h	Sun Sep  8 10:19:58 2002
 -@@ -40,10 +40,14 @@
 - #endif
 - 
 - #define PPP_SPEED_DEFAULT		"115200"
 -+#ifdef __FreeBSD__
 -+#define PPTPD_CONFIG_FILE_DEFAULT	ETCDIR "/pptpd.conf"
 -+#else
 - #if EMBED
 - #define PPTPD_CONFIG_FILE_DEFAULT	"/etc/config/pptpd.conf"
 - #else
 - #define PPTPD_CONFIG_FILE_DEFAULT	"/etc/pptpd.conf"
 -+#endif
 - #endif
 - #define PIDFILE_DEFAULT			"/var/run/pptpd.pid"
 - 
 +--- configure.in.orig	Wed Jun 23 07:38:43 2004
 ++++ configure.in	Thu Oct 20 22:33:48 2005
 +@@ -112,7 +112,7 @@
 + if test "$ac_cv_header_libintl_h" = yes; then
 +   if test "$ac_cv_lib_c_gettext" = no; then
 +     if test "$ac_cv_lib_intl_gettext" = yes; then
 +-      XTRALIBS_MGR = "$XTRALIBS_MGR -lintl"
 ++      XTRALIBS_MGR="$XTRALIBS_MGR -lintl"
 +     else
 +       echo "Have libintl.h but no usable gettext!" 1>&2
 +       exit 1
 diff -ru /usr/ports/net/poptop/files/patch-ab /usr/ports/net/poptop-new/files/patch-ab
 --- /usr/ports/net/poptop/files/patch-ab	Sun Oct 19 16:04:37 2003
 +++ /usr/ports/net/poptop-new/files/patch-ab	Fri Oct 21 06:39:40 2005
 @@ -1,35 +1,355 @@
 -
 -$FreeBSD: ports/net/poptop/files/patch-ab,v 1.5 2003/10/18 18:22:42 krion Exp $
 -
 ---- Makefile.in.orig	Fri Feb 28 00:41:21 2003
 -+++ Makefile.in	Sat Oct 18 21:51:01 2003
 -@@ -75,7 +75,7 @@
 - AUTOMAKE_OPTIONS = no-dependencies foreign
 +--- configure.orig	Wed Jun 23 07:39:15 2004
 ++++ configure	Thu Oct 20 22:33:48 2005
 +@@ -958,7 +958,7 @@
 +     else
 +       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 +     fi
 +-    cd "$ac_popdir"
 ++    cd $ac_popdir
 +   done
 + fi
   
 - INCLUDES = -I.
 --CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"'
 -+CFLAGS= @CFLAGS@ -DSBINDIR='"$(sbindir)"' -DETCDIR='"$(sysconfdir)"'
 - #CFLAGS = -O2 -fno-builtin -Wall -ansi -DSBINDIR='"$(sbindir)"'
 - #CFLAGS = -O2 -fno-builtin -Wall -ansi -pedantic -Wmissing-prototypes -Werror -DSBINDIR='"$(sbindir)"'
 +@@ -2301,7 +2301,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -2359,7 +2360,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -2475,7 +2477,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -2529,7 +2532,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -2574,7 +2578,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -2618,7 +2623,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -3107,7 +3113,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -3167,7 +3174,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -3309,7 +3317,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -3625,7 +3634,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -3795,7 +3805,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -3862,7 +3873,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4011,7 +4023,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4160,7 +4173,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4309,7 +4323,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4458,7 +4473,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4606,7 +4622,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4671,7 +4688,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4736,7 +4754,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4801,7 +4820,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4866,7 +4886,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -4971,7 +4992,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5024,7 +5046,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5101,7 +5124,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5174,7 +5198,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5247,7 +5272,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5320,7 +5346,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5393,7 +5420,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5466,7 +5494,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5539,7 +5568,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5612,7 +5642,8 @@
 +   cat conftest.err >&5
 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 +   (exit $ac_status); } &&
 +-	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
 ++	 { ac_try='test -z "$ac_c_werror_flag"
 ++			 || test ! -s conftest.err'
 +   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 +   (eval $ac_try) 2>&5
 +   ac_status=$?
 +@@ -5683,7 +5714,7 @@
 + if test "$ac_cv_header_libintl_h" = yes; then
 +   if test "$ac_cv_lib_c_gettext" = no; then
 +     if test "$ac_cv_lib_intl_gettext" = yes; then
 +-      XTRALIBS_MGR = "$XTRALIBS_MGR -lintl"
 ++      XTRALIBS_MGR="$XTRALIBS_MGR -lintl"
 +     else
 +       echo "Have libintl.h but no usable gettext!" 1>&2
 +       exit 1
 +@@ -6712,6 +6743,11 @@
 +   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 +   esac
   
 -@@ -93,8 +93,8 @@
 - # for dependencies, so just attribute them all to pptpd.
 - 
 - pptpd_SOURCES = \
 --	pptpd.c configfile.c pptpmanager.c compat.c inststr.c getopt.c getopt1.c \
 --	compat.h configfile.h ctrlpacket.h defaults.h inststr.h our_getopt.h \
 -+	pptpd.c configfile.c pptpmanager.c compat.c inststr.c \
 -+	compat.h configfile.h ctrlpacket.h defaults.h inststr.h out_getopt.h \
 - 	our_syslog.h ppphdlc.h pptpctrl.h pptpdefs.h pptpgre.h pptpmanager.h
 - 
 - 
 -@@ -118,8 +118,7 @@
 - LDFLAGS = @LDFLAGS@
 - LIBS = @LIBS@
 - pptpd_OBJECTS =  pptpd.$(OBJEXT) configfile.$(OBJEXT) \
 --pptpmanager.$(OBJEXT) compat.$(OBJEXT) inststr.$(OBJEXT) \
 --getopt.$(OBJEXT) getopt1.$(OBJEXT)
 -+pptpmanager.$(OBJEXT) compat.$(OBJEXT) inststr.$(OBJEXT)
 - pptpd_DEPENDENCIES = 
 - pptpd_LDFLAGS = 
 - pptpctrl_OBJECTS =  pptpctrl.$(OBJEXT) ctrlpacket.$(OBJEXT) \
 ++  if test x"$ac_file" != x-; then
 ++    { echo "$as_me:$LINENO: creating $ac_file" >&5
 ++echo "$as_me: creating $ac_file" >&6;}
 ++    rm -f "$ac_file"
 ++  fi
 +   # Let's still pretend it is `configure' which instantiates (i.e., don't
 +   # use $as_me), people would be surprised to read:
 +   #    /* config.h.  Generated by config.status.  */
 +@@ -6750,12 +6786,6 @@
 + 	 fi;;
 +       esac
 +     done` || { (exit 1); exit 1; }
 +-
 +-  if test x"$ac_file" != x-; then
 +-    { echo "$as_me:$LINENO: creating $ac_file" >&5
 +-echo "$as_me: creating $ac_file" >&6;}
 +-    rm -f "$ac_file"
 +-  fi
 + _ACEOF
 + cat >>$CONFIG_STATUS <<_ACEOF
 +   sed "$ac_vpsub
 Only in /usr/ports/net/poptop-new/files: patch-ac
 diff -ru /usr/ports/net/poptop/files/patch-ad /usr/ports/net/poptop-new/files/patch-ad
 --- /usr/ports/net/poptop/files/patch-ad	Sun May 11 23:13:52 2003
 +++ /usr/ports/net/poptop-new/files/patch-ad	Fri Oct 21 06:41:28 2005
 @@ -1,39 +1,11 @@
 ---- pptpd.c.orig	Thu Feb 27 04:01:10 2003
 -+++ pptpd.c	Sat May  3 18:02:26 2003
 -@@ -82,24 +82,23 @@
 - static void showusage(char *prog)
 - {
 - 	printf("\nPoPToP v%s\n", VERSION);
 --	printf("The PPTP Server for Linux\n");
 -+	printf("The PPTP Server for FreeBSD\n");
 - 	printf("Usage: pptpd [options], where options are:\n\n");
 - #ifdef BCRELAY
 - 	printf(" [-b] [--bcrelay if]       Use broadcast relay for broadcasts comming from.\n");
 - 	printf("                           the specified interface (default is eth1).\n");
 - #endif
 - 	printf(" [-c] [--conf file]        Specifies the config file to read default\n");
 --	printf("                           settings from (default is /etc/pptpd.conf).\n");
 -+	printf("                           settings from (default is " PPTPD_CONFIG_FILE_DEFAULT ").\n");
 - 	printf(" [-d] [--debug]            Turns on debugging (to syslog).\n");
 - 	printf(" [-f] [--fg]               Run in foreground.\n");
 - 	printf(" [-h] [--help]             Displays this help message.\n");
 - 	printf(" [-l] [--listen x.x.x.x]   Specifies IP of local interface to listen to.\n");
 - #if !defined(BSDUSER_PPP)
 - 	printf(" [-o] [--option file]      Specifies the PPP options file to use\n");
 --	printf("                           (default is /etc/ppp/options).\n");
 - #endif
 - 	printf(" [-p] [--pidfile file]     Specifies the file to write the process ID to\n");
 --	printf("                           (default is /var/run/pptpd.pid).\n");
 -+	printf("                           (default is "PIDFILE_DEFAULT").\n");
 - #if !defined(BSDUSER_PPP)
 - 	printf(" [-s] [--speed baud]       Specifies the baud speed for the PPP daemon\n");
 - 	printf("                           (default is 115200).\n");
 -@@ -111,7 +110,7 @@
 - 	printf("\n\nLogs and debugging go to syslog as DAEMON.");
 - 
 - 	printf("\n\nCommand line options will override any default settings and any settings\n");
 --	printf("specified in the config file (default config file: /etc/pptpd.conf).\n\n");
 -+	printf("specified in the config file.\n\n");
 - }
 +--- Makefile.am.orig	Wed Jun 23 09:48:50 2004
 ++++ Makefile.am	Thu Oct 20 22:33:48 2005
 +@@ -32,7 +32,7 @@
 + debian/po/templates.pot
   
 + EXTRA_PROGRAMS = 
 +-sbin_PROGRAMS = pptpd pptpctrl bcrelay
 ++sbin_PROGRAMS = pptpd pptpctrl
   
 + # Header files are only used to determine what to put in a distribution, not
 + # for dependencies, so just attribute them all to pptpd.
 diff -ru /usr/ports/net/poptop/files/patch-ae /usr/ports/net/poptop-new/files/patch-ae
 --- /usr/ports/net/poptop/files/patch-ae	Sun May 11 23:13:52 2003
 +++ /usr/ports/net/poptop-new/files/patch-ae	Fri Oct 21 06:42:00 2005
 @@ -1,13 +1,51 @@
 ---- pptpctrl.c.orig     Sat May  3 18:09:16 2003
 -+++ pptpctrl.c  Sat May  3 18:09:28 2003
 -@@ -26,9 +26,9 @@
 - #include <time.h>
 - #include <sys/time.h>
 - #include <dirent.h>
 -+#include <sys/socket.h>
 - #include <net/if.h>
 - #include <sys/types.h>
 --#include <sys/socket.h>
 - #include <netinet/in.h>
 - #include <arpa/inet.h>
 - #ifdef HAVE_OPENPTY
 +--- Makefile.in.orig	Wed Jun 23 10:03:07 2004
 ++++ Makefile.in	Thu Oct 20 22:33:48 2005
 +@@ -14,7 +14,7 @@
 + 
 + @SET_MAKE@
 + 
 +-SOURCES = $(bcrelay_SOURCES) $(pptpctrl_SOURCES) $(pptpd_SOURCES)
 ++SOURCES = $(pptpctrl_SOURCES) $(pptpd_SOURCES)
 + 
 + srcdir = @srcdir@
 + top_srcdir = @top_srcdir@
 +@@ -37,7 +37,7 @@
 + PRE_UNINSTALL = :
 + POST_UNINSTALL = :
 + EXTRA_PROGRAMS =
 +-sbin_PROGRAMS = pptpd$(EXEEXT) pptpctrl$(EXEEXT) bcrelay$(EXEEXT)
 ++sbin_PROGRAMS = pptpd$(EXEEXT) pptpctrl$(EXEEXT)
 + subdir = .
 + DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
 + 	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
 +@@ -55,9 +55,6 @@
 + am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"
 + sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
 + PROGRAMS = $(sbin_PROGRAMS)
 +-am_bcrelay_OBJECTS = bcrelay.$(OBJEXT)
 +-bcrelay_OBJECTS = $(am_bcrelay_OBJECTS)
 +-bcrelay_LDADD = $(LDADD)
 + am_pptpctrl_OBJECTS = pptpctrl.$(OBJEXT) ctrlpacket.$(OBJEXT) \
 + 	inststr.$(OBJEXT) compat.$(OBJEXT) pptpgre.$(OBJEXT) \
 + 	ppphdlc.$(OBJEXT)
 +@@ -76,8 +73,8 @@
 + 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 + CCLD = $(CC)
 + LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 +-SOURCES = $(bcrelay_SOURCES) $(pptpctrl_SOURCES) $(pptpd_SOURCES)
 +-DIST_SOURCES = $(bcrelay_SOURCES) $(pptpctrl_SOURCES) $(pptpd_SOURCES)
 ++SOURCES = $(pptpctrl_SOURCES) $(pptpd_SOURCES)
 ++DIST_SOURCES = $(pptpctrl_SOURCES) $(pptpd_SOURCES)
 + man5dir = $(mandir)/man5
 + man8dir = $(mandir)/man8
 + NROFF = nroff
 +@@ -285,9 +282,6 @@
 + 
 + clean-sbinPROGRAMS:
 + 	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
 +-bcrelay$(EXEEXT): $(bcrelay_OBJECTS) $(bcrelay_DEPENDENCIES) 
 +-	@rm -f bcrelay$(EXEEXT)
 +-	$(LINK) $(bcrelay_LDFLAGS) $(bcrelay_OBJECTS) $(bcrelay_LDADD) $(LIBS)
 + pptpctrl$(EXEEXT): $(pptpctrl_OBJECTS) $(pptpctrl_DEPENDENCIES) 
 + 	@rm -f pptpctrl$(EXEEXT)
 + 	$(LINK) $(pptpctrl_LDFLAGS) $(pptpctrl_OBJECTS) $(pptpctrl_LDADD) $(LIBS)
 Only in /usr/ports/net/poptop-new/files: patch-af
 Only in /usr/ports/net/poptop-new/files: patch-ag
 Only in /usr/ports/net/poptop-new/files: patch-ah



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510210300.j9L30O81028074>