1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Use ppp instead of pppd and document it.

PR:		141001
Submitted by:	"Antoine Vu-Ngoc" <antoine@cleopatre.homeip.net>
Patch by:	maintainer
This commit is contained in:
Stefan Walter 2010-11-11 07:51:49 +00:00
parent 8535298f4a
commit 6f9c465cac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264395
3 changed files with 17 additions and 6 deletions

View File

@ -1,10 +1,7 @@
# ex:ts=8
# Ports collection makefile for: ssltunnel-server
# Ports collection Makefile for: ssltunnel-server
# Date created: June 10, 2003
# Whom: at@rominet.net
#
# $Id: Makefile,v 1.3 2003/09/21 16:20:44 thivillon Exp $
#
# $FreeBSD$
#
@ -32,6 +29,9 @@ post-patch:
${WRKSRC}/server/main.c \
${WRKSRC}/server/pppwho.c \
${WRKSRC}/server/sessions.c
@${REINPLACE_CMD} -e 's^sbin/pppd^sbin/ppp^g' ${WRKSRC}/server/users
@${AWK} '{print}/ppp/ { print "args -direct" }' \
${WRKSRC}/server/users > ${WRKSRC}/server/users.new
post-install:
.if !defined(NOPORTDOCS)
@ -40,6 +40,7 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/LISEZ-MOI ${DOCSDIR}
.endif
${INSTALL_SCRIPT} ${WRKSRC}/server/pppserver.sh ${PREFIX}/etc/rc.d/ssltunnel.sh.sample
${INSTALL_DATA} ${WRKSRC}/server/users ${PREFIX}/etc/ssltunnel/users.sample
${INSTALL_DATA} ${WRKSRC}/server/users.new ${PREFIX}/etc/ssltunnel/users.sample
@${CAT} ${PKGMESSAGE} | ${SED} "s|PREFIX|${PREFIX}|g"
.include <bsd.port.post.mk>

View File

@ -1,3 +1,2 @@
MD5 (ssltunnel-1.18.tar.gz) = 67365324ec3ef232109c4a565f799604
SHA256 (ssltunnel-1.18.tar.gz) = 1d2e4bbc935341775e7cc26dae980d6bdd5e8351f5a0cbf4d85363ac5d71081f
SIZE (ssltunnel-1.18.tar.gz) = 132302

View File

@ -0,0 +1,11 @@
All ppp parameters that were to go into PREFIX/etc/ssltunnel/users should
go to /etc/ppp/ppp.conf for example:
default:
# set log Phase Chat LCP IPCP CCP tun command
set log Phase tun
ident user-ppp VERSION
set timeout 0
enable echo
disable ipv6cp
set ifaddr 192.168.230.13:192.168.230.20