summaryrefslogtreecommitdiff
path: root/recipes/pptp-linux
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/pptp-linux
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/pptp-linux')
-rw-r--r--recipes/pptp-linux/pptp-linux-1.5.0/makefile.patch11
-rw-r--r--recipes/pptp-linux/pptp-linux-1.5.0/options.pptp30
-rw-r--r--recipes/pptp-linux/pptp-linux-1.7.1/options.pptp30
-rw-r--r--recipes/pptp-linux/pptp-linux_1.5.0.bb33
-rw-r--r--recipes/pptp-linux/pptp-linux_1.7.1.bb25
5 files changed, 129 insertions, 0 deletions
diff --git a/recipes/pptp-linux/pptp-linux-1.5.0/makefile.patch b/recipes/pptp-linux/pptp-linux-1.5.0/makefile.patch
new file mode 100644
index 0000000000..ea2b5711a2
--- /dev/null
+++ b/recipes/pptp-linux/pptp-linux-1.5.0/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/recipes/pptp-linux/pptp-linux-1.5.0/options.pptp b/recipes/pptp-linux/pptp-linux-1.5.0/options.pptp
new file mode 100644
index 0000000000..f446e22a6a
--- /dev/null
+++ b/recipes/pptp-linux/pptp-linux-1.5.0/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/recipes/pptp-linux/pptp-linux-1.7.1/options.pptp b/recipes/pptp-linux/pptp-linux-1.7.1/options.pptp
new file mode 100644
index 0000000000..f446e22a6a
--- /dev/null
+++ b/recipes/pptp-linux/pptp-linux-1.7.1/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/recipes/pptp-linux/pptp-linux_1.5.0.bb b/recipes/pptp-linux/pptp-linux_1.5.0.bb
new file mode 100644
index 0000000000..68551443fa
--- /dev/null
+++ b/recipes/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/
+
+}
diff --git a/recipes/pptp-linux/pptp-linux_1.7.1.bb b/recipes/pptp-linux/pptp-linux_1.7.1.bb
new file mode 100644
index 0000000000..b233cef723
--- /dev/null
+++ b/recipes/pptp-linux/pptp-linux_1.7.1.bb
@@ -0,0 +1,25 @@
+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."
+HOMEPAGE = "http://pptpclient.sourceforge.net"
+SECTION = "network"
+LICENSE = "GPL"
+RDEPENDS = "ppp"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/sourceforge/pptpclient/pptp-${PV}.tar.gz \
+ file://options.pptp"
+
+S = "${WORKDIR}/pptp-${PV}"
+
+do_compile() {
+ oe_runmake
+}
+do_install() {
+ install -d ${D}${sbindir} ${D}${sysconfdir}/ppp ${D}${mandir}/man8
+ install -m 555 pptp ${D}${sbindir}
+ install -m 644 pptp.8 ${D}${mandir}/man8
+ install -m 644 ${WORKDIR}/options.pptp ${D}${sysconfdir}/ppp
+}