From 184d6ca477d677c82add38a2c49322fbf0908610 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 2 Feb 2023 13:28:52 -0600 Subject: Print mts-ubpasswd errors if all else is clean --- recipes-core/multitech/commissioning_1.0.1.bb | 44 --------------------------- recipes-core/multitech/commissioning_1.0.2.bb | 44 +++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 44 deletions(-) delete mode 100644 recipes-core/multitech/commissioning_1.0.1.bb create mode 100644 recipes-core/multitech/commissioning_1.0.2.bb (limited to 'recipes-core') diff --git a/recipes-core/multitech/commissioning_1.0.1.bb b/recipes-core/multitech/commissioning_1.0.1.bb deleted file mode 100644 index 6083cb1..0000000 --- a/recipes-core/multitech/commissioning_1.0.1.bb +++ /dev/null @@ -1,44 +0,0 @@ -inherit update-rc.d - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=593c81e8a2bd8b4c4e310d8792372b13" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -DEPENDS = "fcgi jsoncpp16 shadow" -RDEPENDS_${PN} += "jsoncpp16 lighttpd lighttpd-module-fastcgi lighttpd-module-openssl lighttpd-module-redirect bash openssl-bin" -RDEPENDS_${PN}-php-fpm += "php-fpm ${PN}" -PACKAGES =+ "${PN}-php-fpm" - -INITSCRIPT_PACKAGES = "${PN} ${PN}-php-fpm" -INITSCRIPT_NAME_${PN} = "commission " -INITSCRIPT_PARAMS_${PN} = "start 09 2 3 4 5 ." -INITSCRIPT_NAME_${PN}-php-fpm = "commission-php-fpm" -INITSCRIPT_PARAMS_${PN}-php-fpm = "start 09 2 3 4 5 ." - -PR = "r2" -SRCREV = "${PV}" - -FILES_${PN}-php-fpm = "/etc/init.d/commission-php-fpm" -FILES_${PN} += "/www/" - -SRC_URI = "git://git.multitech.net/cgit/commissioning.git;protocol=https;branch=master" - -S = "${WORKDIR}/git" -do_compile() { - oe_runmake all -} -do_install() { - - cp -a ${S}/${sysconfdir}/ ${D}/ - cp -a ${S}/www/ ${D}/ - cp -a ${S}/${prefix} ${D}/ - cp -a ${S}/usr/ ${D}/ - chmod 755 ${D}/usr/bin/* - chmod 755 ${D}/etc/init.d/* - chmod 755 ${D}/${libexecdir}/commission/* - chown -R root:root ${D}/ - - oe_runmake install DESTDIR=${D} - chmod 755 ${D}/usr/bin/commissioning.fcgi -} diff --git a/recipes-core/multitech/commissioning_1.0.2.bb b/recipes-core/multitech/commissioning_1.0.2.bb new file mode 100644 index 0000000..6083cb1 --- /dev/null +++ b/recipes-core/multitech/commissioning_1.0.2.bb @@ -0,0 +1,44 @@ +inherit update-rc.d + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=593c81e8a2bd8b4c4e310d8792372b13" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +DEPENDS = "fcgi jsoncpp16 shadow" +RDEPENDS_${PN} += "jsoncpp16 lighttpd lighttpd-module-fastcgi lighttpd-module-openssl lighttpd-module-redirect bash openssl-bin" +RDEPENDS_${PN}-php-fpm += "php-fpm ${PN}" +PACKAGES =+ "${PN}-php-fpm" + +INITSCRIPT_PACKAGES = "${PN} ${PN}-php-fpm" +INITSCRIPT_NAME_${PN} = "commission " +INITSCRIPT_PARAMS_${PN} = "start 09 2 3 4 5 ." +INITSCRIPT_NAME_${PN}-php-fpm = "commission-php-fpm" +INITSCRIPT_PARAMS_${PN}-php-fpm = "start 09 2 3 4 5 ." + +PR = "r2" +SRCREV = "${PV}" + +FILES_${PN}-php-fpm = "/etc/init.d/commission-php-fpm" +FILES_${PN} += "/www/" + +SRC_URI = "git://git.multitech.net/cgit/commissioning.git;protocol=https;branch=master" + +S = "${WORKDIR}/git" +do_compile() { + oe_runmake all +} +do_install() { + + cp -a ${S}/${sysconfdir}/ ${D}/ + cp -a ${S}/www/ ${D}/ + cp -a ${S}/${prefix} ${D}/ + cp -a ${S}/usr/ ${D}/ + chmod 755 ${D}/usr/bin/* + chmod 755 ${D}/etc/init.d/* + chmod 755 ${D}/${libexecdir}/commission/* + chown -R root:root ${D}/ + + oe_runmake install DESTDIR=${D} + chmod 755 ${D}/usr/bin/commissioning.fcgi +} -- cgit v1.2.3