blob: 3e6a01de87a124c2a3f8b9476bf511e6f8fb48c0 [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
Patrick Williams213cb262021-08-07 19:21:33 -050013SRC_URI:append:libc-musl = " file://Fix-build-with-musl.patch"
Brad Bishop6a62e0e2019-10-21 08:11:42 -040014
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
Patrick Williams213cb262021-08-07 19:21:33 -050025CONFFILES:${PN} = "${sysconfdir}/ifplugd/ifplugd.conf"
Brad Bishop6a62e0e2019-10-21 08:11:42 -040026
Patrick Williams213cb262021-08-07 19:21:33 -050027RDEPENDS:${PN} += "bash"