Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "1-Wire file system" |
| 2 | DESCRIPTION = "OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim" |
| 3 | HOMEPAGE = "http://www.owfs.org/" |
| 4 | SECTION = "console/network" |
| 5 | |
| 6 | LICENSE = "GPLv2 & LGPLv2" |
Brad Bishop | 2d39a06 | 2019-10-28 08:33:36 -0400 | [diff] [blame] | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=628b867016631792781a8735a04760e5 \ |
| 8 | file://COPYING.LIB;md5=9021b7435efdd9fb22beef8291134099" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 9 | |
| 10 | DEPENDS = "fuse virtual/libusb0" |
Brad Bishop | 2d39a06 | 2019-10-28 08:33:36 -0400 | [diff] [blame] | 11 | # v3.2p3 |
| 12 | SRCREV = "3744375dfaa350e31c9b360eb1e1a517bbeb5c47" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | SRC_URI = "git://github.com/owfs/owfs \ |
Brad Bishop | 2d39a06 | 2019-10-28 08:33:36 -0400 | [diff] [blame] | 14 | file://0001-Add-build-rule-for-README.patch \ |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 15 | file://0001-Fix-compilation-with-GCC10.patch \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 16 | file://owhttpd \ |
| 17 | file://owserver \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 18 | " |
| 19 | |
| 20 | S = "${WORKDIR}/git" |
| 21 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 22 | inherit autotools-brokensep update-rc.d pkgconfig systemd |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | |
| 24 | EXTRA_OECONF = " \ |
| 25 | --with-fuseinclude=${STAGING_INCDIR} \ |
| 26 | --with-fuselib=${STAGING_LIBDIR} \ |
| 27 | --enable-owfs \ |
| 28 | --enable-owhttpd \ |
| 29 | --enable-w1 \ |
| 30 | --disable-swig \ |
| 31 | --disable-owtcl \ |
| 32 | --disable-owphp \ |
| 33 | --disable-owpython \ |
| 34 | --disable-owperl \ |
| 35 | " |
| 36 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 37 | do_install:prepend() { |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 38 | install -d ${D}${sysconfdir}/default/ |
| 39 | install -d ${D}${sysconfdir}/init.d/ |
| 40 | install -m 0755 ${WORKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd |
| 41 | install -m 0755 ${WORKDIR}/owserver ${D}${sysconfdir}/init.d/owserver |
| 42 | } |
| 43 | |
| 44 | PACKAGES =+ "owftpd owhttpd owserver owshell libowcapi libow libownet owmon owtap" |
| 45 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 46 | DESCRIPTION:owftpd = "Anoymous FTP server for 1-wire access" |
| 47 | DESCRIPTION:owhttpd = "Tiny webserver for 1-wire control" |
| 48 | DESCRIPTION:owserver = "Backend server (daemon) for 1-wire control" |
| 49 | DESCRIPTION:owshell = "owdir owread owwrite owpresent owget - lightweight owserver access" |
| 50 | DESCRIPTION:libowcapi = "easy C-language 1-wire interface " |
| 51 | DESCRIPTION:libow = "easy C-language 1-wire interface to the owserver protocol" |
| 52 | DESCRIPTION:libownet = "easy C-language 1-wire interface to the owserver protocol" |
| 53 | DESCRIPTION:owmon = "Monitor for owserver settings and statistics" |
| 54 | DESCRIPTION:owtap = "Packet sniffer for the owserver protocol" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 55 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 56 | FILES:owftpd = "${bindir}/owftpd ${systemd_system_unitdir}/owftpd.service" |
| 57 | FILES:owhttpd = "${bindir}/owhttpd ${sysconfdir}/init.d/owhttpd \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 58 | ${systemd_system_unitdir}/owhttpd.service" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 59 | FILES:owserver = "${bindir}/owserver ${sysconfdir}/init.d/owserver \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 60 | ${systemd_system_unitdir}/owserver.service \ |
| 61 | ${systemd_system_unitdir}/owserver.socket" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 62 | FILES:owshell = "${bindir}/owread ${bindir}/owwrite \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 63 | ${bindir}/owdir ${bindir}/owpresent \ |
| 64 | ${bindir}/owget ${bindir}/owside" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 65 | FILES:owmon = "${bindir}/owmon" |
| 66 | FILES:owtap = "${bindir}/owtap" |
| 67 | FILES:libowcapi = "${libdir}/libowcapi-*" |
| 68 | FILES:libow = "${libdir}/libow-*" |
| 69 | FILES:libownet = "${libdir}/libownet-*" |
| 70 | FILES:${PN} += "${systemd_system_unitdir}/owfs.service" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 71 | |
| 72 | INITSCRIPT_PACKAGES = "owhttpd owserver" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 73 | INITSCRIPT_NAME:owserver = "owserver" |
| 74 | INITSCRIPT_NAME:owhttpd = "owhttpd" |
| 75 | INITSCRIPT_PARAMS:owserver = "defaults 20" |
| 76 | INITSCRIPT_PARAMS:owhttpd = "defaults 21" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 77 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 78 | SYSTEMD_SERVICE:${PN} = "owfs.service" |
| 79 | SYSTEMD_SERVICE:${PN}-owftpd = "owftpd.service" |
| 80 | SYSTEMD_SERVICE:${PN}-owhttpd = "owhttpd.service" |
| 81 | SYSTEMD_SERVICE:${PN}-owserver = "owserver.service owserver.socket" |