Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2002 06:40:03 -0700 (PDT)
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/39221: net/pptpclient has a new distfile?
Message-ID:  <200206131340.g5DDe3o99335@freefall.freebsd.org>

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

From: Thomas Quinot <thomas@cuivre.fr.eu.org>
To: Anton Berezin <tobez@FreeBSD.org>
Cc: thomas@cuivre.fr.eu.org, dan1@freebsddiary.org,
	bug-followup@freebsd.org
Subject: Re: ports/39221: net/pptpclient has a new distfile?
Date: Thu, 13 Jun 2002 15:26:31 +0200

 Le 2002-06-13, Anton Berezin écrivait :
 
 > What can you, as this port maintainer, say about this issue?
 
 It's strange. It indeed looks like the file on SF has changed.
 
 While we're at it, here is an updated port that uses the latest upstream
 release, pptpclient 1.1.0. Dan, could you try this one?
 
 Thomas.
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	pptpclient/Makefile
 #	pptpclient/files/README
 #	pptpclient/files/ppp.conf
 #	pptpclient/files/patch-aa
 #	pptpclient/files/patch-ac
 #	pptpclient/pkg-comment
 #	pptpclient/distinfo
 #	pptpclient/pkg-descr
 #	pptpclient/pkg-plist
 #
 echo x - pptpclient/Makefile
 sed 's/^X//' >pptpclient/Makefile << 'END-of-pptpclient/Makefile'
 X# New ports collection makefile for:	pptpclient
 X# Date created:		19 June 1999
 X# Whom:			John Polstra <jdp@freebsd.org>
 X#
 X# $FreeBSD: ports/net/pptpclient/Makefile,v 1.6 2002/02/20 06:22:29 petef Exp $
 X#
 X
 XPORTNAME=	pptpclient
 XPORTVERSION=	1.1.0
 XCATEGORIES=	net
 XMASTER_SITES=	http://prdownloads.sourceforge.net/pptpclient/
 XDISTNAME=	pptp-linux-1.1.0
 XDISTFILES=	pptp-linux-1.1.0-1.tar.gz
 X
 XMAINTAINER=	thomas@cuivre.fr.eu.org
 X
 XLIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 X
 XMAKE_ARGS=	DEBUG="" \
 X		INCLUDE="-I${LOCALBASE}/include" \
 X		LIBS="-L${LOCALBASE}/lib -lgnugetopt" \
 X		all
 X
 XGUNZIP_CMD=		${GZIP_CMD} ${EXTRACT_BEFORE_ARGS}
 X
 Xdo-extract:
 X	@${RM} -rf ${WRKDIR}
 X	@${MKDIR} ${WRKDIR}
 X	@(cd ${WRKDIR} && \
 X	${GUNZIP_CMD} ${_DISTDIR}/${DISTFILES} | tar -xf - && \
 X	${GUNZIP_CMD} `basename ${DISTFILES} .tar.gz`/${DISTNAME}.tar.gz | \
 X	tar -xf -)
 X
 Xdo-install:
 X	cd ${WRKSRC} ; ${INSTALL_PROGRAM} pptp ${PREFIX}/sbin
 X	${MKDIR} ${PREFIX}/share/examples/pptpclient
 X	${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/pptpclient
 X	${INSTALL_DATA} ${FILESDIR}/ppp.conf ${PREFIX}/share/examples/pptpclient
 X
 X.include <bsd.port.mk>
 END-of-pptpclient/Makefile
 echo x - pptpclient/files/README
 sed 's/^X//' >pptpclient/files/README << 'END-of-pptpclient/files/README'
 XQuickstart for the PPTP client.
 X
 XSet up your /etc/ppp/ppp.conf based on the example in this directory.
 XMake these substitutions:
 X
 X    SERVER	IP address of the PPTP server
 X
 X    LABEL	PPP label to use (must be the same on the command
 X		line and in the ppp.conf file)
 X
 X    USER	Your account name on the server
 X
 X    PASSWORD	Your password on the server
 X
 X    Change the "add" commands in ppp.conf to set up the routing
 X    appropriately.
 X
 XNote: your PPP program must be new enough to support MS-CHAP
 Xauthentication.
 X
 XYou must run the program as root.  Use a command like this:
 X
 X    pptp SERVER LABEL
 X
 XKill it with ^C when you're done.
 X
 XIf you want to access the remote system from other hosts on your LAN,
 Xbe sure to turn on IP forwarding on the PPTP client machine.
 X
 XJohn Polstra <jdp@freebsd.org>
 END-of-pptpclient/files/README
 echo x - pptpclient/files/ppp.conf
 sed 's/^X//' >pptpclient/files/ppp.conf << 'END-of-pptpclient/files/ppp.conf'
 XLABEL:
 X set authname USER
 X set authkey PASSWORD
 X set timeout 0
 X set ifaddr 0 0
 X add 192.168.11.0/24 HISADDR
 X add 192.168.101.0/24 HISADDR
 X alias enable yes
 END-of-pptpclient/files/ppp.conf
 echo x - pptpclient/files/patch-aa
 sed 's/^X//' >pptpclient/files/patch-aa << 'END-of-pptpclient/files/patch-aa'
 X--- Makefile.orig	Mon Mar 11 09:36:52 2002
 X+++ Makefile	Thu Jun 13 15:20:18 2002
 X@@ -2,14 +2,14 @@
 X 
 X #################################################################
 X # CHANGE THIS LINE to point to the location of your pppd binary.
 X-PPPD = /usr/sbin/pppd
 X+PPPD = /usr/sbin/ppp
 X #################################################################
 X 
 X CC	= gcc
 X RM	= rm -f
 X DEBUG	= -g
 X INCLUDE =
 X-CFLAGS  = -Wall -O1 $(DEBUG) $(INCLUDE)
 X+CFLAGS  = -Wall -O1 $(DEBUG) $(INCLUDE) -DUSER_PPP
 X LIBS	=
 X LDFLAGS	= -lutil
 X 
 END-of-pptpclient/files/patch-aa
 echo x - pptpclient/files/patch-ac
 sed 's/^X//' >pptpclient/files/patch-ac << 'END-of-pptpclient/files/patch-ac'
 XRCS file: /home/jdp/f5/pptp/cvs/pptp/pptp_callmgr.h,v
 Xretrieving revision 1.1.1.1
 Xretrieving revision 1.2
 Xdiff -u -r1.1.1.1 -r1.2
 X--- pptp_callmgr.h	1999/04/28 19:36:57	1.1.1.1
 X+++ pptp_callmgr.h	1999/04/28 19:43:06	1.2
 X@@ -6,4 +6,7 @@
 X  */
 X 
 X #define PPTP_SOCKET_PREFIX "/var/run/pptp/"
 X+
 X+#ifndef PPTP_CALLMGR_BINARY
 X #define PPTP_CALLMGR_BINARY "./pptp_callmgr"
 X+#endif
 END-of-pptpclient/files/patch-ac
 echo x - pptpclient/pkg-comment
 sed 's/^X//' >pptpclient/pkg-comment << 'END-of-pptpclient/pkg-comment'
 XPPTP client for establishing a VPN link with an NT server
 END-of-pptpclient/pkg-comment
 echo x - pptpclient/distinfo
 sed 's/^X//' >pptpclient/distinfo << 'END-of-pptpclient/distinfo'
 XMD5 (pptp-linux-1.1.0-1.tar.gz) = 03e340eb0a9118a8de94eef21560d6c9
 END-of-pptpclient/distinfo
 echo x - pptpclient/pkg-descr
 sed 's/^X//' >pptpclient/pkg-descr << 'END-of-pptpclient/pkg-descr'
 XThis is a port of the "pptp-linux" PPTP client.  It can establish a
 XPPP connection with an NT server, tunneled through a PPTP link over
 Xthe Internet.  In effect, it makes the client machine behave as if
 Xit were on the same LAN as the server.
 X
 XJohn Polstra has created the port, including bug fixes that were
 Xsubsequently integrated in the upstream release, and a patch to
 Xuse FreeBSD's userland "ppp" package rather than "pppd" which it
 Xwas originally designed to use.
 X
 XThere is no manpage for this package, but you will find some
 Xquickstart instructions and example configuration files in
 X"${PREFIX}/share/examples/pptpclient".
 X
 XWWW: http://pptpclient.sourceforge.net/
 X
 XPort currently maintained by:
 XThomas Quinot <thomas@cuivre.fr.eu.org>
 END-of-pptpclient/pkg-descr
 echo x - pptpclient/pkg-plist
 sed 's/^X//' >pptpclient/pkg-plist << 'END-of-pptpclient/pkg-plist'
 Xsbin/pptp
 Xshare/examples/pptpclient/README
 Xshare/examples/pptpclient/ppp.conf
 X@dirrm share/examples/pptpclient
 END-of-pptpclient/pkg-plist
 exit
 
 -- 
     Thomas.Quinot@Cuivre.FR.EU.ORG

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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