wok-next annotate posixovl/receipt @ rev 18940
Up musl-libc (1.1.14) CVE-2015-1817
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 02 11:58:42 2016 +0100 (2016-03-02) |
parents | 51a1ebbda768 |
children | 3a6b97ad0a64 |
rev | line source |
---|---|
pascal@10913 | 1 # SliTaz package receipt. |
pascal@10913 | 2 |
pascal@10913 | 3 PACKAGE="posixovl" |
pascal@11987 | 4 VERSION="1.2" |
pascal@10913 | 5 CATEGORY="system-tools" |
al@17992 | 6 SHORT_DESC="FUSE file system that provides POSIX functionality" |
pascal@10913 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15375 | 8 LICENSE="GPL2" |
pascal@11987 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@10913 | 10 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@10913 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@17992 | 12 TAGS="filesystem" |
pascal@10913 | 13 |
pascal@10913 | 14 DEPENDS="fuse attr" |
pascal@10913 | 15 BUILD_DEPENDS="autoconf automake fuse-dev attr-dev" |
pascal@10913 | 16 |
pascal@10913 | 17 # Rules to configure and make the package. |
pascal@10913 | 18 compile_rules() |
pascal@10913 | 19 { |
al@17992 | 20 mv $PACKAGE $src 2>/dev/null |
pascal@10913 | 21 cd $src |
pascal@14245 | 22 grep -q 'else if (!S_ISREG' posixovl.c || |
pascal@14245 | 23 sed -i 's/if (!S_ISREG/if (S_ISLNK(cb->ll.mode))\n\t\tcb->sb.st_size = strlen(cb->ll.target);\n\telse &/' posixovl.c |
pascal@14245 | 24 sed -i 's/cb->ll.size/0/' posixovl.c |
pascal@10913 | 25 sh autogen.sh |
pascal@10913 | 26 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@10913 | 27 $CONFIGURE_ARGS && |
pascal@10913 | 28 make |
pascal@10913 | 29 } |
pascal@10913 | 30 |
al@17992 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17992 | 32 genpkg_rules() |
pascal@10913 | 33 { |
pascal@10913 | 34 mkdir -p $fs/usr/sbin |
pascal@10913 | 35 cp $src/mount.posixovl $fs/usr/sbin |
pascal@10913 | 36 } |