Brad Bishop | 6a62e0e | 2019-10-21 08:11:42 -0400 | [diff] [blame] | 1 | DESCRIPTION = "ifplugd is a Linux daemon which will automatically configure your ethernet device \ |
| 2 | when a cable is plugged in and automatically unconfigure it if the cable is pulled." |
| 3 | HOMEPAGE = "http://0pointer.de/lennart/projects/ifplugd/" |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 6 | |
| 7 | DEPENDS = "libdaemon" |
| 8 | |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 9 | SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz \ |
| 10 | file://0001-src-interface.h-Make-declarations-as-extern.patch \ |
| 11 | " |
Brad Bishop | 6a62e0e | 2019-10-21 08:11:42 -0400 | [diff] [blame] | 12 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 13 | SRC_URI:append:libc-musl = " file://Fix-build-with-musl.patch" |
Brad Bishop | 6a62e0e | 2019-10-21 08:11:42 -0400 | [diff] [blame] | 14 | |
| 15 | SRC_URI[md5sum] = "df6f4bab52f46ffd6eb1f5912d4ccee3" |
| 16 | SRC_URI[sha256sum] = "474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0" |
| 17 | |
| 18 | inherit autotools update-rc.d pkgconfig |
| 19 | |
| 20 | EXTRA_OECONF = "--disable-lynx --with-initdir=${sysconfdir}/init.d" |
| 21 | |
| 22 | INITSCRIPT_NAME = "ifplugd" |
| 23 | INITSCRIPT_PARAMS = "defaults" |
| 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | CONFFILES:${PN} = "${sysconfdir}/ifplugd/ifplugd.conf" |
Brad Bishop | 6a62e0e | 2019-10-21 08:11:42 -0400 | [diff] [blame] | 26 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | RDEPENDS:${PN} += "bash" |