summaryrefslogtreecommitdiff
path: root/packages/pptp-linux
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pptp-linux')
-rw-r--r--packages/pptp-linux/.mtn2git_empty0
-rw-r--r--packages/pptp-linux/pptp-linux/.mtn2git_empty0
-rw-r--r--packages/pptp-linux/pptp-linux/makefile.patch11
-rw-r--r--packages/pptp-linux/pptp-linux/options.pptp30
-rw-r--r--packages/pptp-linux/pptp-linux_1.5.0.bb33
5 files changed, 74 insertions, 0 deletions
diff --git a/packages/pptp-linux/.mtn2git_empty b/packages/pptp-linux/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pptp-linux/.mtn2git_empty
diff --git a/packages/pptp-linux/pptp-linux/.mtn2git_empty b/packages/pptp-linux/pptp-linux/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pptp-linux/pptp-linux/.mtn2git_empty
diff --git a/packages/pptp-linux/pptp-linux/makefile.patch b/packages/pptp-linux/pptp-linux/makefile.patch
new file mode 100644
index 0000000000..ea2b5711a2
--- /dev/null
+++ b/packages/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/pptp-linux/pptp-linux/options.pptp b/packages/pptp-linux/pptp-linux/options.pptp
new file mode 100644
index 0000000000..f446e22a6a
--- /dev/null
+++ b/packages/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/pptp-linux/pptp-linux_1.5.0.bb b/packages/pptp-linux/pptp-linux_1.5.0.bb
new file mode 100644
index 0000000000..d98478d780
--- /dev/null
+++ b/packages/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/
+
+}