diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-10-07 10:45:37 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-10-07 11:30:32 -0700 |
commit | 4a26ee3d7e77a6794ce27778c9b1eb98186faddc (patch) | |
tree | f462619ebd36781b1b3571540cae94bc227ec327 /recipes/gzip/gzip_1.3.13.bb | |
parent | 74e1d02aab90d7ebac0f348fe88d3b63ab8ca17b (diff) | |
download | openembedded-4a26ee3d7e77a6794ce27778c9b1eb98186faddc.tar.gz |
gzip: update to 1.4, add native
- CVE-2010-0001 affects gzip < 1.4, so updated to 1.4. Also removed prior
version, as no distributions appeared to pin it.
- Added BBCLASSEXTEND="native"
- Added myself as the maintainer in MAINTAINERS
- Move all binaries into /bin, not just the 3 we use with update-alternatives.
- Simplify the recipe, run oe-stylize + tweaks
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'recipes/gzip/gzip_1.3.13.bb')
-rw-r--r-- | recipes/gzip/gzip_1.3.13.bb | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/recipes/gzip/gzip_1.3.13.bb b/recipes/gzip/gzip_1.3.13.bb deleted file mode 100644 index a4dadea5e2..0000000000 --- a/recipes/gzip/gzip_1.3.13.bb +++ /dev/null @@ -1,38 +0,0 @@ -LICENSE = "GPL" -SECTION = "console/utils" -PRIORITY = "required" -DESCRIPTION = "gzip (GNU zip) is a compression utility designed \ -to be a replacement for 'compress'. The GNU Project uses it as \ -the standard compression program for its system." -PR = "r1" - -SRC_URI = "${GNU_MIRROR}/gzip/gzip-${PV}.tar.gz;name=src \ - file://configure.patch" -SRC_URI[src.md5sum] = "c54a31b93e865f6a4410b2dc64662706" -SRC_URI[src.sha256sum] = "1d06ff9f5c523651bed3dcde6e6aa8118eee48b22534a157a2588705fa517ca3" - -S = "${WORKDIR}/gzip-${PV}" - -inherit autotools - -do_install () { - autotools_do_install - # Rename and move files into /bin (FHS) - install -d ${D}${base_bindir} - mv ${D}${bindir}/gunzip ${D}${base_bindir}/gunzip.${PN} - mv ${D}${bindir}/gzip ${D}${base_bindir}/gzip.${PN} - mv ${D}${bindir}/zcat ${D}${base_bindir}/zcat.${PN} -} - -pkg_postinst_${PN} () { - update-alternatives --install ${base_bindir}/gunzip gunzip gunzip.${PN} 100 - update-alternatives --install ${base_bindir}/gzip gzip gzip.${PN} 100 - update-alternatives --install ${base_bindir}/zcat zcat zcat.${PN} 100 -} - -pkg_prerm_${PN} () { - update-alternatives --remove gunzip gunzip.${PN} - update-alternatives --remove gzip gzip.${PN} - update-alternatives --remove zcat zcat.${PN} -} - |