diff options
Diffstat (limited to 'recipes-core/swupd-server/swupd-server_2.53.bb')
-rw-r--r-- | recipes-core/swupd-server/swupd-server_2.53.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-core/swupd-server/swupd-server_2.53.bb b/recipes-core/swupd-server/swupd-server_2.53.bb new file mode 100644 index 0000000..fdbd39b --- /dev/null +++ b/recipes-core/swupd-server/swupd-server_2.53.bb @@ -0,0 +1,33 @@ +SUMMARY = "swupd sofware update from Clear Linux - server component" +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=04d0b48662817042d80393e7511fa41b \ + file://bsdiff/LICENSE;md5=0dbe7a50f028269750631fcbded3846a" + +DEPENDS = "file xz glib-2.0 zlib bzip2 tar rsync openssl" + +SRC_URI = "\ + https://download.clearlinux.org/releases/5940/clear/source/SRPMS/${BPN}-${PV}-4.src.rpm;extract=${BP}.tar.gz \ + file://0001-Add-option-S-to-take-the-state-data-dir-as-an-argume.patch \ + file://0001-Add-system_argv-helper-for-safer-calls-to-system-uti.patch \ + file://0002-Add-configure-option-to-re-enable-config-files-in-ma.patch \ + file://0002-Fix-regression-that-introduced-a-directory-named.patch \ +" + +SRC_URI[md5sum] = "14f25677b5a4f0b33785910b03860939" +SRC_URI[sha256sum] = "c2d0e595444fe198c4092dd83d20a929fd1402a13b66b410b76677ed3a993d99" + +inherit autotools + +EXTRA_OECONF = "--enable-bzip2 --enable-lzma --disable-stateless" + +# safer-calls-to-system-utilities.patch uses for loop initial declaration +CFLAGS_append = " -std=c99" + +do_install_append () { + mkdir -p ${D}${sysconfdir}/swupd-certs + install -m 0755 ${S}/test/signature/* ${D}${sysconfdir}/swupd-certs/ +} + +RDEPENDS_${PN} = "tar rsync" + +BBCLASSEXTEND = "native" |