diff options
author | Qing He <qing.he@intel.com> | 2010-07-08 13:46:40 +0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-07-08 21:10:59 -0700 |
commit | 62136a869a56d4ad2b61fec2b8bbd23626433056 (patch) | |
tree | a97e878e8af65f9d231dd93b4bcbb24921fd9cea /meta/packages/findutils/findutils_4.2.31.bb | |
parent | 90ceeff2587c932f9d998ccf05f01c01300f3268 (diff) | |
download | poky-62136a869a56d4ad2b61fec2b8bbd23626433056.tar.gz |
findutils: upgrade to version 4.2.31 and 4.4.2
from 4.2.29
4.2.31 is the last known GPL2 version
changes for 4.4:
- pulled upstream patch to fix bug #27017, #28824 and #28872
- using a workaround to address bug #27299, this was fixed in
development branch 4.5.3 by using a new version of gnulib.
however, upgrading gnulib needs too much effort here.
changes for 4.2:
- 4.2.31's gnulib/m4/extension.m4 won't work with autoconf 2.65,
fix it by removing gnulib's AC_USE_SYSTEM_EXTENSIONS
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/findutils/findutils_4.2.31.bb')
-rw-r--r-- | meta/packages/findutils/findutils_4.2.31.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/packages/findutils/findutils_4.2.31.bb b/meta/packages/findutils/findutils_4.2.31.bb new file mode 100644 index 0000000000..3f4fc534cc --- /dev/null +++ b/meta/packages/findutils/findutils_4.2.31.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | require findutils.inc | ||
2 | |||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
5 | PR = "r0" | ||
6 | |||
7 | SRC_URI += "file://mkdir.patch \ | ||
8 | file://gnulib-extension.patch" | ||
9 | |||
10 | do_install_append () { | ||
11 | if [ -e ${D}${bindir}/find ]; then | ||
12 | mv ${D}${bindir}/find ${D}${bindir}/find.${PN} | ||
13 | mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN} | ||
14 | fi | ||
15 | } | ||
16 | |||
17 | pkg_postinst_${PN} () { | ||
18 | for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done | ||
19 | } | ||
20 | |||
21 | pkg_prerm_${PN} () { | ||
22 | for i in find xargs; do update-alternatives --remove $i $i.${PN}; done | ||
23 | } | ||
24 | |||
25 | BBCLASSEXTEND = "native" | ||