From 1b5bc95008195ef16aee5adef8e998ba6bb49b75 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sat, 15 Jan 2022 09:32:15 +0800 Subject: tree: upgrade 2.0.0 -> 2.0.1 Version 2.0.1 (01/03/2022) - Simplify Makefile and the following changes: prefix -> PREFIX, BINDIR -> DESTDIR, -O4 -> -O3, mode 644 for man page installation (Michal Vasilek) - Make patterns ending in '/' match directories (but not files) for -I / -P (Michiel Beijen) should also fix issues with --gitignore as well (Taylor Faubion) - Fix --gitignore not matching files relative to the path of the .gitignore (Taylor Faubion) I did say it was hacked together. - Refactored color.c a bit to simplify the code as a prelude to meta coloring. Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- meta-oe/recipes-support/tree/tree_2.0.0.bb | 20 -------------------- meta-oe/recipes-support/tree/tree_2.0.1.bb | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta-oe/recipes-support/tree/tree_2.0.0.bb create mode 100644 meta-oe/recipes-support/tree/tree_2.0.1.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/tree/tree_2.0.0.bb b/meta-oe/recipes-support/tree/tree_2.0.0.bb deleted file mode 100644 index 257adfb426..0000000000 --- a/meta-oe/recipes-support/tree/tree_2.0.0.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "A recursive directory listing command" -HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" -SECTION = "console/utils" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" - -SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/${BP}.tgz" -SRC_URI[sha256sum] = "782cd73179f65cfca7f29326f1511306e49e9b11d5b861daa57e13fd7262889f" - -# tree's default CFLAGS for Linux -CFLAGS += "-Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" - -EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'" - -do_configure[noexec] = "1" - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${S}/${BPN} ${D}${bindir}/ -} diff --git a/meta-oe/recipes-support/tree/tree_2.0.1.bb b/meta-oe/recipes-support/tree/tree_2.0.1.bb new file mode 100644 index 0000000000..9e1e787f10 --- /dev/null +++ b/meta-oe/recipes-support/tree/tree_2.0.1.bb @@ -0,0 +1,20 @@ +SUMMARY = "A recursive directory listing command" +HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" +SECTION = "console/utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" + +SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/${BP}.tgz" +SRC_URI[sha256sum] = "e3339c5a194cf6b4080f15ec59faa3679f02d5a793b2147912fbfcfb4cdf2239" + +# tree's default CFLAGS for Linux +CFLAGS += "-Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" + +EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'" + +do_configure[noexec] = "1" + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/${BPN} ${D}${bindir}/ +} -- cgit v1.2.3-54-g00ecf