diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2003-06-28 17:14:14 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2003-06-28 17:14:14 +0000 |
commit | 551df29738ce774700cfe1ca1c48ff9a09d30b6b (patch) | |
tree | e19c29ef0dcca3cb6282b29e00a4c59a747b5819 /net-dialup/pptpd/files | |
parent | Updated SRC_URI. Closes #23534 (diff) | |
download | gentoo-2-551df29738ce774700cfe1ca1c48ff9a09d30b6b.tar.gz gentoo-2-551df29738ce774700cfe1ca1c48ff9a09d30b6b.tar.bz2 gentoo-2-551df29738ce774700cfe1ca1c48ff9a09d30b6b.zip |
Version bump.
Diffstat (limited to 'net-dialup/pptpd/files')
-rw-r--r-- | net-dialup/pptpd/files/1.1.4_beta3/options.pptpd | 27 | ||||
-rw-r--r-- | net-dialup/pptpd/files/1.1.4_beta3/pptpd.conf | 69 | ||||
-rw-r--r-- | net-dialup/pptpd/files/digest-pptpd-1.1.4_beta3 | 1 | ||||
-rw-r--r-- | net-dialup/pptpd/files/pptpd-confd | 5 | ||||
-rw-r--r-- | net-dialup/pptpd/files/pptpd-init | 20 |
5 files changed, 122 insertions, 0 deletions
diff --git a/net-dialup/pptpd/files/1.1.4_beta3/options.pptpd b/net-dialup/pptpd/files/1.1.4_beta3/options.pptpd new file mode 100644 index 000000000000..2ec90e4ce90c --- /dev/null +++ b/net-dialup/pptpd/files/1.1.4_beta3/options.pptpd @@ -0,0 +1,27 @@ +## CHANGE TO SUIT YOUR SYSTEM +lock + +## turn pppd syslog debugging on +#debug + +## change 'pptpd' to whatever you specify as your server name in chap-secrets +name pptpd + +proxyarp +bsdcomp 0 + +# This option applies if you use ppp with chapms-strip-domain patch +#chapms-strip-domain + +# These options apply if you use ppp with mppe patch +# NB! You should also apply the ChapMS-V2 patch +#-chap +#-chapms +#+chapms-v2 +#mppe-128 +#mppe-stateless + +# These options will tell ppp to pass on these to your clients +# To use ms-wins or ms-dns in options.pptpd it must exist in /etc/resolv.conf +#ms-wins your.server.here +#ms-dns your.server.here diff --git a/net-dialup/pptpd/files/1.1.4_beta3/pptpd.conf b/net-dialup/pptpd/files/1.1.4_beta3/pptpd.conf new file mode 100644 index 000000000000..17e5d872c833 --- /dev/null +++ b/net-dialup/pptpd/files/1.1.4_beta3/pptpd.conf @@ -0,0 +1,69 @@ +################################################################################ +# +# Sample PoPToP configuration file +# +# for PoPToP version 1.1.4-b3 +# +################################################################################ + +# TAG: speed +# +# Specifies the speed for the PPP daemon to talk at. +# +#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: stimeout +# +# Specifies timeout (in seconds) on starting ctrl connection +# +# stimeout 10 + +# TAG: debug +# +# Turns on (more) debugging to syslog +# +#debug + +# TAG: bcrelay <if> +# +# Turns on broadcast relay to clients from interface <if> +# +#bcrelay eth1 + +# 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.1 +#remoteip 192.168.0.234-238,192.168.0.245 +# or +#localip 192.168.0.234-238,192.168.0.245 +#remoteip 192.168.1.234-238,192.168.1.245 diff --git a/net-dialup/pptpd/files/digest-pptpd-1.1.4_beta3 b/net-dialup/pptpd/files/digest-pptpd-1.1.4_beta3 new file mode 100644 index 000000000000..83cbd11e5063 --- /dev/null +++ b/net-dialup/pptpd/files/digest-pptpd-1.1.4_beta3 @@ -0,0 +1 @@ +MD5 4dd39d55beef23d4d3948a7df844bbbe pptpd-1.1.4-b3.tar.gz 169018 diff --git a/net-dialup/pptpd/files/pptpd-confd b/net-dialup/pptpd/files/pptpd-confd new file mode 100644 index 000000000000..1169e57f1c7c --- /dev/null +++ b/net-dialup/pptpd/files/pptpd-confd @@ -0,0 +1,5 @@ +# Config file for /etc/init.d/pptpd + +# Any extra options you want to pass to pptpd +# on start-up should be put here. +PPTPD_OPTS="" diff --git a/net-dialup/pptpd/files/pptpd-init b/net-dialup/pptpd/files/pptpd-init new file mode 100644 index 000000000000..09f69fb101d4 --- /dev/null +++ b/net-dialup/pptpd/files/pptpd-init @@ -0,0 +1,20 @@ +#!/sbin/runscript + +depend() { + net +} + +start() { + ebegin "Starting pptpd" + start-stop-daemon --start --quiet --exec /usr/sbin/pptpd -- ${PPTPD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping pptpd" + start-stop-daemon --stop --quiet --pidfile /var/run/pptpd.pid + result=$? + start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/pptpctrl + result=$(( $result + $? )) + eend $result +} |