diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-protocols/pptp-linux | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-networking/recipes-protocols/pptp-linux')
3 files changed, 80 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/fix-parallel-build.patch b/meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/fix-parallel-build.patch new file mode 100644 index 0000000000..77722b064d --- /dev/null +++ b/meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/fix-parallel-build.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | pptp.c and version.c depend on config.h | ||
2 | |||
3 | Upstream-Status: Backport | ||
4 | |||
5 | Upstream has already similar fixes. Will be available on next release. | ||
6 | |||
7 | Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> | ||
8 | |||
9 | --- a/Makefile 2013-02-27 17:09:24.431226665 +0800 | ||
10 | +++ b/Makefile 2013-02-27 17:09:03.442075550 +0800 | ||
11 | @@ -43,6 +43,8 @@ | ||
12 | pptpsetup.8: pptpsetup | ||
13 | pod2man $? > $@ | ||
14 | |||
15 | +pptp.o version.o: config.h | ||
16 | + | ||
17 | config.h: | ||
18 | echo "/* text added by Makefile target config.h */" > config.h | ||
19 | echo "#define PPTP_LINUX_VERSION \"$(VERSION)$(RELEASE)\"" >> config.h | ||
diff --git a/meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/options.pptp b/meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/options.pptp new file mode 100644 index 0000000000..f446e22a6a --- /dev/null +++ b/meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.7.2/options.pptp | |||
@@ -0,0 +1,30 @@ | |||
1 | # | ||
2 | # Lock the port | ||
3 | # | ||
4 | lock | ||
5 | |||
6 | # | ||
7 | # We don't need the tunnel server to authenticate itself | ||
8 | # | ||
9 | noauth | ||
10 | |||
11 | # | ||
12 | # Turn off transmission protocols we know won't be used | ||
13 | # | ||
14 | nobsdcomp | ||
15 | nodeflate | ||
16 | |||
17 | # | ||
18 | # We want MPPE | ||
19 | # (option naming specific to ppp 2.4.0 with unofficial patch) | ||
20 | # | ||
21 | #mppe-40 | ||
22 | mppe-128 | ||
23 | #mppe-stateless | ||
24 | |||
25 | # | ||
26 | # We want a sane mtu/mru | ||
27 | # (ppp 2.4.0 with unofficial patch) | ||
28 | # | ||
29 | #mtu 1000 | ||
30 | #mru 1000 | ||
diff --git a/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.7.2.bb b/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.7.2.bb new file mode 100644 index 0000000000..6a90578bc6 --- /dev/null +++ b/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.7.2.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Client for Microsoft PPTP VPNs" | ||
2 | DESCRIPTION = "PPTP Client is a Linux, FreeBSD, NetBSD \ | ||
3 | and OpenBSD client for the proprietary Microsoft Point-to-Point \ | ||
4 | Tunneling Protocol, PPTP. Allows connection to a PPTP based \ | ||
5 | Virtual Private Network (VPN) as used by employers and some \ | ||
6 | cable and ADSL internet service providers." | ||
7 | HOMEPAGE = "http://pptpclient.sourceforge.net" | ||
8 | SECTION = "network" | ||
9 | LICENSE = "GPLv2+" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | ||
11 | |||
12 | PR = "r1" | ||
13 | |||
14 | SRC_URI = "${SOURCEFORGE_MIRROR}/sourceforge/pptpclient/pptp-${PV}.tar.gz \ | ||
15 | file://options.pptp \ | ||
16 | file://fix-parallel-build.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[md5sum] = "4c3d19286a37459a632c7128c92a9857" | ||
20 | SRC_URI[sha256sum] = "e98ae0065d2a39fa3131654ff28cb7070e996f668ed6d0e7d9a445b8d37694bc" | ||
21 | |||
22 | S = "${WORKDIR}/pptp-${PV}" | ||
23 | |||
24 | do_install() { | ||
25 | install -d ${D}${sbindir} ${D}${sysconfdir}/ppp ${D}${mandir}/man8 | ||
26 | install -m 555 pptp ${D}${sbindir} | ||
27 | install -m 644 pptp.8 ${D}${mandir}/man8 | ||
28 | install -m 644 ${WORKDIR}/options.pptp ${D}${sysconfdir}/ppp | ||
29 | } | ||
30 | |||
31 | RDEPENDS_${PN} = "ppp" | ||