# HG changeset patch # User Aleksej Bobylev # Date 1512336668 -7200 # Node ID f2405c282781e63f32a638241f3e97e9b9992306 # Parent d9f017bb097d2951cf3786f5231f816a6b0a2f25 fuse -> fuse2; add fuse3, fuse-common; add libunibreak diff -r d9f017bb097d -r f2405c282781 fuse/description.txt --- a/fuse/description.txt Sat Dec 02 21:10:05 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -FUSE (Filesystem in Userspace) is a simple interface for userspace programs to -export a virtual filesystem to the Linux kernel. Fuse also aims to provide a -secure method for non privileged users to create and mount their own filesystem -implementations. diff -r d9f017bb097d -r f2405c282781 fuse/receipt --- a/fuse/receipt Sat Dec 02 21:10:05 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ -# SliTaz package receipt v2. - -PACKAGE="fuse" -VERSION="2.9.7" -CATEGORY="system-tools" -SHORT_DESC="Fuse Filsystem in user space" -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://fuse.sourceforge.net/" -HOST_ARCH="i486 arm" - -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL" - -SPLIT="fuse-dev" - -# Rules to configure and make the package. -compile_rules() -{ - # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse.html - ./configure \ - --disable-static \ - INIT_D_PATH=/tmp/init.d \ - $CONFIGURE_ARGS && - make && - make install && - - mkdir -p $install/lib && - mv -v $install/usr/lib/libfuse.so.* $install/lib && - ln -sfv ../../lib/libfuse.so.$VERSION $install/usr/lib/libfuse.so && - rm -rf $install/tmp/init.d && - mkdir -p $install/usr/share/doc/fuse-$VERSION && - install -v -m644 doc/how-fuse-works doc/kernel.txt \ - $install/usr/share/doc/fuse-$VERSION && - - mkdir -p $install/etc && - cp $stuff/fuse.conf $install/etc -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - case $PACKAGE in - fuse) - copy @std - CONFIG_FILES="/etc/fuse.conf" - TAGS="filesystem" - ;; - *-dev) - copy @dev - ;; - esac -} diff -r d9f017bb097d -r f2405c282781 fuse/stuff/fuse.conf --- a/fuse/stuff/fuse.conf Sat Dec 02 21:10:05 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -# Set the maximum number of FUSE mounts allowed to non-root users. -# The default is 1000. -# -#mount_max = 1000 - -# Allow non-root users to specify the 'allow_other' or 'allow_root' -# mount options. -# -#user_allow_other diff -r d9f017bb097d -r f2405c282781 fuse2/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fuse2/description.txt Sun Dec 03 23:31:08 2017 +0200 @@ -0,0 +1,4 @@ +FUSE (Filesystem in Userspace) is a simple interface for userspace programs to +export a virtual filesystem to the Linux kernel. Fuse also aims to provide a +secure method for non privileged users to create and mount their own filesystem +implementations. diff -r d9f017bb097d -r f2405c282781 fuse2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fuse2/receipt Sun Dec 03 23:31:08 2017 +0200 @@ -0,0 +1,49 @@ +# SliTaz package receipt v2. + +PACKAGE="fuse2" +VERSION="2.9.7" +CATEGORY="system-tools" +SHORT_DESC="FUSE Filsystem in Userspace, compatible with GVFS" +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://github.com/libfuse/libfuse" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse2.html" +HOST_ARCH="i486 arm" + +TARBALL="fuse-$VERSION.tar.gz" +WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL" + +BUILD_DEPENDS="util-linux-mount" +SPLIT="fuse2-dev" + +compile_rules() { + export MOUNT_FUSE_PATH=/usr/bin + ./configure \ + --disable-static \ + $CONFIGURE_ARGS && + make && + make install || return 1 + + rm -rf $install/etc/init.d + # -> fuse-common + rm -rf $install/etc/udev + rm $install/usr/bin/mount.fuse + # handled by udev + rm -rf $install/dev + + cook_pick_docs doc/how-fuse-works doc/kernel.txt +} + +genpkg_rules() { + case $PACKAGE in + fuse2) + copy @std + DEPENDS="fuse-common" + TAGS="filesystem" + ;; + *-dev) + copy @dev + PROVIDE="fuse-dev" + ;; + esac +} diff -r d9f017bb097d -r f2405c282781 fuse3/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fuse3/description.txt Sun Dec 03 23:31:08 2017 +0200 @@ -0,0 +1,4 @@ +FUSE (Filesystem in Userspace) is a simple interface for userspace programs to +export a virtual filesystem to the Linux kernel. Fuse also aims to provide a +secure method for non privileged users to create and mount their own filesystem +implementations. diff -r d9f017bb097d -r f2405c282781 fuse3/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fuse3/receipt Sun Dec 03 23:31:08 2017 +0200 @@ -0,0 +1,55 @@ +# SliTaz package receipt v2. + +PACKAGE="fuse3" +VERSION="3.1.1" # next releases require 'meson' currently unpackaged +CATEGORY="system-tools" +SHORT_DESC="FUSE Filsystem in Userspace" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2" +WEB_SITE="https://github.com/libfuse/libfuse" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/fuse.html" +HOST_ARCH="i486 arm" + +TARBALL="fuse-$VERSION.tar.gz" +WGET_URL="https://github.com/libfuse/libfuse/releases/download/fuse-$VERSION/$TARBALL" + +BUILD_DEPENDS="util-linux-mount" +SPLIT="fuse-common fuse3 fuse3-dev" + +compile_rules() { + export MOUNT_FUSE_PATH=/usr/bin + ./configure \ + --sysconfdir=/etc \ + --disable-static \ + $CONFIGURE_ARGS && + make && + make install || return 1 + + rm -rf $install/etc/init.d + # handled by udev + rm -rf $install/dev + + cook_pick_docs doc/html/ doc/kernel.txt + + cp $stuff/fuse.conf $install/etc +} + +# packaging notes: https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0 +genpkg_rules() { + case $PACKAGE in + fuse-common) + copy fuse.conf *.rules + DEPENDS="util-linux-mount" + CAT="system-tools|common files" + CONFIG_FILES="/etc/fuse.conf" + ;; + fuse3) + copy @std @rm + DEPENDS="fuse-common" + TAGS="filesystem" + ;; + *-dev) + copy @dev + ;; + esac +} diff -r d9f017bb097d -r f2405c282781 fuse3/stuff/fuse.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fuse3/stuff/fuse.conf Sun Dec 03 23:31:08 2017 +0200 @@ -0,0 +1,9 @@ +# Set the maximum number of FUSE mounts allowed to non-root users. +# The default is 1000. +# +#mount_max = 1000 + +# Allow non-root users to specify the 'allow_other' or 'allow_root' +# mount options. +# +#user_allow_other diff -r d9f017bb097d -r f2405c282781 libunibreak/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libunibreak/receipt Sun Dec 03 23:31:08 2017 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt v2. + +PACKAGE="libunibreak" +VERSION="4.0" +CATEGORY="libs" +SHORT_DESC="Implementation of the line breaking algorithm" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="zlib/libpng" +WEB_SITE="https://github.com/adah1972/libunibreak/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${VERSION//./_}/$TARBALL" + +SPLIT="libunibreak-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install || return 1 + + # fix broken link + ln -sf libunibreak.a $install/usr/lib/liblinebreak.a +} + +genpkg_rules() { + case $PACKAGE in + libunibreak) copy @std;; + *-dev) copy @dev;; + esac +}