wok-next rev 20400

fuse -> fuse2; add fuse3, fuse-common; add libunibreak
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Dec 03 23:31:08 2017 +0200 (2017-12-03)
parents d9f017bb097d
children 79820d8299f4
files fuse/description.txt fuse/receipt fuse/stuff/fuse.conf fuse2/description.txt fuse2/receipt fuse3/description.txt fuse3/receipt fuse3/stuff/fuse.conf libunibreak/receipt
line diff
     1.1 --- a/fuse/description.txt	Sat Dec 02 21:10:05 2017 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,4 +0,0 @@
     1.4 -FUSE (Filesystem in Userspace) is a simple interface for userspace programs to
     1.5 -export a virtual filesystem to the Linux kernel. Fuse also aims to provide a
     1.6 -secure method for non privileged users to create and mount their own filesystem
     1.7 -implementations.
     2.1 --- a/fuse/receipt	Sat Dec 02 21:10:05 2017 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,53 +0,0 @@
     2.4 -# SliTaz package receipt v2.
     2.5 -
     2.6 -PACKAGE="fuse"
     2.7 -VERSION="2.9.7"
     2.8 -CATEGORY="system-tools"
     2.9 -SHORT_DESC="Fuse Filsystem in user space"
    2.10 -MAINTAINER="pankso@slitaz.org"
    2.11 -LICENSE="GPL2"
    2.12 -WEB_SITE="http://fuse.sourceforge.net/"
    2.13 -HOST_ARCH="i486 arm"
    2.14 -
    2.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL"
    2.17 -
    2.18 -SPLIT="fuse-dev"
    2.19 -
    2.20 -# Rules to configure and make the package.
    2.21 -compile_rules()
    2.22 -{
    2.23 -	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse.html
    2.24 -	./configure \
    2.25 -		--disable-static \
    2.26 -		INIT_D_PATH=/tmp/init.d \
    2.27 -		$CONFIGURE_ARGS &&
    2.28 -	make &&
    2.29 -	make install &&
    2.30 -
    2.31 -	mkdir -p $install/lib &&
    2.32 -	mv -v $install/usr/lib/libfuse.so.* $install/lib &&
    2.33 -	ln -sfv ../../lib/libfuse.so.$VERSION $install/usr/lib/libfuse.so &&
    2.34 -	rm -rf $install/tmp/init.d &&
    2.35 -	mkdir -p $install/usr/share/doc/fuse-$VERSION &&
    2.36 -	install -v -m644 doc/how-fuse-works doc/kernel.txt \
    2.37 -		$install/usr/share/doc/fuse-$VERSION &&
    2.38 -
    2.39 -	mkdir -p $install/etc &&
    2.40 -	cp $stuff/fuse.conf $install/etc
    2.41 -}
    2.42 -
    2.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.44 -genpkg_rules()
    2.45 -{
    2.46 -	case $PACKAGE in
    2.47 -		fuse)
    2.48 -			copy @std
    2.49 -			CONFIG_FILES="/etc/fuse.conf"
    2.50 -			TAGS="filesystem"
    2.51 -			;;
    2.52 -		*-dev)
    2.53 -			copy @dev
    2.54 -			;;
    2.55 -	esac
    2.56 -}
     3.1 --- a/fuse/stuff/fuse.conf	Sat Dec 02 21:10:05 2017 +0100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,9 +0,0 @@
     3.4 -# Set the maximum number of FUSE mounts allowed to non-root users.
     3.5 -# The default is 1000.
     3.6 -#
     3.7 -#mount_max = 1000
     3.8 -
     3.9 -# Allow non-root users to specify the 'allow_other' or 'allow_root'
    3.10 -# mount options.
    3.11 -#
    3.12 -#user_allow_other
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/fuse2/description.txt	Sun Dec 03 23:31:08 2017 +0200
     4.3 @@ -0,0 +1,4 @@
     4.4 +FUSE (Filesystem in Userspace) is a simple interface for userspace programs to
     4.5 +export a virtual filesystem to the Linux kernel. Fuse also aims to provide a
     4.6 +secure method for non privileged users to create and mount their own filesystem
     4.7 +implementations.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/fuse2/receipt	Sun Dec 03 23:31:08 2017 +0200
     5.3 @@ -0,0 +1,49 @@
     5.4 +# SliTaz package receipt v2.
     5.5 +
     5.6 +PACKAGE="fuse2"
     5.7 +VERSION="2.9.7"
     5.8 +CATEGORY="system-tools"
     5.9 +SHORT_DESC="FUSE Filsystem in Userspace, compatible with GVFS"
    5.10 +MAINTAINER="pankso@slitaz.org"
    5.11 +LICENSE="GPL2"
    5.12 +WEB_SITE="https://github.com/libfuse/libfuse"
    5.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse2.html"
    5.14 +HOST_ARCH="i486 arm"
    5.15 +
    5.16 +TARBALL="fuse-$VERSION.tar.gz"
    5.17 +WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL"
    5.18 +
    5.19 +BUILD_DEPENDS="util-linux-mount"
    5.20 +SPLIT="fuse2-dev"
    5.21 +
    5.22 +compile_rules() {
    5.23 +	export MOUNT_FUSE_PATH=/usr/bin
    5.24 +	./configure \
    5.25 +		--disable-static \
    5.26 +		$CONFIGURE_ARGS &&
    5.27 +	make &&
    5.28 +	make install || return 1
    5.29 +
    5.30 +	rm -rf $install/etc/init.d
    5.31 +	# -> fuse-common
    5.32 +	rm -rf $install/etc/udev
    5.33 +	rm     $install/usr/bin/mount.fuse
    5.34 +	# handled by udev
    5.35 +	rm -rf $install/dev
    5.36 +
    5.37 +	cook_pick_docs doc/how-fuse-works doc/kernel.txt
    5.38 +}
    5.39 +
    5.40 +genpkg_rules() {
    5.41 +	case $PACKAGE in
    5.42 +		fuse2)
    5.43 +			copy @std
    5.44 +			DEPENDS="fuse-common"
    5.45 +			TAGS="filesystem"
    5.46 +			;;
    5.47 +		*-dev)
    5.48 +			copy @dev
    5.49 +			PROVIDE="fuse-dev"
    5.50 +			;;
    5.51 +	esac
    5.52 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/fuse3/description.txt	Sun Dec 03 23:31:08 2017 +0200
     6.3 @@ -0,0 +1,4 @@
     6.4 +FUSE (Filesystem in Userspace) is a simple interface for userspace programs to
     6.5 +export a virtual filesystem to the Linux kernel. Fuse also aims to provide a
     6.6 +secure method for non privileged users to create and mount their own filesystem
     6.7 +implementations.
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/fuse3/receipt	Sun Dec 03 23:31:08 2017 +0200
     7.3 @@ -0,0 +1,55 @@
     7.4 +# SliTaz package receipt v2.
     7.5 +
     7.6 +PACKAGE="fuse3"
     7.7 +VERSION="3.1.1"		# next releases require 'meson' currently unpackaged
     7.8 +CATEGORY="system-tools"
     7.9 +SHORT_DESC="FUSE Filsystem in Userspace"
    7.10 +MAINTAINER="al.bobylev@gmail.com"
    7.11 +LICENSE="GPL2"
    7.12 +WEB_SITE="https://github.com/libfuse/libfuse"
    7.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse.html"
    7.14 +HOST_ARCH="i486 arm"
    7.15 +
    7.16 +TARBALL="fuse-$VERSION.tar.gz"
    7.17 +WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL"
    7.18 +
    7.19 +BUILD_DEPENDS="util-linux-mount"
    7.20 +SPLIT="fuse-common fuse3 fuse3-dev"
    7.21 +
    7.22 +compile_rules() {
    7.23 +	export MOUNT_FUSE_PATH=/usr/bin
    7.24 +	./configure \
    7.25 +		--sysconfdir=/etc \
    7.26 +		--disable-static \
    7.27 +		$CONFIGURE_ARGS &&
    7.28 +	make &&
    7.29 +	make install || return 1
    7.30 +
    7.31 +	rm -rf $install/etc/init.d
    7.32 +	# handled by udev
    7.33 +	rm -rf $install/dev
    7.34 +
    7.35 +	cook_pick_docs doc/html/ doc/kernel.txt
    7.36 +
    7.37 +	cp $stuff/fuse.conf $install/etc
    7.38 +}
    7.39 +
    7.40 +# packaging notes: https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0
    7.41 +genpkg_rules() {
    7.42 +	case $PACKAGE in
    7.43 +		fuse-common)
    7.44 +			copy fuse.conf *.rules
    7.45 +			DEPENDS="util-linux-mount"
    7.46 +			CAT="system-tools|common files"
    7.47 +			CONFIG_FILES="/etc/fuse.conf"
    7.48 +			;;
    7.49 +		fuse3)
    7.50 +			copy @std @rm
    7.51 +			DEPENDS="fuse-common"
    7.52 +			TAGS="filesystem"
    7.53 +			;;
    7.54 +		*-dev)
    7.55 +			copy @dev
    7.56 +			;;
    7.57 +	esac
    7.58 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/fuse3/stuff/fuse.conf	Sun Dec 03 23:31:08 2017 +0200
     8.3 @@ -0,0 +1,9 @@
     8.4 +# Set the maximum number of FUSE mounts allowed to non-root users.
     8.5 +# The default is 1000.
     8.6 +#
     8.7 +#mount_max = 1000
     8.8 +
     8.9 +# Allow non-root users to specify the 'allow_other' or 'allow_root'
    8.10 +# mount options.
    8.11 +#
    8.12 +#user_allow_other
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/libunibreak/receipt	Sun Dec 03 23:31:08 2017 +0200
     9.3 @@ -0,0 +1,28 @@
     9.4 +# SliTaz package receipt v2.
     9.5 +
     9.6 +PACKAGE="libunibreak"
     9.7 +VERSION="4.0"
     9.8 +CATEGORY="libs"
     9.9 +SHORT_DESC="Implementation of the line breaking algorithm"
    9.10 +MAINTAINER="al.bobylev@gmail.com"
    9.11 +LICENSE="zlib/libpng"
    9.12 +WEB_SITE="https://github.com/adah1972/libunibreak/"
    9.13 +
    9.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    9.15 +WGET_URL="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${VERSION//./_}/$TARBALL"
    9.16 +
    9.17 +SPLIT="libunibreak-dev"
    9.18 +
    9.19 +compile_rules() {
    9.20 +	./configure $CONFIGURE_ARGS && make && make install || return 1
    9.21 +
    9.22 +	# fix broken link
    9.23 +	ln -sf libunibreak.a $install/usr/lib/liblinebreak.a
    9.24 +}
    9.25 +
    9.26 +genpkg_rules() {
    9.27 +	case $PACKAGE in
    9.28 +		libunibreak) copy @std;;
    9.29 +		*-dev)       copy @dev;;
    9.30 +	esac
    9.31 +}