diff options
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp_2.4.8.bb')
-rw-r--r-- | meta/recipes-connectivity/ppp/ppp_2.4.8.bb | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.8.bb b/meta/recipes-connectivity/ppp/ppp_2.4.8.bb deleted file mode 100644 index f9c60d6bad..0000000000 --- a/meta/recipes-connectivity/ppp/ppp_2.4.8.bb +++ /dev/null | |||
@@ -1,103 +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 openssl virtual/crypt" | ||
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 | |||
14 | SRC_URI = "https://download.samba.org/pub/${BPN}/${BP}.tar.gz \ | ||
15 | file://makefile.patch \ | ||
16 | file://pppd-resolv-varrun.patch \ | ||
17 | file://makefile-remove-hard-usr-reference.patch \ | ||
18 | file://pon \ | ||
19 | file://poff \ | ||
20 | file://init \ | ||
21 | file://ip-up \ | ||
22 | file://ip-down \ | ||
23 | file://08setupdns \ | ||
24 | file://92removedns \ | ||
25 | file://copts.patch \ | ||
26 | file://pap \ | ||
27 | file://ppp_on_boot \ | ||
28 | file://provider \ | ||
29 | file://ppp@.service \ | ||
30 | file://fix-CVE-2015-3310.patch \ | ||
31 | file://0001-ppp-Remove-unneeded-include.patch \ | ||
32 | file://0001-pppd-Fix-bounds-check-in-EAP-code.patch \ | ||
33 | " | ||
34 | |||
35 | SRC_URI_append_libc-musl = "\ | ||
36 | file://0001-Fix-build-with-musl.patch \ | ||
37 | " | ||
38 | SRC_URI[md5sum] = "2ca8342b9804be15103fd3f687af701c" | ||
39 | SRC_URI[sha256sum] = "f6bf89beae26b2943dff8f1003533d6a5a4909a0fa6edfbec44fe039bbe61bc6" | ||
40 | |||
41 | inherit autotools-brokensep systemd | ||
42 | |||
43 | TARGET_CC_ARCH += " ${LDFLAGS}" | ||
44 | EXTRA_OEMAKE = "STRIPPROG=${STRIP} MANDIR=${D}${datadir}/man/man8 INCDIR=${D}${includedir} LIBDIR=${D}${libdir}/pppd/${PV} BINDIR=${D}${sbindir}" | ||
45 | EXTRA_OECONF = "--disable-strip" | ||
46 | |||
47 | # Package Makefile computes CFLAGS, referencing COPTS. | ||
48 | # Typically hard-coded to '-O2 -g' in the Makefile's. | ||
49 | # | ||
50 | EXTRA_OEMAKE += ' COPTS="${CFLAGS} -I${STAGING_INCDIR}/openssl -I${S}/include"' | ||
51 | |||
52 | do_configure () { | ||
53 | oe_runconf | ||
54 | } | ||
55 | |||
56 | do_install_append () { | ||
57 | make install-etcppp ETCDIR=${D}/${sysconfdir}/ppp | ||
58 | mkdir -p ${D}${bindir}/ ${D}${sysconfdir}/init.d | ||
59 | mkdir -p ${D}${sysconfdir}/ppp/ip-up.d/ | ||
60 | mkdir -p ${D}${sysconfdir}/ppp/ip-down.d/ | ||
61 | install -m 0755 ${WORKDIR}/pon ${D}${bindir}/pon | ||
62 | install -m 0755 ${WORKDIR}/poff ${D}${bindir}/poff | ||
63 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ppp | ||
64 | install -m 0755 ${WORKDIR}/ip-up ${D}${sysconfdir}/ppp/ | ||
65 | install -m 0755 ${WORKDIR}/ip-down ${D}${sysconfdir}/ppp/ | ||
66 | install -m 0755 ${WORKDIR}/08setupdns ${D}${sysconfdir}/ppp/ip-up.d/ | ||
67 | install -m 0755 ${WORKDIR}/92removedns ${D}${sysconfdir}/ppp/ip-down.d/ | ||
68 | mkdir -p ${D}${sysconfdir}/chatscripts | ||
69 | mkdir -p ${D}${sysconfdir}/ppp/peers | ||
70 | install -m 0755 ${WORKDIR}/pap ${D}${sysconfdir}/chatscripts | ||
71 | install -m 0755 ${WORKDIR}/ppp_on_boot ${D}${sysconfdir}/ppp/ppp_on_boot | ||
72 | install -m 0755 ${WORKDIR}/provider ${D}${sysconfdir}/ppp/peers/provider | ||
73 | install -d ${D}${systemd_unitdir}/system | ||
74 | install -m 0644 ${WORKDIR}/ppp@.service ${D}${systemd_unitdir}/system | ||
75 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ | ||
76 | ${D}${systemd_unitdir}/system/ppp@.service | ||
77 | rm -rf ${D}/${mandir}/man8/man8 | ||
78 | chmod u+s ${D}${sbindir}/pppd | ||
79 | } | ||
80 | |||
81 | do_install_append_libc-musl () { | ||
82 | install -Dm 0644 ${S}/include/net/ppp_defs.h ${D}${includedir}/net/ppp_defs.h | ||
83 | } | ||
84 | |||
85 | CONFFILES_${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options" | ||
86 | PACKAGES =+ "${PN}-oa ${PN}-oe ${PN}-radius ${PN}-winbind ${PN}-minconn ${PN}-password ${PN}-l2tp ${PN}-tools" | ||
87 | FILES_${PN} = "${sysconfdir} ${bindir} ${sbindir}/chat ${sbindir}/pppd ${systemd_unitdir}/system/ppp@.service" | ||
88 | FILES_${PN}-oa = "${libdir}/pppd/${PV}/pppoatm.so" | ||
89 | FILES_${PN}-oe = "${sbindir}/pppoe-discovery ${libdir}/pppd/${PV}/rp-pppoe.so" | ||
90 | FILES_${PN}-radius = "${libdir}/pppd/${PV}/radius.so ${libdir}/pppd/${PV}/radattr.so ${libdir}/pppd/${PV}/radrealms.so" | ||
91 | FILES_${PN}-winbind = "${libdir}/pppd/${PV}/winbind.so" | ||
92 | FILES_${PN}-minconn = "${libdir}/pppd/${PV}/minconn.so" | ||
93 | FILES_${PN}-password = "${libdir}/pppd/${PV}/pass*.so" | ||
94 | FILES_${PN}-l2tp = "${libdir}/pppd/${PV}/*l2tp.so" | ||
95 | FILES_${PN}-tools = "${sbindir}/pppstats ${sbindir}/pppdump" | ||
96 | SUMMARY_${PN}-oa = "Plugin for PPP for PPP-over-ATM support" | ||
97 | SUMMARY_${PN}-oe = "Plugin for PPP for PPP-over-Ethernet support" | ||
98 | SUMMARY_${PN}-radius = "Plugin for PPP for RADIUS support" | ||
99 | SUMMARY_${PN}-winbind = "Plugin for PPP to authenticate against Samba or Windows" | ||
100 | SUMMARY_${PN}-minconn = "Plugin for PPP to set a delay before the idle timeout applies" | ||
101 | SUMMARY_${PN}-password = "Plugin for PPP to get passwords via a pipe" | ||
102 | SUMMARY_${PN}-l2tp = "Plugin for PPP for l2tp support" | ||
103 | SUMMARY_${PN}-tools = "Additional tools for the PPP package" | ||