wok-next rev 19850

Finish gvfs. To reach this result: up bluez, libcdio, libical, bluez, talloc, samba, libtdb, openssh, dropbear; add libbluray, libcdio-paranoia, libnfs.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 31 03:20:51 2017 +0300 (2017-08-31)
parents 2f19239eaed4
children f22b926e527d
files alsa-utils/receipt asunder/receipt bluez-dev/receipt bluez/receipt bluez/stuff/patches/bluez-5.43-obexd_without_systemd-1.patch bluez/stuff/patches/install-experimental.patch bluez/stuff/patches/series bluez/stuff/rfcomm.conf bluez/stuff/uart.conf cookutils/receipt dropbear/receipt galculator/receipt gvfs/description.txt gvfs/receipt gvfs/stuff/README leafpad/receipt libbluray/receipt libcdio-paranoia/receipt libcdio/receipt libical-dev/receipt libical/description.txt libical/receipt libnfs/receipt libtdb-dev/receipt libtdb/receipt mtpaint/receipt openssh/receipt samba-common/receipt samba-dev/receipt samba/receipt samba/stuff/applications/swat.desktop samba/stuff/samba-common.files-list samba/stuff/smbclient.files-list samba/stuff/smbfs.files-list samba/stuff/swat.png sftp-server/receipt slitaz-configs/receipt smbclient/receipt swat/receipt swat/stuff/swat.desktop swat/stuff/swat.png talloc/receipt tazdrop/receipt tazwikiss/receipt
line diff
     1.1 --- a/alsa-utils/receipt	Mon Aug 28 19:54:13 2017 +0300
     1.2 +++ b/alsa-utils/receipt	Thu Aug 31 03:20:51 2017 +0300
     1.3 @@ -13,7 +13,7 @@
     1.4  HOST_ARCH="i486 arm"
     1.5  
     1.6  DEPENDS="alsa-lib ncurses util-linux-getopt"
     1.7 -BUILD_DEPENDS="alsa-lib-dev ncurses-dev"
     1.8 +BUILD_DEPENDS="alsa-lib-dev ncurses-dev gettext"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
     2.1 --- a/asunder/receipt	Mon Aug 28 19:54:13 2017 +0300
     2.2 +++ b/asunder/receipt	Thu Aug 31 03:20:51 2017 +0300
     2.3 @@ -14,7 +14,7 @@
     2.4  
     2.5  DEPENDS="gtk+ libcddb alsa-lib cdparanoia-III xorg-libXdamage vorbis-tools"
     2.6  BUILD_DEPENDS="gtk+-dev alsa-lib-dev libcddb-dev cdparanoia-III-dev \
     2.7 -xorg-libXdamage-dev"
     2.8 +xorg-libXdamage-dev intltool"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
     3.1 --- a/bluez-dev/receipt	Mon Aug 28 19:54:13 2017 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,22 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="bluez-dev"
     3.7 -VERSION="4.101"
     3.8 -CATEGORY="development"
     3.9 -SHORT_DESC="Bluez devel files."
    3.10 -MAINTAINER="pankso@slitaz.org"
    3.11 -LICENSE="GPL2"
    3.12 -WANTED="bluez"
    3.13 -WEB_SITE="http://www.bluez.org/"
    3.14 -
    3.15 -DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev pkg-config"
    3.16 -
    3.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 -genpkg_rules()
    3.19 -{
    3.20 -	mkdir -p $fs/usr/lib/alsa-lib
    3.21 -	cp -a $install/usr/include $fs/usr
    3.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.23 -	cp -a $install/usr/lib/alsa-lib/*.*a $fs/usr/lib/alsa-lib
    3.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.25 -}
     4.1 --- a/bluez/receipt	Mon Aug 28 19:54:13 2017 +0300
     4.2 +++ b/bluez/receipt	Thu Aug 31 03:20:51 2017 +0300
     4.3 @@ -1,62 +1,70 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="bluez"
     4.8 -VERSION="4.101"
     4.9 +VERSION="5.43"
    4.10  CATEGORY="system-tools"
    4.11 -SHORT_DESC="Bluetooth protocol stack."
    4.12 +SHORT_DESC="Bluetooth protocol stack"
    4.13  MAINTAINER="pankso@slitaz.org"
    4.14  LICENSE="GPL2"
    4.15  WEB_SITE="http://www.bluez.org/"
    4.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.17 -#WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
    4.18 -WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL"
    4.19 -TAGS="bluetooth"
    4.20  
    4.21 -DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python"
    4.22 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.23 +WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
    4.24 +
    4.25  BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev pkg-config libusb-compat"
    4.26 +SPLIT="bluez-tools bluez-tools-experimental bluez bluez-dev"
    4.27 +
    4.28 +BUILD_DEPENDS="glib-dev dbus-dev eudev-dev libical-dev readline-dev"
    4.29  
    4.30  # Rules to configure and make the package.
    4.31  compile_rules()
    4.32  {
    4.33 -	sed -i 's/NEED_USB/xx&/' tools/*.c
    4.34 -
    4.35 +	# http://www.linuxfromscratch.org/blfs/view/stable/general/bluez.html
    4.36  	./configure \
    4.37 -		--prefix=/usr \
    4.38  		--sysconfdir=/etc \
    4.39  		--localstatedir=/var \
    4.40 -		--libexecdir=/lib \
    4.41 -		--mandir=/usr/share/man \
    4.42 -		--enable-bccmd \
    4.43 -		--enable-dfutool \
    4.44 -		--enable-dund \
    4.45 -		--enable-hid2hci \
    4.46 -		--enable-hidd \
    4.47 -		--enable-pand \
    4.48 -		--enable-usb \
    4.49 -		--enable-cups \
    4.50 -		--enable-tools \
    4.51 -		--enable-wiimote \
    4.52 -		--disable-test \
    4.53 -		--without-systemdunitdir \
    4.54 +		--enable-library \
    4.55 +		--disable-systemd \
    4.56 +		--enable-experimental \
    4.57  		$CONFIGURE_ARGS &&
    4.58 -	make &&
    4.59 -	make DESTDIR=$DESTDIR install
    4.60 +	make && make install || return 1
    4.61 +
    4.62 +	mkdir -p $install/usr/sbin
    4.63 +	ln -svf ../libexec/bluetooth/bluetoothd $install/usr/sbin
    4.64 +
    4.65 +	mkdir -p $install/etc/bluetooth
    4.66 +	cp src/main.conf $install/etc/bluetooth
    4.67 +
    4.68 +	docdir="$install/usr/share/doc/$PACKAGE-$VERSION"
    4.69 +	mkdir -p $docdir
    4.70 +	cp doc/*.txt $docdir
    4.71 +
    4.72 +	cp $stuff/*.conf $install/etc/bluetooth/
    4.73  }
    4.74  
    4.75  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.76  genpkg_rules()
    4.77  {
    4.78 -	mkdir -p $fs/usr/lib/alsa-lib
    4.79 -	cp -a $install/usr/bin $fs/usr
    4.80 -	cp -a $install/usr/sbin $fs/usr
    4.81 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.82 -	cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
    4.83 -	cp -a $install/usr/lib/bluetooth $fs/usr/lib
    4.84 -	cp -a $install/usr/lib/cups $fs/usr/lib
    4.85 -	cp -a $install/etc $fs
    4.86 -	cp -a $install/var $fs
    4.87 -
    4.88 -	#some extra tools and config files
    4.89 -	cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
    4.90 -	cp  $src/audio/audio.conf $fs/etc/bluetooth
    4.91 +	case $PACKAGE in
    4.92 +		bluez-tools)
    4.93 +			copy bccmd bluemoon ciptool hciattach hciconfig hcidump hcitool \
    4.94 +			hex2hcd l2ping l2test mpris-proxy rctest rfcomm sdptool
    4.95 +			CAT="system-tools|tools"
    4.96 +			;;
    4.97 +		bluez-tools-experimental)
    4.98 +			copy bin/
    4.99 +			rm $fs/usr/bin/bluetoothctl $fs/usr/bin/btmon	# -> main package
   4.100 +			remove_already_packed
   4.101 +			CAT="system-tools|experimental tools"
   4.102 +			;;
   4.103 +		bluez)
   4.104 +			copy @std
   4.105 +			remove_already_packed
   4.106 +			TAGS="bluetooth"
   4.107 +			DEPENDS="dbus eudev glib libical ncurses readline   linux-bluetooth"
   4.108 +			;;
   4.109 +		*-dev)
   4.110 +			copy @dev
   4.111 +			;;
   4.112 +	esac
   4.113  }
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/bluez/stuff/patches/bluez-5.43-obexd_without_systemd-1.patch	Thu Aug 31 03:20:51 2017 +0300
     5.3 @@ -0,0 +1,61 @@
     5.4 +Submitted By:            Armin K. <krejzi at email dot com>
     5.5 +Date:                    2013-04-29
     5.6 +Initial Package Version: 5.17
     5.7 +Upstream Status:         unknown
     5.8 +Origin:                  Arch Linux (Giovanni Campagna)
     5.9 +Description:             Allow using obexd without systemd in the user session
    5.10 +
    5.11 +Not all sessions run systemd --user (actually, the majority
    5.12 +doesn't), so the dbus daemon must be able to spawn obexd
    5.13 +directly, and to do so it needs the full path of the daemon.
    5.14 +---
    5.15 + Makefile.obexd                      | 4 ++--
    5.16 + obexd/src/org.bluez.obex.service    | 4 ----
    5.17 + obexd/src/org.bluez.obex.service.in | 4 ++++
    5.18 + 3 files changed, 6 insertions(+), 6 deletions(-)
    5.19 + delete mode 100644 obexd/src/org.bluez.obex.service
    5.20 + create mode 100644 obexd/src/org.bluez.obex.service.in
    5.21 +
    5.22 +diff --git a/Makefile.obexd b/Makefile.obexd
    5.23 +index 3760867..142e7c3 100644
    5.24 +--- a/Makefile.obexd
    5.25 ++++ b/Makefile.obexd
    5.26 +@@ -2,12 +2,12 @@
    5.27 + if SYSTEMD
    5.28 + systemduserunitdir = @SYSTEMD_USERUNITDIR@
    5.29 + systemduserunit_DATA = obexd/src/obex.service
    5.30 ++endif
    5.31 + 
    5.32 + dbussessionbusdir = @DBUS_SESSIONBUSDIR@
    5.33 + dbussessionbus_DATA = obexd/src/org.bluez.obex.service
    5.34 +-endif
    5.35 + 
    5.36 +-EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
    5.37 ++EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
    5.38 + 
    5.39 + obex_plugindir = $(libdir)/obex/plugins
    5.40 + 
    5.41 +diff --git a/obexd/src/org.bluez.obex.service b/obexd/src/org.bluez.obex.service
    5.42 +deleted file mode 100644
    5.43 +index a538088..0000000
    5.44 +--- a/obexd/src/org.bluez.obex.service
    5.45 ++++ /dev/null
    5.46 +@@ -1,4 +0,0 @@
    5.47 +-[D-BUS Service]
    5.48 +-Name=org.bluez.obex
    5.49 +-Exec=/bin/false
    5.50 +-SystemdService=dbus-org.bluez.obex.service
    5.51 +diff --git a/obexd/src/org.bluez.obex.service.in b/obexd/src/org.bluez.obex.service.in
    5.52 +new file mode 100644
    5.53 +index 0000000..9c815f2
    5.54 +--- /dev/null
    5.55 ++++ b/obexd/src/org.bluez.obex.service.in
    5.56 +@@ -0,0 +1,4 @@
    5.57 ++[D-BUS Service]
    5.58 ++Name=org.bluez.obex
    5.59 ++Exec=@libexecdir@/obexd
    5.60 ++SystemdService=dbus-org.bluez.obex.service
    5.61 +-- 
    5.62 +1.8.3.1
    5.63 +
    5.64 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/bluez/stuff/patches/install-experimental.patch	Thu Aug 31 03:20:51 2017 +0300
     6.3 @@ -0,0 +1,16 @@
     6.4 +Install misc experimental programs not provided to install by BlueZ maintainers
     6.5 +for some reason.
     6.6 +
     6.7 +--- a/Makefile.in.orig
     6.8 ++++ b/Makefile.in
     6.9 +@@ -84,8 +84,8 @@
    6.10 + build_triplet = @build@
    6.11 + host_triplet = @host@
    6.12 + bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
    6.13 +-	$(am__EXEEXT_4)
    6.14 +-noinst_PROGRAMS = $(am__EXEEXT_5) $(am__EXEEXT_6) $(am__EXEEXT_7) \
    6.15 ++	$(am__EXEEXT_4) \
    6.16 ++	$(am__EXEEXT_5) $(am__EXEEXT_6) $(am__EXEEXT_7) \
    6.17 + 	$(am__EXEEXT_8) $(am__EXEEXT_11)
    6.18 + libexec_PROGRAMS = src/bluetoothd$(EXEEXT) obexd/src/obexd$(EXEEXT)
    6.19 + @LIBRARY_TRUE@am__append_1 = $(lib_headers)
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/bluez/stuff/patches/series	Thu Aug 31 03:20:51 2017 +0300
     7.3 @@ -0,0 +1,2 @@
     7.4 +bluez-5.43-obexd_without_systemd-1.patch
     7.5 +install-experimental.patch
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/bluez/stuff/rfcomm.conf	Thu Aug 31 03:20:51 2017 +0300
     8.3 @@ -0,0 +1,7 @@
     8.4 +# Start rfcomm.conf
     8.5 +# Set up the RFCOMM configuration of the Bluetooth subsystem in the Linux kernel.
     8.6 +# Use one line per command
     8.7 +# See the rfcomm man page for options
     8.8 +
     8.9 +
    8.10 +# End of rfcomm.conf
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/bluez/stuff/uart.conf	Thu Aug 31 03:20:51 2017 +0300
     9.3 @@ -0,0 +1,6 @@
     9.4 +# Start uart.conf
     9.5 +# Attach serial devices via UART HCI to BlueZ stack
     9.6 +# Use one line per device
     9.7 +# See the hciattach man page for options
     9.8 +
     9.9 +# End of uart.conf
    10.1 --- a/cookutils/receipt	Mon Aug 28 19:54:13 2017 +0300
    10.2 +++ b/cookutils/receipt	Thu Aug 31 03:20:51 2017 +0300
    10.3 @@ -1,7 +1,7 @@
    10.4  # SliTaz package receipt v2.
    10.5  
    10.6  PACKAGE="cookutils"
    10.7 -VERSION="960"
    10.8 +VERSION="962"
    10.9  CATEGORY="base-system"
   10.10  SHORT_DESC="SliTaz packages builder new generation"
   10.11  MAINTAINER="pankso@slitaz.org"
    11.1 --- a/dropbear/receipt	Mon Aug 28 19:54:13 2017 +0300
    11.2 +++ b/dropbear/receipt	Thu Aug 31 03:20:51 2017 +0300
    11.3 @@ -1,99 +1,107 @@
    11.4 -# SliTaz package receipt.
    11.5 +# SliTaz package receipt v2.
    11.6  
    11.7  PACKAGE="dropbear"
    11.8 -VERSION="2016.74"
    11.9 +VERSION="2017.75"
   11.10  CATEGORY="security"
   11.11  SHORT_DESC="Lightweight SSH2 server and client"
   11.12  MAINTAINER="pascal.bellard@slitaz.org"
   11.13  LICENSE="MIT"
   11.14  WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html"
   11.15 -CONFIG_FILES="/etc/dropbear"
   11.16 -SUGGESTED="sftp-server"
   11.17 -PROVIDE="ssh"
   11.18 -TAGS="ssh"
   11.19  HOST_ARCH="i486 arm"
   11.20  
   11.21  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   11.22  WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL"
   11.23  
   11.24 -DEPENDS="zlib"
   11.25 +BUILD_DEPENDS_arm=""
   11.26  BUILD_DEPENDS="zlib-dev pam pam-dev"
   11.27  SPLIT="dropbear-pam"
   11.28  
   11.29 -# Handle multiarch compilation.
   11.30 -case "$ARCH" in
   11.31 -	arm)
   11.32 -		BUILD_DEPENDS=""
   11.33 -		CROSS_ARGS="--disable-zlib"
   11.34 -		CROSS_BUGS="Fails to find zlib: -lz... no" ;;
   11.35 -esac
   11.36 -
   11.37  # Rules to configure and make the package.
   11.38  compile_rules()
   11.39  {
   11.40 -	local i
   11.41 -	local DROPBEARS
   11.42 -	DROPBEARS="dropbearkey dropbearconvert dbclient scp"
   11.43 -	sed -i  -e 's|/usr/.*/xauth|/usr/bin/xauth|' \
   11.44 -		-e 's|/usr/.*/sftp-server|/usr/sbin/sftp-server|' \
   11.45 +	# Handle multiarch compilation.
   11.46 +	case "$ARCH" in
   11.47 +		arm)
   11.48 +			CROSS_ARGS="--disable-zlib"
   11.49 +			CROSS_BUGS="Fails to find zlib: -lz... no" ;;
   11.50 +	esac
   11.51 +
   11.52 +	local i DROPBEARS="dropbearkey dropbearconvert dbclient scp"
   11.53 +	sed -iold -e 's|/usr/.*/xauth|/usr/bin/xauth|' \
   11.54  		-e 's|ENABLE_SVR_PAM_AUTH|ENABLE_SVR_PASSWORD_AUTH|' \
   11.55  		options.h
   11.56 -	./configure --prefix=/usr --without-pam $CONFIGURE_ARGS $CROSS_ARGS &&
   11.57 +
   11.58 +	./configure \
   11.59 +		--prefix=/usr \
   11.60 +		--without-pam \
   11.61 +		$CONFIGURE_ARGS $CROSS_ARGS &&
   11.62  	make PROGRAMS="dropbear $DROPBEARS" MULTI=1 SCPPROGRESS=1 &&
   11.63 -	install -d -m 755 $DESTDIR/usr/sbin &&
   11.64 -	install -m 755 dropbearmulti $DESTDIR/usr/sbin/dropbear &&
   11.65 -	chown 0.0 $DESTDIR/usr/sbin/dropbear || exit 1
   11.66 +	install -dm755 $install/usr/sbin &&
   11.67 +	install -m755 dropbearmulti $install/usr/sbin/dropbear || exit 1
   11.68  
   11.69 -	# No pam support in ARM
   11.70 +	# No PAM support in ARM
   11.71  	case "$ARCH" in
   11.72  		arm) echo "Skipping Dropbear PAM..." ;;
   11.73  		i?86)
   11.74 -			sed -i 's|ENABLE_SVR_PASSWORD_AUTH|ENABLE_SVR_PAM_AUTH|' \
   11.75 -				options.h
   11.76 -			./configure --prefix=/usr --enable-pam $CONFIGURE_ARGS &&
   11.77 +			sed -i 's|ENABLE_SVR_PASSWORD_AUTH|ENABLE_SVR_PAM_AUTH|' options.h
   11.78 +			./configure \
   11.79 +				--enable-pam \
   11.80 +				$CONFIGURE_ARGS &&
   11.81  			make PROGRAMS="dropbear $DROPBEARS" MULTI=1 SCPPROGRESS=1 &&
   11.82 -			install -m 755 dropbearmulti $DESTDIR/usr/sbin/dropbear-pam &&
   11.83 -			chown 0.0 $DESTDIR/usr/sbin/dropbear-pam || exit 1 ;;
   11.84 +			install -m755 dropbearmulti $install/usr/sbin/dropbear-pam
   11.85 +			;;
   11.86  	esac
   11.87  
   11.88 -	install -d -m 755 $DESTDIR/usr/bin &&
   11.89 +	install -dm755 $install/usr/bin &&
   11.90  	for i in $DROPBEARS ssh; do
   11.91 -		ln -s ../sbin/dropbear $DESTDIR/usr/bin/$i || exit 1
   11.92 +		ln -s ../sbin/dropbear $install/usr/bin/$i || exit 1
   11.93  	done
   11.94 -	install -d -m 755 $DESTDIR/usr/share/man/man1 &&
   11.95 -	install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 && 
   11.96 -	install -d -m 755 $DESTDIR/usr/share/man/man8 &&
   11.97 -	install -m 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
   11.98 -	install -d -m 755 $DESTDIR/usr/share/doc &&
   11.99 -	install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
  11.100 +
  11.101 +	cook_pick_manpages $src/*.1 $src/*.8
  11.102 +	cook_pick_docs CHANGES INSTALL LICENSE MULTI README SMALL TODO
  11.103 +
  11.104 +	# Config file and init script.
  11.105 +	mkdir -p $install/etc
  11.106 +	cp -a $stuff/dropbear $install/etc
  11.107 +	cp -a $stuff/init.d $install/etc
  11.108 +	ln -s daemon $install/etc/init.d/sshd
  11.109 +	cp -a $stuff/sshx $install/usr/bin
  11.110 +	ln -s sshx $install/usr/bin/pppssh
  11.111 +	ln -s sshx $install/usr/bin/sshfbvnc
  11.112 +	touch $install/etc/dropbear/dropbear_dss_host_key \
  11.113 +	      $install/etc/dropbear/dropbear_rsa_host_key \
  11.114 +	      $install/etc/dropbear/dropbear_ecdsa_host_key
  11.115 +
  11.116 +	# Fix dropbear initscript perms
  11.117 +	chown -R root:root $install
  11.118  }
  11.119  
  11.120  # Rules to gen a SliTaz package suitable for Tazpkg.
  11.121 -genpkg_rules()
  11.122 -{
  11.123 -	mkdir -p $fs/usr
  11.124 -	cp -a $install/usr/bin $fs/usr
  11.125 -	cp -a $install/usr/sbin $fs/usr
  11.126 -	rm -f $fs/usr/sbin/dropbear-pam
  11.127 -	# Config file and init script.
  11.128 -	mkdir -p $fs/etc
  11.129 -	cp -a $stuff/dropbear $fs/etc
  11.130 -	cp -a $stuff/init.d $fs/etc
  11.131 -	ln -s daemon $fs/etc/init.d/sshd
  11.132 -	cp -a $stuff/sshx $fs/usr/bin
  11.133 -	ln -s sshx $fs/usr/bin/pppssh
  11.134 -	ln -s sshx $fs/usr/bin/sshfbvnc
  11.135 -	touch $fs/etc/dropbear/dropbear_dss_host_key \
  11.136 -		$fs/etc/dropbear/dropbear_rsa_host_key \
  11.137 -
  11.138 -	# Fix dropbear initscript perms
  11.139 -	chown -R root.root $fs
  11.140 +genpkg_rules() {
  11.141 +	case $PACKAGE in
  11.142 +		dropbear)
  11.143 +			copy @std
  11.144 +			rm -f $fs/usr/sbin/dropbear-pam
  11.145 +			DEPENDS="zlib"
  11.146 +			CONFIG_FILES="/etc/dropbear"
  11.147 +			SUGGESTED="sftp-server"
  11.148 +			PROVIDE="ssh"
  11.149 +			TAGS="ssh"
  11.150 +			;;
  11.151 +		dropbear-pam)
  11.152 +			copy dropbear-pam
  11.153 +			mv $fs/usr/sbin/dropbear-pam $fs/usr/sbin/dropbear
  11.154 +			DEPENDS="dropbear pam"
  11.155 +			CAT="security|with PAM support"
  11.156 +			PROVIDE="dropbear:pam ssh:pam"
  11.157 +			TAGS="ssh"
  11.158 +			;;
  11.159 +	esac
  11.160  }
  11.161  
  11.162  # Post message when installing.
  11.163 -post_install()
  11.164 -{
  11.165 -	while read dropbear openssh ; do
  11.166 +post_install_dropbear() {
  11.167 +	while read dropbear openssh; do
  11.168  		[ -s "$1/$openssh" ] || continue
  11.169  		chroot "$1/" dropbearconvert openssh dropbear $openssh $dropbear
  11.170  		chroot "$1/" dropbearkey -y -f $dropbear | grep Fingerprint
  11.171 @@ -104,13 +112,23 @@
  11.172  	grep -q ssh "$1/etc/inetd.conf" || cat >> "$1/etc/inetd.conf" <<EOT
  11.173  #ssh	stream	tcp	nowait	root	dropbear	dropbear	-i -b /etc/dropbear/banner
  11.174  EOT
  11.175 -	[ -n "$quiet" ] && return
  11.176 -	echo -e "\nTo starts $PACKAGE server you can run :\n"
  11.177 -	echo "/etc/init.d/$PACKAGE start"
  11.178 -	echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
  11.179 +	[ -z "$quiet" ] || return
  11.180 +	cat <<EOT
  11.181 +
  11.182 +	.-------------------------------------------------.
  11.183 +	| To start dropbear server you can run:           |
  11.184 +	|                                                 |
  11.185 +	| /etc/init.d/dropbear start                      |
  11.186 +	| Or add dropbear to RUN_DAEMONS in /etc/rcS.conf |
  11.187 +	'-------------------------------------------------'
  11.188 +EOT
  11.189  }
  11.190  
  11.191 -post_remove()
  11.192 -{
  11.193 -	grep -q dropbear "$1/etc/inetd.conf" && sed -i '/dropbear/d' "$1/etc/inetd.conf"
  11.194 +post_remove_dropbear() {
  11.195 +	grep -q dropbear "$1/etc/inetd.conf" &&
  11.196 +	sed -i '/dropbear/d' "$1/etc/inetd.conf"
  11.197  }
  11.198 +
  11.199 +post_remove_dropbear_pam() {
  11.200 +	tazpkg -gi dropbear --forced
  11.201 +}
    12.1 --- a/galculator/receipt	Mon Aug 28 19:54:13 2017 +0300
    12.2 +++ b/galculator/receipt	Thu Aug 31 03:20:51 2017 +0300
    12.3 @@ -13,7 +13,7 @@
    12.4  GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
    12.5  
    12.6  DEPENDS="gtk+"
    12.7 -BUILD_DEPENDS="gtk+-dev flex sdft"
    12.8 +BUILD_DEPENDS="gtk+-dev flex sdft intltool"
    12.9  
   12.10  # Rules to configure and make the package.
   12.11  compile_rules()
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/gvfs/description.txt	Thu Aug 31 03:20:51 2017 +0300
    13.3 @@ -0,0 +1,42 @@
    13.4 +# Virtual filesystem implementation for GIO
    13.5 +
    13.6 +GVfs is a userspace virtual filesystem designed to work with the I/O abstraction
    13.7 +of GIO (a library availible in GLib >= 2.15.1). It installs several modules that
    13.8 +are automatically used by applications using the APIs of libgio. There is also
    13.9 +FUSE support that allows applications not using GIO to access the GVfs
   13.10 +filesystems.
   13.11 +
   13.12 +The GVfs model differs from e.g. GnomeVFS in that filesystems must be mounted
   13.13 +before they are used. There is a master daemon (gvfsd) that handles coordinating
   13.14 +mounts, and then each mount is (typically) in its own daemon process (although
   13.15 +mounts can share daemon process).
   13.16 +
   13.17 +GVfs comes with a set of backends, including trash support, SFTP, SMB, HTTP,
   13.18 +DAV, and others.
   13.19 +
   13.20 +GVfs also contains modules for GIO that implement volume monitors and the GNOME
   13.21 +URI scheme handler configuration.
   13.22 +
   13.23 +There is a set of command line programs starting with "gvfs-" that lets you run
   13.24 +commands (like `cat`, `ls`, `stat`, etc) on files in the GVfs mounts.
   13.25 +
   13.26 +command | description
   13.27 +--------|------------
   13.28 +`gvfs-cat` | concatenates the given files and prints them to the standard output
   13.29 +`gvfs-copy` | copies a file from one URI location to another
   13.30 +`gvfs-info` | shows information about the given locations
   13.31 +`gvfs-less` | executes less using the VFS as the input preprocesor, so less can access any resource accessible by any of the Gvfs backends
   13.32 +`gvfs-ls` | lists information about the given locations
   13.33 +`gvfs-mime` | is used to query information about applications that are registered to handle a mime-type, or set the default handler for a mime-type
   13.34 +`gvfs-mkdir` | creates a directory specified by an URI
   13.35 +`gvfs-monitor-dir` | prints information about file creation, deletion, file content and attribute changes and mount and unmount operations inside the specified directories
   13.36 +`gvfs-monitor-file` | prints information about creation, deletion, content and attribute changes and mount and unmount operations affecting the monitored files
   13.37 +`gvfs-mount` | provides commandline access to various aspects of GIOs mounting functionality
   13.38 +`gvfs-move` | moves a file from one URI location to another
   13.39 +`gvfs-open` | opens files with the default application that is registered to handle files of that type
   13.40 +`gvfs-rename` | changes the name of a file or directory
   13.41 +`gvfs-rm` | removes a file
   13.42 +`gvfs-save` | reads from the standard input and saves the data to the given location
   13.43 +`gvfs-set-attribute` | allows to set a file attribute on a file
   13.44 +`gvfs-trash` | sends files or directories to the "Trashcan"
   13.45 +`gvfs-tree` | lists the contents of the given directories recursively, in a tree-like format
    14.1 --- a/gvfs/receipt	Mon Aug 28 19:54:13 2017 +0300
    14.2 +++ b/gvfs/receipt	Thu Aug 31 03:20:51 2017 +0300
    14.3 @@ -1,32 +1,35 @@
    14.4  # SliTaz package receipt v2.
    14.5  
    14.6  PACKAGE="gvfs"
    14.7 -VERSION="1.28.3"
    14.8 +VERSION="1.30.3"
    14.9  CATEGORY="system-tools"
   14.10  SHORT_DESC="Userspace virtual filesystem"
   14.11  MAINTAINER="pankso@slitaz.org"
   14.12  LICENSE="GPL2"
   14.13 -WEB_SITE="http://www.gnome.org/"
   14.14 +WEB_SITE="https://wiki.gnome.org/Projects/gvfs"
   14.15  
   14.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
   14.17 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   14.18 +WGET_URL="$GNOME_MIRROR/gvfs/${VERSION%.*}/$TARBALL"
   14.19  
   14.20 -BUILD_DEPENDS="libxslt gtk-doc glib-dev dbus-dev gcr-dev intltool \
   14.21 -libgphoto2-dev libarchive-dev libsoup-dev libcdio-dev libmtp-dev fuse-dev \
   14.22 -udisks2-dev gtk+3-dev"
   14.23 -#BUILD_DEPENDS+"samba-dev smbclient expat-dev dbus-glib-dev bluez-dev"
   14.24 -SPLIT="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 gvfs-gtk \
   14.25 -gvfs-http gvfs-libmtp gvfs-udisks2 gvfs-dev"
   14.26 -# Currently disabled: gvfs-obexftp gvfs-smb
   14.27 +BUILD_DEPENDS="libxslt glib-dev gtk-doc dbus-dev gcr-dev gettext polkit-dev \
   14.28 +libcap-dev libgphoto2-dev libarchive-dev libsoup-dev libcdio-paranoia-dev \
   14.29 +libmtp-dev fuse-dev udisks2-dev gtk+3-dev libbluray-dev libgudev-dev \
   14.30 +libsecret-dev libxml2-dev openssh samba-dev dbus-glib-dev libnfs-dev"
   14.31 +SPLIT="gvfs-admin gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
   14.32 +gvfs-gtk gvfs-http gvfs-libmtp gvfs-nfs gvfs-smb gvfs-udisks2 gvfs gvfs-dev"
   14.33 +COOKOPTS="skip-log-errors"
   14.34  
   14.35  # Rules to configure and make the package.
   14.36  compile_rules()
   14.37  {
   14.38 +	# http://www.linuxfromscratch.org/blfs/view/stable/gnome/gvfs.html
   14.39 +
   14.40  	./configure \
   14.41  		--sysconfdir=/etc \
   14.42  		--enable-gtk-doc \
   14.43  		--disable-libsystemd-login \
   14.44  		--with-systemduserunitdir=no \
   14.45 +		--disable-bash-completion \
   14.46  		$CONFIGURE_ARGS && \
   14.47  		make && make install
   14.48  }
   14.49 @@ -34,48 +37,35 @@
   14.50  # Rules to gen a SliTaz package suitable for Tazpkg.
   14.51  genpkg_rules()
   14.52  {
   14.53 +	# gvfs-obexftp is called obsolete and deleted by gvfs authors.
   14.54  	case $PACKAGE in
   14.55 -		gvfs)
   14.56 -			copy bin/ *.so \
   14.57 -			gvfsd           *.Daemon.service \
   14.58 -			gvfsd-burn      burn.mount \
   14.59 -			gvfsd-computer  computer.mount \
   14.60 -			gvfsd-ftp       ftp.mount \
   14.61 -			gvfsd-localtest localtest.mount \
   14.62 -			gvfsd-metadata  *.Metadata.service \
   14.63 -			gvfsd-network   network.mount \
   14.64 -			gvfsd-sftp      sftp.mount \
   14.65 -			gvfsd-trash     trash.mount \
   14.66 -			org.gnome.system.gvfs.enums.xml
   14.67 -			DEPENDS="dbus glib glibc-base libffi pcre udev zlib"
   14.68 -			SUGGESTED="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
   14.69 -			gvfs-http gvfs-libmtp gvfs-obexftp gvfs-smb gvfs-udisks2"
   14.70 +		gvfs-admin)
   14.71 +			copy gvfsd-admin admin.mount
   14.72 +			CAT="system-tools|admin backend"
   14.73 +			DEPENDS="gvfs libcap polkit"
   14.74  			;;
   14.75  		gvfs-afp)
   14.76  			copy \
   14.77  			gvfsd-afp        afp.mount \
   14.78  			gvfsd-afp-browse afp-browse.mount
   14.79  			CAT="system-tools|Apple Filing Protocol support - afp:///"
   14.80 -			DEPENDS="gcr-base glib gvfs libffi libgcrypt libgpg-error \
   14.81 -			p11-kit pcre zlib"
   14.82 +			DEPENDS="gvfs"
   14.83  			;;
   14.84  		gvfs-archive)
   14.85  			copy gvfsd-archive archive.mount
   14.86  			CAT="system-tools|archive support - archive:///"
   14.87 -			DEPENDS="acl attr bzlib gcr-base glib gvfs libarchive libcrypto \
   14.88 -			libffi libgcrypt libgpg-error liblzma libxml2 lz4-lib lzo \
   14.89 -			nettle p11-kit pcre zlib"
   14.90 +			DEPENDS="gvfs acl attr bzlib libarchive libcrypto liblzma libxml2 \
   14.91 +			lz4-lib lzo nettle"
   14.92  			;;
   14.93  		gvfs-cdda)
   14.94  			copy gvfsd-cdda cdda.mount
   14.95  			CAT="system-tools|CDDA support"
   14.96 -			DEPENDS="eudev gcr-base glib gvfs libcdio libffi libgcrypt \
   14.97 -			libgpg-error libgudev p11-kit pcre zlib"
   14.98 +			DEPENDS="gvfs libcdio libcdio-paranoia libgudev"
   14.99  			;;
  14.100  		gvfs-fuse)
  14.101  			copy gvfsd-fuse
  14.102  			CAT="system-tools|FUSE support"
  14.103 -			DEPENDS="fuse glib gvfs libffi pcre zlib"
  14.104 +			DEPENDS="gvfs fuse"
  14.105  			;;
  14.106  		gvfs-gphoto2)
  14.107  			copy \
  14.108 @@ -83,25 +73,21 @@
  14.109  			gvfs-gphoto2-volume-monitor *.GPhoto2VolumeMonitor.service \
  14.110  			gphoto2.monitor
  14.111  			CAT="system-tools|Gphoto2 support"
  14.112 -			DEPENDS="eudev gcr-base glib gvfs libexif libffi libgcrypt \
  14.113 -			libgpg-error libgphoto2 libgudev libltdl p11-kit pcre zlib"
  14.114 +			DEPENDS="gvfs libexif libgphoto2 libgudev libltdl"
  14.115  			;;
  14.116  		gvfs-gtk)
  14.117  			copy gvfsd-recent recent.mount
  14.118  			CAT="system-tools|recent files support (GTK+3) - recent:///"
  14.119 -			DEPENDS="atk bzlib cairo fontconfig freetype gcr-base gdk-pixbuf \
  14.120 -			glib gtk+3 gvfs harfbuzz libffi libgcrypt libgpg-error \
  14.121 -			liblzma libpng libxcb libxml2 p11-kit pango pcre pixman \
  14.122 -			xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender \
  14.123 -			zlib"
  14.124 +			DEPENDS="gvfs atk bzlib cairo fontconfig freetype gdk-pixbuf gtk+3 \
  14.125 +			libharfbuzz liblzma libpng16 libxml2 pango xorg-libX11 xorg-libXau \
  14.126 +			xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman"
  14.127  			;;
  14.128  		gvfs-http)
  14.129  			copy \
  14.130  			gvfsd-dav  dav.mount \
  14.131  			gvfsd-http http.mount
  14.132  			CAT="system-tools|HTTP/WebDAV support"
  14.133 -			DEPENDS="gcr-base glib gvfs libffi libgcrypt libgpg-error \
  14.134 -			liblzma libsoup libsqlite libxml2 p11-kit pcre zlib"
  14.135 +			DEPENDS="gvfs liblzma libsoup libsqlite3 libxml2"
  14.136  			;;
  14.137  		gvfs-libmtp)
  14.138  			copy \
  14.139 @@ -109,14 +95,12 @@
  14.140  			gvfs-mtp-volume-monitor *.MTPVolumeMonitor.service \
  14.141  			mtp.monitor
  14.142  			CAT="system-tools|MTP support"
  14.143 -			DEPENDS="eudev gcr-base glib gvfs libffi libgcrypt \
  14.144 -			libgpg-error libgudev libmtp libusb p11-kit pcre zlib"
  14.145 +			DEPENDS="gvfs libgudev libmtp libusb"
  14.146  			;;
  14.147 -		gvfs-obexftp)
  14.148 -			copy gvfsd-obexftp obexftp.mount
  14.149 -			CAT="system-tools|ObexFTP support"
  14.150 -			DEPENDS="gvfs bluez dbus dbus-glib expat glib glibc-base libffi \
  14.151 -			pcre zlib"
  14.152 +		gvfs-nfs)
  14.153 +			copy gvfsd-nfs nfs.mount
  14.154 +			CAT="system-tools|NFS support - nfs:///"
  14.155 +			DEPENDS="gvfs libnfs"
  14.156  			;;
  14.157  		gvfs-smb)
  14.158  			copy \
  14.159 @@ -124,17 +108,31 @@
  14.160  			gvfsd-smb-browse smb-browse.mount \
  14.161  			gvfs-smb.convert *.smb.gschema.xml
  14.162  			CAT="system-tools|Samba support - smb:///"
  14.163 -			DEPENDS="gvfs glib glibc-base libcomerr libcomerr3 libcrypto \
  14.164 -			libffi libkrb5 libldap libssl pcre samba-common smbclient \
  14.165 -			talloc zlib"
  14.166 +			DEPENDS="gvfs samba"
  14.167  			;;
  14.168  		gvfs-udisks2)
  14.169  			copy gvfs-udisks2-volume-monitor *.UDisks2VolumeMonitor.service \
  14.170  			udisks2.monitor
  14.171  			CAT="system-tools|Udisks2 volume monitor"
  14.172 -			DEPENDS="eudev glib gvfs libffi libgudev pcre udisks2 zlib"
  14.173 +			DEPENDS="gvfs bzlib fontconfig freetype libbluray libgudev \
  14.174 +			libharfbuzz liblzma libpng16 libxml2 udisks2"
  14.175  			;;
  14.176 -		*-dev) copy @dev;;
  14.177 +		gvfs)
  14.178 +			copy @std
  14.179 +			remove_already_packed
  14.180 +			DEPENDS="eudev gcr-base glib libffi libgcrypt libgpg-error \
  14.181 +			libsecret p11-kit pcre util-linux-blkid util-linux-mount \
  14.182 +			util-linux-uuid zlib   dbus"
  14.183 +			SUGGESTED="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
  14.184 +			gvfs-http gvfs-libmtp gvfs-obexftp gvfs-smb gvfs-udisks2"
  14.185 +			;;
  14.186 +		*-dev)
  14.187 +			copy @dev
  14.188 +			DEPENDS="${SPLIT/gvfs-dev/}
  14.189 +			gcr-dev glib-dev libffi-dev libgcrypt-dev libgpg-error-dev \
  14.190 +			libsecret-dev p11-kit-dev pcre-dev util-linux-blkid-dev \
  14.191 +			util-linux-mount-dev util-linux-uuid-dev zlib-dev"
  14.192 +			;;
  14.193  	esac
  14.194  }
  14.195  
    15.1 --- a/gvfs/stuff/README	Mon Aug 28 19:54:13 2017 +0300
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,223 +0,0 @@
    15.4 -Gvfs itself is a module system, so let we compile as much modules as we can,
    15.5 -and then break big gvfs package into modules packages.
    15.6 -
    15.7 -Here results of my reading of "./configure" script.
    15.8 -We see what libs (and its versions) are checked.
    15.9 -At the right "+" means that we have all needed libs and we'll compile that
   15.10 -module. While "-" means that we'll not compile that module, among them:
   15.11 - - DNS-SD (Avahi) - SliTaz wok missed that packages;
   15.12 - - GDU Volume Monitor - too;
   15.13 - - libsystemd-login - wok includes "systemd" package, but missed "systemd-dev",
   15.14 -   sorry, do we need it really?
   15.15 - - HAL Volume Monitor - HAL is deprecated;
   15.16 - - AFC - need to update libs (too many changes there, and I can't cope with
   15.17 -   compilation, and have no one Apple device around me);
   15.18 - - GOA (GNOME Online Accounts) Volume Monitor - not on wok;
   15.19 - - GNOME Keyring - not on wok;
   15.20 - - Blu-ray metadata support - not on wok;
   15.21 - - BASH-completion - BASH isn't popular on SliTaz.
   15.22 -
   15.23 -
   15.24 -# HTTP:    libsoup-2.4 (libsoup-dev); libxml-2.0 (libxml2-dev)   [HTTP/WebDAV]+
   15.25 -
   15.26 -# AVAHI:   avahi-glib >= 0.6; avahi-client >= 0.6 (ABSENT)            [DNS-SD]-
   15.27 -
   15.28 -# LIBXML:  libxml-2.0 (libxml2-dev)                                           ?
   15.29 -
   15.30 -# UDEV:    libudev >= 138 (udev-dev)                                          ?
   15.31 -
   15.32 -# FUSE:    fuse >= 2.8.0 (fuse-dev)                                     [FUSE]+
   15.33 -
   15.34 -# GDU:     gdu >= 3.0.2 (ABSENT)                                      [GDU VM]-
   15.35 -
   15.36 -# UDISKS2: udisks2 >= 1.97 (udisks2-dev)                          [udisks2 VM]+
   15.37 -
   15.38 -# LIBSYSTEMD_LOGIN: libsystemd-login >=44 (ABSENT "systemd-dev") \
   15.39 -#                                                           [libsystemd-login]-
   15.40 -
   15.41 -# HAL:     hal >= 0.5.10 (hav-dev) (DEPRECATED)                       [HAL VM]-
   15.42 -
   15.43 -# GUDEV:   gudev-1.0 >= 147 (libgudev-dev)                             [gudev]+
   15.44 -
   15.45 -# CDDA:    libcdio_paranoia >= 0.78.2 (libcdio-dev)                     [CDDA]+
   15.46 -
   15.47 -# AFC:     libimobiledevice-1.0 >= 1.1.5 (libimobiledevice-dev-1.1.1 OLD); \
   15.48 -#          libplist >= 0.15 (libplist-dev)                               [AFC]-
   15.49 -
   15.50 -# GOA:     goa-1.0 >= 3.7.1 (ABSENT)                                  [GOA VM]-
   15.51 -
   15.52 -# OBEXFTP: dbus-glib-1 (dbus-glib-dev); bluez >= 4.0 (bluez-dev); \
   15.53 -#          -lexpat (expat-dev)                                       [ObexFTP]+
   15.54 -
   15.55 -# GPHOTO2: libgphoto2 >= 2.4.0 (libgphoto2-dev)                      [Gphoto2]+
   15.56 -# GPHOTO25:libgphoto2 >= 2.5.0
   15.57 -
   15.58 -# KEYRING: libsecret-unstable (ABSENT)                         [GNOME Keyring]-
   15.59 -
   15.60 -# BLURAY:  libbluray (ABSENT)                                        [Blu-ray]-
   15.61 -
   15.62 -# LIBMTP:  libmtp >= 1.1.0 (libmtp-dev)
   15.63 -#          libmtp >= 1.1.5 (libmtp-dev)
   15.64 -#          libmtp >= 1.1.6 (libmtp-dev)                                  [MTP]+
   15.65 -
   15.66 -# SMBCLIENT: smbclient (ABSENT "smbclient-dev"); libsmbclient.h (samba-dev); \
   15.67 -#          -lsmbclient (smbclient)
   15.68 -#          samba >= 3.4.0                                              [Samba]+
   15.69 -
   15.70 -# GTK      gtk+-3.0 >= 3.0 (gtk+3-dev)                                  [GTK+]+
   15.71 -
   15.72 -# ARCHIVE: archive.h, -larchive (libarchive-dev); >= 3.0.22 (libarchive-dev) \
   15.73 -#                                                                    [archive]+
   15.74 -
   15.75 -# LIBGCRYPT: */bin/libgcrypt-config (libgcrypt-dev); libgcrypt >= 1.2.2       ?
   15.76 -
   15.77 -# AFP:     ? langinfo.h (glibc-dev)                                      [AFP]+
   15.78 -
   15.79 -# BASHCOMP: -                                                [BASH-completion]-
   15.80 -
   15.81 -# GLIB_GENMARSHAL: glib
   15.82 -# sys/statfs.h, sys/statvfs.h, sys/vfs.h, sys/mount.h, sys/param.h (glibc-dev)
   15.83 -
   15.84 -===============================================================================
   15.85 -
   15.86 -= --disable-nls           do not use Native Language Support
   15.87 -+ --disable-http          build without http/dav backend
   15.88 -- --disable-avahi         build without avahi support
   15.89 -= --disable-udev          build without libudev
   15.90 -+ --disable-fuse          build without FUSE support
   15.91 -- --disable-gdu           build without GDU volume monitor
   15.92 -+ --disable-udisks2       build without libudisks2
   15.93 -- --disable-libsystemd-login
   15.94 -                          build without liblibsystemd-login
   15.95 -- --disable-hal           build without HAL support
   15.96 -= --disable-gudev         build without gudev support
   15.97 -+ --disable-cdda          build without CDDA backend
   15.98 -- --disable-afc           build without AFC backend
   15.99 -- --disable-goa           build without GOA backend
  15.100 -+ --disable-obexftp       build without ObexFTP backend
  15.101 -+ --disable-gphoto2       build without gphoto2 support
  15.102 -- --disable-keyring       build without GNOME Keyring support
  15.103 -- --disable-bluray        build without bluray metadata support
  15.104 -+ --disable-libmtp        build without libmtp support
  15.105 -+ --disable-samba         build without samba support
  15.106 -+ --disable-gtk           build without GTK+
  15.107 -+ --disable-archive       build without archive support
  15.108 -+ --disable-afp           build without AFP support
  15.109 -- --disable-bash-completion
  15.110 -                          build without bash-completion support
  15.111 -  --enable-more-warnings  Maximum compiler warnings
  15.112 -  --enable-installed-tests
  15.113 -                          Enable installation of some test cases
  15.114 -  --enable-always-build-tests
  15.115 -                          Enable always building tests during 'make all'
  15.116 -
  15.117 -===============================================================================
  15.118 -	./configure \
  15.119 -		--prefix=/usr \
  15.120 -		--libexecdir=/usr/lib/$PACKAGE \
  15.121 -		--sysconfdir=/etc \
  15.122 -		--disable-documentation \
  15.123 -		--disable-bash-completion \
  15.124 -		--disable-gudev \
  15.125 -		$CONFIGURE_ARGS && \
  15.126 -
  15.127 -gvfs configuration summary:
  15.128 -
  15.129 -		gio module directory : ${exec_prefix}/lib/gio/modules
  15.130 -
  15.131 -		hotplug backend:              none
  15.132 -
  15.133 -		Blu-ray metadata support:     no
  15.134 -		HTTP/WebDAV support:          yes
  15.135 -		ObexFTP support               yes
  15.136 -		Samba support:	              yes
  15.137 -		FUSE support:                 yes
  15.138 -		CDDA support:                 no
  15.139 -		Gphoto2 support:              no
  15.140 -		MTP support:                  no
  15.141 -		archive support:              yes
  15.142 -		AFC support:                  no
  15.143 -		AFP support:                  yes
  15.144 -		DNS-SD support:               no
  15.145 -		Build HAL volume monitor:     no (with fast init path: no)
  15.146 -		Build GDU volume monitor:     no
  15.147 -		Build udisks2 volume monitor: yes
  15.148 -		Build GOA volume monitor:     no
  15.149 -		Use libsystemd-login:         no
  15.150 -		GNOME Keyring support:        no
  15.151 -		GTK+ support:                 yes
  15.152 -		Bash-completion support:      no
  15.153 -		Installed tests:              no
  15.154 -
  15.155 -In file included from udisks2volumemonitordaemon.c:33:0:
  15.156 -gvfsudisks2volumemonitor.h:32:25: fatal error: gudev/gudev.h: No such file or directory
  15.157 -compilation terminated.
  15.158 -make[3]: *** [gvfs_udisks2_volume_monitor-udisks2volumemonitordaemon.o] Error 1
  15.159 -make[3]: *** Waiting for unfinished jobs....
  15.160 -In file included from gvfsudisks2volumemonitor.c:38:0:
  15.161 -gvfsudisks2volumemonitor.h:32:25: fatal error: gudev/gudev.h: No such file or directory
  15.162 -compilation terminated.
  15.163 -make[3]: *** [gvfs_udisks2_volume_monitor-gvfsudisks2volumemonitor.o] Error 1
  15.164 -make[3]: Leaving directory `/home/slitaz/wok/gvfs/source/gvfs-1.22.1/monitor/udisks2'
  15.165 -make[2]: *** [all-recursive] Error 1
  15.166 -make[2]: Leaving directory `/home/slitaz/wok/gvfs/source/gvfs-1.22.1/monitor'
  15.167 -make[1]: *** [all-recursive] Error 1
  15.168 -make[1]: Leaving directory `/home/slitaz/wok/gvfs/source/gvfs-1.22.1'
  15.169 -make: *** [all] Error 2
  15.170 -
  15.171 -SO, WE CAN'T DISABLE GUDEV IN ANY CASE.
  15.172 -===============================================================================
  15.173 -	./configure \
  15.174 -		--prefix=/usr \
  15.175 -		--libexecdir=/usr/lib/$PACKAGE \
  15.176 -		--sysconfdir=/etc \
  15.177 -		--disable-documentation \
  15.178 -		--disable-bash-completion \
  15.179 -		--disable-udev \
  15.180 -		$CONFIGURE_ARGS && \
  15.181 -
  15.182 -gvfs configuration summary:
  15.183 -
  15.184 -		gio module directory : ${exec_prefix}/lib/gio/modules
  15.185 -
  15.186 -		hotplug backend:              gudev
  15.187 -
  15.188 -		Blu-ray metadata support:     no
  15.189 -		HTTP/WebDAV support:          yes
  15.190 -		ObexFTP support               yes
  15.191 -		Samba support:	              yes
  15.192 -		FUSE support:                 yes
  15.193 -		CDDA support:                 yes
  15.194 -		Gphoto2 support:              yes
  15.195 -		MTP support:                  yes
  15.196 -		archive support:              yes
  15.197 -		AFC support:                  no
  15.198 -		AFP support:                  yes
  15.199 -		DNS-SD support:               no
  15.200 -		Build HAL volume monitor:     no (with fast init path: no)
  15.201 -		Build GDU volume monitor:     no
  15.202 -		Build udisks2 volume monitor: yes
  15.203 -		Build GOA volume monitor:     no
  15.204 -		Use libsystemd-login:         no
  15.205 -		GNOME Keyring support:        no
  15.206 -		GTK+ support:                 yes
  15.207 -		Bash-completion support:      no
  15.208 -		Installed tests:              no
  15.209 -
  15.210 -diff -r install-all install
  15.211 ---- ./install-all/usr/lib/gio/modules/libgvfsdbus.la
  15.212 -+++ ./install/usr/lib/gio/modules/libgvfsdbus.la
  15.213 -@@ -17,7 +17,7 @@
  15.214 - inherited_linker_flags=' -pthread'
  15.215 - 
  15.216 - # Libraries that this one depends upon.
  15.217 --dependency_libs=' /usr/lib/gvfs/libgvfscommon.la -L/usr/lib /usr/lib/libgio-2.0.la /usr/lib/libgmodule-2.0.la -ldl -lz -lresolv /usr/lib/libgobject-2.0.la /usr/lib/libffi.la /usr/lib/libglib-2.0.la /usr/lib/libpcre.la -lpthread /lib/libudev.la -lrt -lutil'
  15.218 -+dependency_libs=' /usr/lib/gvfs/libgvfscommon.la -L/usr/lib /usr/lib/libgio-2.0.la /usr/lib/libgmodule-2.0.la -ldl -lz -lresolv /usr/lib/libgobject-2.0.la /usr/lib/libffi.la /usr/lib/libglib-2.0.la /usr/lib/libpcre.la -lpthread -lrt -lutil'
  15.219 - 
  15.220 - # Names of additional weak libraries provided by this library
  15.221 - weak_library_names=''
  15.222 -Files ./install-all/usr/lib/gio/modules/libgvfsdbus.so and ./install/usr/lib/gio/modules/libgvfsdbus.so differ
  15.223 -Files ./install-all/usr/lib/gvfs/gvfsd-metadata and ../install/usr/lib/gvfs/gvfsd-metadata differ
  15.224 -
  15.225 -SO, LET I NOT DISABLE UDEV IN ANY CASE.
  15.226 -===============================================================================
    16.1 --- a/leafpad/receipt	Mon Aug 28 19:54:13 2017 +0300
    16.2 +++ b/leafpad/receipt	Thu Aug 31 03:20:51 2017 +0300
    16.3 @@ -14,7 +14,7 @@
    16.4  GENERIC_PIXMAPS="no"
    16.5  
    16.6  DEPENDS="gtk+ xorg-libXdamage"
    16.7 -BUILD_DEPENDS="gtk+-dev xorg-libXrender-dev xorg-xproto"
    16.8 +BUILD_DEPENDS="gtk+-dev xorg-libXrender-dev xorg-xproto intltool"
    16.9  
   16.10  # Rules to configure and make the package.
   16.11  compile_rules()
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/libbluray/receipt	Thu Aug 31 03:20:51 2017 +0300
    17.3 @@ -0,0 +1,40 @@
    17.4 +# SliTaz package receipt v2.
    17.5 +
    17.6 +PACKAGE="libbluray"
    17.7 +VERSION="1.0.0"
    17.8 +CATEGORY="libs"
    17.9 +SHORT_DESC="Blu-Ray Discs playback library"
   17.10 +MAINTAINER="al.bobylev@gmail.com"
   17.11 +LICENSE="LGPL2.1"
   17.12 +WEB_SITE="http://www.videolan.org/developers/libbluray.html"
   17.13 +
   17.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   17.15 +WGET_URL="ftp://ftp.videolan.org/pub/videolan/libbluray/$VERSION/$TARBALL"
   17.16 +
   17.17 +BUILD_DEPENDS="libxml2-dev freetype-dev fontconfig-dev"
   17.18 +SPLIT="libbluray-dev"
   17.19 +
   17.20 +# Rules to configure and make the package.
   17.21 +compile_rules()
   17.22 +{
   17.23 +	./configure \
   17.24 +		--disable-bdjava \
   17.25 +		$CONFIGURE_ARGS &&
   17.26 +	make && make install
   17.27 +}
   17.28 +
   17.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
   17.30 +genpkg_rules()
   17.31 +{
   17.32 +	case $PACKAGE in
   17.33 +		libbluray)
   17.34 +			copy @std
   17.35 +			DEPENDS="fontconfig freetype libxml2"
   17.36 +			;;
   17.37 +		*-dev)
   17.38 +			copy @dev
   17.39 +			DEPENDS="libbluray bzip2-dev fontconfig-dev freetype-dev glib-dev \
   17.40 +			harfbuzz-dev libpng16-dev libxml2-dev pcre-dev xz-dev zlib-dev"
   17.41 +			;;
   17.42 +	esac
   17.43 +}
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/libcdio-paranoia/receipt	Thu Aug 31 03:20:51 2017 +0300
    18.3 @@ -0,0 +1,41 @@
    18.4 +# SliTaz package receipt v2.
    18.5 +
    18.6 +PACKAGE="libcdio-paranoia"
    18.7 +VERSION="10.2+0.94+2" # please, synchronize this version (x+0.94+x) with libcdio
    18.8 +CATEGORY="multimedia"
    18.9 +SHORT_DESC="Port of xiph.org's cdda paranoia to use libcdio for CDROM access"
   18.10 +MAINTAINER="al.bobylev@gmail.com"
   18.11 +LICENSE="GPL3"
   18.12 +WEB_SITE="https://www.gnu.org/software/libcdio/"
   18.13 +
   18.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   18.15 +WGET_URL="https://ftp.gnu.org/gnu/libcdio/$TARBALL"
   18.16 +
   18.17 +BUILD_DEPENDS="libcdio-dev"
   18.18 +SPLIT="libcdio-paranoia-dev"
   18.19 +
   18.20 +# Rules to configure and make the package.
   18.21 +compile_rules()
   18.22 +{
   18.23 +	./configure \
   18.24 +		--enable-cpp-progs \
   18.25 +		--disable-static \
   18.26 +		--disable-example-progs \
   18.27 +		$CONFIGURE_ARGS &&
   18.28 +	make && make install
   18.29 +}
   18.30 +
   18.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
   18.32 +genpkg_rules()
   18.33 +{
   18.34 +	case $PACKAGE in
   18.35 +		libcdio-paranoia)
   18.36 +			copy @std
   18.37 +			DEPENDS="libcdio"
   18.38 +			;;
   18.39 +		*-dev)
   18.40 +			copy @dev
   18.41 +			DEPENDS="libcdio-paranoia libcdio-dev"
   18.42 +			;;
   18.43 +	esac
   18.44 +}
    19.1 --- a/libcdio/receipt	Mon Aug 28 19:54:13 2017 +0300
    19.2 +++ b/libcdio/receipt	Thu Aug 31 03:20:51 2017 +0300
    19.3 @@ -6,10 +6,10 @@
    19.4  SHORT_DESC="GNU Compact Disc Input and Control Library"
    19.5  MAINTAINER="rj.rohit@gmail.com"
    19.6  LICENSE="GPL3"
    19.7 -WEB_SITE="http://www.gnu.org/software/libcdio/" 
    19.8 +WEB_SITE="https://www.gnu.org/software/libcdio/"
    19.9  
   19.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
   19.11 -WGET_URL="http://ftp.gnu.org/gnu/libcdio/$TARBALL"
   19.12 +WGET_URL="https://ftp.gnu.org/gnu/libcdio/$TARBALL"
   19.13  
   19.14  BUILD_DEPENDS="perl libcddb-dev ncurses-dev"
   19.15  SPLIT="libcdio-utils libcdio-dev"
    20.1 --- a/libical-dev/receipt	Mon Aug 28 19:54:13 2017 +0300
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,22 +0,0 @@
    20.4 -# SliTaz package receipt.
    20.5 -
    20.6 -PACKAGE="libical-dev"
    20.7 -VERSION="0.44"
    20.8 -CATEGORY="development"
    20.9 -SHORT_DESC="Opensource ICalendar dev files"
   20.10 -MAINTAINER="erjo@slitaz.org"
   20.11 -LICENSE="MPL LGPL"
   20.12 -WEB_SITE="http://www.citadel.org/doku.php/documentation:featured_projects:libical?do=export_xhtml"
   20.13 -WANTED="libical"
   20.14 -
   20.15 -DEPENDS="libical pkg-config"
   20.16 -
   20.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.18 -genpkg_rules()
   20.19 -{
   20.20 -	mkdir -p $fs/usr/lib
   20.21 -	cp -a $install/usr/include $fs/usr
   20.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   20.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   20.24 -	sed -i 's|/include$|/include/libical|' $fs/usr/lib/pkgconfig/libical.pc
   20.25 -}
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/libical/description.txt	Thu Aug 31 03:20:51 2017 +0300
    21.3 @@ -0,0 +1,4 @@
    21.4 +libical is an open source implementation of the IETF's iCalendar calendaring and
    21.5 +scheduling protocols (RFC 2445, 2446, and 2447). It parses iCal components and
    21.6 +provides a C API for manipulating the component properties, parameters, and
    21.7 +subcomponents.
    22.1 --- a/libical/receipt	Mon Aug 28 19:54:13 2017 +0300
    22.2 +++ b/libical/receipt	Thu Aug 31 03:20:51 2017 +0300
    22.3 @@ -1,33 +1,42 @@
    22.4 -# SliTaz package receipt.
    22.5 +# SliTaz package receipt v2.
    22.6  
    22.7  PACKAGE="libical"
    22.8 -VERSION="0.44"
    22.9 +VERSION="2.0.0"
   22.10  CATEGORY="system-tools"
   22.11 -SHORT_DESC="Opensource ICalendar implementation"
   22.12 +SHORT_DESC="iCalendar library implementation in C"
   22.13  MAINTAINER="erjo@slitaz.org"
   22.14 -LICENSE="MPL LGPL"
   22.15 +LICENSE="MPL LGPL2.1"
   22.16 +WEB_SITE="https://github.com/libical"
   22.17 +
   22.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
   22.19 -WEB_SITE="http://sourceforge.net/projects/freeassociation/"
   22.20 -WGET_URL="http://downloads.sourceforge.net/project/freeassociation/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
   22.21 +WGET_URL="https://github.com/libical/libical/releases/download/v$VERSION/$TARBALL"
   22.22  
   22.23 -DEPENDS=""
   22.24 +BUILD_DEPENDS="cmake perl db-dev gobject-introspection-dev"
   22.25 +SPLIT="libical-dev"
   22.26  
   22.27  # Rules to configure and make the package.
   22.28  compile_rules()
   22.29  {
   22.30 -	cd $src
   22.31 -	./configure \
   22.32 -		--prefix=/usr \
   22.33 -		--infodir=/usr/share/info \
   22.34 -		--mandir=/usr/share/man \
   22.35 -		$CONFIGURE_ARGS &&
   22.36 -	make && make DESTDIR=$DESTDIR install
   22.37 +	# http://www.linuxfromscratch.org/blfs/view/stable/general/libical.html
   22.38 +	mkdir build &&
   22.39 +	cd build &&
   22.40 +	cmake \
   22.41 +		-DCMAKE_INSTALL_PREFIX=/usr \
   22.42 +		-DCMAKE_BUILD_TYPE=Release \
   22.43 +		-DSHARED_ONLY=yes \
   22.44 +		.. &&
   22.45 +	make && make install || return 1
   22.46 +
   22.47 +	docdir="$install/usr/share/doc/$PACKAGE-$VERSION"
   22.48 +	mkdir -p $docdir
   22.49 +	cp -r $src/doc/UsingLibical.txt $docdir
   22.50  }
   22.51  
   22.52  # Rules to gen a SliTaz package suitable for Tazpkg.
   22.53  genpkg_rules()
   22.54  {
   22.55 -	mkdir -p $fs/usr/lib
   22.56 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   22.57 +	case $PACKAGE in
   22.58 +		libical) copy @std;;
   22.59 +		*-dev)   copy @dev;;
   22.60 +	esac
   22.61  }
   22.62 -
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/libnfs/receipt	Thu Aug 31 03:20:51 2017 +0300
    23.3 @@ -0,0 +1,31 @@
    23.4 +# SliTaz package receipt v2.
    23.5 +
    23.6 +PACKAGE="libnfs"
    23.7 +VERSION="2.0.0"
    23.8 +CATEGORY="network"
    23.9 +SHORT_DESC="Client library for accessing NFS shares"
   23.10 +MAINTAINER="al.bobylev@gmail.com"
   23.11 +LICENSE="GPL LGPL2.1"
   23.12 +WEB_SITE="https://github.com/sahlberg/libnfs"
   23.13 +
   23.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   23.15 +WGET_URL="https://github.com/sahlberg/libnfs/archive/$TARBALL"
   23.16 +
   23.17 +BUILD_DEPENDS="automake libtool   fuse-dev talloc-dev"
   23.18 +SPLIT="libnfs-dev"
   23.19 +
   23.20 +# Rules to configure and make the package.
   23.21 +compile_rules()
   23.22 +{
   23.23 +	autoreconf -vif &&
   23.24 +	./configure $CONFIGURE_ARGS && make && make install
   23.25 +}
   23.26 +
   23.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
   23.28 +genpkg_rules()
   23.29 +{
   23.30 +	case $PACKAGE in
   23.31 +		libnfs) copy @std;;
   23.32 +		*-dev)  copy @dev;;
   23.33 +	esac
   23.34 +}
    24.1 --- a/libtdb-dev/receipt	Mon Aug 28 19:54:13 2017 +0300
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,21 +0,0 @@
    24.4 -# SliTaz package receipt.
    24.5 -
    24.6 -PACKAGE="libtdb-dev"
    24.7 -VERSION="1.2.9"
    24.8 -CATEGORY="development"
    24.9 -SHORT_DESC="devlopment files for libtdb"
   24.10 -MAINTAINER="slaxemulator@gmail.com"
   24.11 -LICENSE="LGPL3"
   24.12 -WEB_SITE="http://tdb.samba.org/"
   24.13 -WANTED="libtdb"
   24.14 -
   24.15 -DEPENDS="libtdb pkg-config"
   24.16 -
   24.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.18 -genpkg_rules()
   24.19 -{
   24.20 -	mkdir -p $fs/usr/lib
   24.21 -	cp -a $install/usr/local/include $fs/usr
   24.22 -	cp -a $install/usr/local/lib/pkgconfig $fs/usr/lib
   24.23 -}
   24.24 -
    25.1 --- a/libtdb/receipt	Mon Aug 28 19:54:13 2017 +0300
    25.2 +++ b/libtdb/receipt	Thu Aug 31 03:20:51 2017 +0300
    25.3 @@ -1,34 +1,47 @@
    25.4 -# SliTaz package receipt.
    25.5 +# SliTaz package receipt v2.
    25.6  
    25.7  PACKAGE="libtdb"
    25.8 -VERSION="1.2.9"
    25.9 +VERSION="1.3.15"
   25.10  CATEGORY="misc"
   25.11 -SHORT_DESC="A Trivia Database similar to GDBM but allows simultaneous commits"
   25.12 +SHORT_DESC="A trivial database"
   25.13  MAINTAINER="slaxemulator@gmail.com"
   25.14  LICENSE="LGPL3"
   25.15 -SOURCE="tdb"
   25.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
   25.17 -WEB_SITE="http://tdb.samba.org/"
   25.18 -WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL"
   25.19 +WEB_SITE="https://tdb.samba.org/"
   25.20  
   25.21 -DEPENDS=""
   25.22 +TARBALL="tdb-$VERSION.tar.gz"
   25.23 +WGET_URL="https://www.samba.org/ftp/tdb/$TARBALL"
   25.24 +
   25.25  BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
   25.26 +SPLIT="libtdb-python libtdb libtdb-dev"
   25.27  
   25.28  # Rules to configure and make the package.
   25.29  compile_rules()
   25.30  {
   25.31 -	cd $src
   25.32 -	sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
   25.33 -	# Use system docbook.xsl
   25.34 -	_manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
   25.35 -	#sed -i "s#http.*xsl#$_manstyle#" tdb.mk
   25.36 -	./configure && make && make install
   25.37 +	./configure \
   25.38 +		--prefix=/usr \
   25.39 +		--localstatedir=/var \
   25.40 +		--sysconfdir=/etc/samba \
   25.41 +		$CONFIGURE_ARGS &&
   25.42 +	make && make install || return 1
   25.43 +
   25.44 +	cook_pick_docs docs/README web/index.html
   25.45  }
   25.46  
   25.47  # Rules to gen a SliTaz package suitable for Tazpkg.
   25.48  genpkg_rules()
   25.49  {
   25.50 -	mkdir -p $fs/usr/lib
   25.51 -	cp -a $install/usr/local/lib/*.so* $fs/usr/lib
   25.52 +	case $PACKAGE in
   25.53 +		libtdb-python)
   25.54 +			copy python*/
   25.55 +			DEPENDS="libtdb python"
   25.56 +			;;
   25.57 +		libtdb)
   25.58 +			copy @std
   25.59 +			remove_already_packed
   25.60 +			DEPENDS="attr"
   25.61 +			;;
   25.62 +		*-dev)
   25.63 +			copy @dev
   25.64 +			;;
   25.65 +	esac
   25.66  }
   25.67 -
    26.1 --- a/mtpaint/receipt	Mon Aug 28 19:54:13 2017 +0300
    26.2 +++ b/mtpaint/receipt	Thu Aug 31 03:20:51 2017 +0300
    26.3 @@ -14,7 +14,7 @@
    26.4  #HOST_ARCH="i486 arm"
    26.5  
    26.6  DEPENDS="gtk+ libpng lcms"
    26.7 -BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev zlib-dev"
    26.8 +BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev zlib-dev gettext"
    26.9  
   26.10  # Rules to configure and make the package.
   26.11  compile_rules()
    27.1 --- a/openssh/receipt	Mon Aug 28 19:54:13 2017 +0300
    27.2 +++ b/openssh/receipt	Thu Aug 31 03:20:51 2017 +0300
    27.3 @@ -1,74 +1,93 @@
    27.4 -# SliTaz package receipt.
    27.5 +# SliTaz package receipt v2.
    27.6  
    27.7  PACKAGE="openssh"
    27.8 -VERSION="7.3p1"
    27.9 +VERSION="7.5p1"
   27.10  CATEGORY="security"
   27.11 -SHORT_DESC="Openbsd Secure Shell."
   27.12 +SHORT_DESC="OpenSSH clients and daemon"
   27.13  MAINTAINER="pascal.bellard@slitaz.org"
   27.14  LICENSE="BSD"
   27.15 +WEB_SITE="https://www.openssh.com/"
   27.16 +
   27.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   27.18 -WEB_SITE="http://www.openssh.org/"
   27.19 -WGET_URL="http://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
   27.20 -CONFIG_FILES="/etc/ssh /etc/inetd.conf"
   27.21 -TAGS="ssh security"
   27.22 -HOST_ARCH="i486 arm"
   27.23 +WGET_URL="http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
   27.24  
   27.25 -PROVIDE="ssh"
   27.26 -DEPENDS="sftp-server libcrypto zlib"
   27.27 -BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev groff perl mdocml-dev"
   27.28 -TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options|web::$WEB_SITE"
   27.29 +BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev perl mdocml-dev" # groff
   27.30 +SPLIT="sftp-server openssh"
   27.31  
   27.32  # Rules to configure and make the package.
   27.33  compile_rules()
   27.34  {
   27.35 -	unset LD # for cross compiling with --disable-strip
   27.36 +	# http://www.linuxfromscratch.org/blfs/view/stable/postlfs/openssh.html
   27.37 +	install  -v -m700 -d /var/lib/sshd &&
   27.38 +	chown    -v root:sys /var/lib/sshd &&
   27.39 +
   27.40 +	addgroup -g 50 -S sshd &&
   27.41 +	adduser \
   27.42 +		-h /var/lib/sshd \
   27.43 +		-g 'sshd PrivSep' \
   27.44 +		-s /bin/false \
   27.45 +		-G sshd \
   27.46 +		-S -D \
   27.47 +		-u 50 \
   27.48 +		sshd &&
   27.49 +
   27.50  	./configure \
   27.51 -		--prefix=/usr \
   27.52  		--sysconfdir=/etc/ssh \
   27.53 -		--libexecdir=/usr/sbin \
   27.54 -		--with-privsep-user=nobody \
   27.55 -		--with-xauth=/usr/bin/xauth \
   27.56 -		--with-privsep-path=/var/run/sshd \
   27.57 -		--without-ssh1 \
   27.58 -		--without-pam \
   27.59 -		--disable-strip \
   27.60 +		--with-md5-passwords \
   27.61 +		--with-privsep-path=/var/lib/sshd \
   27.62  		$CONFIGURE_ARGS &&
   27.63 -	make STRIP_OPT="" &&
   27.64 -	make DESTDIR=$DESTDIR install
   27.65 -	install -d -m 755 $DESTDIR/usr/share/doc &&
   27.66 -	install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
   27.67 -}
   27.68 +	make && make DESTDIR=$DESTDIR install || return 1
   27.69  
   27.70 -# Rules to gen a SliTaz package suitable for Tazpkg.
   27.71 -genpkg_rules()
   27.72 -{
   27.73 -	mkdir -p $fs/usr $fs/etc/init.d $fs/etc/ssh
   27.74 -	cp -a $install/usr/sbin $install/usr/bin $fs/usr
   27.75 -	rm -f $fs/usr/sbin/sftp-server
   27.76 -	cp -a $install/etc $fs
   27.77 -	cp $stuff/openssh $fs/etc/init.d
   27.78 -	sed -i 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
   27.79 -		$fs/etc/ssh/sshd_config
   27.80 +	install -vm755 contrib/ssh-copy-id $install/usr/bin
   27.81  
   27.82 -	cat >> $fs/etc/ssh/ssh_config <<EOT
   27.83 +	cook_pick_manpages contrib/ssh-copy-id.1
   27.84 +	cook_pick_docs INSTALL LICENCE OVERVIEW README*
   27.85 +
   27.86 +	# SliTaz stuff
   27.87 +
   27.88 +	mkdir -p $install/etc/init.d
   27.89 +	cp $stuff/openssh $install/etc/init.d
   27.90 +	cat >> $install/etc/ssh/ssh_config <<EOT
   27.91  
   27.92  # client bug CVE-2016-0777 and CVE-2016-0778
   27.93  Host *
   27.94    UseRoaming no
   27.95  
   27.96 -# From https://wiki.gentoo.org/wiki/SSH_jump_host  
   27.97 +# From https://wiki.gentoo.org/wiki/SSH_jump_host
   27.98  Host *+*
   27.99    ProxyCommand ssh $(echo %h | sed 's/+[^+]*$//;s/\([^+%%]*\)%%\([^+]*\)$/\2 -l \1/;s/:/ -p /') exec nc -w1 $(echo %h | sed 's/^.*+//;/:/!s/$/ %p/;s/:/ /')
  27.100  
  27.101  EOT
  27.102  }
  27.103  
  27.104 -post_install()
  27.105 +# Rules to gen a SliTaz package suitable for Tazpkg.
  27.106 +genpkg_rules()
  27.107  {
  27.108 +	case $PACKAGE in
  27.109 +		sftp-server)
  27.110 +			copy sftp-server
  27.111 +			CAT="security|secure FTP server"
  27.112 +			TAGS="ssh"
  27.113 +			DEPENDS="libcrypto zlib"
  27.114 +			;;
  27.115 +		openssh)
  27.116 +			copy @std sshd/
  27.117 +			DEPENDS="sftp-server libcrypto zlib"
  27.118 +			CONFIG_FILES="/etc/ssh/moduli /etc/ssh/ssh_config /etc/ssh/sshd_config \
  27.119 +			/etc/inetd.conf"
  27.120 +			TAGS="ssh security"
  27.121 +			PROVIDE="ssh"
  27.122 +			TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options|web::$WEB_SITE"
  27.123 +			;;
  27.124 +	esac
  27.125 +}
  27.126 +
  27.127 +post_install_openssh() {
  27.128  	grep -q ssh "$1/etc/inetd.conf" || cat >> "$1/etc/inetd.conf" <<EOT
  27.129  #ssh	stream	tcp	nowait	root	sshd	sshd	-i
  27.130  EOT
  27.131 -	while read dropbear openssh ; do
  27.132 +
  27.133 +	while read dropbear openssh; do
  27.134  		[ -s "$1$dropbear" ] || continue
  27.135  		chroot "$1/" dropbearconvert dropbear openssh $dropbear $openssh
  27.136  		chroot "$1/" dropbearkey -y -f $dropbear | grep ssh > "$1$openssh.pub"
  27.137 @@ -81,7 +100,7 @@
  27.138  	chroot "$1/" ssh-keygen -A
  27.139  }
  27.140  
  27.141 -post_remove()
  27.142 -{
  27.143 -	grep -q sshd "$1/etc/inetd.conf" && sed -i '/sshd/d' "$1/etc/inetd.conf"
  27.144 +post_remove_openssh() {
  27.145 +	grep -q sshd "$1/etc/inetd.conf" &&
  27.146 +	sed -i '/sshd/d' "$1/etc/inetd.conf"
  27.147  }
    28.1 --- a/samba-common/receipt	Mon Aug 28 19:54:13 2017 +0300
    28.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.3 @@ -1,24 +0,0 @@
    28.4 -# SliTaz package receipt.
    28.5 -
    28.6 -PACKAGE="samba-common"
    28.7 -VERSION="3.6.7"
    28.8 -CATEGORY="network"
    28.9 -SHORT_DESC="File and print services with SMB/CIFS, client side."
   28.10 -MAINTAINER="pascal.bellard@slitaz.org"
   28.11 -LICENSE="GPL3"
   28.12 -WEB_SITE="http://samba.org/"
   28.13 -WANTED="samba"
   28.14 -
   28.15 -DEPENDS="libldap libssl cyrus-sasl readline ncurses popt libcap \
   28.16 -libcomerr libkrb5 attr talloc"
   28.17 -
   28.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.19 -genpkg_rules()
   28.20 -{
   28.21 -	while read file; do
   28.22 -		dir=${file%/*}
   28.23 -		[ -d $fs$dir ] || mkdir -p $fs$dir
   28.24 -		cp -a $install$file $fs$dir
   28.25 -	done < $wanted_stuff/$PACKAGE.files-list
   28.26 -}
   28.27 -
    29.1 --- a/samba-dev/receipt	Mon Aug 28 19:54:13 2017 +0300
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,18 +0,0 @@
    29.4 -# SliTaz package receipt.
    29.5 -
    29.6 -PACKAGE="samba-dev"
    29.7 -VERSION="3.6.7"
    29.8 -CATEGORY="development"
    29.9 -SHORT_DESC="File and print services with SMB/CIFS, development files."
   29.10 -MAINTAINER="pascal.bellard@slitaz.org"
   29.11 -LICENSE="GPL3"
   29.12 -WEB_SITE="http://samba.org/"
   29.13 -WANTED="samba"
   29.14 -
   29.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
   29.16 -genpkg_rules()
   29.17 -{
   29.18 -	mkdir -p $fs/usr
   29.19 -	cp -a $install/usr/include $fs/usr
   29.20 -}
   29.21 -
    30.1 --- a/samba/receipt	Mon Aug 28 19:54:13 2017 +0300
    30.2 +++ b/samba/receipt	Thu Aug 31 03:20:51 2017 +0300
    30.3 @@ -1,68 +1,131 @@
    30.4 -# SliTaz package receipt.
    30.5 +# SliTaz package receipt v2.
    30.6  
    30.7  PACKAGE="samba"
    30.8 -VERSION="3.6.7"
    30.9 +VERSION="4.6.7"
   30.10  CATEGORY="system-tools"
   30.11 -SHORT_DESC="File and print services with SMB/CIFS."
   30.12 +SHORT_DESC="File and print services with SMB/CIFS"
   30.13  MAINTAINER="pascal.bellard@slitaz.org"
   30.14  LICENSE="GPL3"
   30.15 +WEB_SITE="https://www.samba.org/"
   30.16 +BUGS="Open directory needs MIT kerberos support (krb5)"
   30.17 +COOKOPTS="!menus"
   30.18 +
   30.19  TARBALL="$PACKAGE-$VERSION.tar.gz"
   30.20 -WEB_SITE="http://samba.org/"
   30.21 -WGET_URL="${WEB_SITE}$PACKAGE/ftp/stable/$TARBALL"
   30.22 -TAZPANEL_DAEMON="man|edit::/etc/samba/smb.conf|web::$WEB_SITE"
   30.23 -SUGGESTED="gamin cups perl"
   30.24 -CONFIG_FILES="/etc/samba"
   30.25 -BUGS="Open directory needs MIT kerberos support (krb5)"
   30.26 +WGET_URL="https://download.samba.org/pub/samba/stable/$TARBALL"
   30.27  
   30.28 -BUILD_DEPENDS="openldap openldap-dev libcomerr-dev cups-dev talloc-dev \
   30.29 -pkg-config libldap krb5"
   30.30 -DEPENDS="libldap samba-common glibc-base ncursesw popt zlib cifs-utils acl \
   30.31 -krb5 cups"
   30.32 +BUILD_DEPENDS="python-dev perl acl-dev docbook-xsl openldap-dev   \
   30.33 +gnutls-dev krb5-dev cyrus-sasl-dev zlib-dev popt-dev libtdb-dev talloc-dev \
   30.34 +libgcrypt-dev nss-dev cups-dev dbus-dev"
   30.35 +SPLIT="samba-dev" # TODO: swat
   30.36 +
   30.37 +version() {
   30.38 +	wget -O- -q https://download.samba.org/pub/samba/ | \
   30.39 +	sed '/LATEST-IS-SAMBA/!d; s|.*SAMBA-\([^<]*\).*|\1|'
   30.40 +}
   30.41  
   30.42  # Rules to configure and make the package.
   30.43  compile_rules()
   30.44  {
   30.45 -	cd $src/source3
   30.46 -	./configure --prefix=/usr --infodir=/usr/share/info \
   30.47 -	--with-piddir=/var/run/samba --with-lockdir=/var/run/samba \
   30.48 -	--with-winbind --with-ldap --with-fhs --enable-cups --enable-swat \
   30.49 -	--enable-shared-libs --enable-external-libtalloc --with-libtdb \
   30.50 -	--with-libsmbsharemodes --with-libsmbclient --without-pam \
   30.51 -	--sysconfdir=/etc --localstatedir=/var \
   30.52 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
   30.53 -	make -j1 &&
   30.54 -	make -j1 DESTDIR=$DESTDIR install || return 1
   30.55 -	#rm -f $DESTDIR/usr/*bin/*.old
   30.56 -	#ln -s libwbclient.so $DESTDIR/usr/lib/libwbclient.so.0
   30.57 +	# http://www.linuxfromscratch.org/blfs/view/stable/basicnet/samba.html
   30.58 +
   30.59 +	./configure \
   30.60 +		--prefix=/usr \
   30.61 +		--sysconfdir=/etc \
   30.62 +		--localstatedir=/var \
   30.63 +		--with-piddir=/run/samba \
   30.64 +		--with-pammodulesdir=/lib/security \
   30.65 +		--enable-fhs \
   30.66 +		--without-ad-dc \
   30.67 +		--without-systemd \
   30.68 +		--enable-selftest \
   30.69 +		$CONFIGURE_ARGS &&
   30.70 +	make && make install || return 1
   30.71 +
   30.72 +	mkdir -p $install/lib
   30.73 +	mv $install/usr/lib/libnss_wins.so* $install/usr/lib/libnss_winbind.so* \
   30.74 +		$install/lib
   30.75 +	ln -sf ../../lib/libnss_winbind.so.2 $install/usr/lib/libnss_winbind.so
   30.76 +	ln -sf ../../lib/libnss_wins.so.2    $install/usr/lib/libnss_wins.so
   30.77 +
   30.78 +	install -m644 examples/smb.conf.default $install/etc/samba
   30.79 +
   30.80 +	mkdir -pv $install/etc/openldap/schema
   30.81 +	cp examples/LDAP/README $install/etc/openldap/schema/README.LDAP
   30.82 +	cp examples/LDAP/samba* $install/etc/openldap/schema
   30.83 +	cp -r examples/LDAP/get* examples/LDAP/ol* $install/etc/openldap/schema
   30.84 +
   30.85 +	cp -a $stuff/etc $install
   30.86 +
   30.87 +	# Symlink smbspool to cups backend
   30.88 +	mkdir -p $install/usr/lib/cups/backend
   30.89 +	ln -sf /usr/bin/smbspool $install/usr/lib/cups/backend/smb
   30.90 +
   30.91 +	# for swat package
   30.92 +#	icodir="$install/usr/share/icons/hicolor/48x48/apps"
   30.93 +#	mkdir -p $icodir
   30.94 +#	cp $stuff/swat.png $icodir
   30.95 +
   30.96 +	chown -R root:root $install
   30.97  }
   30.98  
   30.99  # Rules to gen a SliTaz package suitable for Tazpkg.
  30.100  genpkg_rules()
  30.101  {
  30.102 -	mkdir -p $fs/usr
  30.103 -	cp -a $install/etc $fs
  30.104 -	cp -a $install/var $fs
  30.105 -	cp -a $install/usr/lib $fs/usr
  30.106 -	cp -a $install/usr/sbin $fs/usr
  30.107 -	cp -a $install/usr/bin $fs/usr
  30.108 -	cp -a $stuff/etc $fs
  30.109 -	cat $stuff/*.files-list | while read file; do
  30.110 -		rm -rf $fs$file
  30.111 -	done
  30.112 +	# Note, packages samba-common, smbclient was removed due to circular dependencies:
  30.113 +	# smbclient <--> samba <--> samba-common
  30.114 +	case $PACKAGE in
  30.115 +#		smbclient)
  30.116 +#			copy smbclient smbspool smbget smbtree smbcacls smbcquotas smbtar \
  30.117 +#			rpcclient net nmblookup libnetapi.so* libsmbclient.so* smb
  30.118 +#			CAT="network|client"
  30.119 +#			DEPENDS="samba libldap libtdb popt talloc"
  30.120 +#			;;
  30.121 +#		swat)
  30.122 +#			copy swat/ swat.desktop swat.png
  30.123 +#			CAT="development|Samba Web Administration Tool"
  30.124 +#			DEPENDS="samba"
  30.125 +#			;;
  30.126 +		samba)
  30.127 +			copy @std
  30.128 +#			remove_already_packed
  30.129 +			DEPENDS="acl attr dbus libcups libgnutls libldap libtdb ncurses \
  30.130 +			ncurses-libform ncurses-libpanel perl popt python talloc \
  30.131 +			talloc-python zlib"
  30.132 +			PROVIDE="samba-common smbclient"
  30.133 +			TAZPANEL_DAEMON="man|edit::/etc/samba/smb.conf|web::$WEB_SITE"
  30.134 +			CONFIG_FILES="/etc/samba/smb.conf"
  30.135 +			;;
  30.136 +		*-dev)
  30.137 +			copy @dev
  30.138 +			DEPENDS="samba talloc-dev"
  30.139 +			;;
  30.140 +	esac
  30.141  }
  30.142  
  30.143  # Pre and post install commands for Tazpkg.
  30.144 -post_install()
  30.145 -{
  30.146 -	cat <<EOF
  30.147 -----
  30.148 -The main configuration file is /etc/samba/smb.conf
  30.149 -----
  30.150 -To start $PACKAGE server you can run :
  30.151 +post_install_samba() {
  30.152 +	[ -n "$quiet" ] || cat <<EOT
  30.153  
  30.154 -    /etc/init.d/$PACKAGE start
  30.155 +	.----------------------------------------------------.
  30.156 +	| The main configuration file is /etc/samba/smb.conf |
  30.157 +	|----------------------------------------------------|
  30.158 +	| To start samba server you can run:                 |
  30.159 +	|     /etc/init.d/samba start                        |
  30.160 +	|                                                    |
  30.161 +	| Or add samba to RUN_DAEMONS in /etc/rcS.conf       |
  30.162 +	'----------------------------------------------------'
  30.163 +EOT
  30.164 +}
  30.165  
  30.166 -Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
  30.167 -----
  30.168 -EOF
  30.169 +post_install_swat() {
  30.170 +	[ -f "$1/etc/lighttpd/lighttpd.conf" ] || return
  30.171 +
  30.172 +	[ ! grep -q /usr/share/samba/swat/ "$1/etc/lighttpd/lighttpd.conf" ] || return
  30.173 +
  30.174 +	sed -e 's|.*"/examples/" => "/usr/share/examples/",|    "/examples/" => "/usr/share/examples/",\n    "/swat/" => "/usr/share/samba/swat/",|g' -i "$1/etc/lighttpd/lighttpd.conf"
  30.175 +
  30.176 +	[ -z "$1" ] || return
  30.177 +	# Start Web server.
  30.178 +	/etc/init.d/lighttpd stop
  30.179 +	/etc/init.d/lighttpd start
  30.180  }
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/samba/stuff/applications/swat.desktop	Thu Aug 31 03:20:51 2017 +0300
    31.3 @@ -0,0 +1,7 @@
    31.4 +[Desktop Entry]
    31.5 +Name=SAMBA Administration
    31.6 +Name[pt_BR]=Administração do Samba
    31.7 +Icon=swat
    31.8 +Exec=browser http://127.0.0.1/swat/
    31.9 +Type=Application
   31.10 +Categories=System;
    32.1 --- a/samba/stuff/samba-common.files-list	Mon Aug 28 19:54:13 2017 +0300
    32.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.3 @@ -1,2 +0,0 @@
    32.4 -/usr/lib/libwbclient.so*
    32.5 -/usr/lib/libtdb.so*
    33.1 --- a/samba/stuff/smbclient.files-list	Mon Aug 28 19:54:13 2017 +0300
    33.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.3 @@ -1,14 +0,0 @@
    33.4 -/usr/bin/smbclient
    33.5 -/usr/bin/smbspool
    33.6 -/usr/bin/smbget
    33.7 -/usr/bin/smbtree
    33.8 -/usr/bin/smbcacls
    33.9 -/usr/bin/smbcquotas
   33.10 -/usr/bin/smbtar
   33.11 -/usr/bin/rpcclient
   33.12 -/usr/bin/net
   33.13 -/usr/bin/nmblookup
   33.14 -/usr/lib/libnetapi.so
   33.15 -/usr/lib/libnetapi.so.0
   33.16 -/usr/lib/libsmbclient.so
   33.17 -/usr/lib/libsmbclient.so.0
    34.1 --- a/samba/stuff/smbfs.files-list	Mon Aug 28 19:54:13 2017 +0300
    34.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.3 @@ -1,2 +0,0 @@
    34.4 -/usr/sbin/mount.cifs
    34.5 -/usr/sbin/umount.cifs
    35.1 Binary file samba/stuff/swat.png has changed
    36.1 --- a/sftp-server/receipt	Mon Aug 28 19:54:13 2017 +0300
    36.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.3 @@ -1,21 +0,0 @@
    36.4 -# SliTaz package receipt.
    36.5 -
    36.6 -PACKAGE="sftp-server"
    36.7 -VERSION="7.3p1"
    36.8 -CATEGORY="security"
    36.9 -SHORT_DESC="Openbsd Secure FTP server."
   36.10 -MAINTAINER="pascal.bellard@slitaz.org"
   36.11 -LICENSE="BSD"
   36.12 -WEB_SITE="http://www.openssh.org/"
   36.13 -HOST_ARCH="i486 arm"
   36.14 -TAGS="ssh"
   36.15 -
   36.16 -WANTED="openssh"
   36.17 -DEPENDS="libcrypto zlib"
   36.18 -
   36.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
   36.20 -genpkg_rules()
   36.21 -{
   36.22 -	mkdir -p $fs/usr/sbin
   36.23 -	cp -a $install/usr/sbin/sftp-server $fs/usr/sbin
   36.24 -}
    37.1 --- a/slitaz-configs/receipt	Mon Aug 28 19:54:13 2017 +0300
    37.2 +++ b/slitaz-configs/receipt	Thu Aug 31 03:20:51 2017 +0300
    37.3 @@ -14,6 +14,7 @@
    37.4  
    37.5  DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage \
    37.6  xorg-xcompmgr transset-df ttf-dejavu slim"
    37.7 +BUILD_DEPENDS="gettext"
    37.8  SIBLINGS="slitaz-configs-base"
    37.9  
   37.10  # Special case for ARM since some (most) config files are in slitaz-arm repo.
    38.1 --- a/smbclient/receipt	Mon Aug 28 19:54:13 2017 +0300
    38.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.3 @@ -1,27 +0,0 @@
    38.4 -# SliTaz package receipt.
    38.5 -
    38.6 -PACKAGE="smbclient"
    38.7 -VERSION="3.6.7"
    38.8 -CATEGORY="network"
    38.9 -SHORT_DESC="File and print services with SMB/CIFS, client side."
   38.10 -MAINTAINER="pascal.bellard@slitaz.org"
   38.11 -LICENSE="GPL3"
   38.12 -WEB_SITE="http://samba.org/"
   38.13 -
   38.14 -DEPENDS="libldap libssl cyrus-sasl readline ncurses popt libcap \
   38.15 -libcomerr3 libkrb5 attr samba-common glibc-base"
   38.16 -WANTED="samba"
   38.17 -
   38.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   38.19 -genpkg_rules()
   38.20 -{
   38.21 -	while read file; do
   38.22 -		dir=${file%/*}
   38.23 -		[ -d $fs$dir ] || mkdir -p $fs$dir
   38.24 -		cp -a $install$file $fs$dir
   38.25 -	done < $wanted_stuff/$PACKAGE.files-list
   38.26 -	
   38.27 -	# Symlink smbspool to cups backend
   38.28 -	mkdir -p $fs/usr/lib/cups/backend
   38.29 -	ln -sf /usr/bin/smbspool $fs/usr/lib/cups/backend/smb
   38.30 -}
    39.1 --- a/swat/receipt	Mon Aug 28 19:54:13 2017 +0300
    39.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.3 @@ -1,33 +0,0 @@
    39.4 -# SliTaz package receipt.
    39.5 -
    39.6 -PACKAGE="swat"
    39.7 -VERSION="3.6.7"
    39.8 -CATEGORY="development"
    39.9 -SHORT_DESC="Samba Web Administration Tool."
   39.10 -MAINTAINER="pascal.bellard@slitaz.org"
   39.11 -LICENSE="GPL3"
   39.12 -WEB_SITE="http://samba.org/"
   39.13 -WANTED="samba"
   39.14 -
   39.15 -DEPENDS="samba"
   39.16 -
   39.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   39.18 -genpkg_rules()
   39.19 -{
   39.20 -	mkdir -p $fs/usr/share/samba $fs/usr/share/applications
   39.21 -	cp -a $install/usr/share/samba/swat $fs/usr/share/samba
   39.22 -}
   39.23 -
   39.24 -post_install()
   39.25 -{
   39.26 -	if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then
   39.27 -		if ! grep -q /usr/share/samba/swat/ "$1/etc/lighttpd/lighttpd.conf"; then
   39.28 -	    		sed -e 's|.*"/examples/" => "/usr/share/examples/",|    "/examples/" => "/usr/share/examples/",\n    "/swat/" => "/usr/share/samba/swat/",|g' -i "$1/etc/lighttpd/lighttpd.conf"
   39.29 -			if [ -z "$1" ]; then
   39.30 -				# Start Web server.
   39.31 -				/etc/init.d/lighttpd stop
   39.32 -				/etc/init.d/lighttpd start
   39.33 -			fi
   39.34 -		fi
   39.35 -	fi
   39.36 -}
    40.1 --- a/swat/stuff/swat.desktop	Mon Aug 28 19:54:13 2017 +0300
    40.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.3 @@ -1,9 +0,0 @@
    40.4 -[Desktop Entry]
    40.5 -Encoding=UTF-8
    40.6 -Name=SAMBA Administration
    40.7 -Name[pt]=Administração do Samba
    40.8 -Name[pt_BR]=Administração do Samba
    40.9 -Icon=swat
   40.10 -Exec=browser http://127.0.0.1/swat/
   40.11 -Type=Application
   40.12 -Categories=System;
    41.1 Binary file swat/stuff/swat.png has changed
    42.1 --- a/talloc/receipt	Mon Aug 28 19:54:13 2017 +0300
    42.2 +++ b/talloc/receipt	Thu Aug 31 03:20:51 2017 +0300
    42.3 @@ -1,36 +1,43 @@
    42.4 -# SliTaz package receipt.
    42.5 +# SliTaz package receipt v2.
    42.6  
    42.7  PACKAGE="talloc"
    42.8 -VERSION="2.0.7"
    42.9 +VERSION="2.1.10"
   42.10  CATEGORY="system-tools"
   42.11 -SHORT_DESC="Hierarchical pool based memory allocator with destructors."
   42.12 +SHORT_DESC="Hierarchical pool based memory allocator with destructors"
   42.13  MAINTAINER="slaxemulator@gmail.com"
   42.14  LICENSE="LGPL"
   42.15 +WEB_SITE="https://talloc.samba.org/talloc/doc/html/index.html"
   42.16 +
   42.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   42.18 -WEB_SITE="http://talloc.samba.org/"
   42.19 -WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL"
   42.20 -CROSS="bug: must use --cross-compile and --cross-execute="
   42.21 +WGET_URL="https://www.samba.org/ftp/talloc/$TARBALL"
   42.22  
   42.23 -DEPENDS="glibc-base"
   42.24 -BUILD_DEPENDS="python-dev"
   42.25 +BUILD_DEPENDS="python-dev docbook-xsl"
   42.26 +SPLIT="talloc-python talloc talloc-dev"
   42.27  
   42.28  # Rules to configure and make the package.
   42.29  compile_rules()
   42.30  {
   42.31 -	cd $src
   42.32 -	./configure \
   42.33 -		--prefix=/usr \
   42.34 -		--enable-talloc-compat1 \
   42.35 -		--hostcc=$HOST_SYSTEM &&
   42.36 -	make $MAKEFLAGS &&
   42.37 -	make DESTDIR=$DESTDIR install
   42.38 +	# http://www.linuxfromscratch.org/blfs/view/stable/general/talloc.html
   42.39 +
   42.40 +	./configure --prefix=/usr && make && make install
   42.41  }
   42.42  
   42.43  # Rules to gen a SliTaz package suitable for Tazpkg.
   42.44  genpkg_rules()
   42.45  {
   42.46 -	mkdir -p $fs/usr/lib
   42.47 -	cp -a $install/usr/lib/libtalloc*.so* $fs/usr/lib/
   42.48 -	ln -sf /usr/lib/libtalloc.so.$VERSION $fs/usr/lib/libtalloc.so.2
   42.49 -	ln -sf /usr/lib/libtalloc-compat1-$VERSION.so $fs/usr/lib/libtalloc.so.1
   42.50 +	case $PACKAGE in
   42.51 +		talloc-python)
   42.52 +			copy python*/ libpytalloc*
   42.53 +			CAT="development|Python bindings"
   42.54 +			DEPENDS="talloc attr python"
   42.55 +			;;
   42.56 +		talloc)
   42.57 +			copy @std
   42.58 +			remove_already_packed
   42.59 +			DEPENDS="attr"
   42.60 +			;;
   42.61 +		talloc-dev)
   42.62 +			copy @dev
   42.63 +			;;
   42.64 +	esac
   42.65  }
    43.1 --- a/tazdrop/receipt	Mon Aug 28 19:54:13 2017 +0300
    43.2 +++ b/tazdrop/receipt	Thu Aug 31 03:20:51 2017 +0300
    43.3 @@ -12,6 +12,7 @@
    43.4  WGET_URL="http://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.gz"
    43.5  
    43.6  DEPENDS="gtk+ yad"
    43.7 +BUILD_DEPENDS="gettext"
    43.8  SIBLINGS="slitaz-tools slitaz-tools-boxes"
    43.9  
   43.10  # Rules to configure and make the package.
    44.1 --- a/tazwikiss/receipt	Mon Aug 28 19:54:13 2017 +0300
    44.2 +++ b/tazwikiss/receipt	Thu Aug 31 03:20:51 2017 +0300
    44.3 @@ -45,7 +45,7 @@
    44.4      ".sh" => "/bin/sh"\
    44.5    )\
    44.6    index-file.names = ( "index.sh" )\
    44.7 -}\n\n&|' -i "$1/etc/lighttpd/lighttpd.conf"
    44.8 + }\n\n&|' -i "$1/etc/lighttpd/lighttpd.conf"
    44.9  			if [ -z "$1" ]; then
   44.10  				# Start Web server.
   44.11  				/etc/init.d/lighttpd stop