summaryrefslogtreecommitdiff
path: root/packages/nonworking/pptp-linux
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/nonworking/pptp-linux
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/nonworking/pptp-linux')
-rw-r--r--packages/nonworking/pptp-linux/.mtn2git_empty0
-rw-r--r--packages/nonworking/pptp-linux/pptp-linux/.mtn2git_empty0
-rw-r--r--packages/nonworking/pptp-linux/pptp-linux/makefile.patch11
-rw-r--r--packages/nonworking/pptp-linux/pptp-linux/options.pptp30
-rw-r--r--packages/nonworking/pptp-linux/pptp-linux_1.5.0.bb33
5 files changed, 74 insertions, 0 deletions
diff --git a/packages/nonworking/pptp-linux/.mtn2git_empty b/packages/nonworking/pptp-linux/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/pptp-linux/.mtn2git_empty
diff --git a/packages/nonworking/pptp-linux/pptp-linux/.mtn2git_empty b/packages/nonworking/pptp-linux/pptp-linux/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/pptp-linux/pptp-linux/.mtn2git_empty
diff --git a/packages/nonworking/pptp-linux/pptp-linux/makefile.patch b/packages/nonworking/pptp-linux/pptp-linux/makefile.patch
index e69de29bb2..ea2b5711a2 100644
--- a/packages/nonworking/pptp-linux/pptp-linux/makefile.patch
+++ b/packages/nonworking/pptp-linux/pptp-linux/makefile.patch
@@ -0,0 +1,11 @@
+--- pptp-linux-1.5.0.orig/Makefile 2004-08-21 20:42:31.000000000 +0200
++++ pptp-linux-1.5.0/Makefile 2004-08-21 21:57:41.000000000 +0200
+@@ -10,7 +10,7 @@
+ BINDIR=$(DESTDIR)/usr/sbin
+ MANDIR=$(DESTDIR)/usr/share/man/man8
+
+-CC = gcc
++CC = $(CC)
+ RM = rm -f
+ OPTIMIZE= -O0
+ DEBUG = -g
diff --git a/packages/nonworking/pptp-linux/pptp-linux/options.pptp b/packages/nonworking/pptp-linux/pptp-linux/options.pptp
index e69de29bb2..f446e22a6a 100644
--- a/packages/nonworking/pptp-linux/pptp-linux/options.pptp
+++ b/packages/nonworking/pptp-linux/pptp-linux/options.pptp
@@ -0,0 +1,30 @@
+#
+# Lock the port
+#
+lock
+
+#
+# We don't need the tunnel server to authenticate itself
+#
+noauth
+
+#
+# Turn off transmission protocols we know won't be used
+#
+nobsdcomp
+nodeflate
+
+#
+# We want MPPE
+# (option naming specific to ppp 2.4.0 with unofficial patch)
+#
+#mppe-40
+mppe-128
+#mppe-stateless
+
+#
+# We want a sane mtu/mru
+# (ppp 2.4.0 with unofficial patch)
+#
+#mtu 1000
+#mru 1000
diff --git a/packages/nonworking/pptp-linux/pptp-linux_1.5.0.bb b/packages/nonworking/pptp-linux/pptp-linux_1.5.0.bb
index e69de29bb2..d98478d780 100644
--- a/packages/nonworking/pptp-linux/pptp-linux_1.5.0.bb
+++ b/packages/nonworking/pptp-linux/pptp-linux_1.5.0.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "PPTP Client is a Linux, FreeBSD, NetBSD\
+and OpenBSD client for the proprietary Microsoft Point-to-Point \
+Tunneling Protocol, PPTP. Allows connection to a PPTP based \
+Virtual Private Network (VPN) as used by employers and some \
+cable and ADSL internet service providers."
+LICENSE = "GPL"
+SECTION = "network"
+PRIORITY = "optional"
+DEPENDS = "ppp "
+
+inherit base
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/pptpclient/pptp-linux-1.5.0.tar.gz \
+ file://makefile.patch;patch=1 \
+ file://options.pptp"
+
+
+do_configure() {
+}
+
+do_compile() {
+ oe_runmake
+}
+
+do_install() {
+ install -d ${D}${sbindir}
+ install -d ${D}/etc/
+ install -d ${D}/etc/ppp/
+
+ install -m 0755 pptp ${D}${sbindir}/
+ install -m 0644 ${WORKDIR}/options.pptp ${D}/etc/ppp/
+
+}