From 9f336e07df7e273c55f0c7a451604a3500b4c6ab Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Sun, 21 Dec 2014 21:28:23 -0800 Subject: file: upgrade to 5.21 * Upgrade to 5.21. * The debian-742262.patch is still needed. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- .../recipes-devtools/file/file/debian-742262.patch | 4 +-- meta/recipes-devtools/file/file_5.18.bb | 35 ---------------------- meta/recipes-devtools/file/file_5.21.bb | 35 ++++++++++++++++++++++ 3 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 meta/recipes-devtools/file/file_5.18.bb create mode 100644 meta/recipes-devtools/file/file_5.21.bb diff --git a/meta/recipes-devtools/file/file/debian-742262.patch b/meta/recipes-devtools/file/file/debian-742262.patch index d57258c56b..1ef485e93c 100644 --- a/meta/recipes-devtools/file/file/debian-742262.patch +++ b/meta/recipes-devtools/file/file/debian-742262.patch @@ -9,10 +9,10 @@ Signed-off-by: Robert Yang diff --git a/magic/Magdir/commands b/magic/Magdir/commands --- a/magic/Magdir/commands +++ b/magic/Magdir/commands -@@ -50,6 +50,7 @@ +@@ -57,6 +57,7 @@ 0 string/wt #!\ /usr/bin/awk awk script text executable !:mime text/x-awk - 0 regex =^\\s{0,100}BEGIN\\s{0,100}[{] awk script text + 0 regex/4096 =^\\s{0,100}BEGIN\\s{0,100}[{] awk or perl script text +!:strength - 12 # AT&T Bell Labs' Plan 9 shell diff --git a/meta/recipes-devtools/file/file_5.18.bb b/meta/recipes-devtools/file/file_5.18.bb deleted file mode 100644 index 9068b9314a..0000000000 --- a/meta/recipes-devtools/file/file_5.18.bb +++ /dev/null @@ -1,35 +0,0 @@ -SUMMARY = "File classification tool" -DESCRIPTION = "File attempts to classify files depending \ -on their contents and prints a description if a match is found." -HOMEPAGE = "http://www.darwinsys.com/file/" -SECTION = "console/utils" - -# two clause BSD -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=6a7382872edb68d33e1a9398b6e03188" - -DEPENDS = "zlib file-native" -DEPENDS_class-native = "zlib-native" - -SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \ - file://debian-742262.patch \ - " - -SRC_URI[md5sum] = "d420d8f2990cd344673acfbf8d76ff5a" -SRC_URI[sha256sum] = "6519fb706d583231c2419592ebecdbb21d33c62eaf7a1a0b24ddfcb80c08bf07" - -inherit autotools - -FILES_${PN} += "${datadir}/misc/*.mgc" - -do_install_append_class-native() { - create_cmdline_wrapper ${D}/${bindir}/file \ - --magic-file ${datadir}/misc/magic.mgc -} - -do_install_append_class-nativesdk() { - create_cmdline_wrapper ${D}/${bindir}/file \ - --magic-file ${datadir}/misc/magic.mgc -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/file/file_5.21.bb b/meta/recipes-devtools/file/file_5.21.bb new file mode 100644 index 0000000000..702ea87343 --- /dev/null +++ b/meta/recipes-devtools/file/file_5.21.bb @@ -0,0 +1,35 @@ +SUMMARY = "File classification tool" +DESCRIPTION = "File attempts to classify files depending \ +on their contents and prints a description if a match is found." +HOMEPAGE = "http://www.darwinsys.com/file/" +SECTION = "console/utils" + +# two clause BSD +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=6a7382872edb68d33e1a9398b6e03188" + +DEPENDS = "zlib file-native" +DEPENDS_class-native = "zlib-native" + +SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \ + file://debian-742262.patch \ + " + +SRC_URI[md5sum] = "549fe96e09041eabece9de2bb28ef923" +SRC_URI[sha256sum] = "1a48741d3923c4cc73267109b8a396c0ce3aebe004181f3efb1b0a228d230bb6" + +inherit autotools + +FILES_${PN} += "${datadir}/misc/*.mgc" + +do_install_append_class-native() { + create_cmdline_wrapper ${D}/${bindir}/file \ + --magic-file ${datadir}/misc/magic.mgc +} + +do_install_append_class-nativesdk() { + create_cmdline_wrapper ${D}/${bindir}/file \ + --magic-file ${datadir}/misc/magic.mgc +} + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg