blob: 7dc83e85f7f93b7a246e4b1ae4ba2afe8e879674 [file] [log] [blame]
Brad Bishop6a62e0e2019-10-21 08:11:42 -04001DESCRIPTION = "ifplugd is a Linux daemon which will automatically configure your ethernet device \
2when a cable is plugged in and automatically unconfigure it if the cable is pulled."
3HOMEPAGE = "http://0pointer.de/lennart/projects/ifplugd/"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
6
7DEPENDS = "libdaemon"
8
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05009SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz \
10 file://0001-src-interface.h-Make-declarations-as-extern.patch \
11 "
Brad Bishop6a62e0e2019-10-21 08:11:42 -040012
13SRC_URI_append_libc-musl = " file://Fix-build-with-musl.patch"
14
15SRC_URI[md5sum] = "df6f4bab52f46ffd6eb1f5912d4ccee3"
16SRC_URI[sha256sum] = "474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0"
17
18inherit autotools update-rc.d pkgconfig
19
20EXTRA_OECONF = "--disable-lynx --with-initdir=${sysconfdir}/init.d"
21
22INITSCRIPT_NAME = "ifplugd"
23INITSCRIPT_PARAMS = "defaults"
24
25CONFFILES_${PN} = "${sysconfdir}/ifplugd/ifplugd.conf"
26
27RDEPENDS_${PN} += "bash"