wok-next annotate id3lib/receipt @ rev 9544
tiff: Patched overflows that could lead to aribitrary code execution when parsing a malformed image file. Thanks slackware for having this.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Apr 09 07:21:58 2011 +0000 (2011-04-09) |
parents | 8d3f3ded1725 |
children | d1768332cee0 |
rev | line source |
---|---|
pankso@293 | 1 # SliTaz package receipt. |
pankso@293 | 2 |
pankso@293 | 3 PACKAGE="id3lib" |
pankso@293 | 4 VERSION="3.8.3" |
pankso@293 | 5 CATEGORY="multimedia" |
pankso@293 | 6 SHORT_DESC="Library to manipulate ID3v1 and ID3v2 tags." |
pankso@293 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@293 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5002 | 9 DEPENDS="zlib gcc-lib-base" |
pascal@1447 | 10 BUILD_DEPENDS="zlib-dev" |
pankso@293 | 11 WEB_SITE="http://id3lib.sourceforge.net/" |
pankso@293 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@293 | 13 |
pankso@293 | 14 # Rules to configure and make the package. |
pankso@293 | 15 compile_rules() |
pankso@293 | 16 { |
pankso@293 | 17 cd $src |
gokhlayeh@8615 | 18 patch -p1 -i ../stuff/id3lib-$VERSION-gcc-4.4.patch || return 1 |
pankso@293 | 19 ./configure \ |
pankso@293 | 20 --prefix=/usr \ |
pascal@1447 | 21 $CONFIGURE_ARGS && |
pascal@1447 | 22 make && |
pankso@293 | 23 make DESTDIR=$PWD/_pkg install |
pankso@293 | 24 } |
pankso@293 | 25 |
pankso@293 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@293 | 27 genpkg_rules() |
pankso@293 | 28 { |
pankso@293 | 29 mkdir -p $fs/usr/lib |
pankso@293 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@293 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@293 | 32 } |
pankso@293 | 33 |