diff options
Diffstat (limited to 'recipes/pptp-linux')
-rw-r--r-- | recipes/pptp-linux/pptp-linux-1.5.0/makefile.patch | 11 | ||||
-rw-r--r-- | recipes/pptp-linux/pptp-linux-1.5.0/options.pptp | 30 | ||||
-rw-r--r-- | recipes/pptp-linux/pptp-linux-1.7.1/options.pptp | 30 | ||||
-rw-r--r-- | recipes/pptp-linux/pptp-linux_1.5.0.bb | 33 | ||||
-rw-r--r-- | recipes/pptp-linux/pptp-linux_1.7.1.bb | 25 |
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 +} |