diff options
author | Mike Jones <ashmodai@gentoo.org> | 2002-05-22 19:53:45 +0000 |
---|---|---|
committer | Mike Jones <ashmodai@gentoo.org> | 2002-05-22 19:53:45 +0000 |
commit | 972fbd03dc9e5952ea8a5716414c2c78b2dd3552 (patch) | |
tree | 8978ed78055cb9e3bcbb8064fb9309db1dd40578 /net-dialup/pptpd | |
parent | libtool, debug, single task make and some other stuff. and remove the old things (diff) | |
download | gentoo-2-972fbd03dc9e5952ea8a5716414c2c78b2dd3552.tar.gz gentoo-2-972fbd03dc9e5952ea8a5716414c2c78b2dd3552.tar.bz2 gentoo-2-972fbd03dc9e5952ea8a5716414c2c78b2dd3552.zip |
Initial version of pptp ebuild.
Diffstat (limited to 'net-dialup/pptpd')
-rw-r--r-- | net-dialup/pptpd/ChangeLog | 14 | ||||
-rw-r--r-- | net-dialup/pptpd/files/digest-pptpd-1.1.2 | 1 | ||||
-rw-r--r-- | net-dialup/pptpd/files/options.pptpd | 20 | ||||
-rw-r--r-- | net-dialup/pptpd/files/pptpd.conf | 84 | ||||
-rw-r--r-- | net-dialup/pptpd/pptpd-1.1.2.ebuild | 38 |
5 files changed, 157 insertions, 0 deletions
diff --git a/net-dialup/pptpd/ChangeLog b/net-dialup/pptpd/ChangeLog new file mode 100644 index 000000000000..499a81acdd61 --- /dev/null +++ b/net-dialup/pptpd/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for net-dialup/pptpd +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/pptpd/ChangeLog,v 1.1 2002/05/22 19:53:45 ashmodai Exp $ + +*pptpd-1.1.2 (22 May 2002) + + 5 May 2002; Mike Jones <ashmodai@gentoo.org> ChangeLog, pptpd-1.1.2.ebuild: + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. + diff --git a/net-dialup/pptpd/files/digest-pptpd-1.1.2 b/net-dialup/pptpd/files/digest-pptpd-1.1.2 new file mode 100644 index 000000000000..8c9f975d30c4 --- /dev/null +++ b/net-dialup/pptpd/files/digest-pptpd-1.1.2 @@ -0,0 +1 @@ +MD5 03f7106c6fd7f22bd904b5c66aedbe92 pptpd-1.1.2.tar.gz 115418 diff --git a/net-dialup/pptpd/files/options.pptpd b/net-dialup/pptpd/files/options.pptpd new file mode 100644 index 000000000000..cfbbd01231f3 --- /dev/null +++ b/net-dialup/pptpd/files/options.pptpd @@ -0,0 +1,20 @@ +## SAMPLE ONLY +## CHANGE TO SUIT YOUR SYSTEM + +## turn pppd syslog debugging on +#debug + +## change 'servername' to whatever you specify as your server name in chap-secrets +name pptp-server + +auth +require-chap +proxyarp +lock ++chap ++chapms ++chapms-v2 +mppe-40 +mppe-128 +mppe-stateless + diff --git a/net-dialup/pptpd/files/pptpd.conf b/net-dialup/pptpd/files/pptpd.conf new file mode 100644 index 000000000000..690ffd77ded6 --- /dev/null +++ b/net-dialup/pptpd/files/pptpd.conf @@ -0,0 +1,84 @@ +################################################################################ +# +# Sample PoPToP configuration file +# +# for PoPToP version 1.0.0 +# +################################################################################ + +# TAG: speed +# +# Specifies the speed for the PPP daemon to talk at. +# Some PPP daemons will ignore this value. +# +#speed 115200 + +# TAG: option +# +# Specifies the location of the PPP options file. +# By default PPP looks in '/etc/ppp/options' +# +option /etc/ppp/options.pptpd + +# TAG: debug +# +# Turns on (more) debugging to syslog. +# +#debug + +# TAG: localip +# TAG: remoteip +# +# Specifies the local and remote IP address ranges. +# +# You can specify single IP addresses seperated by commas or you can +# specify ranges, or both. For example: +# +# 192.168.0.234,192.168.0.245-249,192.168.0.254 +# +# IMPORTANT RESTRICTIONS: +# +# 1. No spaces are permitted between commas or within addresses. +# +# 2. If you give more IP addresses than MAX_CONNECTIONS, it will +# start at the beginning of the list and go until it gets +# MAX_CONNECTIONS IPs. Others will be ignored. +# +# 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238, +# you must type 234-238 if you mean this. +# +# 4. If you give a single localIP, that's ok - all local IPs will +# be set to the given one. You MUST still give at least one remote +# IP for each simultaneous client. +# +#localip 192.168.0.234-238,192.168.0.245 +#remoteip 192.168.1.234-238,192.168.1.245 + +# TAG: ipxnets +# +# This gives the range of IPX networks to allocate to clients. By +# default IPX network number allocation is not handled internally. +# By putting a low and high network number here a pool of IPX networks +# can be defined. If this is done then there must be one IPX network +# per client. +# +# The format is a pair of hex numbers without any 0x prefix separated +# by a hyphen. +# +#ipxnets 00001000-00001FFF + +# TAG: listen +# +# Defines the IP address of the local interface on which pptpd +# should listen for connections. The default is to listen on all +# local interfaces (even ones brought up by pptp connections, thus +# permitting pptp tunnels inside the pptp tunnels). +# +#listen 192.168.0.1 + +# TAG: pidfile +# +# This defines the file name in which pptpd should store its process +# ID (or pid). The default is /var/run/pptpd.pid. +# +#pidfile /var/run/pptpd.pid diff --git a/net-dialup/pptpd/pptpd-1.1.2.ebuild b/net-dialup/pptpd/pptpd-1.1.2.ebuild new file mode 100644 index 000000000000..47aaaa5457ea --- /dev/null +++ b/net-dialup/pptpd/pptpd-1.1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Mike Jones <ashmodai@gentoo.org> + +S=${WORKDIR}/pptpd-1.1.2 +DESCRIPTION="Linux Point-to-Point Tunnelling Protocol Server" +SRC_URI="http://www.mirrors.wiretapped.net/security/network-security/poptop/pptpd-1.1.2.tar.gz" +HOMEPAGE="http://poptop.lineo.com" +DEPEND="virtual/glibc + virtual/pppd" + +LICENSE="GPL" +RDEPEND="" +SLOT="0" + +src_compile() { + econf || die + emake || die +} + +src_install () { + + make \ + DESTDIR=${D} \ + man_prefix=/usr/share/man \ + install || die + + insinto /etc + doins ${FILESDIR}/pptpd.conf + insinto /etc/ppp + dodir /etc/ppp + insinto /etc/ppp + doins ${FILESDIR}/options.pptpd + + dodoc README README.inetd README.slirp AUTHORS COPYING INSTALL TODO ChangeLog + docinto samples; dodoc samples/* +} + |