From f266b3db88e67044dbf244d9f6de5f2fa20c43af Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 14 Apr 2026 18:38:14 +0800 Subject: atftp: upgrade 0.8.0 -> 0.8.1 License-Update: update LICENSE from https://www.gnu.org/licenses/ Changelog: ============= - merge README* to single README.md - Merge pull request #2 from feckert/pr/20250902-build-fixes - Fix fortify abort when LTO is enabled - Fix uninitialized buffer data. - Enable listening on IPv6 - test.sh: redirect stderr to /dev/null when counting lines - Declare variable D as local in stop_and_clean - Fix pthread_t format warning for fprintf - Fix incompatible-pointer-types for pcre2_substring_list_free Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-daemons/atftp/atftp_0.8.0.bb | 54 ---------------------- .../recipes-daemons/atftp/atftp_0.8.1.bb | 54 ++++++++++++++++++++++ 2 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 meta-networking/recipes-daemons/atftp/atftp_0.8.0.bb create mode 100644 meta-networking/recipes-daemons/atftp/atftp_0.8.1.bb (limited to 'meta-networking') diff --git a/meta-networking/recipes-daemons/atftp/atftp_0.8.0.bb b/meta-networking/recipes-daemons/atftp/atftp_0.8.0.bb deleted file mode 100644 index 9db0aebccb..0000000000 --- a/meta-networking/recipes-daemons/atftp/atftp_0.8.0.bb +++ /dev/null @@ -1,54 +0,0 @@ -SUMMARY = "Advanced TFTP server and client" -SECTION = "net" -HOMEPAGE = "http://packages.debian.org/atftp" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f65159f73e603f89d6867d43191900e5" - -SRCREV = "d5c27eb7a9695d83569767e27ef69674173db39a" - -SRC_URI = "git://git.code.sf.net/p/atftp/code;branch=master;protocol=https \ - file://atftpd.init \ - file://atftpd.service \ -" - - -inherit autotools update-rc.d systemd - -PACKAGECONFIG ??= "" -PACKAGECONFIG[pcre] = "--enable-libpcre,--disable-libpcre,libpcre" -PACKAGECONFIG[readline] = "--enable-libreadline,--disable-libreadline,readline" - -INITSCRIPT_PACKAGES = "${PN}d" -INITSCRIPT_NAME:${PN}d = "atftpd" -INITSCRIPT_PARAMS:${PN}d = "defaults 80" - - -EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -std=gnu89'" - -do_install:append() { - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${UNPACKDIR}/atftpd.init ${D}${sysconfdir}/init.d/atftpd - - install -d ${D}/srv/tftp - - rm ${D}${sbindir}/in.tftpd - - install -d ${D}${systemd_unitdir}/system - install -m 0644 ${UNPACKDIR}/atftpd.service ${D}${systemd_unitdir}/system -} - -PACKAGES =+ "${PN}d" - -FILES:${PN} = "${bindir}/*" - -FILES:${PN}d = "${sbindir}/* \ - ${sysconfdir} \ - /srv/tftp \ - ${systemd_unitdir}/system/atftpd.service \ -" - -SYSTEMD_PACKAGES = "${PN}d" -SYSTEMD_SERVICE:${PN}d = "atftpd.service" -RPROVIDES:${PN}d += "${PN}d-systemd" -RREPLACES:${PN}d += "${PN}d-systemd" -RCONFLICTS:${PN}d += "${PN}d-systemd" diff --git a/meta-networking/recipes-daemons/atftp/atftp_0.8.1.bb b/meta-networking/recipes-daemons/atftp/atftp_0.8.1.bb new file mode 100644 index 0000000000..ecd55684f5 --- /dev/null +++ b/meta-networking/recipes-daemons/atftp/atftp_0.8.1.bb @@ -0,0 +1,54 @@ +SUMMARY = "Advanced TFTP server and client" +SECTION = "net" +HOMEPAGE = "http://packages.debian.org/atftp" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=570a9b3749dd0463a1778803b12a6dce" + +SRCREV = "7238b7b6753157d0c4ad739df3d87a958f78d70b" + +SRC_URI = "git://git.code.sf.net/p/atftp/code;branch=master;protocol=https \ + file://atftpd.init \ + file://atftpd.service \ +" + + +inherit autotools update-rc.d systemd + +PACKAGECONFIG ??= "" +PACKAGECONFIG[pcre] = "--enable-libpcre,--disable-libpcre,libpcre" +PACKAGECONFIG[readline] = "--enable-libreadline,--disable-libreadline,readline" + +INITSCRIPT_PACKAGES = "${PN}d" +INITSCRIPT_NAME:${PN}d = "atftpd" +INITSCRIPT_PARAMS:${PN}d = "defaults 80" + + +EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -std=gnu89'" + +do_install:append() { + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${UNPACKDIR}/atftpd.init ${D}${sysconfdir}/init.d/atftpd + + install -d ${D}/srv/tftp + + rm ${D}${sbindir}/in.tftpd + + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${UNPACKDIR}/atftpd.service ${D}${systemd_unitdir}/system +} + +PACKAGES =+ "${PN}d" + +FILES:${PN} = "${bindir}/*" + +FILES:${PN}d = "${sbindir}/* \ + ${sysconfdir} \ + /srv/tftp \ + ${systemd_unitdir}/system/atftpd.service \ +" + +SYSTEMD_PACKAGES = "${PN}d" +SYSTEMD_SERVICE:${PN}d = "atftpd.service" +RPROVIDES:${PN}d += "${PN}d-systemd" +RREPLACES:${PN}d += "${PN}d-systemd" +RCONFLICTS:${PN}d += "${PN}d-systemd" -- cgit v1.2.3-54-g00ecf