diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-03-03 16:27:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-05 15:50:21 +0000 |
commit | 3bd5c238bc17a41b8f5986865b44693d2e4492bf (patch) | |
tree | a8ad7572b9d7b8e982ddefcd686f90b81c82a622 /meta/recipes-connectivity/ppp/ppp_2.4.5.bb | |
parent | 5da3ba5457aa6c445d61bac10be37f2aa1548a28 (diff) | |
download | poky-3bd5c238bc17a41b8f5986865b44693d2e4492bf.tar.gz |
ppp: upgrade to 2.4.6
(From OE-Core rev: d05b1d06b5b8b84c2a40639ad28e31cd683f89a4)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp_2.4.5.bb')
-rw-r--r-- | meta/recipes-connectivity/ppp/ppp_2.4.5.bb | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.5.bb b/meta/recipes-connectivity/ppp/ppp_2.4.5.bb deleted file mode 100644 index 15ee3ff597..0000000000 --- a/meta/recipes-connectivity/ppp/ppp_2.4.5.bb +++ /dev/null | |||
@@ -1,91 +0,0 @@ | |||
1 | SUMMARY = "Point-to-Point Protocol (PPP) support" | ||
2 | DESCRIPTION = "ppp (Paul's PPP Package) is an open source package which implements \ | ||
3 | the Point-to-Point Protocol (PPP) on Linux and Solaris systems." | ||
4 | SECTION = "console/network" | ||
5 | HOMEPAGE = "http://samba.org/ppp/" | ||
6 | BUGTRACKER = "http://ppp.samba.org/cgi-bin/ppp-bugs" | ||
7 | DEPENDS = "libpcap" | ||
8 | LICENSE = "BSD & GPLv2+ & LGPLv2+ & PD" | ||
9 | LIC_FILES_CHKSUM = "file://pppd/ccp.c;beginline=1;endline=29;md5=e2c43fe6e81ff77d87dc9c290a424dea \ | ||
10 | file://pppd/plugins/passprompt.c;beginline=1;endline=10;md5=3bcbcdbf0e369c9a3e0b8c8275b065d8 \ | ||
11 | file://pppd/tdb.c;beginline=1;endline=27;md5=4ca3a9991b011038d085d6675ae7c4e6 \ | ||
12 | file://chat/chat.c;beginline=1;endline=15;md5=0d374b8545ee5c62d7aff1acbd38add2" | ||
13 | PR = "r6" | ||
14 | |||
15 | SRC_URI = "http://ppp.samba.org/ftp/ppp/ppp-${PV}.tar.gz \ | ||
16 | file://makefile.patch \ | ||
17 | file://cifdefroute.patch \ | ||
18 | file://pppd-resolv-varrun.patch \ | ||
19 | file://enable-ipv6.patch \ | ||
20 | file://makefile-remove-hard-usr-reference.patch \ | ||
21 | file://update_if_pppol2tp.patch \ | ||
22 | file://pon \ | ||
23 | file://poff \ | ||
24 | file://init \ | ||
25 | file://ip-up \ | ||
26 | file://ip-down \ | ||
27 | file://08setupdns \ | ||
28 | file://92removedns \ | ||
29 | file://copts.patch \ | ||
30 | file://pap \ | ||
31 | file://ppp_on_boot \ | ||
32 | file://provider \ | ||
33 | file://0001-ppp-Add-two-structures-in-if_pppol2tp.h.patch \ | ||
34 | file://0001-ppp-Fix-compilation-errors-in-Makefile.patch \ | ||
35 | " | ||
36 | |||
37 | SRC_URI[md5sum] = "4621bc56167b6953ec4071043fe0ec57" | ||
38 | SRC_URI[sha256sum] = "43317afec9299f9920b96f840414c977f0385410202d48e56d2fdb8230003505" | ||
39 | |||
40 | inherit autotools-brokensep | ||
41 | |||
42 | TARGET_CC_ARCH += " ${LDFLAGS}" | ||
43 | EXTRA_OEMAKE = "STRIPPROG=${STRIP} MANDIR=${D}${datadir}/man/man8 INCDIR=${D}${includedir} LIBDIR=${D}${libdir}/pppd/${PV} BINDIR=${D}${sbindir}" | ||
44 | EXTRA_OECONF = "--disable-strip" | ||
45 | |||
46 | # Package Makefile computes CFLAGS, referencing COPTS. | ||
47 | # Typically hard-coded to '-O2 -g' in the Makefile's. | ||
48 | # | ||
49 | EXTRA_OEMAKE += ' COPTS="${CFLAGS}"' | ||
50 | |||
51 | do_install_append () { | ||
52 | make install-etcppp ETCDIR=${D}/${sysconfdir}/ppp | ||
53 | mkdir -p ${D}${bindir}/ ${D}${sysconfdir}/init.d | ||
54 | mkdir -p ${D}${sysconfdir}/ppp/ip-up.d/ | ||
55 | mkdir -p ${D}${sysconfdir}/ppp/ip-down.d/ | ||
56 | install -m 0755 ${WORKDIR}/pon ${D}${bindir}/pon | ||
57 | install -m 0755 ${WORKDIR}/poff ${D}${bindir}/poff | ||
58 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ppp | ||
59 | install -m 0755 ${WORKDIR}/ip-up ${D}${sysconfdir}/ppp/ | ||
60 | install -m 0755 ${WORKDIR}/ip-down ${D}${sysconfdir}/ppp/ | ||
61 | install -m 0755 ${WORKDIR}/08setupdns ${D}${sysconfdir}/ppp/ip-up.d/ | ||
62 | install -m 0755 ${WORKDIR}/92removedns ${D}${sysconfdir}/ppp/ip-down.d/ | ||
63 | mkdir -p ${D}${sysconfdir}/chatscripts | ||
64 | mkdir -p ${D}${sysconfdir}/ppp/peers | ||
65 | install -m 0755 ${WORKDIR}/pap ${D}${sysconfdir}/chatscripts | ||
66 | install -m 0755 ${WORKDIR}/ppp_on_boot ${D}${sysconfdir}/ppp/ppp_on_boot | ||
67 | install -m 0755 ${WORKDIR}/provider ${D}${sysconfdir}/ppp/peers/provider | ||
68 | rm -rf ${D}/${mandir}/man8/man8 | ||
69 | chmod u+s ${D}${sbindir}/pppd | ||
70 | } | ||
71 | |||
72 | CONFFILES_${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options" | ||
73 | PACKAGES =+ "${PN}-oa ${PN}-oe ${PN}-radius ${PN}-winbind ${PN}-minconn ${PN}-password ${PN}-l2tp ${PN}-tools" | ||
74 | FILES_${PN} = "${sysconfdir} ${bindir} ${sbindir}/chat ${sbindir}/pppd" | ||
75 | FILES_${PN}-dbg += "${libdir}/pppd/${PV}/.debug" | ||
76 | FILES_${PN}-oa = "${libdir}/pppd/${PV}/pppoatm.so" | ||
77 | FILES_${PN}-oe = "${sbindir}/pppoe-discovery ${libdir}/pppd/${PV}/rp-pppoe.so" | ||
78 | FILES_${PN}-radius = "${libdir}/pppd/${PV}/radius.so ${libdir}/pppd/${PV}/radattr.so ${libdir}/pppd/${PV}/radrealms.so" | ||
79 | FILES_${PN}-winbind = "${libdir}/pppd/${PV}/winbind.so" | ||
80 | FILES_${PN}-minconn = "${libdir}/pppd/${PV}/minconn.so" | ||
81 | FILES_${PN}-password = "${libdir}/pppd/${PV}/pass*.so" | ||
82 | FILES_${PN}-l2tp = "${libdir}/pppd/${PV}/*l2tp.so" | ||
83 | FILES_${PN}-tools = "${sbindir}/pppstats ${sbindir}/pppdump" | ||
84 | SUMMARY_${PN}-oa = "Plugin for PPP for PPP-over-ATM support" | ||
85 | SUMMARY_${PN}-oe = "Plugin for PPP for PPP-over-Ethernet support" | ||
86 | SUMMARY_${PN}-radius = "Plugin for PPP for RADIUS support" | ||
87 | SUMMARY_${PN}-winbind = "Plugin for PPP to authenticate against Samba or Windows" | ||
88 | SUMMARY_${PN}-minconn = "Plugin for PPP to set a delay before the idle timeout applies" | ||
89 | SUMMARY_${PN}-password = "Plugin for PPP to get passwords via a pipe" | ||
90 | SUMMARY_${PN}-l2tp = "Plugin for PPP for l2tp support" | ||
91 | SUMMARY_${PN}-tools = "Additional tools for the PPP package" | ||