wok view funionfs/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 9c8ba5b98eb9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="funionfs"
4 VERSION="0.4.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Union filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20191120030918/http://funionfs.apiou.org/"
11 WGET_URL="http://old-releases.ubuntu.com/ubuntu/pool/universe/f/funionfs/funionfs_$VERSION.orig.tar.gz"
12 TAGS="filesystem"
14 BUILD_DEPENDS="fuse2-dev"
15 DEPENDS="fuse2"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed '/orig/!d;s|.*funionfs_||;s|.orig.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 [ -f main.c.done ] || patch -p0 << EOT
29 --- main.c
30 +++ main.c
31 @@ -305 +305 @@
32 - if (res < 0)
33 + // if (res < 0)
34 EOT
35 touch main.c.done
36 ./configure --prefix=/usr --bindir=/bin \
37 --libexecdir=/usr/bin --mandir=/usr/share/man \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cp -a $install/bin $fs
47 }