Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Mobile IPv6 and NEMO for Linux" |
| 2 | DESCRIPTION = "UMIP is an open source implementation of Mobile IPv6 and NEMO \ |
| 3 | Basic Support for Linux. It is released under the GPLv2 license. It supports \ |
| 4 | the following IETF RFC: RFC6275 (Mobile IPv6), RFC3963 (NEMO), RFC3776 and \ |
| 5 | RFC4877 (IPsec and IKEv2)." |
| 6 | HOMEPAGE = "http://umip.org/" |
| 7 | SECTION = "System Environment/Base" |
| 8 | LICENSE = "GPLv2" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=073dc31ccb2ebed70db54f1e8aeb4c33" |
| 10 | DEPENDS = "rpm indent-native" |
| 11 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 12 | SRC_URI = "git://git.umip.org/umip.git \ |
| 13 | file://add-dependency-to-support-parallel-compilation.patch \ |
| 14 | file://mip6d \ |
| 15 | file://mip6d.service \ |
| 16 | file://0001-Add-format-string-to-fprintf-call.patch \ |
| 17 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | SRCREV = "428974c2d0d8e75a2750a3ab0488708c5dfdd8e3" |
| 19 | |
| 20 | S = "${WORKDIR}/git" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 21 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 22 | EXTRA_OECONF = "--enable-vt" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 23 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 24 | inherit autotools-brokensep systemd update-rc.d |
| 25 | |
| 26 | INITSCRIPT_NAME = "mip6d" |
| 27 | INITSCRIPT_PARAMS = "start 64 . stop 36 0 1 2 3 4 5 6 ." |
| 28 | |
| 29 | SYSTEMD_SERVICE_${PN} = "mip6d.service" |
| 30 | SYSTEMD_AUTO_ENABLE = "disable" |
| 31 | |
| 32 | do_install_append() { |
| 33 | install -D -m 0755 ${WORKDIR}/mip6d ${D}${sysconfdir}/init.d/mip6d |
| 34 | install -D -m 0644 ${WORKDIR}/mip6d.service ${D}${systemd_system_unitdir}/mip6d.service |
| 35 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
| 36 | -e 's,@SBINDIR@,${sbindir},g' \ |
| 37 | ${D}${systemd_system_unitdir}/mip6d.service |
| 38 | } |
| 39 | |
| 40 | RRECOMMENDS_${PN} = "kernel-module-mip6 kernel-module-ipv6" |