| Submitter | Yauhen Kharuzhy |
|---|---|
| Date | Jan. 25, 2012, 10:56 a.m. |
| Message ID | <1327488979-28233-1-git-send-email-yauhen.kharuzhy@promwad.com> |
| Download | mbox | patch |
| Permalink | /patch/20131/ |
| State | Superseded |
| Headers | show |
Comments
On (25/01/12 13:56), Yauhen Kharuzhy wrote: > From: Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com> > > Recipe for this package has been taken from Openembedded-classic project. > > Signed-off-by: Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com> > --- > .../pptp-linux/pptp-linux-1.7.2/options.pptp | 30 ++++++++++++++++++++ > .../pptp-linux/pptp-linux_1.7.2.bb | 29 +++++++++++++++++++ > 2 files changed, 59 insertions(+), 0 deletions(-) > create mode 100644 meta/recipes-connectivity/pptp-linux/pptp-linux-1.7.2/options.pptp > create mode 100644 meta/recipes-connectivity/pptp-linux/pptp-linux_1.7.2.bb > > diff --git a/meta/recipes-connectivity/pptp-linux/pptp-linux-1.7.2/options.pptp b/meta/recipes-connectivity/pptp-linux/pptp-linux-1.7.2/options.pptp > new file mode 100644 > index 0000000..f446e22 > --- /dev/null > +++ b/meta/recipes-connectivity/pptp-linux/pptp-linux-1.7.2/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/meta/recipes-connectivity/pptp-linux/pptp-linux_1.7.2.bb b/meta/recipes-connectivity/pptp-linux/pptp-linux_1.7.2.bb > new file mode 100644 > index 0000000..c04426a > --- /dev/null > +++ b/meta/recipes-connectivity/pptp-linux/pptp-linux_1.7.2.bb > @@ -0,0 +1,29 @@ > +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" mention gpl version too > +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" > +RDEPENDS_${PN} = "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 > +} > + > +SRC_URI[md5sum] = "4c3d19286a37459a632c7128c92a9857" > +SRC_URI[sha256sum] = "e98ae0065d2a39fa3131654ff28cb7070e996f668ed6d0e7d9a445b8d37694bc" > -- > 1.7.6.4 > > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Patch
diff --git a/meta/recipes-connectivity/pptp-linux/pptp-linux-1.7.2/options.pptp b/meta/recipes-connectivity/pptp-linux/pptp-linux-1.7.2/options.pptp new file mode 100644 index 0000000..f446e22 --- /dev/null +++ b/meta/recipes-connectivity/pptp-linux/pptp-linux-1.7.2/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/meta/recipes-connectivity/pptp-linux/pptp-linux_1.7.2.bb b/meta/recipes-connectivity/pptp-linux/pptp-linux_1.7.2.bb new file mode 100644 index 0000000..c04426a --- /dev/null +++ b/meta/recipes-connectivity/pptp-linux/pptp-linux_1.7.2.bb @@ -0,0 +1,29 @@ +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" +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" +RDEPENDS_${PN} = "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 +} + +SRC_URI[md5sum] = "4c3d19286a37459a632c7128c92a9857" +SRC_URI[sha256sum] = "e98ae0065d2a39fa3131654ff28cb7070e996f668ed6d0e7d9a445b8d37694bc"