wok-next rev 20956

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 00:08:37 2018 +0300 (2018-09-05)
parents 701a4b1784b6
children ede906abe532
files 8086tiny/receipt GConf/description.txt GConf/receipt aisleriot/receipt alarm-clock-applet/receipt appdata-tools/receipt apulse/receipt ardour/receipt argon2/receipt aria2/receipt ario/.icon.png ario/receipt arp-scan/receipt arping/receipt asciidoc/receipt at-spi2-atk/receipt at-spi2-core/receipt atftp/receipt atomix/receipt aubio/receipt brasero/receipt bullet/receipt cairo-compmgr/receipt cdrdao/receipt cryptkeeper/receipt evolution-data-server/receipt florence-gtk2/receipt freerdp/receipt gammu/receipt gconf/description.txt gconf/receipt glade-perl/receipt gmtk/receipt gmtp/receipt gnaughty/receipt gnome-alsamixer/receipt gnome-desktop/receipt gnome-python-desktop/receipt gnome-vfs/receipt gsoap/receipt gst0-plugins-good/receipt gsynaptics/receipt gyrus/receipt h8300-gdb/receipt ibus/receipt iron-linux/receipt jq/receipt labyrinth/receipt libQtMimeTypes/receipt libbonoboui/receipt libdesktop-agnostic/receipt libgnome/receipt libgnomeui/receipt libmcs/receipt libmowgli/receipt libnet/receipt libpcap/receipt libpcap/stuff/patches/libpcap-1.8.1-enable_bluetooth-1.patch libpcap/stuff/patches/libpcap-1.9.0-enable_bluetooth-1.patch libpcap/stuff/patches/series libplayer/receipt libvalhalla/receipt liferea/receipt linphone/receipt luajit/receipt matchbox-config-gtk/receipt matchbox-window-manager/receipt metacity/receipt mlt/receipt mobile-broadband-provider-info/receipt moserial/receipt notecase/receipt notification-daemon-gtk2/receipt ogmrip/receipt oniguruma/receipt python-aubio/.icon.png python-aubio/receipt qca/receipt rawstudio/receipt soprano/receipt superswitcher/receipt usbmuxd/receipt vivaldi/receipt
line diff
     1.1 --- a/8086tiny/receipt	Mon Sep 03 10:09:42 2018 +0300
     1.2 +++ b/8086tiny/receipt	Wed Sep 05 00:08:37 2018 +0300
     1.3 @@ -12,23 +12,13 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
     1.6  
     1.7 -BUILD_DEPENDS_arm="libsdl-dev"
     1.8  BUILD_DEPENDS="libsdl-dev nasm"
     1.9  
    1.10  compile_rules() {
    1.11 -	case "$ARCH" in
    1.12 -		arm*)
    1.13 -			make CC=$HOST_SYSTEM-gcc 8086tiny_slowcpu
    1.14 -			nasm bios_source/bios.asm &&
    1.15 -			echo "Skipping: strip: Unable to recognise the format"
    1.16 -			;;
    1.17 -		*)
    1.18 -			make CC=gcc no_graphics &&
    1.19 -			mv 8086tiny 8086tiny.nographics &&
    1.20 -			make CC=gcc &&
    1.21 -			nasm bios_source/bios.asm
    1.22 -			;;
    1.23 -	esac || return 1
    1.24 +	make CC=gcc no_graphics &&
    1.25 +	mv 8086tiny 8086tiny.nographics &&
    1.26 +	make CC=gcc &&
    1.27 +	nasm bios_source/bios.asm || return 1
    1.28  
    1.29  	install -Dm755 $src/8086tiny            $install/usr/bin/8086tiny
    1.30  	[ -x "$src/8086tiny.nographics" ] &&
     2.1 --- a/GConf/description.txt	Mon Sep 03 10:09:42 2018 +0300
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,3 +0,0 @@
     2.4 -GConf is a system for storing application preferences. It is intended for user 
     2.5 -preferences; not configuration of something like Apache, or arbitrary data 
     2.6 -storage.
     3.1 --- a/GConf/receipt	Mon Sep 03 10:09:42 2018 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,43 +0,0 @@
     3.4 -# SliTaz package receipt v2.
     3.5 -
     3.6 -PACKAGE="GConf"
     3.7 -VERSION="2.32.3"
     3.8 -CATEGORY="utilities"
     3.9 -SHORT_DESC="A configuration database system"
    3.10 -MAINTAINER="rcx@zoominternet.net"
    3.11 -LICENSE="LGPL2"
    3.12 -WEB_SITE="http://projects.gnome.org/gconf/"
    3.13 -REPOLOGY="gconf"
    3.14 -
    3.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.16 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.17 -
    3.18 -BUILD_DEPENDS="intltool gettext openssl libcomerr3 gobject-introspection-dev \
    3.19 -orbit2-dev dbus-dev dbus-glib-dev polkit-dev libxml2-dev"
    3.20 -SPLIT="GConf-dev"
    3.21 -
    3.22 -compile_rules() {
    3.23 -	./configure \
    3.24 -		--libexecdir=/usr/lib/GConf \
    3.25 -		$CONFIGURE_ARGS &&
    3.26 -	fix libtool &&
    3.27 -	make &&
    3.28 -	make install
    3.29 -}
    3.30 -
    3.31 -genpkg_rules() {
    3.32 -	case $PACKAGE in
    3.33 -		GConf)
    3.34 -			copy @std
    3.35 -			DEPENDS="glibc-base glib dbus dbus-glib expat libxml2 zlib polkit \
    3.36 -			orbit2 atk cairo gtk+ fontconfig freetype pango xorg-pixman \
    3.37 -			libpng16 xorg-libX11 xorg-libXau xorg-libXcomposite \
    3.38 -			xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
    3.39 -			xorg-libXfixes xorg-libXinerama xorg-libXrender"
    3.40 -			;;
    3.41 -		*-dev)
    3.42 -			copy @dev
    3.43 -			DEPENDS="GConf orbit2-dev"
    3.44 -			;;
    3.45 -	esac
    3.46 -}
     4.1 --- a/aisleriot/receipt	Mon Sep 03 10:09:42 2018 +0300
     4.2 +++ b/aisleriot/receipt	Wed Sep 05 00:08:37 2018 +0300
     4.3 @@ -11,8 +11,8 @@
     4.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     4.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
     4.6  
     4.7 -BUILD_DEPENDS="pysolfc glib-dev GConf librsvg-dev desktop-file-utils-extra \
     4.8 -intltool guile-dev gtk+3-dev libcanberra-dev GConf-dev itstool gmp-dev"
     4.9 +BUILD_DEPENDS="pysolfc glib-dev librsvg-dev desktop-file-utils-extra \
    4.10 +intltool guile-dev gtk+3-dev libcanberra-dev gconf-dev itstool gmp-dev"
    4.11  
    4.12  compile_rules() {
    4.13  	./configure \
    4.14 @@ -27,7 +27,7 @@
    4.15  genpkg_rules() {
    4.16  	copy @std
    4.17  	rm -r $fs/usr/share/help/
    4.18 -	DEPENDS="GConf atk cairo gdk-pixbuf glib gtk+3 guile libcanberra \
    4.19 +	DEPENDS="gconf atk cairo gdk-pixbuf glib gtk+3 guile libcanberra \
    4.20  	libcanberra-gtk3 librsvg"
    4.21  	SUGGEST="pysolfc-cardsets pysolfc-cardsets-extra"
    4.22  }
     5.1 --- a/alarm-clock-applet/receipt	Mon Sep 03 10:09:42 2018 +0300
     5.2 +++ b/alarm-clock-applet/receipt	Wed Sep 05 00:08:37 2018 +0300
     5.3 @@ -11,7 +11,7 @@
     5.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.5  WGET_URL="https://launchpad.net/alarm-clock/trunk/$VERSION/+download/$TARBALL"
     5.6  
     5.7 -BUILD_DEPENDS="libxml2-dev gtk+-dev gstreamer1-dev GConf-dev gnome-icon-theme \
     5.8 +BUILD_DEPENDS="libxml2-dev gtk+-dev gstreamer1-dev gconf-dev gnome-icon-theme \
     5.9  libnotify-dev libunique-dev intltool"
    5.10  
    5.11  compile_rules() {
    5.12 @@ -29,6 +29,6 @@
    5.13  
    5.14  genpkg_rules() {
    5.15  	copy @std @ico 22x22/ 24x24/
    5.16 -	DEPENDS="GConf glib gstreamer1 gtk+ libnotify libunique libxml2   \
    5.17 +	DEPENDS="gconf glib gstreamer1 gtk+ libnotify libunique libxml2   \
    5.18  	notification-daemon-gtk2"
    5.19  }
     6.1 --- a/appdata-tools/receipt	Mon Sep 03 10:09:42 2018 +0300
     6.2 +++ b/appdata-tools/receipt	Wed Sep 05 00:08:37 2018 +0300
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt v2.
     6.5  
     6.6  PACKAGE="appdata-tools"
     6.7 -VERSION="0.1.7"
     6.8 +VERSION="0.1.8"
     6.9  CATEGORY="utilities"
    6.10  SHORT_DESC="AppData is a subset of AppStream"
    6.11  MAINTAINER="yuripourre@gmail.com"
    6.12 @@ -11,7 +11,8 @@
    6.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    6.14  WGET_URL="https://people.freedesktop.org/~hughsient/releases/$TARBALL"
    6.15  
    6.16 -BUILD_DEPENDS="gdk-pixbuf-dev libsoup-dev glib-dev sqlite3-dev intltool"
    6.17 +BUILD_DEPENDS="gdk-pixbuf-dev libsoup-dev glib-dev sqlite3-dev intltool \
    6.18 +appstream-glib-dev python-lxml"
    6.19  
    6.20  compile_rules() {
    6.21  	./configure $CONFIGURE_ARGS &&
    6.22 @@ -21,6 +22,6 @@
    6.23  }
    6.24  
    6.25  genpkg_rules() {
    6.26 -	copy @std @dev
    6.27 -	DEPENDS="gdk-pixbuf glib libsoup"
    6.28 +	copy @std @dev appdata/
    6.29 +	DEPENDS="appstream-glib glib"
    6.30  }
     7.1 --- a/apulse/receipt	Mon Sep 03 10:09:42 2018 +0300
     7.2 +++ b/apulse/receipt	Wed Sep 05 00:08:37 2018 +0300
     7.3 @@ -1,29 +1,32 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="apulse"
     7.8 -VERSION="0.1.5"
     7.9 +VERSION="0.1.12"
    7.10  CATEGORY="multimedia"
    7.11  SHORT_DESC="PulseAudio emulator for Alsa"
    7.12  MAINTAINER="psychomaniak@xakep.ru"
    7.13  LICENSE="MIT"
    7.14  WEB_SITE="https://github.com/i-rinat/apulse"
    7.15 -TARBALL="v$VERSION.tar.gz"
    7.16 -WGET_URL="$WEB_SITE/archive/$TARBALL"
    7.17 -SUGGESTED="skype"
    7.18  
    7.19 -DEPENDS="alsa-lib glib"
    7.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.21 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    7.22 +
    7.23  BUILD_DEPENDS="cmake alsa-lib-dev glib-dev"
    7.24  
    7.25 -# Rules to configure and make the package.
    7.26 -compile_rules()
    7.27 -{
    7.28 -        mv  $src/* ../
    7.29 -        cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
    7.30 -        make && make install
    7.31 +compile_rules() {
    7.32 +	mkdir build
    7.33 +	cd    build
    7.34 +
    7.35 +	cmake \
    7.36 +		-DCMAKE_INSTALL_PREFIX=/usr \
    7.37 +		-DCMAKE_BUILD_TYPE=Release \
    7.38 +		.. &&
    7.39 +	make &&
    7.40 +	make install
    7.41  }
    7.42  
    7.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.44 -genpkg_rules()
    7.45 -{
    7.46 -        cp -a $install/* $fs
    7.47 +genpkg_rules() {
    7.48 +	copy @std
    7.49 +	DEPENDS="alsa-lib glib"
    7.50 +	SUGGESTED="skype"
    7.51  }
     8.1 --- a/ardour/receipt	Mon Sep 03 10:09:42 2018 +0300
     8.2 +++ b/ardour/receipt	Wed Sep 05 00:08:37 2018 +0300
     8.3 @@ -14,7 +14,7 @@
     8.4  BUILD_DEPENDS="python itstool boost-dev \
     8.5  alsa-lib-dev glib-dev glibmm-dev libsndfile-dev curl-dev libarchive-dev \
     8.6  liblo-dev taglib-dev vamp-plugin-sdk-dev rubberband-dev eudev-dev fftw-dev \
     8.7 -aubio-dev cppunit-dev libusb-dev jack-dev pangomm-dev liblrdf-dev lv2 serd-dev \
     8.8 +python-aubio-dev cppunit-dev libusb-dev jack-dev pangomm-dev liblrdf-dev lv2 serd-dev \
     8.9  sord-dev sratom lilv gtkmm-dev dbus-dev readline-dev gettext"
    8.10  
    8.11  compile_rules() {
    8.12 @@ -45,7 +45,7 @@
    8.13  
    8.14  genpkg_rules() {
    8.15  	copy @std
    8.16 -	DEPENDS="alsa-lib atk atkmm aubio cairo cairomm dbus fftw flac fontconfig \
    8.17 +	DEPENDS="alsa-lib atk atkmm python-aubio cairo cairomm dbus fftw flac fontconfig \
    8.18  	freetype gdk-pixbuf glib glibmm gtk+ gtkmm libarchive libcurl libgiomm \
    8.19  	liblo liblrdf libogg libsamplerate libsigc++ libsndfile libusb libxml2 \
    8.20  	lilv pango pangomm readline rubberband serd sord sratom taglib \
     9.1 --- a/argon2/receipt	Mon Sep 03 10:09:42 2018 +0300
     9.2 +++ b/argon2/receipt	Wed Sep 05 00:08:37 2018 +0300
     9.3 @@ -11,7 +11,6 @@
     9.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     9.5  WGET_URL="https://github.com/P-H-C/phc-winner-argon2/archive/$VERSION/$TARBALL"
     9.6  
     9.7 -BUILD_DEPENDS=""
     9.8  SPLIT="argon2-dev"
     9.9  
    9.10  compile_rules() {
    10.1 --- a/aria2/receipt	Mon Sep 03 10:09:42 2018 +0300
    10.2 +++ b/aria2/receipt	Wed Sep 05 00:08:37 2018 +0300
    10.3 @@ -1,7 +1,7 @@
    10.4  # SliTaz package receipt v2.
    10.5  
    10.6  PACKAGE="aria2"
    10.7 -VERSION="1.33.1"
    10.8 +VERSION="1.34.0"
    10.9  CATEGORY="utilities"
   10.10  SHORT_DESC="A download utility with resuming and segmented downloading with \
   10.11  HTTP/HTTPS/FTP support"
    11.1 Binary file ario/.icon.png has changed
    12.1 --- a/ario/receipt	Mon Sep 03 10:09:42 2018 +0300
    12.2 +++ b/ario/receipt	Wed Sep 05 00:08:37 2018 +0300
    12.3 @@ -1,7 +1,7 @@
    12.4  # SliTaz package receipt v2.
    12.5  
    12.6  PACKAGE="ario"
    12.7 -VERSION="1.5.1"
    12.8 +VERSION="1.6"
    12.9  CATEGORY="multimedia"
   12.10  SHORT_DESC="GTK client for MPD"
   12.11  MAINTAINER="erjo@slitaz.org"
   12.12 @@ -11,28 +11,24 @@
   12.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
   12.14  WGET_URL="$SF_MIRROR/ario-player/$TARBALL"
   12.15  
   12.16 -BUILD_DEPENDS="intltool libgcrypt-dev gtk+-dev libunique-dev curl-dev \
   12.17 -gnutls-dev libmpdclient-dev taglib-dev libgpg-error-dev"
   12.18 +BUILD_DEPENDS="automake libtool gettext glib-dev intltool gtk+3-dev \
   12.19 +libxml2-dev curl-dev libmpdclient-dev taglib-dev"
   12.20  
   12.21  compile_rules() {
   12.22 -	sed -i 's|.glib/gslist.h.|<glib.h>|' src/ario-util.h src/ario-profiles.h
   12.23 -	sed -i 's|<glib/gkeyfile.h>|<glib.h>|' src/plugins/ario-plugin-info.c
   12.24 -
   12.25 +	autoreconf -fi &&
   12.26  	./configure \
   12.27 +		--disable-static \
   12.28  		--disable-dbus \
   12.29 -		--disable-notify \
   12.30  		--disable-mpdidle \
   12.31 -		--disable-audioscrobbler \
   12.32  		--disable-avahi \
   12.33  		$CONFIGURE_ARGS &&
   12.34  	fix libtool &&
   12.35 -	make -j1 &&
   12.36 -	make -j1 DESTDIR=$DESTDIR install
   12.37 +	make &&
   12.38 +	make install
   12.39  }
   12.40  
   12.41  genpkg_rules() {
   12.42 -	copy @std
   12.43 -	DEPENDS="gdk-pixbuf glib gtk+ libcurl libgcrypt libmpdclient libunique \
   12.44 -	libxml2 pango taglib"
   12.45 +	copy @std @ico
   12.46 +	DEPENDS="gdk-pixbuf glib gtk+3 libcurl libmpdclient libxml2 pango taglib"
   12.47  	TAGS="music audio player mp3 ogg"
   12.48  }
    13.1 --- a/arp-scan/receipt	Mon Sep 03 10:09:42 2018 +0300
    13.2 +++ b/arp-scan/receipt	Wed Sep 05 00:08:37 2018 +0300
    13.3 @@ -1,32 +1,28 @@
    13.4 -# SliTaz package receipt.
    13.5 +# SliTaz package receipt v2.
    13.6  
    13.7  PACKAGE="arp-scan"
    13.8 -VERSION="1.9"
    13.9 +VERSION="1.9.5"
   13.10  CATEGORY="network"
   13.11  SHORT_DESC="The ARP Scanner"
   13.12  MAINTAINER="pascal.bellard@slitaz.org"
   13.13  LICENSE="GPL3"
   13.14  WEB_SITE="https://github.com/royhills/arp-scan"
   13.15 +
   13.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   13.17  WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
   13.18  
   13.19 -DEPENDS="libpcap perl"
   13.20  BUILD_DEPENDS="autoconf automake libpcap-dev"
   13.21  
   13.22 -# Rules to configure and make the package.
   13.23 -compile_rules()
   13.24 -{
   13.25 +compile_rules() {
   13.26  	autoreconf --install
   13.27 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
   13.28 +
   13.29 +	./configure $CONFIGURE_ARGS &&
   13.30  	make &&
   13.31 -	make check | sed '/0$/d' &&
   13.32 -	make DESTDIR=$DESTDIR install
   13.33 +	make check &&
   13.34 +	make install
   13.35  }
   13.36  
   13.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.38 -genpkg_rules()
   13.39 -{
   13.40 -	mkdir -p $fs/usr $fs/usr/share
   13.41 -	cp -a $install/usr/bin $fs/usr
   13.42 -	cp -a $install/usr/share/arp-scan $fs/usr/share
   13.43 +genpkg_rules() {
   13.44 +	copy @std
   13.45 +	DEPENDS="libpcap perl"
   13.46  }
    14.1 --- a/arping/receipt	Mon Sep 03 10:09:42 2018 +0300
    14.2 +++ b/arping/receipt	Wed Sep 05 00:08:37 2018 +0300
    14.3 @@ -1,28 +1,27 @@
    14.4 -# SliTaz package receipt.
    14.5 +# SliTaz package receipt v2.
    14.6  
    14.7  PACKAGE="arping"
    14.8 -VERSION="2.13"
    14.9 +VERSION="2.19"
   14.10  CATEGORY="network"
   14.11  SHORT_DESC="ARP ping utility"
   14.12  MAINTAINER="slaxemulator@gmail.com"
   14.13  LICENSE="GPL2"
   14.14  WEB_SITE="http://www.habets.pp.se/synscan/programs.php?prog=arping"
   14.15 +
   14.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   14.17  WGET_URL="http://www.habets.pp.se/synscan/files/$TARBALL"
   14.18  
   14.19 -DEPENDS="libnet libpcap"
   14.20 -BUILD_DEPENDS="libpcap-dev libnet-dev"
   14.21 +BUILD_DEPENDS="automake libpcap-dev libnet-dev libcap-dev"
   14.22  
   14.23 -# Rules to configure and make the package.
   14.24 -compile_rules()
   14.25 -{
   14.26 +compile_rules() {
   14.27 +	./bootstrap.sh &&
   14.28 +
   14.29  	./configure $CONFIGURE_ARGS &&
   14.30 -	make && make DESTDIR=$DESTDIR install
   14.31 +	make &&
   14.32 +	make install
   14.33  }
   14.34  
   14.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.36 -genpkg_rules()
   14.37 -{
   14.38 -	mkdir -p $fs/usr
   14.39 -	cp -a $install/usr/sbin $fs/usr
   14.40 +genpkg_rules() {
   14.41 +	copy @std
   14.42 +	DEPENDS="libcap libnet libpcap"
   14.43  }
    15.1 --- a/asciidoc/receipt	Mon Sep 03 10:09:42 2018 +0300
    15.2 +++ b/asciidoc/receipt	Wed Sep 05 00:08:37 2018 +0300
    15.3 @@ -1,20 +1,21 @@
    15.4  # SliTaz package receipt v2.
    15.5  
    15.6  PACKAGE="asciidoc"
    15.7 -VERSION="8.6.9"
    15.8 +VERSION="8.6.10"
    15.9  CATEGORY="system-tools"
   15.10  SHORT_DESC="Text based document generation"
   15.11  MAINTAINER="pankso@slitaz.org"
   15.12  LICENSE="GPL2"
   15.13 -WEB_SITE="http://www.methods.co.nz/asciidoc/"
   15.14 -LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/asciidoc.html"
   15.15 +WEB_SITE="http://asciidoc.org/"
   15.16 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/asciidoc.html"
   15.17  
   15.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
   15.19 -WGET_URL="$SF_MIRROR/asciidoc/$TARBALL"
   15.20 +WGET_URL="https://github.com/asciidoc/asciidoc/archive/$VERSION.tar.gz"
   15.21  
   15.22 -BUILD_DEPENDS="python"
   15.23 +BUILD_DEPENDS="automake python libxml2-tools docbook-xml docbook-xsl"
   15.24  
   15.25  compile_rules() {
   15.26 +	autoconf &&
   15.27  	./configure $CONFIGURE_ARGS &&
   15.28  	make &&
   15.29  	make install &&
    16.1 --- a/at-spi2-atk/receipt	Mon Sep 03 10:09:42 2018 +0300
    16.2 +++ b/at-spi2-atk/receipt	Wed Sep 05 00:08:37 2018 +0300
    16.3 @@ -1,13 +1,13 @@
    16.4  # SliTaz package receipt v2.
    16.5  
    16.6  PACKAGE="at-spi2-atk"
    16.7 -VERSION="2.26.1"
    16.8 +VERSION="2.26.2"
    16.9  CATEGORY="libdevel"
   16.10  SHORT_DESC="Bridges ATK to At-Spi2 D-Bus service"
   16.11  MAINTAINER="yuripourre@gmail.com"
   16.12  LICENSE="GPL3"
   16.13  WEB_SITE="https://developer.gnome.org/libatspi/"
   16.14 -LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/at-spi2-atk.html"
   16.15 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/at-spi2-atk.html"
   16.16  
   16.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
   16.18  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    17.1 --- a/at-spi2-core/receipt	Mon Sep 03 10:09:42 2018 +0300
    17.2 +++ b/at-spi2-core/receipt	Wed Sep 05 00:08:37 2018 +0300
    17.3 @@ -1,26 +1,28 @@
    17.4  # SliTaz package receipt v2.
    17.5  
    17.6  PACKAGE="at-spi2-core"
    17.7 -VERSION="2.26.2"
    17.8 +VERSION="2.28.0"
    17.9  CATEGORY="libdevel"
   17.10  SHORT_DESC="Service Provider Interface for the Assistive Technologies"
   17.11  MAINTAINER="al.bobylev@gmail.com"
   17.12  LICENSE="GPL3"
   17.13  WEB_SITE="https://developer.gnome.org/libatspi/"
   17.14 -LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/at-spi2-core.html"
   17.15 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/at-spi2-core.html"
   17.16  
   17.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
   17.18  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   17.19  
   17.20 -BUILD_DEPENDS="gettext dbus-dev xorg-libX11-dev xorg-libXtst-dev \
   17.21 -gobject-introspection-dev"
   17.22 +BUILD_DEPENDS="meson ninja dbus-dev glib-dev xorg-libX11-dev xorg-libXtst-dev \
   17.23 +gobject-introspection-dev gettext"
   17.24  SPLIT="at-spi2-core-dev"
   17.25  
   17.26  compile_rules() {
   17.27 -	./configure $CONFIGURE_ARGS &&
   17.28 -	fix libtool &&
   17.29 -	make &&
   17.30 -	make install
   17.31 +	mkdir build
   17.32 +	cd    build
   17.33 +
   17.34 +	meson-wrapper &&
   17.35 +	ninja &&
   17.36 +	ninja install
   17.37  }
   17.38  
   17.39  genpkg_rules() {
    18.1 --- a/atftp/receipt	Mon Sep 03 10:09:42 2018 +0300
    18.2 +++ b/atftp/receipt	Wed Sep 05 00:08:37 2018 +0300
    18.3 @@ -1,7 +1,7 @@
    18.4  # SliTaz package receipt v2.
    18.5  
    18.6  PACKAGE="atftp"
    18.7 -VERSION="0.7"
    18.8 +VERSION="0.7.1"
    18.9  CATEGORY="network"
   18.10  SHORT_DESC="Advanced Trivial File Transport Protocol"
   18.11  MAINTAINER="pascal.bellard@slitaz.org"
   18.12 @@ -11,34 +11,31 @@
   18.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
   18.14  WGET_URL="http://downloads.openwrt.org/sources/$TARBALL"
   18.15  
   18.16 -BUILD_DEPENDS="pcre-dev readline-dev"
   18.17 +BUILD_DEPENDS="pcre-dev readline-dev automake"
   18.18  SPLIT="atftpd"
   18.19  
   18.20  compile_rules() {
   18.21 -	sed -i  -e 's/char \*__entry) __THROW/char *__entry))/' \
   18.22 -		-e 's/^_*argz_next/__NTH(&/' argz.h
   18.23 -	sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
   18.24 +#	sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \
   18.25 +#		-e 's/^_*argz_next/__NTH(&/' argz.h
   18.26 +#	sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
   18.27  	sed -i 's/D_REENTRANT/& -std=gnu89/' configure*
   18.28 +
   18.29 +	autoreconf -vi &&
   18.30  	./configure \
   18.31 -		--prefix=/usr \
   18.32 -		--infodir=/usr/share/info \
   18.33 -		--mandir=/usr/share/man \
   18.34  		$CONFIGURE_ARGS &&
   18.35  	make &&
   18.36 -	make DESTDIR=$DESTDIR install
   18.37 +	make install
   18.38  }
   18.39  
   18.40  genpkg_rules() {
   18.41  	case $PACKAGE in
   18.42  		atftp)
   18.43 -			mkdir -p $fs/usr
   18.44 -			cp -a $install/usr/bin $fs/usr
   18.45 +			copy atftp
   18.46  			CAT="network|client"
   18.47  			DEPENDS="readline"
   18.48  			;;
   18.49  		atftpd)
   18.50 -			mkdir -p $fs/usr
   18.51 -			cp -a $install/usr/sbin $fs/usr
   18.52 +			copy atftpd in.tftpd
   18.53  			CAT="network|server"
   18.54  			DEPENDS="libpcre"
   18.55  			;;
    19.1 --- a/atomix/receipt	Mon Sep 03 10:09:42 2018 +0300
    19.2 +++ b/atomix/receipt	Wed Sep 05 00:08:37 2018 +0300
    19.3 @@ -1,7 +1,7 @@
    19.4  # SliTaz package receipt v2.
    19.5  
    19.6  PACKAGE="atomix"
    19.7 -VERSION="3.22.0"
    19.8 +VERSION="3.29.3"
    19.9  CATEGORY="games"
   19.10  SHORT_DESC="Build molecules out of single atoms"
   19.11  MAINTAINER="al.bobylev@gmail.com"
   19.12 @@ -11,15 +11,17 @@
   19.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
   19.14  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   19.15  
   19.16 -BUILD_DEPENDS="gtk+3-dev gdk-pixbuf-dev glib-dev intltool"
   19.17 +BUILD_DEPENDS="meson ninja gtk+3-dev libgnome-games-support-dev gettext"
   19.18  
   19.19  compile_rules() {
   19.20 -	./configure $CONFIGURE_ARGS &&
   19.21 -	make &&
   19.22 -	make install
   19.23 +	mkdir build
   19.24 +	cd    build
   19.25 +	meson-wrapper &&
   19.26 +	ninja &&
   19.27 +	ninja install
   19.28  }
   19.29  
   19.30  genpkg_rules() {
   19.31  	copy @std
   19.32 -	DEPENDS="gdk-pixbuf glib gtk+3"
   19.33 +	DEPENDS="gdk-pixbuf glib gtk+3 libgnome-games-support"
   19.34  }
    20.1 --- a/aubio/receipt	Mon Sep 03 10:09:42 2018 +0300
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,39 +0,0 @@
    20.4 -# SliTaz package receipt v2.
    20.5 -
    20.6 -PACKAGE="aubio"
    20.7 -VERSION="0.4.5"
    20.8 -CATEGORY="multimedia"
    20.9 -MAINTAINER="jozee@slitaz.org"
   20.10 -LICENSE="GPL3"
   20.11 -SHORT_DESC="A library for audio labelling"
   20.12 -WEB_SITE="https://aubio.org/"
   20.13 -
   20.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   20.15 -WGET_URL="https://aubio.org/pub/$TARBALL"
   20.16 -
   20.17 -BUILD_DEPENDS="python-dev fftw-dev libsndfile-dev libsamplerate-dev jack-dev \
   20.18 -ffmpeg-dev gfortran lapack-dev python-numpy"
   20.19 -SPLIT="aubio-dev"
   20.20 -
   20.21 -compile_rules() {
   20.22 -	./waf configure \
   20.23 -		--prefix=/usr \
   20.24 -		--enable-fftw3f &&
   20.25 -	./waf build &&
   20.26 -	./waf install \
   20.27 -		--destdir="$install"
   20.28 -#	./setup.py install --root="$install" --optimize=1
   20.29 -}
   20.30 -
   20.31 -genpkg_rules() {
   20.32 -	case $PACKAGE in
   20.33 -		aubio)
   20.34 -			copy @std
   20.35 -			DEPENDS="ffmpeg fftw jack libsamplerate libsndfile"
   20.36 -			TAGS="audio label multimedia"
   20.37 -			;;
   20.38 -		*-dev)
   20.39 -			copy @dev
   20.40 -			;;
   20.41 -	esac
   20.42 -}
    21.1 --- a/brasero/receipt	Mon Sep 03 10:09:42 2018 +0300
    21.2 +++ b/brasero/receipt	Wed Sep 05 00:08:37 2018 +0300
    21.3 @@ -12,7 +12,7 @@
    21.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    21.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    21.6  
    21.7 -BUILD_DEPENDS="glib-dev gtk+-dev GConf-dev gstreamer0-dev gst0-plugins-base-dev \
    21.8 +BUILD_DEPENDS="glib-dev gtk+-dev gconf-dev gstreamer0-dev gst0-plugins-base-dev \
    21.9  libxml2-dev libunique-dev dbus-glib-dev gnome-doc-utils xorg-libxcb-dev \
   21.10  libpthread-stubs xorg-xcb-util-dev orbit2-dev dbus-dev libcanberra-dev \
   21.11  libxml2-python libvorbis-dev libogg-dev util-linux-uuid-dev \
   21.12 @@ -40,7 +40,7 @@
   21.13  	case $PACKAGE in
   21.14  		brasero)
   21.15  			copy @std
   21.16 -			DEPENDS="GConf cairo dbus-glib gdk-pixbuf glib gst0-plugins-base \
   21.17 +			DEPENDS="gconf cairo dbus-glib gdk-pixbuf glib gst0-plugins-base \
   21.18  			gstreamer0 gtk+ libcanberra-gtk2 libunique libxml2 pango \
   21.19  			xorg-libICE xorg-libSM" # cdrdao dvd+rw-tools libvorbis libogg
   21.20  			;;
    22.1 --- a/bullet/receipt	Mon Sep 03 10:09:42 2018 +0300
    22.2 +++ b/bullet/receipt	Wed Sep 05 00:08:37 2018 +0300
    22.3 @@ -7,40 +7,34 @@
    22.4  MAINTAINER="domcox@slitaz.org"
    22.5  LICENSE="zlib/libpng"
    22.6  WEB_SITE="http://bulletphysics.org"
    22.7 +
    22.8  TARBALL="$PACKAGE-$VERSION.tgz"
    22.9  WGET_URL="http://bullet.googlecode.com/files/$TARBALL"
   22.10  
   22.11  BUILD_DEPENDS="cmake mesa-dev freeglut-dev glu-dev python-dev"
   22.12 -SPLIT="bullet bullet-dev"
   22.13 +SPLIT="bullet-dev"
   22.14  
   22.15 -# Rules to configure and make the package.
   22.16 -compile_rules()
   22.17 -{
   22.18 +compile_rules() {
   22.19  	mkdir build
   22.20 -	cd build
   22.21 -	cmake .. \
   22.22 +	cd    build
   22.23 +	cmake \
   22.24  		-DBUILD_CPU_DEMOS=OFF \
   22.25  		-DBUILD_DEMOS=OFF \
   22.26  		-DBUILD_SHARED_LIBS=ON \
   22.27 -		-DCMAKE_INSTALL_PREFIX=/usr &&
   22.28 +		-DCMAKE_INSTALL_PREFIX=/usr \
   22.29 +		.. &&
   22.30  	make $MAKEFLAGS &&
   22.31  	make install DESTDIR=$install
   22.32  }
   22.33  
   22.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.35 -genpkg_rules()
   22.36 -{
   22.37 +genpkg_rules() {
   22.38  	case $PACKAGE in
   22.39 -	bullet)
   22.40 -		DEPENDS="mesa freeglut"
   22.41 -		mkdir -p $fs/usr/lib
   22.42 -		cp -a $install/usr/lib/*.so* $fs/usr/lib
   22.43 -		;;
   22.44 -	bullet-dev)
   22.45 -		mkdir -p $fs/usr/lib
   22.46 -		cp -a $install/usr/include $fs/usr
   22.47 -		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   22.48 -		cp -a $install/usr/lib/cmake $fs/usr/lib
   22.49 -		;;
   22.50 +		bullet)
   22.51 +			copy @std
   22.52 +			DEPENDS="mesa freeglut"
   22.53 +			;;
   22.54 +		*-dev)
   22.55 +			copy @dev
   22.56 +			;;
   22.57  	esac
   22.58  }
    23.1 --- a/cairo-compmgr/receipt	Mon Sep 03 10:09:42 2018 +0300
    23.2 +++ b/cairo-compmgr/receipt	Wed Sep 05 00:08:37 2018 +0300
    23.3 @@ -45,7 +45,7 @@
    23.4  		*-dev)
    23.5  			copy @dev
    23.6  			DEPENDS="cairo-compmgr \
    23.7 -			GConf-dev cairo-dev gtk+-dev"
    23.8 +			gconf-dev cairo-dev gtk+-dev"
    23.9  			;;
   23.10  	esac
   23.11  }
    24.1 --- a/cdrdao/receipt	Mon Sep 03 10:09:42 2018 +0300
    24.2 +++ b/cdrdao/receipt	Wed Sep 05 00:08:37 2018 +0300
    24.3 @@ -12,7 +12,7 @@
    24.4  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    24.5  
    24.6  BUILD_DEPENDS="lame-dev libmad-dev libvorbis-dev libao-dev libao libogg-dev \
    24.7 -GConf"
    24.8 +gconf"
    24.9  SPLIT="cdrdao-utils"
   24.10  
   24.11  compile_rules() {
    25.1 --- a/cryptkeeper/receipt	Mon Sep 03 10:09:42 2018 +0300
    25.2 +++ b/cryptkeeper/receipt	Wed Sep 05 00:08:37 2018 +0300
    25.3 @@ -11,20 +11,18 @@
    25.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    25.5  WGET_URL="https://github.com/tomm/cryptkeeper/archive/$COMMIT.tar.gz"
    25.6  
    25.7 -DEPENDS="gtk+ GConf encfs"
    25.8 -BUILD_DEPENDS="gtk+-dev GConf-dev xorg-libX11-dev"
    25.9 +BUILD_DEPENDS="gtk+-dev gconf-dev xorg-libX11-dev"
   25.10  
   25.11 -# Rules to configure and make the package.
   25.12 -compile_rules()
   25.13 -{
   25.14 +compile_rules() {
   25.15  	mv po/ru_RU.gmo po/ru.gmo
   25.16  	export LDFLAGS="-lX11"
   25.17  
   25.18 -	./configure $CONFIGURE_ARGS && make && make install
   25.19 +	./configure $CONFIGURE_ARGS &&
   25.20 +	make &&
   25.21 +	make install
   25.22  }
   25.23  
   25.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   25.25 -genpkg_rules()
   25.26 -{
   25.27 +genpkg_rules() {
   25.28  	copy usr/
   25.29 +	DEPENDS="gtk+ gconf encfs"
   25.30  }
    26.1 --- a/evolution-data-server/receipt	Mon Sep 03 10:09:42 2018 +0300
    26.2 +++ b/evolution-data-server/receipt	Wed Sep 05 00:08:37 2018 +0300
    26.3 @@ -12,7 +12,7 @@
    26.4  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    26.5  
    26.6  BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev orbit2-dev libbonobo-dev \
    26.7 -GConf-dev libical-dev firefox-dev db-dev xorg-libxcb-dev popt-dev bison flex \
    26.8 +gconf-dev libical-dev firefox-dev db-dev xorg-libxcb-dev popt-dev bison flex \
    26.9  glib-dev sqlite3-dev"
   26.10  SPLIT="evolution-data-server-dev"
   26.11  
   26.12 @@ -29,40 +29,18 @@
   26.13  		--with-nspr-include=/usr/include/firefox-3.5.3/stable \
   26.14  		--with-nspr-libs=/usr/lib/firefox-devel-3.5.3/sdk/lib \
   26.15  		$CONFIGURE_ARGS &&
   26.16 -	make && make DESTDIR=$DESTDIR install
   26.17 +	make &&
   26.18 +	make DESTDIR=$DESTDIR install
   26.19  }
   26.20  
   26.21  genpkg_rules() {
   26.22  	case $PACKAGE in
   26.23  		evolution-data-server)
   26.24 -			mkdir -p $fs/usr/lib $fs/usr/share
   26.25 -
   26.26 -			cp -a $install/usr/share/pixmaps $fs/usr/share
   26.27 -			cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share
   26.28 -			cp -a $install/usr/share/idl $fs/usr/share
   26.29 -
   26.30 -			cp -a $install/usr/lib/bonobo $fs/usr/lib
   26.31 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   26.32 -			cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
   26.33 -
   26.34 -			# Clean unwated files
   26.35 -			cd $fs/usr/lib  ; find . -name "*.*a" -exec rm -f {} \;
   26.36 -
   26.37 -			# Stripping all
   26.38 -			find . -name "*.so" -exec strip -s {} \;
   26.39 +			copy @std
   26.40  			DEPENDS="libgnomeui libsoup"
   26.41  			;;
   26.42  		*-dev)
   26.43 -			mkdir -p $fs/usr/lib
   26.44 -
   26.45 -			cp -a $install/usr/include $fs/usr 
   26.46 -
   26.47 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   26.48 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
   26.49 -			cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib
   26.50 -
   26.51 -			# Clean unwated files
   26.52 -			cd $fs/usr/lib  ; find . -name "*.so*" -exec rm -f {} \;
   26.53 +			copy @dev
   26.54  			;;
   26.55  	esac
   26.56  }
    27.1 --- a/florence-gtk2/receipt	Mon Sep 03 10:09:42 2018 +0300
    27.2 +++ b/florence-gtk2/receipt	Wed Sep 05 00:08:37 2018 +0300
    27.3 @@ -12,7 +12,7 @@
    27.4  TARBALL="florence-$VERSION.tar.bz2"
    27.5  WGET_URL="$SF_MIRROR/florence/$TARBALL"
    27.6  
    27.7 -BUILD_DEPENDS="intltool GConf-dev xorg-libX11-dev glib-dev cairo-dev \
    27.8 +BUILD_DEPENDS="intltool gconf-dev xorg-libX11-dev glib-dev cairo-dev \
    27.9  librsvg-dev libxml2-dev gtk+-dev gstreamer0-dev xorg-libXtst-dev \
   27.10  at-spi2-core-dev at-spi2-atk-dev gtk+-dev"
   27.11  
   27.12 @@ -28,7 +28,7 @@
   27.13  
   27.14  genpkg_rules() {
   27.15  	copy @std *.mo
   27.16 -	DEPENDS="GConf at-spi2-core cairo gdk-pixbuf glib gstreamer0 gtk+ librsvg \
   27.17 +	DEPENDS="gconf at-spi2-core cairo gdk-pixbuf glib gstreamer0 gtk+ librsvg \
   27.18  	libxml2 pango xorg-libX11 xorg-libXtst"
   27.19  	PROVIDE="florence"
   27.20  }
    28.1 --- a/freerdp/receipt	Mon Sep 03 10:09:42 2018 +0300
    28.2 +++ b/freerdp/receipt	Wed Sep 05 00:08:37 2018 +0300
    28.3 @@ -14,31 +14,26 @@
    28.4  xorg-dev-proto cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev"
    28.5  SPLIT="freerdp freerdp-dev"
    28.6  
    28.7 -# Rules to configure and make the package.
    28.8 -compile_rules()
    28.9 -{
   28.10 -	cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . &&
   28.11 +compile_rules() {
   28.12 +	cmake \
   28.13 +		-DWITH_PCSC=ON \
   28.14 +		-DCMAKE_INSTALL_PREFIX=/usr \
   28.15 +		. &&
   28.16  	make &&
   28.17  	make DESTDIR=$DESTDIR install
   28.18  }
   28.19  
   28.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.21 -genpkg_rules()
   28.22 -{
   28.23 +genpkg_rules() {
   28.24  	case $PACKAGE in
   28.25 -	freerdp)
   28.26 -		TAGS="rdp remote-desktop"
   28.27 -		DEPENDS="zlib libkrb5 openssl libcomerr cups alsa-lib xorg-libxcb \
   28.28 +		freerdp)
   28.29 +			copy @std
   28.30 +			DEPENDS="zlib libkrb5 openssl libcomerr cups alsa-lib xorg-libxcb \
   28.31  			xorg-libXcursor ffmpeg xorg-libXv pcsc-lite"
   28.32 -		mkdir -p $fs/usr/lib/freerdp $fs/usr/share
   28.33 -		cp -a $install/usr/bin $fs/usr
   28.34 -		cp -a $install/usr/lib/*.so* $fs/usr/lib
   28.35 -		;;
   28.36 -	freerdp-dev)
   28.37 -		DEPENDS="fftw openssl-dev"
   28.38 -		mkdir -p $fs/usr/lib/freerdp
   28.39 -		cp -a $install/usr/include $fs/usr
   28.40 -		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   28.41 -		;;
   28.42 +			TAGS="rdp remote-desktop"
   28.43 +			;;
   28.44 +		*-dev)
   28.45 +			copy @dev
   28.46 +			DEPENDS="fftw openssl-dev"
   28.47 +			;;
   28.48  	esac
   28.49  }
    29.1 --- a/gammu/receipt	Mon Sep 03 10:09:42 2018 +0300
    29.2 +++ b/gammu/receipt	Wed Sep 05 00:08:37 2018 +0300
    29.3 @@ -15,10 +15,12 @@
    29.4  SPLIT="gammu-dev"
    29.5  
    29.6  compile_rules() {
    29.7 -	mkdir -p build && cd build
    29.8 +	mkdir build
    29.9 +	cd    build
   29.10  	cmake \
   29.11  		-DCMAKE_INSTALL_PREFIX=/usr \
   29.12 -		-DBUILD_SHARED_LIBS=ON .. &&
   29.13 +		-DBUILD_SHARED_LIBS=ON \
   29.14 +		.. &&
   29.15  	make &&
   29.16  	make DESTDIR=$DESTDIR install
   29.17  }
   29.18 @@ -26,18 +28,11 @@
   29.19  genpkg_rules() {
   29.20  	case $PACKAGE in
   29.21  		gammu)
   29.22 -			mkdir -p $fs/usr/lib
   29.23 -			cp -a $install/usr/bin $fs/usr
   29.24 -			rm $fs/usr/bin/gammu-config
   29.25 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   29.26 +			copy @std
   29.27  			DEPENDS="bluez sqlite3 libusb-compat libcurl"
   29.28  			;;
   29.29  		*-dev)
   29.30 -			mkdir -p $fs/usr/lib $fs/usr/bin
   29.31 -			cp -a $install/usr/bin/gammu-config $fs/usr/bin
   29.32 -			#cp -a $install/usr/lib/*.*a $fs/usr/lib
   29.33 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   29.34 -			cp -a $install/usr/include $fs/usr
   29.35 +			copy @dev
   29.36  			;;
   29.37  	esac
   29.38  }
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/gconf/description.txt	Wed Sep 05 00:08:37 2018 +0300
    30.3 @@ -0,0 +1,3 @@
    30.4 +GConf is a system for storing application preferences. It is intended for user 
    30.5 +preferences; not configuration of something like Apache, or arbitrary data 
    30.6 +storage.
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/gconf/receipt	Wed Sep 05 00:08:37 2018 +0300
    31.3 @@ -0,0 +1,42 @@
    31.4 +# SliTaz package receipt v2.
    31.5 +
    31.6 +PACKAGE="gconf"
    31.7 +VERSION="2.32.3"
    31.8 +CATEGORY="utilities"
    31.9 +SHORT_DESC="A configuration database system"
   31.10 +MAINTAINER="rcx@zoominternet.net"
   31.11 +LICENSE="LGPL2"
   31.12 +WEB_SITE="http://projects.gnome.org/gconf/"
   31.13 +
   31.14 +TARBALL="GConf-$VERSION.tar.bz2"
   31.15 +WGET_URL="$GNOME_MIRROR/GConf/${VERSION%.*}/$TARBALL"
   31.16 +
   31.17 +BUILD_DEPENDS="intltool gettext openssl libcomerr3 gobject-introspection-dev \
   31.18 +orbit2-dev dbus-dev dbus-glib-dev polkit-dev libxml2-dev"
   31.19 +SPLIT="gconf-dev"
   31.20 +
   31.21 +compile_rules() {
   31.22 +	./configure \
   31.23 +		--libexecdir=/usr/lib/GConf \
   31.24 +		$CONFIGURE_ARGS &&
   31.25 +	fix libtool &&
   31.26 +	make &&
   31.27 +	make install
   31.28 +}
   31.29 +
   31.30 +genpkg_rules() {
   31.31 +	case $PACKAGE in
   31.32 +		gconf)
   31.33 +			copy @std
   31.34 +			DEPENDS="glibc-base glib dbus dbus-glib expat libxml2 zlib polkit \
   31.35 +			orbit2 atk cairo gtk+ fontconfig freetype pango xorg-pixman \
   31.36 +			libpng16 xorg-libX11 xorg-libXau xorg-libXcomposite \
   31.37 +			xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
   31.38 +			xorg-libXfixes xorg-libXinerama xorg-libXrender"
   31.39 +			;;
   31.40 +		*-dev)
   31.41 +			copy @dev
   31.42 +			DEPENDS="gconf orbit2-dev"
   31.43 +			;;
   31.44 +	esac
   31.45 +}
    32.1 --- a/glade-perl/receipt	Mon Sep 03 10:09:42 2018 +0300
    32.2 +++ b/glade-perl/receipt	Wed Sep 05 00:08:37 2018 +0300
    32.3 @@ -15,18 +15,13 @@
    32.4  BUILD_DEPENDS="perl-extutils-depends perl-extutils-pkgconfig perl-gtk2 \
    32.5  libglade-dev perl-dev"
    32.6  
    32.7 -# Rules to configure and make the package.
    32.8 -compile_rules()
    32.9 -{
   32.10 -	cd $src
   32.11 +compile_rules() {
   32.12  	perl Makefile.PL &&
   32.13  	make &&
   32.14  	make install DESTDIR=$DESTDIR
   32.15  }
   32.16  
   32.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   32.18 -genpkg_rules()
   32.19 -{
   32.20 +genpkg_rules() {
   32.21  	mkdir -p $fs/usr
   32.22  	cp -a $install/usr/lib $fs/usr
   32.23  }
    33.1 --- a/gmtk/receipt	Mon Sep 03 10:09:42 2018 +0300
    33.2 +++ b/gmtk/receipt	Wed Sep 05 00:08:37 2018 +0300
    33.3 @@ -12,7 +12,7 @@
    33.4  WGET_URL="https://github.com/kdekorte/gmtk/archive/v$VERSION.tar.gz"
    33.5  
    33.6  BUILD_DEPENDS="gettext intltool xorg-libX11-dev gtk+3-dev gtk+-dev glib-dev \
    33.7 -GConf-dev alsa-lib-dev pulseaudio-dev"
    33.8 +gconf-dev alsa-lib-dev pulseaudio-dev"
    33.9  SPLIT="gmlib gmtk gmtk3 gmtk-dev"
   33.10  
   33.11  compile_rules() {
    34.1 --- a/gmtp/receipt	Mon Sep 03 10:09:42 2018 +0300
    34.2 +++ b/gmtp/receipt	Wed Sep 05 00:08:37 2018 +0300
    34.3 @@ -1,4 +1,4 @@
    34.4 -# SliTaz package receipt.
    34.5 +# SliTaz package receipt v2.
    34.6  
    34.7  PACKAGE="gmtp"
    34.8  VERSION="1.3.7"
    34.9 @@ -7,21 +7,20 @@
   34.10  MAINTAINER="al.bobylev@gmail.com"
   34.11  LICENSE="BSD"
   34.12  WEB_SITE="https://sourceforge.net/projects/gmtp/"
   34.13 +
   34.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   34.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   34.16  
   34.17 -DEPENDS="GConf flac libid3tag libmtp"
   34.18 -BUILD_DEPENDS="gtk+-dev GConf-dev libmtp-dev flac-dev libid3tag-dev \
   34.19 +BUILD_DEPENDS="gtk+-dev gconf-dev libmtp-dev flac-dev libid3tag-dev \
   34.20  libvorbis-dev"
   34.21  
   34.22 -# Rules to configure and make the package.
   34.23 -compile_rules()
   34.24 -{
   34.25 -	./configure $CONFIGURE_ARGS && make && make install
   34.26 +compile_rules() {
   34.27 +	./configure $CONFIGURE_ARGS &&
   34.28 +	make &&
   34.29 +	make install
   34.30  }
   34.31  
   34.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
   34.33 -genpkg_rules()
   34.34 -{
   34.35 -	cp -a $install/* $fs
   34.36 +genpkg_rules() {
   34.37 +	copy @std
   34.38 +	DEPENDS="gconf flac libid3tag libmtp"
   34.39  }
    35.1 --- a/gnaughty/receipt	Mon Sep 03 10:09:42 2018 +0300
    35.2 +++ b/gnaughty/receipt	Wed Sep 05 00:08:37 2018 +0300
    35.3 @@ -1,4 +1,4 @@
    35.4 -# SliTaz package receipt.
    35.5 +# SliTaz package receipt v2.
    35.6  
    35.7  PACKAGE="gnaughty"
    35.8  VERSION="1.2.4"
    35.9 @@ -6,26 +6,24 @@
   35.10  SHORT_DESC="Gnaughty is an utility to automatically download adult sex content."
   35.11  MAINTAINER="devl547@gmail.com"
   35.12  LICENSE="GPL2"
   35.13 +WEB_SITE="http://gnaughty.sourceforge.net/"
   35.14 +
   35.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   35.16 -WEB_SITE="http://gnaughty.sourceforge.net/"
   35.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   35.18  
   35.19 -BUILD_DEPENDS="curl-dev gtk+-dev glib-dev pcre-dev libglade-dev GConf-dev"
   35.20 -DEPENDS="curl gtk+ glib pcre libglade GConf"
   35.21 +BUILD_DEPENDS="curl-dev gtk+-dev glib-dev pcre-dev libglade-dev gconf-dev"
   35.22  
   35.23 -# Rules to configure and make the package.
   35.24 -compile_rules()
   35.25 -{
   35.26 +compile_rules() {
   35.27  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgthread-2.0"
   35.28  	sed -i 's|curl/types|curl/curl|' src/http.c
   35.29  	sed -i 's/test -z "\$(gladedir)".*/& || true/' src/Makefile.in
   35.30 +
   35.31  	./configure --prefix=/usr &&
   35.32 -	make &&	make -j 1 install
   35.33 +	make &&
   35.34 +	make -j1 install
   35.35  }
   35.36  
   35.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   35.38 -genpkg_rules()
   35.39 -{
   35.40 -	cp -a $install/usr/bin $fs/usr
   35.41 -	cp -a $install/usr/share/ $fs/usr/
   35.42 +genpkg_rules() {
   35.43 +	copy @std
   35.44 +	DEPENDS="curl gtk+ glib pcre libglade gconf"
   35.45  }
    36.1 --- a/gnome-alsamixer/receipt	Mon Sep 03 10:09:42 2018 +0300
    36.2 +++ b/gnome-alsamixer/receipt	Wed Sep 05 00:08:37 2018 +0300
    36.3 @@ -13,7 +13,7 @@
    36.4  
    36.5  DEPENDS="gtk+ libgnomeui libgnome-keyring"
    36.6  BUILD_DEPENDS="automake autoconf glib dbus-dev libgnomeui-dev libgnome-dev \
    36.7 -GConf-dev alsa-lib-dev"
    36.8 +gconf-dev alsa-lib-dev"
    36.9  
   36.10  # Rules to configure and make the package.
   36.11  compile_rules()
    37.1 --- a/gnome-desktop/receipt	Mon Sep 03 10:09:42 2018 +0300
    37.2 +++ b/gnome-desktop/receipt	Wed Sep 05 00:08:37 2018 +0300
    37.3 @@ -11,7 +11,7 @@
    37.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    37.5  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    37.6  
    37.7 -BUILD_DEPENDS="python-dev libxml2-python GConf-dev gnome-doc-utils \
    37.8 +BUILD_DEPENDS="python-dev libxml2-python gconf-dev gnome-doc-utils \
    37.9  intltool gtk+-dev xorg-libXrandr-dev"
   37.10  SPLIT="gnome-desktop-dev"
   37.11  
   37.12 @@ -34,7 +34,7 @@
   37.13  	case $PACKAGE in
   37.14  		gnome-desktop)
   37.15  			copy bin/ *.so*
   37.16 -			DEPENDS="GConf gtk+ startup-notification"
   37.17 +			DEPENDS="gconf gtk+ startup-notification"
   37.18  			;;
   37.19  		*-dev)
   37.20  			copy @dev
    38.1 --- a/gnome-python-desktop/receipt	Mon Sep 03 10:09:42 2018 +0300
    38.2 +++ b/gnome-python-desktop/receipt	Wed Sep 05 00:08:37 2018 +0300
    38.3 @@ -10,23 +10,19 @@
    38.4  WEB_SITE="https://www.gnome.org/"
    38.5  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    38.6  
    38.7 -DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck2"
    38.8 -BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev \
    38.9 +BUILD_DEPENDS="python-dev gconf-dev gnome-python libgnome-keyring-dev \
   38.10  gnome-keyring-dev librsvg-dev libwnck2-dev python-pygtk-dev gnome-python-dev"
   38.11  
   38.12 -# Rules to configure and make the package.
   38.13 -compile_rules()
   38.14 -{
   38.15 +compile_rules() {
   38.16  	./waf configure --prefix=/usr \
   38.17  		--enable-module "gnomekeyring,rsvg,wnck" &&
   38.18  	./waf build &&
   38.19  	./waf install --destdir=$DESTDIR
   38.20  }
   38.21  
   38.22 -# Rules to gen a SliTaz package suitable for Tazpkg.
   38.23 -genpkg_rules()
   38.24 -{
   38.25 +genpkg_rules() {
   38.26  	mkdir -p $fs/usr/share
   38.27  	cp -a $install/usr/lib $fs/usr
   38.28  	cp -a $install/usr/share/pygtk $fs/usr/share
   38.29 +	DEPENDS="python gconf gnome-python gnome-keyring librsvg libwnck2"
   38.30  }
    39.1 --- a/gnome-vfs/receipt	Mon Sep 03 10:09:42 2018 +0300
    39.2 +++ b/gnome-vfs/receipt	Wed Sep 05 00:08:37 2018 +0300
    39.3 @@ -11,7 +11,7 @@
    39.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    39.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    39.6  
    39.7 -BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev shared-mime-info \
    39.8 +BUILD_DEPENDS="gtk+-dev dbus-glib-dev gconf-dev bzip2-dev shared-mime-info \
    39.9  gnome-mime-data-dev libxml2-dev zlib-dev intltool gnutls-dev libgcrypt-dev \
   39.10  libtool gtk-doc automake"
   39.11  SPLIT="gnome-vfs gnome-vfs-dev gnome-vfs-i18n"
   39.12 @@ -63,12 +63,12 @@
   39.13  	case $PACKAGE in
   39.14  		gnome-vfs)
   39.15  			copy @std
   39.16 -			DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 \
   39.17 +			DEPENDS="dbus dbus-glib gconf glib glibc-base libffi libxml2 \
   39.18  			orbit2 zlib"
   39.19  			;;
   39.20  		*-dev)
   39.21  			copy @dev
   39.22 -			DEPENDS="gnome-vfs GConf-dev glib-dev"
   39.23 +			DEPENDS="gnome-vfs gconf-dev glib-dev"
   39.24  			;;
   39.25  		gnome-vfs-i18n)
   39.26  			copy locale/
    40.1 --- a/gsoap/receipt	Mon Sep 03 10:09:42 2018 +0300
    40.2 +++ b/gsoap/receipt	Wed Sep 05 00:08:37 2018 +0300
    40.3 @@ -22,22 +22,18 @@
    40.4  	LDFLAGS=-fPIC \
    40.5  	./configure \
    40.6  		$CONFIGURE_ARGS &&
    40.7 -	make -j1 && make install
    40.8 +	make -j1 &&
    40.9 +	make install
   40.10  }
   40.11  
   40.12  genpkg_rules() {
   40.13  	case $PACKAGE in
   40.14  		gsoap)
   40.15 -			mkdir -p $fs/usr/lib $fs/usr/share
   40.16 -			cp -a $install/usr/bin $fs/usr
   40.17 -			cp -a $install/usr/share/gsoap $fs/usr/share
   40.18 +			copy @std
   40.19  			DEPENDS="openssl zlib"
   40.20  			;;
   40.21  		*-dev)
   40.22 -			mkdir -p $fs/usr/lib
   40.23 -			cp -a $install/usr/include $fs/usr
   40.24 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
   40.25 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   40.26 +			copy @dev
   40.27  			;;
   40.28  	esac
   40.29  }
    41.1 --- a/gst0-plugins-good/receipt	Mon Sep 03 10:09:42 2018 +0300
    41.2 +++ b/gst0-plugins-good/receipt	Wed Sep 05 00:08:37 2018 +0300
    41.3 @@ -13,7 +13,7 @@
    41.4  TARBALL="gst-plugins-good-$VERSION.tar.xz"
    41.5  WGET_URL="$GNOME_MIRROR/gst-plugins-good/0.10/$TARBALL"
    41.6  
    41.7 -BUILD_DEPENDS="gettext GConf-dev gtk-doc python glib-dev orc-dev \
    41.8 +BUILD_DEPENDS="gettext gconf-dev gtk-doc python glib-dev orc-dev \
    41.9  gstreamer0-dev gst0-plugins-base-dev gtk+-dev libgudev-dev v4l-utils-dev \
   41.10  xorg-libXfixes-dev xorg-libXdamage-dev aalib-dev flac-dev gdk-pixbuf-dev \
   41.11  jack2-dev libcaca-dev libdv-dev libraw1394-dev libiec61883-dev libavc1394-dev \
   41.12 @@ -57,7 +57,7 @@
   41.13  			;;
   41.14  		*-good)
   41.15  			copy @std @rm
   41.16 -			DEPENDS="GConf aalib bzlib cairo flac gdk-pixbuf glib \
   41.17 +			DEPENDS="gconf aalib bzlib cairo flac gdk-pixbuf glib \
   41.18  			gst0-plugins-base gstreamer0 libavc1394 libcaca libiec61883 \
   41.19  			libjpeg-turbo libpng16 libraw1394 libxml2 ncurses orc speex \
   41.20  			xorg-libX11 xorg-libXdamage xorg-libXext xorg-libXfixes zlib"
    42.1 --- a/gsynaptics/receipt	Mon Sep 03 10:09:42 2018 +0300
    42.2 +++ b/gsynaptics/receipt	Wed Sep 05 00:08:37 2018 +0300
    42.3 @@ -11,7 +11,7 @@
    42.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    42.5  WGET_URL="http://sourceforge.jp/frs/redir.php?m=keihanna&f=%2F$PACKAGE%2F38463%2F$TARBALL"
    42.6  
    42.7 -BUILD_DEPENDS="gtk+-dev libglade-dev GConf-dev gnome-doc-utils intltool"
    42.8 +BUILD_DEPENDS="gtk+-dev libglade-dev gconf-dev gnome-doc-utils intltool"
    42.9  
   42.10  compile_rules() {
   42.11  	./configure \
   42.12 @@ -24,5 +24,5 @@
   42.13  
   42.14  genpkg_rules() {
   42.15  	copy @std
   42.16 -	DEPENDS="GConf gtk+ libglade orbit2"
   42.17 +	DEPENDS="gconf gtk+ libglade orbit2"
   42.18  }
    43.1 --- a/gyrus/receipt	Mon Sep 03 10:09:42 2018 +0300
    43.2 +++ b/gyrus/receipt	Wed Sep 05 00:08:37 2018 +0300
    43.3 @@ -1,33 +1,28 @@
    43.4 -# SliTaz package receipt.
    43.5 +# SliTaz package receipt v2.
    43.6  
    43.7  PACKAGE="gyrus"
    43.8  VERSION="0.3.8"
    43.9  CATEGORY="network"
   43.10 -SHORT_DESC="Small tool for the administration of mailboxes in IMAP/Cyrus servers."
   43.11 +SHORT_DESC="Small tool for the administration of mailboxes in IMAP/Cyrus servers"
   43.12  MAINTAINER="pankso@slitaz.org"
   43.13  LICENSE="GPL2"
   43.14 +WEB_SITE="http://projects.gnome.org/gyrus/"
   43.15 +
   43.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   43.17 -WEB_SITE="http://projects.gnome.org/gyrus/"
   43.18  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gyrus/${VERSION%.*}/$TARBALL"
   43.19  
   43.20 -DEPENDS="gtk+ dbus orbit2 gnet libglade GConf"
   43.21 -BUILD_DEPENDS="gtk+ dbus-dev orbit2-dev gnet-dev libglade-dev GConf-dev \
   43.22 +BUILD_DEPENDS="gtk+ dbus-dev orbit2-dev gnet-dev libglade-dev gconf-dev \
   43.23  intltool"
   43.24  
   43.25 -# Rules to configure and make the package.
   43.26 -compile_rules()
   43.27 -{
   43.28 +compile_rules() {
   43.29  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
   43.30 -	./configure $CONFIGURE_ARGS && make && make install
   43.31 +
   43.32 +	./configure $CONFIGURE_ARGS &&
   43.33 +	make &&
   43.34 +	make install
   43.35  }
   43.36  
   43.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   43.38 -genpkg_rules()
   43.39 -{
   43.40 -	mkdir -p $fs/usr/share
   43.41 -	cp -a $install/usr/bin $fs/usr
   43.42 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
   43.43 -	if ! grep ^Icon= $install/usr/share/applications/gyrus.desktop; then
   43.44 -		echo 'Icon=web-browser' >> $install/usr/share/applications/gyrus.desktop
   43.45 -	fi
   43.46 +genpkg_rules() {
   43.47 +	copy @std
   43.48 +	DEPENDS="gtk+ dbus orbit2 gnet libglade gconf"
   43.49  }
    44.1 --- a/h8300-gdb/receipt	Mon Sep 03 10:09:42 2018 +0300
    44.2 +++ b/h8300-gdb/receipt	Wed Sep 05 00:08:37 2018 +0300
    44.3 @@ -4,11 +4,12 @@
    44.4  SOURCE="gdb"
    44.5  VERSION="7.1"
    44.6  CATEGORY="development"
    44.7 -SHORT_DESC="The GNU Project Debugger targeting the H8/300."
    44.8 +SHORT_DESC="The GNU Project Debugger targeting the H8/300"
    44.9  MAINTAINER="rcx@zoominternet.net"
   44.10  LICENSE="GPL2"
   44.11 +WEB_SITE="http://www.gnu.org/software/gdb/"
   44.12 +
   44.13  TARBALL="$SOURCE-$VERSION.tar.gz"
   44.14 -WEB_SITE="http://www.gnu.org/software/gdb/"
   44.15  WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
   44.16  
   44.17  BUILD_DEPENDS="slitaz-toolchain ncurses-dev expat-dev texinfo gcc49"
   44.18 @@ -19,11 +20,10 @@
   44.19  	. $WOK/h8300-toolchain/stuff/h8300.conf
   44.20  fi
   44.21  
   44.22 -# Rules to configure and make the package.
   44.23 -compile_rules()
   44.24 -{
   44.25 +compile_rules() {
   44.26  	mkdir -p $SOURCE-$VERSION-build
   44.27  	cd $SOURCE-$VERSION-build
   44.28 +
   44.29  	$src/configure \
   44.30  		CC=gcc-49 CXX=g++-49 \
   44.31  		--disable-werror \
   44.32 @@ -36,41 +36,14 @@
   44.33  	make DESTDIR=$DESTDIR install
   44.34  }
   44.35  
   44.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   44.37 -genpkg_rules()
   44.38 -{
   44.39 +genpkg_rules() {
   44.40  	case $PACKAGE in
   44.41 -	h8300-gdb)
   44.42 -		DEPENDS="ncurses expat"
   44.43 -		mkdir -p $fs/usr
   44.44 -		cp -a $install/usr/bin $fs/usr
   44.45 -		;;
   44.46 -	h8300-gdb-dev)
   44.47 -		DEPENDS="h8300-gdb"
   44.48 -		mkdir -p $fs/usr
   44.49 -	
   44.50 -		# Copying include dir if exists
   44.51 -		if [ -d "$install/usr/include" ]; then
   44.52 -			cp -a $install/usr/include $fs/usr
   44.53 -		fi
   44.54 -	
   44.55 -		# Copying pkgconfig dir if exists
   44.56 -		if [ -d "$install/usr/lib/pkgconfig" ]; then
   44.57 -			test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
   44.58 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   44.59 -		fi
   44.60 -	
   44.61 -		# Copying static h8300 libs only if exists
   44.62 -		if ( find $install/usr/lib -name "*h8300-*.*a" > /dev/null ); then
   44.63 -			test -d $fs/usr/lib || mkdir -p $fs/usr/lib
   44.64 -			cp -a $install/usr/lib/*h8300-*.*a $fs/usr/lib
   44.65 -		fi
   44.66 -		;;
   44.67 +		h8300-gdb)
   44.68 +			copy @std
   44.69 +			DEPENDS="ncurses expat"
   44.70 +			;;
   44.71 +		h8300-gdb-dev)
   44.72 +			copy @dev
   44.73 +			;;
   44.74  	esac
   44.75  }
   44.76 -
   44.77 -# Rules to clean the package
   44.78 -clean_wok()
   44.79 -{
   44.80 -	rm -r -f $SOURCE-$VERSION-build
   44.81 -}
    45.1 --- a/ibus/receipt	Mon Sep 03 10:09:42 2018 +0300
    45.2 +++ b/ibus/receipt	Wed Sep 05 00:08:37 2018 +0300
    45.3 @@ -11,7 +11,7 @@
    45.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    45.5  WGET_URL="http://ibus.googlecode.com/files/$TARBALL" # FIXME
    45.6  
    45.7 -BUILD_DEPENDS="gtk+-dev GConf-dev python-dev python-dbus-dev dbus-glib-dev \
    45.8 +BUILD_DEPENDS="gtk+-dev gconf-dev python-dev python-dbus-dev dbus-glib-dev \
    45.9  intltool gettext perl iso-codes-dev"
   45.10  SPLIT="ibus-dev"
   45.11  
   45.12 @@ -28,7 +28,7 @@
   45.13  	case $PACKAGE in
   45.14  		ibus)
   45.15  			copy @std
   45.16 -			DEPENDS="GConf glib gtk+ pango python xorg-libX11"
   45.17 +			DEPENDS="gconf glib gtk+ pango python xorg-libX11"
   45.18  			;;
   45.19  		*-dev)
   45.20  			copy @dev
    46.1 --- a/iron-linux/receipt	Mon Sep 03 10:09:42 2018 +0300
    46.2 +++ b/iron-linux/receipt	Wed Sep 05 00:08:37 2018 +0300
    46.3 @@ -11,7 +11,7 @@
    46.4  WGET_URL="https://www.srware.net/downloads/$PACKAGE.tar.gz"
    46.5  TAGS="chromium web-browser"
    46.6  
    46.7 -DEPENDS="bash nss libfirefox GConf libcups libjpeg62 libpng12 libffi x264" # may need updating?
    46.8 +DEPENDS="bash nss libfirefox gconf libcups libjpeg62 libpng12 libffi x264" # may need updating?
    46.9  
   46.10  # Rules to configure and make the package.
   46.11  compile_rules()
    47.1 --- a/jq/receipt	Mon Sep 03 10:09:42 2018 +0300
    47.2 +++ b/jq/receipt	Wed Sep 05 00:08:37 2018 +0300
    47.3 @@ -1,24 +1,52 @@
    47.4  # SliTaz package receipt v2.
    47.5  
    47.6  PACKAGE="jq"
    47.7 -VERSION="1.4"
    47.8 +VERSION="1.5"
    47.9  CATEGORY="utilities"
   47.10 -SHORT_DESC="jq is a lightweight and flexible command-line JSON processor"
   47.11 +SHORT_DESC="Lightweight and flexible command-line JSON processor"
   47.12  MAINTAINER="nneul@neulinger.org"
   47.13  LICENSE="MIT"
   47.14 -WEB_SITE="http://stedolan.github.io/jq/"
   47.15 +WEB_SITE="https://stedolan.github.io/jq/"
   47.16  
   47.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   47.18 -WGET_URL="${WEB_SITE}download/source/$TARBALL"
   47.19 +WGET_URL="https://github.com/stedolan/jq/releases/download/jq-$VERSION/$TARBALL"
   47.20 +
   47.21 +BUILD_DEPENDS="oniguruma-dev"
   47.22 +SPLIT="jq-dev jq-static:static"
   47.23  
   47.24  compile_rules() {
   47.25 -	./configure $CONFIGURE_ARGS &&
   47.26 +	case $SET in
   47.27 +		static) SET_ARGS="--disable-shared --enable-all-static";;
   47.28 +		*)      SET_ARGS="";;
   47.29 +	esac
   47.30 +
   47.31 +	./configure \
   47.32 +		--disable-static \
   47.33 +		$SET_ARGS \
   47.34 +		$CONFIGURE_ARGS &&
   47.35  	fix libtool &&
   47.36  	make &&
   47.37 -	make DESTDIR=$DESTDIR install
   47.38 +	make install || return 1
   47.39 +
   47.40 +	# clean
   47.41 +	if [ "$SET" == 'static' ]; then
   47.42 +		rm -r $install/usr/include $install/usr/lib $install/usr/share
   47.43 +	fi
   47.44  }
   47.45  
   47.46  genpkg_rules() {
   47.47 -	copy @std
   47.48 -	TAGS="json"
   47.49 +	case $PACKAGE in
   47.50 +		jq)
   47.51 +			copy @std
   47.52 +			DEPENDS="oniguruma"
   47.53 +			TAGS="json"
   47.54 +			;;
   47.55 +		jq-static)
   47.56 +			copy jq
   47.57 +			CAT="utilities|statically linked"
   47.58 +			;;
   47.59 +		*-dev)
   47.60 +			copy @dev
   47.61 +			;;
   47.62 +	esac
   47.63  }
    48.1 --- a/labyrinth/receipt	Mon Sep 03 10:09:42 2018 +0300
    48.2 +++ b/labyrinth/receipt	Wed Sep 05 00:08:37 2018 +0300
    48.3 @@ -6,23 +6,21 @@
    48.4  SHORT_DESC="Labyrinth is a lightweight mind-mapping tool."
    48.5  MAINTAINER="paul@slitaz.org"
    48.6  LICENSE="GPL2"
    48.7 +WEB_SITE="https://github.com/labyrinth-team/labyrinth"
    48.8 +
    48.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   48.10 -WEB_SITE="https://github.com/labyrinth-team/labyrinth"
   48.11  WGET_URL="git|git://github.com/labyrinth-team/labyrinth"
   48.12  
   48.13 -DEPENDS="python python-pygtk gtk+ python-xdg pycairo python-pygobject2 python-gconf"
   48.14  BUILD_DEPENDS="bzip2 git python-dev python-pygtk-dev gtk+-dev pycairo-dev \
   48.15  python-pygobject2-dev gettext"
   48.16  
   48.17 -# Rules to configure and make the package.
   48.18 -compile_rules()
   48.19 -{
   48.20 -	python setup.py install --root=$DESTDIR
   48.21 +compile_rules() {
   48.22 +	python setup.py install --root=$DESTDIR &&
   48.23  	./install_data_files.sh DESTDIR=$DESTDIR
   48.24  }
   48.25  
   48.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
   48.27 -genpkg_rules()
   48.28 -{
   48.29 -	cp -a $install/usr $fs
   48.30 +genpkg_rules() {
   48.31 +	copy @std
   48.32 +	DEPENDS="python python-pygtk gtk+ python-xdg pycairo python-pygobject2 \
   48.33 +	python-gconf"
   48.34  }
    49.1 --- a/libQtMimeTypes/receipt	Mon Sep 03 10:09:42 2018 +0300
    49.2 +++ b/libQtMimeTypes/receipt	Wed Sep 05 00:08:37 2018 +0300
    49.3 @@ -16,26 +16,21 @@
    49.4  BUILD_DEPENDS="Qt4-dev qmake"
    49.5  SPLIT="libQtMimeTypes-dev"
    49.6  
    49.7 -# Rules to configure and make the package.
    49.8 -compile_rules()
    49.9 -{
   49.10 -	qmake && make && INSTALL_ROOT=$install make install
   49.11 +compile_rules() {
   49.12 +	qmake &&
   49.13 +	make &&
   49.14 +	INSTALL_ROOT=$install make install
   49.15  }
   49.16  
   49.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   49.18 -genpkg_rules()
   49.19 -{
   49.20 +genpkg_rules() {
   49.21  	case $PACKAGE in
   49.22 -	libQtMimeTypes)
   49.23 -		DEPENDS="libQtCore"
   49.24 -		mkdir -p $fs/usr/lib
   49.25 -		cp -a $install/usr/lib/*.so* $fs/usr/lib
   49.26 -		;;
   49.27 -	libQtMimeTypes-dev)
   49.28 -		DEPENDS="libQtMimeTypes"
   49.29 -		mkdir -p $fs/usr/lib
   49.30 -		cp -a $install/usr/include $fs/usr
   49.31 -		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   49.32 -		;;
   49.33 +		libQtMimeTypes)
   49.34 +			copy @std
   49.35 +			DEPENDS="libQtCore"
   49.36 +			;;
   49.37 +		*-dev)
   49.38 +			copy @dev
   49.39 +			DEPENDS="libQtMimeTypes"
   49.40 +			;;
   49.41  	esac
   49.42  }
    50.1 --- a/libbonoboui/receipt	Mon Sep 03 10:09:42 2018 +0300
    50.2 +++ b/libbonoboui/receipt	Wed Sep 05 00:08:37 2018 +0300
    50.3 @@ -12,7 +12,7 @@
    50.4  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    50.5  
    50.6  BUILD_DEPENDS="glib-dev gtk+-dev libgnome-dev libgnomecanvas-dev libglade-dev \
    50.7 -GConf-dev alsa-lib-dev popt-dev libbonobo-dev util-linux-uuid-dev intltool \
    50.8 +gconf-dev alsa-lib-dev popt-dev libbonobo-dev util-linux-uuid-dev intltool \
    50.9  dbus-glib-dev audiofile esound libffi xorg-libXinerama-dev xorg-libXrandr-dev \
   50.10  xorg-libXcursor-dev xorg-libXcomposite-dev xorg-libXdamage-dev libgcrypt-dev"
   50.11  SPLIT="libbonoboui-dev"
   50.12 @@ -31,7 +31,7 @@
   50.13  	case $PACKAGE in
   50.14  		libbonoboui)
   50.15  			copy @std
   50.16 -			DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf alsa-lib \
   50.17 +			DEPENDS="glib gtk+ libgnome libgnomecanvas libglade gconf alsa-lib \
   50.18  			popt libbonobo"
   50.19  			;;
   50.20  		*-dev)
    51.1 --- a/libdesktop-agnostic/receipt	Mon Sep 03 10:09:42 2018 +0300
    51.2 +++ b/libdesktop-agnostic/receipt	Wed Sep 05 00:08:37 2018 +0300
    51.3 @@ -12,7 +12,7 @@
    51.4  TARBALL="libdesktop-agnostic-${COMMIT:-$VERSION}.tar.gz"
    51.5  WGET_URL="https://github.com/p12tic/libdesktop-agnostic/archive/${COMMIT:-v$VERSION}.tar.gz"
    51.6  
    51.7 -BUILD_DEPENDS="python-dev vala gettext intltool gtk+-dev GConf-dev \
    51.8 +BUILD_DEPENDS="python-dev vala gettext intltool gtk+-dev gconf-dev \
    51.9  gobject-introspection-dev python-pygobject2-dev python-pygtk-dev"
   51.10  SPLIT="libdesktop-agnostic-dev"
   51.11  
   51.12 @@ -34,7 +34,7 @@
   51.13  	case $PACKAGE in
   51.14  		libdesktop-agnostic)
   51.15  			copy @std
   51.16 -			DEPENDS="GConf atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
   51.17 +			DEPENDS="gconf atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
   51.18  			pango python"
   51.19  			;;
   51.20  		*-dev)
    52.1 --- a/libgnome/receipt	Mon Sep 03 10:09:42 2018 +0300
    52.2 +++ b/libgnome/receipt	Wed Sep 05 00:08:37 2018 +0300
    52.3 @@ -11,7 +11,7 @@
    52.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    52.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    52.6  
    52.7 -BUILD_DEPENDS="automake libtool gettext GConf-dev intltool gnome-vfs-dev \
    52.8 +BUILD_DEPENDS="automake libtool gettext gconf-dev intltool gnome-vfs-dev \
    52.9  libbonobo-dev libcanberra-dev popt-dev libgcrypt-dev"
   52.10  SPLIT="libgnome-dev"
   52.11  
   52.12 @@ -35,11 +35,11 @@
   52.13  	case $PACKAGE in
   52.14  		libgnome)
   52.15  			copy @std
   52.16 -			DEPENDS="GConf glib gnome-vfs libbonobo libcanberra orbit2 popt"
   52.17 +			DEPENDS="gconf glib gnome-vfs libbonobo libcanberra orbit2 popt"
   52.18  			;;
   52.19  		*-dev)
   52.20  			copy @dev
   52.21 -			DEPENDS="libgnome GConf-dev glib-dev gnome-vfs-dev libbonobo-dev \
   52.22 +			DEPENDS="libgnome gconf-dev glib-dev gnome-vfs-dev libbonobo-dev \
   52.23  			libcanberra-dev orbit2-dev popt-dev"
   52.24  			;;
   52.25  	esac
    53.1 --- a/libgnomeui/receipt	Mon Sep 03 10:09:42 2018 +0300
    53.2 +++ b/libgnomeui/receipt	Wed Sep 05 00:08:37 2018 +0300
    53.3 @@ -30,13 +30,13 @@
    53.4  	case $PACKAGE in
    53.5  		libgnomeui)
    53.6  			copy @std
    53.7 -			DEPENDS="GConf atk gdk-pixbuf glib gnome-vfs gtk+ libart_lgpl \
    53.8 +			DEPENDS="gconf atk gdk-pixbuf glib gnome-vfs gtk+ libart_lgpl \
    53.9  			libbonoboui libglade libgnome libgnome-keyring libgnomecanvas \
   53.10  			pango xorg-libICE xorg-libSM"
   53.11  			;;
   53.12  		*-dev)
   53.13  			copy @dev
   53.14 -			DEPENDS="libgnomeui GConf-dev gdk-pixbuf-dev gnome-vfs-dev \
   53.15 +			DEPENDS="libgnomeui gconf-dev gdk-pixbuf-dev gnome-vfs-dev \
   53.16  			gtk+-dev libart_lgpl-dev libbonoboui-dev libgnome-dev \
   53.17  			libgnome-keyring-dev libgnomecanvas-dev xorg-libICE-dev \
   53.18  			xorg-libSM-dev"
    54.1 --- a/libmcs/receipt	Mon Sep 03 10:09:42 2018 +0300
    54.2 +++ b/libmcs/receipt	Wed Sep 05 00:08:37 2018 +0300
    54.3 @@ -25,16 +25,11 @@
    54.4  genpkg_rules() {
    54.5  	case $PACKAGE in
    54.6  		libmcs)
    54.7 -			mkdir -p $fs/usr/lib
    54.8 -			cp -a $install/usr/bin $fs/usr
    54.9 -			cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/
   54.10 -			cp -a $install/usr/lib/mcs $fs/usr/lib/
   54.11 +			copy @std
   54.12  			DEPENDS="libmowgli"
   54.13  			;;
   54.14  		*-dev)
   54.15 -			mkdir -p $fs/usr/lib
   54.16 -			cp -a $install/usr/include $fs/usr/
   54.17 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   54.18 +			copy @dev
   54.19  			DEPENDS="libmcs libmowgli-dev"
   54.20  			;;
   54.21  	esac
    55.1 --- a/libmowgli/receipt	Mon Sep 03 10:09:42 2018 +0300
    55.2 +++ b/libmowgli/receipt	Wed Sep 05 00:08:37 2018 +0300
    55.3 @@ -15,22 +15,15 @@
    55.4  
    55.5  compile_rules() {
    55.6  	sed -i "s/touch -t 0001010000 /touch /g" configure
    55.7 -	./configure \
    55.8 -		$CONFIGURE_ARGS &&
    55.9 -	make && make install
   55.10 +
   55.11 +	./configure $CONFIGURE_ARGS &&
   55.12 +	make &&
   55.13 +	make install
   55.14  }
   55.15  
   55.16  genpkg_rules() {
   55.17  	case $PACKAGE in
   55.18 -		libmowgli)
   55.19 -			mkdir -p $fs/usr/lib
   55.20 -			cp -a $install/usr/lib/libmowgli*.so* $fs/usr/lib
   55.21 -			;;
   55.22 -		*-dev)
   55.23 -			mkdir -p $fs/usr/lib/pkgconfig
   55.24 -			cp -a $install/usr/include $fs/usr
   55.25 -			#cp -a $install/usr/lib/*.*a $fs/usr/lib
   55.26 -			cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig
   55.27 -			;;
   55.28 +		libmowgli) copy @std;;
   55.29 +		*-dev)     copy @dev;;
   55.30  	esac
   55.31  }
    56.1 --- a/libnet/receipt	Mon Sep 03 10:09:42 2018 +0300
    56.2 +++ b/libnet/receipt	Wed Sep 05 00:08:37 2018 +0300
    56.3 @@ -14,9 +14,7 @@
    56.4  BUILD_DEPENDS="automake libtool"
    56.5  SPLIT="libnet-dev"
    56.6  
    56.7 -# Rules to configure and make the package.
    56.8 -compile_rules()
    56.9 -{
   56.10 +compile_rules() {
   56.11  	# documentation is absent -> build is broken
   56.12  	sed -i 's|doc||' $src/libnet/Makefile.am
   56.13  
   56.14 @@ -25,12 +23,14 @@
   56.15  	mkdir m4
   56.16  	autoreconf -i &&
   56.17  
   56.18 -	./configure $CONFIGURE_ARGS && make && make install
   56.19 +	./configure \
   56.20 +		--disable-static \
   56.21 +		$CONFIGURE_ARGS &&
   56.22 +	make &&
   56.23 +	make install
   56.24  }
   56.25  
   56.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
   56.27 -genpkg_rules()
   56.28 -{
   56.29 +genpkg_rules() {
   56.30  	case $PACKAGE in
   56.31  		libnet) copy @std;;
   56.32  		*-dev)  copy @dev;;
    57.1 --- a/libpcap/receipt	Mon Sep 03 10:09:42 2018 +0300
    57.2 +++ b/libpcap/receipt	Wed Sep 05 00:08:37 2018 +0300
    57.3 @@ -1,33 +1,29 @@
    57.4  # SliTaz package receipt v2.
    57.5  
    57.6  PACKAGE="libpcap"
    57.7 -VERSION="1.8.1"
    57.8 +VERSION="1.9.0"
    57.9  CATEGORY="libdevel"
   57.10  SHORT_DESC="Functions for user-level packet capture, used in low-level network \
   57.11  monitoring"
   57.12  MAINTAINER="sdaigl@lacitec.on.ca"
   57.13  LICENSE="BSD"
   57.14  WEB_SITE="http://www.tcpdump.org/"
   57.15 -LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libpcap.html"
   57.16 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libpcap.html"
   57.17  
   57.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
   57.19  WGET_URL="http://www.tcpdump.org/release/$TARBALL"
   57.20  
   57.21 -BUILD_DEPENDS_arm=" "
   57.22  BUILD_DEPENDS="flex bison libnl-dev"
   57.23  SPLIT="libpcap-dev"
   57.24  
   57.25  compile_rules() {
   57.26 -	case "$ARCH" in
   57.27 -		arm)
   57.28 -			ARCH_ARGS="--with-pcap=linux"
   57.29 -			export ac_cv_linux_vers=2
   57.30 -			;;
   57.31 -	esac
   57.32 +	./configure $CONFIGURE_ARGS &&
   57.33 +	make || return 1
   57.34  
   57.35 -	./configure \
   57.36 -		$CONFIGURE_ARGS $ARCH_ARGS &&
   57.37 -	make && make install
   57.38 +	# disable static
   57.39 +	sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile
   57.40 +
   57.41 +	make install
   57.42  }
   57.43  
   57.44  genpkg_rules() {
   57.45 @@ -36,6 +32,9 @@
   57.46  			copy @std
   57.47  			DEPENDS="libnl"
   57.48  			;;
   57.49 -		*-dev) copy @dev;;
   57.50 +		*-dev)
   57.51 +			copy @dev
   57.52 +			DEPENDS="libnl-dev"
   57.53 +			;;
   57.54  	esac
   57.55  }
    58.1 --- a/libpcap/stuff/patches/libpcap-1.8.1-enable_bluetooth-1.patch	Mon Sep 03 10:09:42 2018 +0300
    58.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    58.3 @@ -1,785 +0,0 @@
    58.4 -Submitted By:            Fernando de Oliveira <famobr at yahoo dot com dot br>
    58.5 -Date:                    2014-09-07
    58.6 -Initial Package Version: 1.6.2 (problem started with 1.6.1)
    58.7 -Upstream Status:         Unknown
    58.8 -Origin:                  ArchLinux
    58.9 -URL:                     https://projects.archlinux.org/svntogit/packages.git/plain/trunk/mgmt.h?h=packages/libpcap
   58.10 -Description:             Fix build with bluez-5.21
   58.11 -
   58.12 -
   58.13 -diff -Naur libpcap-1.6.2.orig/bluetooth/mgmt.h libpcap-1.6.2/bluetooth/mgmt.h
   58.14 ---- libpcap-1.6.2.orig/bluetooth/mgmt.h	1969-12-31 21:00:00.000000000 -0300
   58.15 -+++ libpcap-1.6.2/bluetooth/mgmt.h	2014-09-07 14:11:36.456414731 -0300
   58.16 -@@ -0,0 +1,772 @@
   58.17 -+/*
   58.18 -+ *  BlueZ - Bluetooth protocol stack for Linux
   58.19 -+ *
   58.20 -+ *  Copyright (C) 2010  Nokia Corporation
   58.21 -+ *  Copyright (C) 2010  Marcel Holtmann <marcel@holtmann.org>
   58.22 -+ *
   58.23 -+ *
   58.24 -+ *  This program is free software; you can redistribute it and/or modify
   58.25 -+ *  it under the terms of the GNU General Public License as published by
   58.26 -+ *  the Free Software Foundation; either version 2 of the License, or
   58.27 -+ *  (at your option) any later version.
   58.28 -+ *
   58.29 -+ *  This program is distributed in the hope that it will be useful,
   58.30 -+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
   58.31 -+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   58.32 -+ *  GNU General Public License for more details.
   58.33 -+ *
   58.34 -+ *  You should have received a copy of the GNU General Public License
   58.35 -+ *  along with this program; if not, write to the Free Software
   58.36 -+ *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   58.37 -+ *
   58.38 -+ */
   58.39 -+
   58.40 -+#ifndef __packed
   58.41 -+#define __packed __attribute__((packed))
   58.42 -+#endif
   58.43 -+
   58.44 -+#define MGMT_INDEX_NONE			0xFFFF
   58.45 -+
   58.46 -+#define MGMT_STATUS_SUCCESS		0x00
   58.47 -+#define MGMT_STATUS_UNKNOWN_COMMAND	0x01
   58.48 -+#define MGMT_STATUS_NOT_CONNECTED	0x02
   58.49 -+#define MGMT_STATUS_FAILED		0x03
   58.50 -+#define MGMT_STATUS_CONNECT_FAILED	0x04
   58.51 -+#define MGMT_STATUS_AUTH_FAILED		0x05
   58.52 -+#define MGMT_STATUS_NOT_PAIRED		0x06
   58.53 -+#define MGMT_STATUS_NO_RESOURCES	0x07
   58.54 -+#define MGMT_STATUS_TIMEOUT		0x08
   58.55 -+#define MGMT_STATUS_ALREADY_CONNECTED	0x09
   58.56 -+#define MGMT_STATUS_BUSY		0x0a
   58.57 -+#define MGMT_STATUS_REJECTED		0x0b
   58.58 -+#define MGMT_STATUS_NOT_SUPPORTED	0x0c
   58.59 -+#define MGMT_STATUS_INVALID_PARAMS	0x0d
   58.60 -+#define MGMT_STATUS_DISCONNECTED	0x0e
   58.61 -+#define MGMT_STATUS_NOT_POWERED		0x0f
   58.62 -+#define MGMT_STATUS_CANCELLED		0x10
   58.63 -+#define MGMT_STATUS_INVALID_INDEX	0x11
   58.64 -+#define MGMT_STATUS_RFKILLED		0x12
   58.65 -+
   58.66 -+struct mgmt_hdr {
   58.67 -+	uint16_t opcode;
   58.68 -+	uint16_t index;
   58.69 -+	uint16_t len;
   58.70 -+} __packed;
   58.71 -+#define MGMT_HDR_SIZE	6
   58.72 -+
   58.73 -+struct mgmt_addr_info {
   58.74 -+	bdaddr_t bdaddr;
   58.75 -+	uint8_t type;
   58.76 -+} __packed;
   58.77 -+
   58.78 -+#define MGMT_OP_READ_VERSION		0x0001
   58.79 -+struct mgmt_rp_read_version {
   58.80 -+	uint8_t version;
   58.81 -+	uint16_t revision;
   58.82 -+} __packed;
   58.83 -+
   58.84 -+#define MGMT_OP_READ_COMMANDS		0x0002
   58.85 -+struct mgmt_rp_read_commands {
   58.86 -+	uint16_t num_commands;
   58.87 -+	uint16_t num_events;
   58.88 -+	uint16_t opcodes[0];
   58.89 -+} __packed;
   58.90 -+
   58.91 -+#define MGMT_OP_READ_INDEX_LIST		0x0003
   58.92 -+struct mgmt_rp_read_index_list {
   58.93 -+	uint16_t num_controllers;
   58.94 -+	uint16_t index[0];
   58.95 -+} __packed;
   58.96 -+
   58.97 -+/* Reserve one extra byte for names in management messages so that they
   58.98 -+ * are always guaranteed to be nul-terminated */
   58.99 -+#define MGMT_MAX_NAME_LENGTH		(248 + 1)
  58.100 -+#define MGMT_MAX_SHORT_NAME_LENGTH	(10 + 1)
  58.101 -+
  58.102 -+#define MGMT_SETTING_POWERED		0x00000001
  58.103 -+#define MGMT_SETTING_CONNECTABLE	0x00000002
  58.104 -+#define MGMT_SETTING_FAST_CONNECTABLE	0x00000004
  58.105 -+#define MGMT_SETTING_DISCOVERABLE	0x00000008
  58.106 -+#define MGMT_SETTING_BONDABLE		0x00000010
  58.107 -+#define MGMT_SETTING_LINK_SECURITY	0x00000020
  58.108 -+#define MGMT_SETTING_SSP		0x00000040
  58.109 -+#define MGMT_SETTING_BREDR		0x00000080
  58.110 -+#define MGMT_SETTING_HS			0x00000100
  58.111 -+#define MGMT_SETTING_LE			0x00000200
  58.112 -+#define MGMT_SETTING_ADVERTISING	0x00000400
  58.113 -+#define MGMT_SETTING_SECURE_CONN	0x00000800
  58.114 -+#define MGMT_SETTING_DEBUG_KEYS		0x00001000
  58.115 -+#define MGMT_SETTING_PRIVACY		0x00002000
  58.116 -+#define MGMT_SETTING_CONFIGURATION	0x00004000
  58.117 -+
  58.118 -+#define MGMT_OP_READ_INFO		0x0004
  58.119 -+struct mgmt_rp_read_info {
  58.120 -+	bdaddr_t bdaddr;
  58.121 -+	uint8_t version;
  58.122 -+	uint16_t manufacturer;
  58.123 -+	uint32_t supported_settings;
  58.124 -+	uint32_t current_settings;
  58.125 -+	uint8_t dev_class[3];
  58.126 -+	uint8_t name[MGMT_MAX_NAME_LENGTH];
  58.127 -+	uint8_t short_name[MGMT_MAX_SHORT_NAME_LENGTH];
  58.128 -+} __packed;
  58.129 -+
  58.130 -+struct mgmt_mode {
  58.131 -+	uint8_t val;
  58.132 -+} __packed;
  58.133 -+
  58.134 -+struct mgmt_cod {
  58.135 -+	uint8_t val[3];
  58.136 -+} __packed;
  58.137 -+
  58.138 -+#define MGMT_OP_SET_POWERED		0x0005
  58.139 -+
  58.140 -+#define MGMT_OP_SET_DISCOVERABLE	0x0006
  58.141 -+struct mgmt_cp_set_discoverable {
  58.142 -+	uint8_t val;
  58.143 -+	uint16_t timeout;
  58.144 -+} __packed;
  58.145 -+
  58.146 -+#define MGMT_OP_SET_CONNECTABLE		0x0007
  58.147 -+
  58.148 -+#define MGMT_OP_SET_FAST_CONNECTABLE	0x0008
  58.149 -+
  58.150 -+#define MGMT_OP_SET_BONDABLE		0x0009
  58.151 -+
  58.152 -+#define MGMT_OP_SET_LINK_SECURITY	0x000A
  58.153 -+
  58.154 -+#define MGMT_OP_SET_SSP			0x000B
  58.155 -+
  58.156 -+#define MGMT_OP_SET_HS			0x000C
  58.157 -+
  58.158 -+#define MGMT_OP_SET_LE			0x000D
  58.159 -+
  58.160 -+#define MGMT_OP_SET_DEV_CLASS		0x000E
  58.161 -+struct mgmt_cp_set_dev_class {
  58.162 -+	uint8_t major;
  58.163 -+	uint8_t minor;
  58.164 -+} __packed;
  58.165 -+
  58.166 -+#define MGMT_OP_SET_LOCAL_NAME		0x000F
  58.167 -+struct mgmt_cp_set_local_name {
  58.168 -+	uint8_t name[MGMT_MAX_NAME_LENGTH];
  58.169 -+	uint8_t short_name[MGMT_MAX_SHORT_NAME_LENGTH];
  58.170 -+} __packed;
  58.171 -+
  58.172 -+#define MGMT_OP_ADD_UUID		0x0010
  58.173 -+struct mgmt_cp_add_uuid {
  58.174 -+	uint8_t uuid[16];
  58.175 -+	uint8_t svc_hint;
  58.176 -+} __packed;
  58.177 -+
  58.178 -+#define MGMT_OP_REMOVE_UUID		0x0011
  58.179 -+struct mgmt_cp_remove_uuid {
  58.180 -+	uint8_t uuid[16];
  58.181 -+} __packed;
  58.182 -+
  58.183 -+struct mgmt_link_key_info {
  58.184 -+	struct mgmt_addr_info addr;
  58.185 -+	uint8_t type;
  58.186 -+	uint8_t val[16];
  58.187 -+	uint8_t pin_len;
  58.188 -+} __packed;
  58.189 -+
  58.190 -+#define MGMT_OP_LOAD_LINK_KEYS		0x0012
  58.191 -+struct mgmt_cp_load_link_keys {
  58.192 -+	uint8_t debug_keys;
  58.193 -+	uint16_t key_count;
  58.194 -+	struct mgmt_link_key_info keys[0];
  58.195 -+} __packed;
  58.196 -+
  58.197 -+struct mgmt_ltk_info {
  58.198 -+	struct mgmt_addr_info addr;
  58.199 -+	uint8_t type;
  58.200 -+	uint8_t master;
  58.201 -+	uint8_t enc_size;
  58.202 -+	uint16_t ediv;
  58.203 -+	uint64_t rand;
  58.204 -+	uint8_t val[16];
  58.205 -+} __packed;
  58.206 -+
  58.207 -+#define MGMT_OP_LOAD_LONG_TERM_KEYS	0x0013
  58.208 -+struct mgmt_cp_load_long_term_keys {
  58.209 -+	uint16_t key_count;
  58.210 -+	struct mgmt_ltk_info keys[0];
  58.211 -+} __packed;
  58.212 -+
  58.213 -+#define MGMT_OP_DISCONNECT		0x0014
  58.214 -+struct mgmt_cp_disconnect {
  58.215 -+	struct mgmt_addr_info addr;
  58.216 -+} __packed;
  58.217 -+struct mgmt_rp_disconnect {
  58.218 -+	struct mgmt_addr_info addr;
  58.219 -+} __packed;
  58.220 -+
  58.221 -+#define MGMT_OP_GET_CONNECTIONS		0x0015
  58.222 -+struct mgmt_rp_get_connections {
  58.223 -+	uint16_t conn_count;
  58.224 -+	struct mgmt_addr_info addr[0];
  58.225 -+} __packed;
  58.226 -+
  58.227 -+#define MGMT_OP_PIN_CODE_REPLY		0x0016
  58.228 -+struct mgmt_cp_pin_code_reply {
  58.229 -+	struct mgmt_addr_info addr;
  58.230 -+	uint8_t pin_len;
  58.231 -+	uint8_t pin_code[16];
  58.232 -+} __packed;
  58.233 -+
  58.234 -+#define MGMT_OP_PIN_CODE_NEG_REPLY	0x0017
  58.235 -+struct mgmt_cp_pin_code_neg_reply {
  58.236 -+	struct mgmt_addr_info addr;
  58.237 -+} __packed;
  58.238 -+
  58.239 -+#define MGMT_OP_SET_IO_CAPABILITY	0x0018
  58.240 -+struct mgmt_cp_set_io_capability {
  58.241 -+	uint8_t io_capability;
  58.242 -+} __packed;
  58.243 -+
  58.244 -+#define MGMT_OP_PAIR_DEVICE		0x0019
  58.245 -+struct mgmt_cp_pair_device {
  58.246 -+	struct mgmt_addr_info addr;
  58.247 -+	uint8_t io_cap;
  58.248 -+} __packed;
  58.249 -+struct mgmt_rp_pair_device {
  58.250 -+	struct mgmt_addr_info addr;
  58.251 -+} __packed;
  58.252 -+
  58.253 -+#define MGMT_OP_CANCEL_PAIR_DEVICE	0x001A
  58.254 -+
  58.255 -+#define MGMT_OP_UNPAIR_DEVICE		0x001B
  58.256 -+struct mgmt_cp_unpair_device {
  58.257 -+	struct mgmt_addr_info addr;
  58.258 -+	uint8_t disconnect;
  58.259 -+} __packed;
  58.260 -+struct mgmt_rp_unpair_device {
  58.261 -+	struct mgmt_addr_info addr;
  58.262 -+} __packed;
  58.263 -+
  58.264 -+#define MGMT_OP_USER_CONFIRM_REPLY	0x001C
  58.265 -+struct mgmt_cp_user_confirm_reply {
  58.266 -+	struct mgmt_addr_info addr;
  58.267 -+} __packed;
  58.268 -+struct mgmt_rp_user_confirm_reply {
  58.269 -+	struct mgmt_addr_info addr;
  58.270 -+} __packed;
  58.271 -+
  58.272 -+#define MGMT_OP_USER_CONFIRM_NEG_REPLY	0x001D
  58.273 -+
  58.274 -+#define MGMT_OP_USER_PASSKEY_REPLY	0x001E
  58.275 -+struct mgmt_cp_user_passkey_reply {
  58.276 -+	struct mgmt_addr_info addr;
  58.277 -+	uint32_t passkey;
  58.278 -+} __packed;
  58.279 -+struct mgmt_rp_user_passkey_reply {
  58.280 -+	struct mgmt_addr_info addr;
  58.281 -+} __packed;
  58.282 -+
  58.283 -+#define MGMT_OP_USER_PASSKEY_NEG_REPLY	0x001F
  58.284 -+struct mgmt_cp_user_passkey_neg_reply {
  58.285 -+	struct mgmt_addr_info addr;
  58.286 -+} __packed;
  58.287 -+
  58.288 -+#define MGMT_OP_READ_LOCAL_OOB_DATA	0x0020
  58.289 -+struct mgmt_rp_read_local_oob_data {
  58.290 -+	uint8_t hash[16];
  58.291 -+	uint8_t randomizer[16];
  58.292 -+} __packed;
  58.293 -+struct mgmt_rp_read_local_oob_ext_data {
  58.294 -+	uint8_t hash192[16];
  58.295 -+	uint8_t randomizer192[16];
  58.296 -+	uint8_t hash256[16];
  58.297 -+	uint8_t randomizer256[16];
  58.298 -+} __packed;
  58.299 -+
  58.300 -+#define MGMT_OP_ADD_REMOTE_OOB_DATA	0x0021
  58.301 -+struct mgmt_cp_add_remote_oob_data {
  58.302 -+	struct mgmt_addr_info addr;
  58.303 -+	uint8_t hash[16];
  58.304 -+	uint8_t randomizer[16];
  58.305 -+} __packed;
  58.306 -+
  58.307 -+#define MGMT_OP_REMOVE_REMOTE_OOB_DATA	0x0022
  58.308 -+struct mgmt_cp_remove_remote_oob_data {
  58.309 -+	struct mgmt_addr_info addr;
  58.310 -+} __packed;
  58.311 -+
  58.312 -+#define MGMT_OP_START_DISCOVERY		0x0023
  58.313 -+struct mgmt_cp_start_discovery {
  58.314 -+	uint8_t type;
  58.315 -+} __packed;
  58.316 -+
  58.317 -+#define MGMT_OP_STOP_DISCOVERY		0x0024
  58.318 -+struct mgmt_cp_stop_discovery {
  58.319 -+	uint8_t type;
  58.320 -+} __packed;
  58.321 -+
  58.322 -+#define MGMT_OP_CONFIRM_NAME		0x0025
  58.323 -+struct mgmt_cp_confirm_name {
  58.324 -+	struct mgmt_addr_info addr;
  58.325 -+	uint8_t name_known;
  58.326 -+} __packed;
  58.327 -+struct mgmt_rp_confirm_name {
  58.328 -+	struct mgmt_addr_info addr;
  58.329 -+} __packed;
  58.330 -+
  58.331 -+#define MGMT_OP_BLOCK_DEVICE		0x0026
  58.332 -+struct mgmt_cp_block_device {
  58.333 -+	struct mgmt_addr_info addr;
  58.334 -+} __packed;
  58.335 -+
  58.336 -+#define MGMT_OP_UNBLOCK_DEVICE		0x0027
  58.337 -+struct mgmt_cp_unblock_device {
  58.338 -+	struct mgmt_addr_info addr;
  58.339 -+} __packed;
  58.340 -+
  58.341 -+#define MGMT_OP_SET_DEVICE_ID		0x0028
  58.342 -+struct mgmt_cp_set_device_id {
  58.343 -+	uint16_t source;
  58.344 -+	uint16_t vendor;
  58.345 -+	uint16_t product;
  58.346 -+	uint16_t version;
  58.347 -+} __packed;
  58.348 -+
  58.349 -+#define MGMT_OP_SET_ADVERTISING		0x0029
  58.350 -+
  58.351 -+#define MGMT_OP_SET_BREDR		0x002A
  58.352 -+
  58.353 -+#define MGMT_OP_SET_STATIC_ADDRESS	0x002B
  58.354 -+struct mgmt_cp_set_static_address {
  58.355 -+	bdaddr_t bdaddr;
  58.356 -+} __packed;
  58.357 -+
  58.358 -+#define MGMT_OP_SET_SCAN_PARAMS		0x002C
  58.359 -+struct mgmt_cp_set_scan_params {
  58.360 -+	uint16_t interval;
  58.361 -+	uint16_t window;
  58.362 -+} __packed;
  58.363 -+
  58.364 -+#define MGMT_OP_SET_SECURE_CONN		0x002D
  58.365 -+
  58.366 -+#define MGMT_OP_SET_DEBUG_KEYS		0x002E
  58.367 -+
  58.368 -+struct mgmt_irk_info {
  58.369 -+	struct mgmt_addr_info addr;
  58.370 -+	uint8_t val[16];
  58.371 -+} __packed;
  58.372 -+
  58.373 -+#define MGMT_OP_SET_PRIVACY		0x002F
  58.374 -+struct mgmt_cp_set_privacy {
  58.375 -+	uint8_t privacy;
  58.376 -+	uint8_t irk[16];
  58.377 -+} __packed;
  58.378 -+
  58.379 -+#define MGMT_OP_LOAD_IRKS		0x0030
  58.380 -+struct mgmt_cp_load_irks {
  58.381 -+	uint16_t irk_count;
  58.382 -+	struct mgmt_irk_info irks[0];
  58.383 -+} __packed;
  58.384 -+
  58.385 -+#define MGMT_OP_GET_CONN_INFO		0x0031
  58.386 -+struct mgmt_cp_get_conn_info {
  58.387 -+	struct mgmt_addr_info addr;
  58.388 -+} __packed;
  58.389 -+struct mgmt_rp_get_conn_info {
  58.390 -+	struct mgmt_addr_info addr;
  58.391 -+	int8_t rssi;
  58.392 -+	int8_t tx_power;
  58.393 -+	int8_t max_tx_power;
  58.394 -+} __packed;
  58.395 -+
  58.396 -+#define MGMT_OP_GET_CLOCK_INFO		0x0032
  58.397 -+struct mgmt_cp_get_clock_info {
  58.398 -+	struct mgmt_addr_info addr;
  58.399 -+} __packed;
  58.400 -+struct mgmt_rp_get_clock_info {
  58.401 -+	struct mgmt_addr_info addr;
  58.402 -+	uint32_t  local_clock;
  58.403 -+	uint32_t  piconet_clock;
  58.404 -+	uint16_t  accuracy;
  58.405 -+} __packed;
  58.406 -+
  58.407 -+#define MGMT_OP_ADD_DEVICE		0x0033
  58.408 -+struct mgmt_cp_add_device {
  58.409 -+	struct mgmt_addr_info addr;
  58.410 -+	uint8_t action;
  58.411 -+} __packed;
  58.412 -+struct mgmt_rp_add_device {
  58.413 -+	struct mgmt_addr_info addr;
  58.414 -+} __packed;
  58.415 -+
  58.416 -+#define MGMT_OP_REMOVE_DEVICE		0x0034
  58.417 -+struct mgmt_cp_remove_device {
  58.418 -+	struct mgmt_addr_info addr;
  58.419 -+} __packed;
  58.420 -+struct mgmt_rp_remove_device {
  58.421 -+	struct mgmt_addr_info addr;
  58.422 -+} __packed;
  58.423 -+
  58.424 -+struct mgmt_conn_param {
  58.425 -+	struct mgmt_addr_info addr;
  58.426 -+	uint16_t min_interval;
  58.427 -+	uint16_t max_interval;
  58.428 -+	uint16_t latency;
  58.429 -+	uint16_t timeout;
  58.430 -+} __packed;
  58.431 -+
  58.432 -+#define MGMT_OP_LOAD_CONN_PARAM		0x0035
  58.433 -+struct mgmt_cp_load_conn_param {
  58.434 -+	uint16_t param_count;
  58.435 -+	struct mgmt_conn_param params[0];
  58.436 -+} __packed;
  58.437 -+
  58.438 -+#define MGMT_OP_READ_UNCONF_INDEX_LIST	0x0036
  58.439 -+struct mgmt_rp_read_unconf_index_list {
  58.440 -+	uint16_t num_controllers;
  58.441 -+	uint16_t index[0];
  58.442 -+} __packed;
  58.443 -+
  58.444 -+#define MGMT_OPTION_EXTERNAL_CONFIG	0x00000001
  58.445 -+#define MGMT_OPTION_PUBLIC_ADDRESS	0x00000002
  58.446 -+
  58.447 -+#define MGMT_OP_READ_CONFIG_INFO	0x0037
  58.448 -+struct mgmt_rp_read_config_info {
  58.449 -+	uint16_t manufacturer;
  58.450 -+	uint32_t supported_options;
  58.451 -+	uint32_t missing_options;
  58.452 -+} __packed;
  58.453 -+
  58.454 -+#define MGMT_OP_SET_EXTERNAL_CONFIG	0x0038
  58.455 -+struct mgmt_cp_set_external_config {
  58.456 -+	uint8_t config;
  58.457 -+} __packed;
  58.458 -+
  58.459 -+#define MGMT_OP_SET_PUBLIC_ADDRESS	0x0039
  58.460 -+struct mgmt_cp_set_public_address {
  58.461 -+	bdaddr_t bdaddr;
  58.462 -+} __packed;
  58.463 -+
  58.464 -+#define MGMT_EV_CMD_COMPLETE		0x0001
  58.465 -+struct mgmt_ev_cmd_complete {
  58.466 -+	uint16_t opcode;
  58.467 -+	uint8_t status;
  58.468 -+	uint8_t data[0];
  58.469 -+} __packed;
  58.470 -+
  58.471 -+#define MGMT_EV_CMD_STATUS		0x0002
  58.472 -+struct mgmt_ev_cmd_status {
  58.473 -+	uint16_t opcode;
  58.474 -+	uint8_t status;
  58.475 -+} __packed;
  58.476 -+
  58.477 -+#define MGMT_EV_CONTROLLER_ERROR	0x0003
  58.478 -+struct mgmt_ev_controller_error {
  58.479 -+	uint8_t error_code;
  58.480 -+} __packed;
  58.481 -+
  58.482 -+#define MGMT_EV_INDEX_ADDED		0x0004
  58.483 -+
  58.484 -+#define MGMT_EV_INDEX_REMOVED		0x0005
  58.485 -+
  58.486 -+#define MGMT_EV_NEW_SETTINGS		0x0006
  58.487 -+
  58.488 -+#define MGMT_EV_CLASS_OF_DEV_CHANGED	0x0007
  58.489 -+struct mgmt_ev_class_of_dev_changed {
  58.490 -+	uint8_t class_of_dev[3];
  58.491 -+} __packed;
  58.492 -+
  58.493 -+#define MGMT_EV_LOCAL_NAME_CHANGED	0x0008
  58.494 -+struct mgmt_ev_local_name_changed {
  58.495 -+	uint8_t name[MGMT_MAX_NAME_LENGTH];
  58.496 -+	uint8_t short_name[MGMT_MAX_SHORT_NAME_LENGTH];
  58.497 -+} __packed;
  58.498 -+
  58.499 -+#define MGMT_EV_NEW_LINK_KEY		0x0009
  58.500 -+struct mgmt_ev_new_link_key {
  58.501 -+	uint8_t store_hint;
  58.502 -+	struct mgmt_link_key_info key;
  58.503 -+} __packed;
  58.504 -+
  58.505 -+#define MGMT_EV_NEW_LONG_TERM_KEY	0x000A
  58.506 -+struct mgmt_ev_new_long_term_key {
  58.507 -+	uint8_t store_hint;
  58.508 -+	struct mgmt_ltk_info key;
  58.509 -+} __packed;
  58.510 -+
  58.511 -+#define MGMT_EV_DEVICE_CONNECTED	0x000B
  58.512 -+struct mgmt_ev_device_connected {
  58.513 -+	struct mgmt_addr_info addr;
  58.514 -+	uint32_t flags;
  58.515 -+	uint16_t eir_len;
  58.516 -+	uint8_t eir[0];
  58.517 -+} __packed;
  58.518 -+
  58.519 -+#define MGMT_DEV_DISCONN_UNKNOWN	0x00
  58.520 -+#define MGMT_DEV_DISCONN_TIMEOUT	0x01
  58.521 -+#define MGMT_DEV_DISCONN_LOCAL_HOST	0x02
  58.522 -+#define MGMT_DEV_DISCONN_REMOTE		0x03
  58.523 -+
  58.524 -+#define MGMT_EV_DEVICE_DISCONNECTED	0x000C
  58.525 -+struct mgmt_ev_device_disconnected {
  58.526 -+	struct mgmt_addr_info addr;
  58.527 -+	uint8_t reason;
  58.528 -+} __packed;
  58.529 -+
  58.530 -+#define MGMT_EV_CONNECT_FAILED		0x000D
  58.531 -+struct mgmt_ev_connect_failed {
  58.532 -+	struct mgmt_addr_info addr;
  58.533 -+	uint8_t status;
  58.534 -+} __packed;
  58.535 -+
  58.536 -+#define MGMT_EV_PIN_CODE_REQUEST	0x000E
  58.537 -+struct mgmt_ev_pin_code_request {
  58.538 -+	struct mgmt_addr_info addr;
  58.539 -+	uint8_t secure;
  58.540 -+} __packed;
  58.541 -+
  58.542 -+#define MGMT_EV_USER_CONFIRM_REQUEST	0x000F
  58.543 -+struct mgmt_ev_user_confirm_request {
  58.544 -+	struct mgmt_addr_info addr;
  58.545 -+	uint8_t confirm_hint;
  58.546 -+	uint32_t value;
  58.547 -+} __packed;
  58.548 -+
  58.549 -+#define MGMT_EV_USER_PASSKEY_REQUEST	0x0010
  58.550 -+struct mgmt_ev_user_passkey_request {
  58.551 -+	struct mgmt_addr_info addr;
  58.552 -+} __packed;
  58.553 -+
  58.554 -+#define MGMT_EV_AUTH_FAILED		0x0011
  58.555 -+struct mgmt_ev_auth_failed {
  58.556 -+	struct mgmt_addr_info addr;
  58.557 -+	uint8_t status;
  58.558 -+} __packed;
  58.559 -+
  58.560 -+#define MGMT_DEV_FOUND_CONFIRM_NAME	0x01
  58.561 -+#define MGMT_DEV_FOUND_LEGACY_PAIRING	0x02
  58.562 -+#define MGMT_DEV_FOUND_NOT_CONNECTABLE	0x04
  58.563 -+
  58.564 -+#define MGMT_EV_DEVICE_FOUND		0x0012
  58.565 -+struct mgmt_ev_device_found {
  58.566 -+	struct mgmt_addr_info addr;
  58.567 -+	int8_t rssi;
  58.568 -+	uint32_t flags;
  58.569 -+	uint16_t eir_len;
  58.570 -+	uint8_t eir[0];
  58.571 -+} __packed;
  58.572 -+
  58.573 -+#define MGMT_EV_DISCOVERING		0x0013
  58.574 -+struct mgmt_ev_discovering {
  58.575 -+	uint8_t type;
  58.576 -+	uint8_t discovering;
  58.577 -+} __packed;
  58.578 -+
  58.579 -+#define MGMT_EV_DEVICE_BLOCKED		0x0014
  58.580 -+struct mgmt_ev_device_blocked {
  58.581 -+	struct mgmt_addr_info addr;
  58.582 -+} __packed;
  58.583 -+
  58.584 -+#define MGMT_EV_DEVICE_UNBLOCKED	0x0015
  58.585 -+struct mgmt_ev_device_unblocked {
  58.586 -+	struct mgmt_addr_info addr;
  58.587 -+} __packed;
  58.588 -+
  58.589 -+#define MGMT_EV_DEVICE_UNPAIRED		0x0016
  58.590 -+struct mgmt_ev_device_unpaired {
  58.591 -+	struct mgmt_addr_info addr;
  58.592 -+} __packed;
  58.593 -+
  58.594 -+#define MGMT_EV_PASSKEY_NOTIFY		0x0017
  58.595 -+struct mgmt_ev_passkey_notify {
  58.596 -+	struct mgmt_addr_info addr;
  58.597 -+	uint32_t passkey;
  58.598 -+	uint8_t entered;
  58.599 -+} __packed;
  58.600 -+
  58.601 -+#define MGMT_EV_NEW_IRK			0x0018
  58.602 -+struct mgmt_ev_new_irk {
  58.603 -+	uint8_t  store_hint;
  58.604 -+	bdaddr_t rpa;
  58.605 -+	struct mgmt_irk_info key;
  58.606 -+} __packed;
  58.607 -+
  58.608 -+struct mgmt_csrk_info {
  58.609 -+	struct mgmt_addr_info addr;
  58.610 -+	uint8_t master;
  58.611 -+	uint8_t val[16];
  58.612 -+} __packed;
  58.613 -+
  58.614 -+#define MGMT_EV_NEW_CSRK		0x0019
  58.615 -+struct mgmt_ev_new_csrk {
  58.616 -+	uint8_t store_hint;
  58.617 -+	struct mgmt_csrk_info key;
  58.618 -+} __packed;
  58.619 -+
  58.620 -+#define MGMT_EV_DEVICE_ADDED		0x001a
  58.621 -+struct mgmt_ev_device_added {
  58.622 -+	struct mgmt_addr_info addr;
  58.623 -+	uint8_t action;
  58.624 -+} __packed;
  58.625 -+
  58.626 -+#define MGMT_EV_DEVICE_REMOVED		0x001b
  58.627 -+struct mgmt_ev_device_removed {
  58.628 -+	struct mgmt_addr_info addr;
  58.629 -+} __packed;
  58.630 -+
  58.631 -+#define MGMT_EV_NEW_CONN_PARAM		0x001c
  58.632 -+struct mgmt_ev_new_conn_param {
  58.633 -+	struct mgmt_addr_info addr;
  58.634 -+	uint8_t store_hint;
  58.635 -+	uint16_t min_interval;
  58.636 -+	uint16_t max_interval;
  58.637 -+	uint16_t latency;
  58.638 -+	uint16_t timeout;
  58.639 -+} __packed;
  58.640 -+
  58.641 -+#define MGMT_EV_UNCONF_INDEX_ADDED	0x001d
  58.642 -+
  58.643 -+#define MGMT_EV_UNCONF_INDEX_REMOVED	0x001e
  58.644 -+
  58.645 -+#define MGMT_EV_NEW_CONFIG_OPTIONS	0x001f
  58.646 -+
  58.647 -+static const char *mgmt_op[] = {
  58.648 -+	"<0x0000>",
  58.649 -+	"Read Version",
  58.650 -+	"Read Commands",
  58.651 -+	"Read Index List",
  58.652 -+	"Read Controller Info",
  58.653 -+	"Set Powered",
  58.654 -+	"Set Discoverable",
  58.655 -+	"Set Connectable",
  58.656 -+	"Set Fast Connectable",		/* 0x0008 */
  58.657 -+	"Set Bondable",
  58.658 -+	"Set Link Security",
  58.659 -+	"Set Secure Simple Pairing",
  58.660 -+	"Set High Speed",
  58.661 -+	"Set Low Energy",
  58.662 -+	"Set Dev Class",
  58.663 -+	"Set Local Name",
  58.664 -+	"Add UUID",			/* 0x0010 */
  58.665 -+	"Remove UUID",
  58.666 -+	"Load Link Keys",
  58.667 -+	"Load Long Term Keys",
  58.668 -+	"Disconnect",
  58.669 -+	"Get Connections",
  58.670 -+	"PIN Code Reply",
  58.671 -+	"PIN Code Neg Reply",
  58.672 -+	"Set IO Capability",		/* 0x0018 */
  58.673 -+	"Pair Device",
  58.674 -+	"Cancel Pair Device",
  58.675 -+	"Unpair Device",
  58.676 -+	"User Confirm Reply",
  58.677 -+	"User Confirm Neg Reply",
  58.678 -+	"User Passkey Reply",
  58.679 -+	"User Passkey Neg Reply",
  58.680 -+	"Read Local OOB Data",		/* 0x0020 */
  58.681 -+	"Add Remote OOB Data",
  58.682 -+	"Remove Remove OOB Data",
  58.683 -+	"Start Discovery",
  58.684 -+	"Stop Discovery",
  58.685 -+	"Confirm Name",
  58.686 -+	"Block Device",
  58.687 -+	"Unblock Device",
  58.688 -+	"Set Device ID",
  58.689 -+	"Set Advertising",
  58.690 -+	"Set BR/EDR",
  58.691 -+	"Set Static Address",
  58.692 -+	"Set Scan Parameters",
  58.693 -+	"Set Secure Connections",
  58.694 -+	"Set Debug Keys",
  58.695 -+	"Set Privacy",
  58.696 -+	"Load Identity Resolving Keys",
  58.697 -+	"Get Connection Information",
  58.698 -+	"Get Clock Information",
  58.699 -+	"Add Device",
  58.700 -+	"Remove Device",
  58.701 -+	"Load Connection Parameters",
  58.702 -+	"Read Unconfigured Index List",
  58.703 -+	"Read Controller Configuration Information",
  58.704 -+	"Set External Configuration",
  58.705 -+	"Set Public Address",
  58.706 -+};
  58.707 -+
  58.708 -+static const char *mgmt_ev[] = {
  58.709 -+	"<0x0000>",
  58.710 -+	"Command Complete",
  58.711 -+	"Command Status",
  58.712 -+	"Controller Error",
  58.713 -+	"Index Added",
  58.714 -+	"Index Removed",
  58.715 -+	"New Settings",
  58.716 -+	"Class of Device Changed",
  58.717 -+	"Local Name Changed",		/* 0x0008 */
  58.718 -+	"New Link Key",
  58.719 -+	"New Long Term Key",
  58.720 -+	"Device Connected",
  58.721 -+	"Device Disconnected",
  58.722 -+	"Connect Failed",
  58.723 -+	"PIN Code Request",
  58.724 -+	"User Confirm Request",
  58.725 -+	"User Passkey Request",		/* 0x0010 */
  58.726 -+	"Authentication Failed",
  58.727 -+	"Device Found",
  58.728 -+	"Discovering",
  58.729 -+	"Device Blocked",
  58.730 -+	"Device Unblocked",
  58.731 -+	"Device Unpaired",
  58.732 -+	"Passkey Notify",
  58.733 -+	"New Identity Resolving Key",
  58.734 -+	"New Signature Resolving Key",
  58.735 -+	"Device Added",
  58.736 -+	"Device Removed",
  58.737 -+	"New Connection Parameter",
  58.738 -+	"Unconfigured Index Added",
  58.739 -+	"Unconfigured Index Removed",
  58.740 -+	"New Configuration Options",
  58.741 -+};
  58.742 -+
  58.743 -+static const char *mgmt_status[] = {
  58.744 -+	"Success",
  58.745 -+	"Unknown Command",
  58.746 -+	"Not Connected",
  58.747 -+	"Failed",
  58.748 -+	"Connect Failed",
  58.749 -+	"Authentication Failed",
  58.750 -+	"Not Paired",
  58.751 -+	"No Resources",
  58.752 -+	"Timeout",
  58.753 -+	"Already Connected",
  58.754 -+	"Busy",
  58.755 -+	"Rejected",
  58.756 -+	"Not Supported",
  58.757 -+	"Invalid Parameters",
  58.758 -+	"Disconnected",
  58.759 -+	"Not Powered",
  58.760 -+	"Cancelled",
  58.761 -+	"Invalid Index",
  58.762 -+	"Blocked through rfkill",
  58.763 -+};
  58.764 -+
  58.765 -+#ifndef NELEM
  58.766 -+#define NELEM(x) (sizeof(x) / sizeof((x)[0]))
  58.767 -+#endif
  58.768 -+
  58.769 -+static inline const char *mgmt_opstr(uint16_t op)
  58.770 -+{
  58.771 -+	if (op >= NELEM(mgmt_op))
  58.772 -+		return "<unknown opcode>";
  58.773 -+	return mgmt_op[op];
  58.774 -+}
  58.775 -+
  58.776 -+static inline const char *mgmt_evstr(uint16_t ev)
  58.777 -+{
  58.778 -+	if (ev >= NELEM(mgmt_ev))
  58.779 -+		return "<unknown event>";
  58.780 -+	return mgmt_ev[ev];
  58.781 -+}
  58.782 -+
  58.783 -+static inline const char *mgmt_errstr(uint8_t status)
  58.784 -+{
  58.785 -+	if (status >= NELEM(mgmt_status))
  58.786 -+		return "<unknown status>";
  58.787 -+	return mgmt_status[status];
  58.788 -+}
    59.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    59.2 +++ b/libpcap/stuff/patches/libpcap-1.9.0-enable_bluetooth-1.patch	Wed Sep 05 00:08:37 2018 +0300
    59.3 @@ -0,0 +1,785 @@
    59.4 +Submitted By:            Fernando de Oliveira <famobr at yahoo dot com dot br>
    59.5 +Date:                    2014-09-07
    59.6 +Initial Package Version: 1.6.2 (problem started with 1.6.1)
    59.7 +Upstream Status:         Unknown
    59.8 +Origin:                  ArchLinux
    59.9 +URL:                     https://projects.archlinux.org/svntogit/packages.git/plain/trunk/mgmt.h?h=packages/libpcap
   59.10 +Description:             Fix build with bluez-5.21
   59.11 +
   59.12 +
   59.13 +diff -Naur libpcap-1.6.2.orig/bluetooth/mgmt.h libpcap-1.6.2/bluetooth/mgmt.h
   59.14 +--- libpcap-1.6.2.orig/bluetooth/mgmt.h	1969-12-31 21:00:00.000000000 -0300
   59.15 ++++ libpcap-1.6.2/bluetooth/mgmt.h	2014-09-07 14:11:36.456414731 -0300
   59.16 +@@ -0,0 +1,772 @@
   59.17 ++/*
   59.18 ++ *  BlueZ - Bluetooth protocol stack for Linux
   59.19 ++ *
   59.20 ++ *  Copyright (C) 2010  Nokia Corporation
   59.21 ++ *  Copyright (C) 2010  Marcel Holtmann <marcel@holtmann.org>
   59.22 ++ *
   59.23 ++ *
   59.24 ++ *  This program is free software; you can redistribute it and/or modify
   59.25 ++ *  it under the terms of the GNU General Public License as published by
   59.26 ++ *  the Free Software Foundation; either version 2 of the License, or
   59.27 ++ *  (at your option) any later version.
   59.28 ++ *
   59.29 ++ *  This program is distributed in the hope that it will be useful,
   59.30 ++ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
   59.31 ++ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   59.32 ++ *  GNU General Public License for more details.
   59.33 ++ *
   59.34 ++ *  You should have received a copy of the GNU General Public License
   59.35 ++ *  along with this program; if not, write to the Free Software
   59.36 ++ *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   59.37 ++ *
   59.38 ++ */
   59.39 ++
   59.40 ++#ifndef __packed
   59.41 ++#define __packed __attribute__((packed))
   59.42 ++#endif
   59.43 ++
   59.44 ++#define MGMT_INDEX_NONE			0xFFFF
   59.45 ++
   59.46 ++#define MGMT_STATUS_SUCCESS		0x00
   59.47 ++#define MGMT_STATUS_UNKNOWN_COMMAND	0x01
   59.48 ++#define MGMT_STATUS_NOT_CONNECTED	0x02
   59.49 ++#define MGMT_STATUS_FAILED		0x03
   59.50 ++#define MGMT_STATUS_CONNECT_FAILED	0x04
   59.51 ++#define MGMT_STATUS_AUTH_FAILED		0x05
   59.52 ++#define MGMT_STATUS_NOT_PAIRED		0x06
   59.53 ++#define MGMT_STATUS_NO_RESOURCES	0x07
   59.54 ++#define MGMT_STATUS_TIMEOUT		0x08
   59.55 ++#define MGMT_STATUS_ALREADY_CONNECTED	0x09
   59.56 ++#define MGMT_STATUS_BUSY		0x0a
   59.57 ++#define MGMT_STATUS_REJECTED		0x0b
   59.58 ++#define MGMT_STATUS_NOT_SUPPORTED	0x0c
   59.59 ++#define MGMT_STATUS_INVALID_PARAMS	0x0d
   59.60 ++#define MGMT_STATUS_DISCONNECTED	0x0e
   59.61 ++#define MGMT_STATUS_NOT_POWERED		0x0f
   59.62 ++#define MGMT_STATUS_CANCELLED		0x10
   59.63 ++#define MGMT_STATUS_INVALID_INDEX	0x11
   59.64 ++#define MGMT_STATUS_RFKILLED		0x12
   59.65 ++
   59.66 ++struct mgmt_hdr {
   59.67 ++	uint16_t opcode;
   59.68 ++	uint16_t index;
   59.69 ++	uint16_t len;
   59.70 ++} __packed;
   59.71 ++#define MGMT_HDR_SIZE	6
   59.72 ++
   59.73 ++struct mgmt_addr_info {
   59.74 ++	bdaddr_t bdaddr;
   59.75 ++	uint8_t type;
   59.76 ++} __packed;
   59.77 ++
   59.78 ++#define MGMT_OP_READ_VERSION		0x0001
   59.79 ++struct mgmt_rp_read_version {
   59.80 ++	uint8_t version;
   59.81 ++	uint16_t revision;
   59.82 ++} __packed;
   59.83 ++
   59.84 ++#define MGMT_OP_READ_COMMANDS		0x0002
   59.85 ++struct mgmt_rp_read_commands {
   59.86 ++	uint16_t num_commands;
   59.87 ++	uint16_t num_events;
   59.88 ++	uint16_t opcodes[0];
   59.89 ++} __packed;
   59.90 ++
   59.91 ++#define MGMT_OP_READ_INDEX_LIST		0x0003
   59.92 ++struct mgmt_rp_read_index_list {
   59.93 ++	uint16_t num_controllers;
   59.94 ++	uint16_t index[0];
   59.95 ++} __packed;
   59.96 ++
   59.97 ++/* Reserve one extra byte for names in management messages so that they
   59.98 ++ * are always guaranteed to be nul-terminated */
   59.99 ++#define MGMT_MAX_NAME_LENGTH		(248 + 1)
  59.100 ++#define MGMT_MAX_SHORT_NAME_LENGTH	(10 + 1)
  59.101 ++
  59.102 ++#define MGMT_SETTING_POWERED		0x00000001
  59.103 ++#define MGMT_SETTING_CONNECTABLE	0x00000002
  59.104 ++#define MGMT_SETTING_FAST_CONNECTABLE	0x00000004
  59.105 ++#define MGMT_SETTING_DISCOVERABLE	0x00000008
  59.106 ++#define MGMT_SETTING_BONDABLE		0x00000010
  59.107 ++#define MGMT_SETTING_LINK_SECURITY	0x00000020
  59.108 ++#define MGMT_SETTING_SSP		0x00000040
  59.109 ++#define MGMT_SETTING_BREDR		0x00000080
  59.110 ++#define MGMT_SETTING_HS			0x00000100
  59.111 ++#define MGMT_SETTING_LE			0x00000200
  59.112 ++#define MGMT_SETTING_ADVERTISING	0x00000400
  59.113 ++#define MGMT_SETTING_SECURE_CONN	0x00000800
  59.114 ++#define MGMT_SETTING_DEBUG_KEYS		0x00001000
  59.115 ++#define MGMT_SETTING_PRIVACY		0x00002000
  59.116 ++#define MGMT_SETTING_CONFIGURATION	0x00004000
  59.117 ++
  59.118 ++#define MGMT_OP_READ_INFO		0x0004
  59.119 ++struct mgmt_rp_read_info {
  59.120 ++	bdaddr_t bdaddr;
  59.121 ++	uint8_t version;
  59.122 ++	uint16_t manufacturer;
  59.123 ++	uint32_t supported_settings;
  59.124 ++	uint32_t current_settings;
  59.125 ++	uint8_t dev_class[3];
  59.126 ++	uint8_t name[MGMT_MAX_NAME_LENGTH];
  59.127 ++	uint8_t short_name[MGMT_MAX_SHORT_NAME_LENGTH];
  59.128 ++} __packed;
  59.129 ++
  59.130 ++struct mgmt_mode {
  59.131 ++	uint8_t val;
  59.132 ++} __packed;
  59.133 ++
  59.134 ++struct mgmt_cod {
  59.135 ++	uint8_t val[3];
  59.136 ++} __packed;
  59.137 ++
  59.138 ++#define MGMT_OP_SET_POWERED		0x0005
  59.139 ++
  59.140 ++#define MGMT_OP_SET_DISCOVERABLE	0x0006
  59.141 ++struct mgmt_cp_set_discoverable {
  59.142 ++	uint8_t val;
  59.143 ++	uint16_t timeout;
  59.144 ++} __packed;
  59.145 ++
  59.146 ++#define MGMT_OP_SET_CONNECTABLE		0x0007
  59.147 ++
  59.148 ++#define MGMT_OP_SET_FAST_CONNECTABLE	0x0008
  59.149 ++
  59.150 ++#define MGMT_OP_SET_BONDABLE		0x0009
  59.151 ++
  59.152 ++#define MGMT_OP_SET_LINK_SECURITY	0x000A
  59.153 ++
  59.154 ++#define MGMT_OP_SET_SSP			0x000B
  59.155 ++
  59.156 ++#define MGMT_OP_SET_HS			0x000C
  59.157 ++
  59.158 ++#define MGMT_OP_SET_LE			0x000D
  59.159 ++
  59.160 ++#define MGMT_OP_SET_DEV_CLASS		0x000E
  59.161 ++struct mgmt_cp_set_dev_class {
  59.162 ++	uint8_t major;
  59.163 ++	uint8_t minor;
  59.164 ++} __packed;
  59.165 ++
  59.166 ++#define MGMT_OP_SET_LOCAL_NAME		0x000F
  59.167 ++struct mgmt_cp_set_local_name {
  59.168 ++	uint8_t name[MGMT_MAX_NAME_LENGTH];
  59.169 ++	uint8_t short_name[MGMT_MAX_SHORT_NAME_LENGTH];
  59.170 ++} __packed;
  59.171 ++
  59.172 ++#define MGMT_OP_ADD_UUID		0x0010
  59.173 ++struct mgmt_cp_add_uuid {
  59.174 ++	uint8_t uuid[16];
  59.175 ++	uint8_t svc_hint;
  59.176 ++} __packed;
  59.177 ++
  59.178 ++#define MGMT_OP_REMOVE_UUID		0x0011
  59.179 ++struct mgmt_cp_remove_uuid {
  59.180 ++	uint8_t uuid[16];
  59.181 ++} __packed;
  59.182 ++
  59.183 ++struct mgmt_link_key_info {
  59.184 ++	struct mgmt_addr_info addr;
  59.185 ++	uint8_t type;
  59.186 ++	uint8_t val[16];
  59.187 ++	uint8_t pin_len;
  59.188 ++} __packed;
  59.189 ++
  59.190 ++#define MGMT_OP_LOAD_LINK_KEYS		0x0012
  59.191 ++struct mgmt_cp_load_link_keys {
  59.192 ++	uint8_t debug_keys;
  59.193 ++	uint16_t key_count;
  59.194 ++	struct mgmt_link_key_info keys[0];
  59.195 ++} __packed;
  59.196 ++
  59.197 ++struct mgmt_ltk_info {
  59.198 ++	struct mgmt_addr_info addr;
  59.199 ++	uint8_t type;
  59.200 ++	uint8_t master;
  59.201 ++	uint8_t enc_size;
  59.202 ++	uint16_t ediv;
  59.203 ++	uint64_t rand;
  59.204 ++	uint8_t val[16];
  59.205 ++} __packed;
  59.206 ++
  59.207 ++#define MGMT_OP_LOAD_LONG_TERM_KEYS	0x0013
  59.208 ++struct mgmt_cp_load_long_term_keys {
  59.209 ++	uint16_t key_count;
  59.210 ++	struct mgmt_ltk_info keys[0];
  59.211 ++} __packed;
  59.212 ++
  59.213 ++#define MGMT_OP_DISCONNECT		0x0014
  59.214 ++struct mgmt_cp_disconnect {
  59.215 ++	struct mgmt_addr_info addr;
  59.216 ++} __packed;
  59.217 ++struct mgmt_rp_disconnect {
  59.218 ++	struct mgmt_addr_info addr;
  59.219 ++} __packed;
  59.220 ++
  59.221 ++#define MGMT_OP_GET_CONNECTIONS		0x0015
  59.222 ++struct mgmt_rp_get_connections {
  59.223 ++	uint16_t conn_count;
  59.224 ++	struct mgmt_addr_info addr[0];
  59.225 ++} __packed;
  59.226 ++
  59.227 ++#define MGMT_OP_PIN_CODE_REPLY		0x0016
  59.228 ++struct mgmt_cp_pin_code_reply {
  59.229 ++	struct mgmt_addr_info addr;
  59.230 ++	uint8_t pin_len;
  59.231 ++	uint8_t pin_code[16];
  59.232 ++} __packed;
  59.233 ++
  59.234 ++#define MGMT_OP_PIN_CODE_NEG_REPLY	0x0017
  59.235 ++struct mgmt_cp_pin_code_neg_reply {
  59.236 ++	struct mgmt_addr_info addr;
  59.237 ++} __packed;
  59.238 ++
  59.239 ++#define MGMT_OP_SET_IO_CAPABILITY	0x0018
  59.240 ++struct mgmt_cp_set_io_capability {
  59.241 ++	uint8_t io_capability;
  59.242 ++} __packed;
  59.243 ++
  59.244 ++#define MGMT_OP_PAIR_DEVICE		0x0019
  59.245 ++struct mgmt_cp_pair_device {
  59.246 ++	struct mgmt_addr_info addr;
  59.247 ++	uint8_t io_cap;
  59.248 ++} __packed;
  59.249 ++struct mgmt_rp_pair_device {
  59.250 ++	struct mgmt_addr_info addr;
  59.251 ++} __packed;
  59.252 ++
  59.253 ++#define MGMT_OP_CANCEL_PAIR_DEVICE	0x001A
  59.254 ++
  59.255 ++#define MGMT_OP_UNPAIR_DEVICE		0x001B
  59.256 ++struct mgmt_cp_unpair_device {
  59.257 ++	struct mgmt_addr_info addr;
  59.258 ++	uint8_t disconnect;
  59.259 ++} __packed;
  59.260 ++struct mgmt_rp_unpair_device {
  59.261 ++	struct mgmt_addr_info addr;
  59.262 ++} __packed;
  59.263 ++
  59.264 ++#define MGMT_OP_USER_CONFIRM_REPLY	0x001C
  59.265 ++struct mgmt_cp_user_confirm_reply {
  59.266 ++	struct mgmt_addr_info addr;
  59.267 ++} __packed;
  59.268 ++struct mgmt_rp_user_confirm_reply {
  59.269 ++	struct mgmt_addr_info addr;
  59.270 ++} __packed;
  59.271 ++
  59.272 ++#define MGMT_OP_USER_CONFIRM_NEG_REPLY	0x001D
  59.273 ++
  59.274 ++#define MGMT_OP_USER_PASSKEY_REPLY	0x001E
  59.275 ++struct mgmt_cp_user_passkey_reply {
  59.276 ++	struct mgmt_addr_info addr;
  59.277 ++	uint32_t passkey;
  59.278 ++} __packed;
  59.279 ++struct mgmt_rp_user_passkey_reply {
  59.280 ++	struct mgmt_addr_info addr;
  59.281 ++} __packed;
  59.282 ++
  59.283 ++#define MGMT_OP_USER_PASSKEY_NEG_REPLY	0x001F
  59.284 ++struct mgmt_cp_user_passkey_neg_reply {
  59.285 ++	struct mgmt_addr_info addr;
  59.286 ++} __packed;
  59.287 ++
  59.288 ++#define MGMT_OP_READ_LOCAL_OOB_DATA	0x0020
  59.289 ++struct mgmt_rp_read_local_oob_data {
  59.290 ++	uint8_t hash[16];
  59.291 ++	uint8_t randomizer[16];
  59.292 ++} __packed;
  59.293 ++struct mgmt_rp_read_local_oob_ext_data {
  59.294 ++	uint8_t hash192[16];
  59.295 ++	uint8_t randomizer192[16];
  59.296 ++	uint8_t hash256[16];
  59.297 ++	uint8_t randomizer256[16];
  59.298 ++} __packed;
  59.299 ++
  59.300 ++#define MGMT_OP_ADD_REMOTE_OOB_DATA	0x0021
  59.301 ++struct mgmt_cp_add_remote_oob_data {
  59.302 ++	struct mgmt_addr_info addr;
  59.303 ++	uint8_t hash[16];
  59.304 ++	uint8_t randomizer[16];
  59.305 ++} __packed;
  59.306 ++
  59.307 ++#define MGMT_OP_REMOVE_REMOTE_OOB_DATA	0x0022
  59.308 ++struct mgmt_cp_remove_remote_oob_data {
  59.309 ++	struct mgmt_addr_info addr;
  59.310 ++} __packed;
  59.311 ++
  59.312 ++#define MGMT_OP_START_DISCOVERY		0x0023
  59.313 ++struct mgmt_cp_start_discovery {
  59.314 ++	uint8_t type;
  59.315 ++} __packed;
  59.316 ++
  59.317 ++#define MGMT_OP_STOP_DISCOVERY		0x0024
  59.318 ++struct mgmt_cp_stop_discovery {
  59.319 ++	uint8_t type;
  59.320 ++} __packed;
  59.321 ++
  59.322 ++#define MGMT_OP_CONFIRM_NAME		0x0025
  59.323 ++struct mgmt_cp_confirm_name {
  59.324 ++	struct mgmt_addr_info addr;
  59.325 ++	uint8_t name_known;
  59.326 ++} __packed;
  59.327 ++struct mgmt_rp_confirm_name {
  59.328 ++	struct mgmt_addr_info addr;
  59.329 ++} __packed;
  59.330 ++
  59.331 ++#define MGMT_OP_BLOCK_DEVICE		0x0026
  59.332 ++struct mgmt_cp_block_device {
  59.333 ++	struct mgmt_addr_info addr;
  59.334 ++} __packed;
  59.335 ++
  59.336 ++#define MGMT_OP_UNBLOCK_DEVICE		0x0027
  59.337 ++struct mgmt_cp_unblock_device {
  59.338 ++	struct mgmt_addr_info addr;
  59.339 ++} __packed;
  59.340 ++
  59.341 ++#define MGMT_OP_SET_DEVICE_ID		0x0028
  59.342 ++struct mgmt_cp_set_device_id {
  59.343 ++	uint16_t source;
  59.344 ++	uint16_t vendor;
  59.345 ++	uint16_t product;
  59.346 ++	uint16_t version;
  59.347 ++} __packed;
  59.348 ++
  59.349 ++#define MGMT_OP_SET_ADVERTISING		0x0029
  59.350 ++
  59.351 ++#define MGMT_OP_SET_BREDR		0x002A
  59.352 ++
  59.353 ++#define MGMT_OP_SET_STATIC_ADDRESS	0x002B
  59.354 ++struct mgmt_cp_set_static_address {
  59.355 ++	bdaddr_t bdaddr;
  59.356 ++} __packed;
  59.357 ++
  59.358 ++#define MGMT_OP_SET_SCAN_PARAMS		0x002C
  59.359 ++struct mgmt_cp_set_scan_params {
  59.360 ++	uint16_t interval;
  59.361 ++	uint16_t window;
  59.362 ++} __packed;
  59.363 ++
  59.364 ++#define MGMT_OP_SET_SECURE_CONN		0x002D
  59.365 ++
  59.366 ++#define MGMT_OP_SET_DEBUG_KEYS		0x002E
  59.367 ++
  59.368 ++struct mgmt_irk_info {
  59.369 ++	struct mgmt_addr_info addr;
  59.370 ++	uint8_t val[16];
  59.371 ++} __packed;
  59.372 ++
  59.373 ++#define MGMT_OP_SET_PRIVACY		0x002F
  59.374 ++struct mgmt_cp_set_privacy {
  59.375 ++	uint8_t privacy;
  59.376 ++	uint8_t irk[16];
  59.377 ++} __packed;
  59.378 ++
  59.379 ++#define MGMT_OP_LOAD_IRKS		0x0030
  59.380 ++struct mgmt_cp_load_irks {
  59.381 ++	uint16_t irk_count;
  59.382 ++	struct mgmt_irk_info irks[0];
  59.383 ++} __packed;
  59.384 ++
  59.385 ++#define MGMT_OP_GET_CONN_INFO		0x0031
  59.386 ++struct mgmt_cp_get_conn_info {
  59.387 ++	struct mgmt_addr_info addr;
  59.388 ++} __packed;
  59.389 ++struct mgmt_rp_get_conn_info {
  59.390 ++	struct mgmt_addr_info addr;
  59.391 ++	int8_t rssi;
  59.392 ++	int8_t tx_power;
  59.393 ++	int8_t max_tx_power;
  59.394 ++} __packed;
  59.395 ++
  59.396 ++#define MGMT_OP_GET_CLOCK_INFO		0x0032
  59.397 ++struct mgmt_cp_get_clock_info {
  59.398 ++	struct mgmt_addr_info addr;
  59.399 ++} __packed;
  59.400 ++struct mgmt_rp_get_clock_info {
  59.401 ++	struct mgmt_addr_info addr;
  59.402 ++	uint32_t  local_clock;
  59.403 ++	uint32_t  piconet_clock;
  59.404 ++	uint16_t  accuracy;
  59.405 ++} __packed;
  59.406 ++
  59.407 ++#define MGMT_OP_ADD_DEVICE		0x0033
  59.408 ++struct mgmt_cp_add_device {
  59.409 ++	struct mgmt_addr_info addr;
  59.410 ++	uint8_t action;
  59.411 ++} __packed;
  59.412 ++struct mgmt_rp_add_device {
  59.413 ++	struct mgmt_addr_info addr;
  59.414 ++} __packed;
  59.415 ++
  59.416 ++#define MGMT_OP_REMOVE_DEVICE		0x0034
  59.417 ++struct mgmt_cp_remove_device {
  59.418 ++	struct mgmt_addr_info addr;
  59.419 ++} __packed;
  59.420 ++struct mgmt_rp_remove_device {
  59.421 ++	struct mgmt_addr_info addr;
  59.422 ++} __packed;
  59.423 ++
  59.424 ++struct mgmt_conn_param {
  59.425 ++	struct mgmt_addr_info addr;
  59.426 ++	uint16_t min_interval;
  59.427 ++	uint16_t max_interval;
  59.428 ++	uint16_t latency;
  59.429 ++	uint16_t timeout;
  59.430 ++} __packed;
  59.431 ++
  59.432 ++#define MGMT_OP_LOAD_CONN_PARAM		0x0035
  59.433 ++struct mgmt_cp_load_conn_param {
  59.434 ++	uint16_t param_count;
  59.435 ++	struct mgmt_conn_param params[0];
  59.436 ++} __packed;
  59.437 ++
  59.438 ++#define MGMT_OP_READ_UNCONF_INDEX_LIST	0x0036
  59.439 ++struct mgmt_rp_read_unconf_index_list {
  59.440 ++	uint16_t num_controllers;
  59.441 ++	uint16_t index[0];
  59.442 ++} __packed;
  59.443 ++
  59.444 ++#define MGMT_OPTION_EXTERNAL_CONFIG	0x00000001
  59.445 ++#define MGMT_OPTION_PUBLIC_ADDRESS	0x00000002
  59.446 ++
  59.447 ++#define MGMT_OP_READ_CONFIG_INFO	0x0037
  59.448 ++struct mgmt_rp_read_config_info {
  59.449 ++	uint16_t manufacturer;
  59.450 ++	uint32_t supported_options;
  59.451 ++	uint32_t missing_options;
  59.452 ++} __packed;
  59.453 ++
  59.454 ++#define MGMT_OP_SET_EXTERNAL_CONFIG	0x0038
  59.455 ++struct mgmt_cp_set_external_config {
  59.456 ++	uint8_t config;
  59.457 ++} __packed;
  59.458 ++
  59.459 ++#define MGMT_OP_SET_PUBLIC_ADDRESS	0x0039
  59.460 ++struct mgmt_cp_set_public_address {
  59.461 ++	bdaddr_t bdaddr;
  59.462 ++} __packed;
  59.463 ++
  59.464 ++#define MGMT_EV_CMD_COMPLETE		0x0001
  59.465 ++struct mgmt_ev_cmd_complete {
  59.466 ++	uint16_t opcode;
  59.467 ++	uint8_t status;
  59.468 ++	uint8_t data[0];
  59.469 ++} __packed;
  59.470 ++
  59.471 ++#define MGMT_EV_CMD_STATUS		0x0002
  59.472 ++struct mgmt_ev_cmd_status {
  59.473 ++	uint16_t opcode;
  59.474 ++	uint8_t status;
  59.475 ++} __packed;
  59.476 ++
  59.477 ++#define MGMT_EV_CONTROLLER_ERROR	0x0003
  59.478 ++struct mgmt_ev_controller_error {
  59.479 ++	uint8_t error_code;
  59.480 ++} __packed;
  59.481 ++
  59.482 ++#define MGMT_EV_INDEX_ADDED		0x0004
  59.483 ++
  59.484 ++#define MGMT_EV_INDEX_REMOVED		0x0005
  59.485 ++
  59.486 ++#define MGMT_EV_NEW_SETTINGS		0x0006
  59.487 ++
  59.488 ++#define MGMT_EV_CLASS_OF_DEV_CHANGED	0x0007
  59.489 ++struct mgmt_ev_class_of_dev_changed {
  59.490 ++	uint8_t class_of_dev[3];
  59.491 ++} __packed;
  59.492 ++
  59.493 ++#define MGMT_EV_LOCAL_NAME_CHANGED	0x0008
  59.494 ++struct mgmt_ev_local_name_changed {
  59.495 ++	uint8_t name[MGMT_MAX_NAME_LENGTH];
  59.496 ++	uint8_t short_name[MGMT_MAX_SHORT_NAME_LENGTH];
  59.497 ++} __packed;
  59.498 ++
  59.499 ++#define MGMT_EV_NEW_LINK_KEY		0x0009
  59.500 ++struct mgmt_ev_new_link_key {
  59.501 ++	uint8_t store_hint;
  59.502 ++	struct mgmt_link_key_info key;
  59.503 ++} __packed;
  59.504 ++
  59.505 ++#define MGMT_EV_NEW_LONG_TERM_KEY	0x000A
  59.506 ++struct mgmt_ev_new_long_term_key {
  59.507 ++	uint8_t store_hint;
  59.508 ++	struct mgmt_ltk_info key;
  59.509 ++} __packed;
  59.510 ++
  59.511 ++#define MGMT_EV_DEVICE_CONNECTED	0x000B
  59.512 ++struct mgmt_ev_device_connected {
  59.513 ++	struct mgmt_addr_info addr;
  59.514 ++	uint32_t flags;
  59.515 ++	uint16_t eir_len;
  59.516 ++	uint8_t eir[0];
  59.517 ++} __packed;
  59.518 ++
  59.519 ++#define MGMT_DEV_DISCONN_UNKNOWN	0x00
  59.520 ++#define MGMT_DEV_DISCONN_TIMEOUT	0x01
  59.521 ++#define MGMT_DEV_DISCONN_LOCAL_HOST	0x02
  59.522 ++#define MGMT_DEV_DISCONN_REMOTE		0x03
  59.523 ++
  59.524 ++#define MGMT_EV_DEVICE_DISCONNECTED	0x000C
  59.525 ++struct mgmt_ev_device_disconnected {
  59.526 ++	struct mgmt_addr_info addr;
  59.527 ++	uint8_t reason;
  59.528 ++} __packed;
  59.529 ++
  59.530 ++#define MGMT_EV_CONNECT_FAILED		0x000D
  59.531 ++struct mgmt_ev_connect_failed {
  59.532 ++	struct mgmt_addr_info addr;
  59.533 ++	uint8_t status;
  59.534 ++} __packed;
  59.535 ++
  59.536 ++#define MGMT_EV_PIN_CODE_REQUEST	0x000E
  59.537 ++struct mgmt_ev_pin_code_request {
  59.538 ++	struct mgmt_addr_info addr;
  59.539 ++	uint8_t secure;
  59.540 ++} __packed;
  59.541 ++
  59.542 ++#define MGMT_EV_USER_CONFIRM_REQUEST	0x000F
  59.543 ++struct mgmt_ev_user_confirm_request {
  59.544 ++	struct mgmt_addr_info addr;
  59.545 ++	uint8_t confirm_hint;
  59.546 ++	uint32_t value;
  59.547 ++} __packed;
  59.548 ++
  59.549 ++#define MGMT_EV_USER_PASSKEY_REQUEST	0x0010
  59.550 ++struct mgmt_ev_user_passkey_request {
  59.551 ++	struct mgmt_addr_info addr;
  59.552 ++} __packed;
  59.553 ++
  59.554 ++#define MGMT_EV_AUTH_FAILED		0x0011
  59.555 ++struct mgmt_ev_auth_failed {
  59.556 ++	struct mgmt_addr_info addr;
  59.557 ++	uint8_t status;
  59.558 ++} __packed;
  59.559 ++
  59.560 ++#define MGMT_DEV_FOUND_CONFIRM_NAME	0x01
  59.561 ++#define MGMT_DEV_FOUND_LEGACY_PAIRING	0x02
  59.562 ++#define MGMT_DEV_FOUND_NOT_CONNECTABLE	0x04
  59.563 ++
  59.564 ++#define MGMT_EV_DEVICE_FOUND		0x0012
  59.565 ++struct mgmt_ev_device_found {
  59.566 ++	struct mgmt_addr_info addr;
  59.567 ++	int8_t rssi;
  59.568 ++	uint32_t flags;
  59.569 ++	uint16_t eir_len;
  59.570 ++	uint8_t eir[0];
  59.571 ++} __packed;
  59.572 ++
  59.573 ++#define MGMT_EV_DISCOVERING		0x0013
  59.574 ++struct mgmt_ev_discovering {
  59.575 ++	uint8_t type;
  59.576 ++	uint8_t discovering;
  59.577 ++} __packed;
  59.578 ++
  59.579 ++#define MGMT_EV_DEVICE_BLOCKED		0x0014
  59.580 ++struct mgmt_ev_device_blocked {
  59.581 ++	struct mgmt_addr_info addr;
  59.582 ++} __packed;
  59.583 ++
  59.584 ++#define MGMT_EV_DEVICE_UNBLOCKED	0x0015
  59.585 ++struct mgmt_ev_device_unblocked {
  59.586 ++	struct mgmt_addr_info addr;
  59.587 ++} __packed;
  59.588 ++
  59.589 ++#define MGMT_EV_DEVICE_UNPAIRED		0x0016
  59.590 ++struct mgmt_ev_device_unpaired {
  59.591 ++	struct mgmt_addr_info addr;
  59.592 ++} __packed;
  59.593 ++
  59.594 ++#define MGMT_EV_PASSKEY_NOTIFY		0x0017
  59.595 ++struct mgmt_ev_passkey_notify {
  59.596 ++	struct mgmt_addr_info addr;
  59.597 ++	uint32_t passkey;
  59.598 ++	uint8_t entered;
  59.599 ++} __packed;
  59.600 ++
  59.601 ++#define MGMT_EV_NEW_IRK			0x0018
  59.602 ++struct mgmt_ev_new_irk {
  59.603 ++	uint8_t  store_hint;
  59.604 ++	bdaddr_t rpa;
  59.605 ++	struct mgmt_irk_info key;
  59.606 ++} __packed;
  59.607 ++
  59.608 ++struct mgmt_csrk_info {
  59.609 ++	struct mgmt_addr_info addr;
  59.610 ++	uint8_t master;
  59.611 ++	uint8_t val[16];
  59.612 ++} __packed;
  59.613 ++
  59.614 ++#define MGMT_EV_NEW_CSRK		0x0019
  59.615 ++struct mgmt_ev_new_csrk {
  59.616 ++	uint8_t store_hint;
  59.617 ++	struct mgmt_csrk_info key;
  59.618 ++} __packed;
  59.619 ++
  59.620 ++#define MGMT_EV_DEVICE_ADDED		0x001a
  59.621 ++struct mgmt_ev_device_added {
  59.622 ++	struct mgmt_addr_info addr;
  59.623 ++	uint8_t action;
  59.624 ++} __packed;
  59.625 ++
  59.626 ++#define MGMT_EV_DEVICE_REMOVED		0x001b
  59.627 ++struct mgmt_ev_device_removed {
  59.628 ++	struct mgmt_addr_info addr;
  59.629 ++} __packed;
  59.630 ++
  59.631 ++#define MGMT_EV_NEW_CONN_PARAM		0x001c
  59.632 ++struct mgmt_ev_new_conn_param {
  59.633 ++	struct mgmt_addr_info addr;
  59.634 ++	uint8_t store_hint;
  59.635 ++	uint16_t min_interval;
  59.636 ++	uint16_t max_interval;
  59.637 ++	uint16_t latency;
  59.638 ++	uint16_t timeout;
  59.639 ++} __packed;
  59.640 ++
  59.641 ++#define MGMT_EV_UNCONF_INDEX_ADDED	0x001d
  59.642 ++
  59.643 ++#define MGMT_EV_UNCONF_INDEX_REMOVED	0x001e
  59.644 ++
  59.645 ++#define MGMT_EV_NEW_CONFIG_OPTIONS	0x001f
  59.646 ++
  59.647 ++static const char *mgmt_op[] = {
  59.648 ++	"<0x0000>",
  59.649 ++	"Read Version",
  59.650 ++	"Read Commands",
  59.651 ++	"Read Index List",
  59.652 ++	"Read Controller Info",
  59.653 ++	"Set Powered",
  59.654 ++	"Set Discoverable",
  59.655 ++	"Set Connectable",
  59.656 ++	"Set Fast Connectable",		/* 0x0008 */
  59.657 ++	"Set Bondable",
  59.658 ++	"Set Link Security",
  59.659 ++	"Set Secure Simple Pairing",
  59.660 ++	"Set High Speed",
  59.661 ++	"Set Low Energy",
  59.662 ++	"Set Dev Class",
  59.663 ++	"Set Local Name",
  59.664 ++	"Add UUID",			/* 0x0010 */
  59.665 ++	"Remove UUID",
  59.666 ++	"Load Link Keys",
  59.667 ++	"Load Long Term Keys",
  59.668 ++	"Disconnect",
  59.669 ++	"Get Connections",
  59.670 ++	"PIN Code Reply",
  59.671 ++	"PIN Code Neg Reply",
  59.672 ++	"Set IO Capability",		/* 0x0018 */
  59.673 ++	"Pair Device",
  59.674 ++	"Cancel Pair Device",
  59.675 ++	"Unpair Device",
  59.676 ++	"User Confirm Reply",
  59.677 ++	"User Confirm Neg Reply",
  59.678 ++	"User Passkey Reply",
  59.679 ++	"User Passkey Neg Reply",
  59.680 ++	"Read Local OOB Data",		/* 0x0020 */
  59.681 ++	"Add Remote OOB Data",
  59.682 ++	"Remove Remove OOB Data",
  59.683 ++	"Start Discovery",
  59.684 ++	"Stop Discovery",
  59.685 ++	"Confirm Name",
  59.686 ++	"Block Device",
  59.687 ++	"Unblock Device",
  59.688 ++	"Set Device ID",
  59.689 ++	"Set Advertising",
  59.690 ++	"Set BR/EDR",
  59.691 ++	"Set Static Address",
  59.692 ++	"Set Scan Parameters",
  59.693 ++	"Set Secure Connections",
  59.694 ++	"Set Debug Keys",
  59.695 ++	"Set Privacy",
  59.696 ++	"Load Identity Resolving Keys",
  59.697 ++	"Get Connection Information",
  59.698 ++	"Get Clock Information",
  59.699 ++	"Add Device",
  59.700 ++	"Remove Device",
  59.701 ++	"Load Connection Parameters",
  59.702 ++	"Read Unconfigured Index List",
  59.703 ++	"Read Controller Configuration Information",
  59.704 ++	"Set External Configuration",
  59.705 ++	"Set Public Address",
  59.706 ++};
  59.707 ++
  59.708 ++static const char *mgmt_ev[] = {
  59.709 ++	"<0x0000>",
  59.710 ++	"Command Complete",
  59.711 ++	"Command Status",
  59.712 ++	"Controller Error",
  59.713 ++	"Index Added",
  59.714 ++	"Index Removed",
  59.715 ++	"New Settings",
  59.716 ++	"Class of Device Changed",
  59.717 ++	"Local Name Changed",		/* 0x0008 */
  59.718 ++	"New Link Key",
  59.719 ++	"New Long Term Key",
  59.720 ++	"Device Connected",
  59.721 ++	"Device Disconnected",
  59.722 ++	"Connect Failed",
  59.723 ++	"PIN Code Request",
  59.724 ++	"User Confirm Request",
  59.725 ++	"User Passkey Request",		/* 0x0010 */
  59.726 ++	"Authentication Failed",
  59.727 ++	"Device Found",
  59.728 ++	"Discovering",
  59.729 ++	"Device Blocked",
  59.730 ++	"Device Unblocked",
  59.731 ++	"Device Unpaired",
  59.732 ++	"Passkey Notify",
  59.733 ++	"New Identity Resolving Key",
  59.734 ++	"New Signature Resolving Key",
  59.735 ++	"Device Added",
  59.736 ++	"Device Removed",
  59.737 ++	"New Connection Parameter",
  59.738 ++	"Unconfigured Index Added",
  59.739 ++	"Unconfigured Index Removed",
  59.740 ++	"New Configuration Options",
  59.741 ++};
  59.742 ++
  59.743 ++static const char *mgmt_status[] = {
  59.744 ++	"Success",
  59.745 ++	"Unknown Command",
  59.746 ++	"Not Connected",
  59.747 ++	"Failed",
  59.748 ++	"Connect Failed",
  59.749 ++	"Authentication Failed",
  59.750 ++	"Not Paired",
  59.751 ++	"No Resources",
  59.752 ++	"Timeout",
  59.753 ++	"Already Connected",
  59.754 ++	"Busy",
  59.755 ++	"Rejected",
  59.756 ++	"Not Supported",
  59.757 ++	"Invalid Parameters",
  59.758 ++	"Disconnected",
  59.759 ++	"Not Powered",
  59.760 ++	"Cancelled",
  59.761 ++	"Invalid Index",
  59.762 ++	"Blocked through rfkill",
  59.763 ++};
  59.764 ++
  59.765 ++#ifndef NELEM
  59.766 ++#define NELEM(x) (sizeof(x) / sizeof((x)[0]))
  59.767 ++#endif
  59.768 ++
  59.769 ++static inline const char *mgmt_opstr(uint16_t op)
  59.770 ++{
  59.771 ++	if (op >= NELEM(mgmt_op))
  59.772 ++		return "<unknown opcode>";
  59.773 ++	return mgmt_op[op];
  59.774 ++}
  59.775 ++
  59.776 ++static inline const char *mgmt_evstr(uint16_t ev)
  59.777 ++{
  59.778 ++	if (ev >= NELEM(mgmt_ev))
  59.779 ++		return "<unknown event>";
  59.780 ++	return mgmt_ev[ev];
  59.781 ++}
  59.782 ++
  59.783 ++static inline const char *mgmt_errstr(uint8_t status)
  59.784 ++{
  59.785 ++	if (status >= NELEM(mgmt_status))
  59.786 ++		return "<unknown status>";
  59.787 ++	return mgmt_status[status];
  59.788 ++}
    60.1 --- a/libpcap/stuff/patches/series	Mon Sep 03 10:09:42 2018 +0300
    60.2 +++ b/libpcap/stuff/patches/series	Wed Sep 05 00:08:37 2018 +0300
    60.3 @@ -1,1 +1,2 @@
    60.4 -libpcap-1.8.1-enable_bluetooth-1.patch
    60.5 +# From BLFS
    60.6 +libpcap-1.9.0-enable_bluetooth-1.patch
    61.1 --- a/libplayer/receipt	Mon Sep 03 10:09:42 2018 +0300
    61.2 +++ b/libplayer/receipt	Wed Sep 05 00:08:37 2018 +0300
    61.3 @@ -24,24 +24,20 @@
    61.4  		--prefix=/usr\
    61.5  		--enable-mplayer \
    61.6  		--disable-gstreamer \
    61.7 -		--disable-vlc ${ARCH_ARGS} &&
    61.8 -	make && make install
    61.9 +		--disable-vlc \
   61.10 +		$ARCH_ARGS &&
   61.11 +	make &&
   61.12 +	make install
   61.13  }
   61.14  
   61.15  genpkg_rules() {
   61.16  	case $PACKAGE in
   61.17  		libplayer)
   61.18 -			mkdir -p $fs/usr/lib
   61.19 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   61.20 -			cp -a $install/usr/bin $fs/usr
   61.21 +			copy @std
   61.22  			DEPENDS="xine-lib"
   61.23  			;;
   61.24  		*-dev)
   61.25 -			mkdir -p $fs/usr/lib
   61.26 -			cp -a $install/usr/bin $fs/usr
   61.27 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
   61.28 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   61.29 -			cp -a $install/usr/include $fs/usr
   61.30 +			copy @dev
   61.31  			;;
   61.32  	esac
   61.33  }
    62.1 --- a/libvalhalla/receipt	Mon Sep 03 10:09:42 2018 +0300
    62.2 +++ b/libvalhalla/receipt	Wed Sep 05 00:08:37 2018 +0300
    62.3 @@ -37,23 +37,19 @@
    62.4  	./configure \
    62.5  		--prefix=/usr \
    62.6  		$ARCH_ARGS &&
    62.7 -	make && make install
    62.8 +	make &&
    62.9 +	make install
   62.10  }
   62.11  
   62.12  genpkg_rules() {
   62.13  	case $PACKAGE in
   62.14  		libvalhalla)
   62.15 -			mkdir -p $fs/usr/lib
   62.16 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   62.17 +			copy @std
   62.18  			DEPENDS="ffmpeg ffmpeg-compat libexif libsqlite3 libxml2 libgcrypt \
   62.19  			libcurl openssl"
   62.20  			;;
   62.21  		*-dev)
   62.22 -			mkdir -p $fs/usr/lib
   62.23 -			cp -a $install/usr/bin $fs/usr
   62.24 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
   62.25 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   62.26 -			cp -a $install/usr/include $fs/usr
   62.27 +			copy @dev
   62.28  			DEPENDS="libvalhalla sqlite3-dev"
   62.29  			;;
   62.30  	esac
    63.1 --- a/liferea/receipt	Mon Sep 03 10:09:42 2018 +0300
    63.2 +++ b/liferea/receipt	Wed Sep 05 00:08:37 2018 +0300
    63.3 @@ -11,7 +11,7 @@
    63.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    63.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    63.6  
    63.7 -BUILD_DEPENDS="gtk+-dev glib-dev pango-dev GConf GConf-dev orbit2-dev \
    63.8 +BUILD_DEPENDS="gtk+-dev glib-dev pango-dev gconf-dev orbit2-dev \
    63.9  libunique-dev libxml2-dev libxslt-dev sqlite3-dev libsoup-dev webkitgtk-dev \
   63.10  libnotify-dev gnutls-dev json-glib-dev intltool"
   63.11  
   63.12 @@ -28,6 +28,6 @@
   63.13  
   63.14  genpkg_rules() {
   63.15  	copy @std *.mo
   63.16 -	DEPENDS="gtk+ glib pango GConf libunique libxml2 libxslt sqlite3 libsoup \
   63.17 +	DEPENDS="gtk+ glib pango gconf libunique libxml2 libxslt sqlite3 libsoup \
   63.18  	webkitgtk libnotify gnutls json-glib" #intltool?
   63.19  }
    64.1 --- a/linphone/receipt	Mon Sep 03 10:09:42 2018 +0300
    64.2 +++ b/linphone/receipt	Wed Sep 05 00:08:37 2018 +0300
    64.3 @@ -15,6 +15,8 @@
    64.4  xorg-libXv-dev v4l-utils-dev libglade-dev gtk+-dev glib-dev speex-dev"
    64.5  SPLIT="linphone-dev"
    64.6  
    64.7 +COOKOPTS="skip-log-errors"
    64.8 +
    64.9  compile_rules() {
   64.10  	sed -i -e 's/CodecID/AV&/' -e 's/avcodec_init();//' \
   64.11  		-e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \
   64.12 @@ -22,6 +24,7 @@
   64.13  		-e 's/avcodec_alloc_context(\([^)]*\)/avcodec_alloc_context3(\1 NULL/' \
   64.14  			mediastreamer2/src/*.c
   64.15  	sed -i 's/g_thread_init(NULL);//' gtk/*.c
   64.16 +
   64.17  	# Define deprecated ffmepg flags ...
   64.18  	CFLAGS="-Wno-deprecated-declarations -DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \
   64.19  	LIBS="-lavutil -lz" \
   64.20 @@ -32,32 +35,19 @@
   64.21  		--mandir=/usr/share/man \
   64.22  		$CONFIGURE_ARGS &&
   64.23  	make &&
   64.24 -	make DESTDIR=$DESTDIR install 2>&1 | sed \
   64.25 -		-e "s/css': No such file/css': no such file/" \
   64.26 -		-e "s/html': No such file/html': no such file/"
   64.27 +	make DESTDIR=$DESTDIR install
   64.28  }
   64.29  
   64.30  genpkg_rules() {
   64.31  	case $PACKAGE in
   64.32  		linphone)
   64.33 -			mkdir -p $fs/usr/lib $fs/usr/share
   64.34 -			cp -a $install/usr/share/applications $fs/usr/share
   64.35 -			cp -a $install/usr/share/pixmaps $fs/usr/share
   64.36 -			cp -a $install/usr/share/sounds $fs/usr/share
   64.37 -			cp -a $install/usr/share/locale $fs/usr/share
   64.38 -			cp -a $install/usr/share/images $fs/usr/share
   64.39 -			cp -a $install/usr/share/linphone $fs/usr/share
   64.40 -			cp -a $install/usr/bin $fs/usr
   64.41 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   64.42 +			copy @std
   64.43  			DEPENDS="osip exosip speex ffmpeg xorg-libXv v4l-utils libglade gtk+ \
   64.44  			glib"
   64.45  			TAGS="softphone telephony"
   64.46  			;;
   64.47  		*-dev)
   64.48 -			mkdir -p $fs/usr/lib
   64.49 -			cp -a $install/usr/include $fs/usr
   64.50 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
   64.51 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   64.52 +			copy @dev
   64.53  			;;
   64.54  	esac
   64.55  }
    65.1 --- a/luajit/receipt	Mon Sep 03 10:09:42 2018 +0300
    65.2 +++ b/luajit/receipt	Wed Sep 05 00:08:37 2018 +0300
    65.3 @@ -21,16 +21,10 @@
    65.4  genpkg_rules() {
    65.5  	case $PACKAGE in
    65.6  		luajit)
    65.7 -			mkdir -p $fs/usr/lib $fs/usr/share
    65.8 -			cp -a $install/usr/bin $fs/usr
    65.9 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   65.10 -			cp -a $install/usr/share/luajit-* $fs/usr/share
   65.11 +			copy @std
   65.12  			;;
   65.13  		*-dev)
   65.14 -			mkdir -p $fs/usr/lib
   65.15 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
   65.16 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   65.17 -			cp -a $install/usr/include $fs/usr
   65.18 +			copy @dev
   65.19  			;;
   65.20  	esac
   65.21  }
    66.1 --- a/matchbox-config-gtk/receipt	Mon Sep 03 10:09:42 2018 +0300
    66.2 +++ b/matchbox-config-gtk/receipt	Wed Sep 05 00:08:37 2018 +0300
    66.3 @@ -11,7 +11,7 @@
    66.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    66.5  WGET_URL="http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-config-gtk/snapshot/$TARBALL"
    66.6  
    66.7 -BUILD_DEPENDS="automake gtk+3-dev GConf-dev"
    66.8 +BUILD_DEPENDS="automake gtk+3-dev gconf-dev"
    66.9  
   66.10  compile_rules() {
   66.11  	./autogen.sh \
   66.12 @@ -22,6 +22,6 @@
   66.13  
   66.14  genpkg_rules() {
   66.15  	copy @std
   66.16 -	DEPENDS="GConf glib gtk+3"
   66.17 +	DEPENDS="gconf glib gtk+3"
   66.18  	TAGS="matchbox"
   66.19  }
    67.1 --- a/matchbox-window-manager/receipt	Mon Sep 03 10:09:42 2018 +0300
    67.2 +++ b/matchbox-window-manager/receipt	Wed Sep 05 00:08:37 2018 +0300
    67.3 @@ -11,7 +11,7 @@
    67.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    67.5  WGET_URL="http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-window-manager/snapshot/$TARBALL"
    67.6  
    67.7 -BUILD_DEPENDS="automake GConf-dev libmatchbox-dev xorg-libXfixes-dev \
    67.8 +BUILD_DEPENDS="automake gconf-dev libmatchbox-dev xorg-libXfixes-dev \
    67.9  xorg-libXcursor-dev expat-dev startup-notification-dev xorg-libSM-dev"
   67.10  
   67.11  compile_rules() {
    68.1 --- a/metacity/receipt	Mon Sep 03 10:09:42 2018 +0300
    68.2 +++ b/metacity/receipt	Wed Sep 05 00:08:37 2018 +0300
    68.3 @@ -14,7 +14,7 @@
    68.4  BUILD_DEPENDS="gsettings-desktop-schemas glib-dev gtk+-dev \
    68.5  xorg-libXcomposite-dev xorg-libXdamage-dev zenity-gtk2 xorg-libXinerama-dev \
    68.6  xorg-libXrandr-dev xorg-libXcursor-dev libcanberra-dev libltdl libvorbis-dev \
    68.7 -libogg-dev libtool gnome-doc-utils GConf-dev util-linux-uuid-dev intltool"
    68.8 +libogg-dev libtool gnome-doc-utils gconf-dev util-linux-uuid-dev intltool"
    68.9  
   68.10  compile_rules() {
   68.11  	./configure \
   68.12 @@ -31,5 +31,5 @@
   68.13  	copy @std
   68.14  	DEPENDS="gsettings-desktop-schemas glib gtk+ xorg-libXcomposite \
   68.15  	xorg-libXdamage zenity-gtk2 xorg-libXinerama xorg-libXrandr xorg-libXcursor \
   68.16 -	libcanberra libltdl libvorbis libogg GConf"
   68.17 +	libcanberra libltdl libvorbis libogg gconf"
   68.18  }
    69.1 --- a/mlt/receipt	Mon Sep 03 10:09:42 2018 +0300
    69.2 +++ b/mlt/receipt	Wed Sep 05 00:08:37 2018 +0300
    69.3 @@ -28,19 +28,13 @@
    69.4  genpkg_rules() {
    69.5  	case $PACKAGE in
    69.6  		mlt)
    69.7 -			mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
    69.8 -			cp -a $install/usr/bin $fs/usr
    69.9 -			cp -a $install/usr/lib/*so* $fs/usr/lib/
   69.10 -			cp -a $install/usr/share/$PACKAGE $fs/usr/share
   69.11 -			cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
   69.12 +			copy @std
   69.13  			DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ \
   69.14  			ffmpeg frei0r-plugins"
   69.15  			TAGS="multimedia"
   69.16  			;;
   69.17  		*-dev)
   69.18 -			mkdir -p $fs/usr/lib
   69.19 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   69.20 -			cp -a $install/usr/include $fs/usr
   69.21 +			copy @dev
   69.22  			;;
   69.23  	esac
   69.24  }
    70.1 --- a/mobile-broadband-provider-info/receipt	Mon Sep 03 10:09:42 2018 +0300
    70.2 +++ b/mobile-broadband-provider-info/receipt	Wed Sep 05 00:08:37 2018 +0300
    70.3 @@ -14,18 +14,18 @@
    70.4  SPLIT="mobile-broadband-provider-info-dev"
    70.5  
    70.6  compile_rules() {
    70.7 -	./configure $CONFIGURE_ARGS && make && make install
    70.8 +	./configure $CONFIGURE_ARGS &&
    70.9 +	make &&
   70.10 +	make install
   70.11  }
   70.12  
   70.13  genpkg_rules() {
   70.14  	case $PACKAGE in
   70.15  		mobile-broadband-provider-info)
   70.16 -			mkdir -p $fs/usr/share
   70.17 -			cp -a $install/usr/share/$PACKAGE $fs/usr/share
   70.18 +			copy @std
   70.19  			;;
   70.20  		*-dev)
   70.21 -			mkdir -p $fs/usr/lib
   70.22 -			cp -a $install/usr/share/pkgconfig $fs/usr/lib
   70.23 +			copy @dev
   70.24  			;;
   70.25  	esac
   70.26  }
    71.1 --- a/moserial/receipt	Mon Sep 03 10:09:42 2018 +0300
    71.2 +++ b/moserial/receipt	Wed Sep 05 00:08:37 2018 +0300
    71.3 @@ -11,7 +11,7 @@
    71.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    71.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    71.6  
    71.7 -BUILD_DEPENDS="GConf-dev gnome-doc-utils intltool vala gtk+-dev"
    71.8 +BUILD_DEPENDS="gconf-dev gnome-doc-utils intltool vala gtk+-dev"
    71.9  
   71.10  compile_rules() {
   71.11  	./configure \
   71.12 @@ -24,6 +24,6 @@
   71.13  
   71.14  genpkg_rules() {
   71.15  	copy @std *.mo
   71.16 -	DEPENDS="GConf gtk+"
   71.17 +	DEPENDS="gconf gtk+"
   71.18  	TAGS="serial console"
   71.19  }
    72.1 --- a/notecase/receipt	Mon Sep 03 10:09:42 2018 +0300
    72.2 +++ b/notecase/receipt	Wed Sep 05 00:08:37 2018 +0300
    72.3 @@ -12,7 +12,7 @@
    72.4  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    72.5  
    72.6  BUILD_DEPENDS="gtk+-dev xorg-pixman-dev gtksourceview-dev gnome-vfs-dev \
    72.7 -GConf-dev gettext-tools libgcrypt-dev"
    72.8 +gconf-dev gettext-tools libgcrypt-dev"
    72.9  
   72.10  compile_rules() {
   72.11  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    73.1 --- a/notification-daemon-gtk2/receipt	Mon Sep 03 10:09:42 2018 +0300
    73.2 +++ b/notification-daemon-gtk2/receipt	Wed Sep 05 00:08:37 2018 +0300
    73.3 @@ -12,7 +12,7 @@
    73.4  WGET_URL="$GNOME_MIRROR/notification-daemon/${VERSION%.*}/$TARBALL"
    73.5  
    73.6  BUILD_DEPENDS="intltool gtk+-dev dbus-dev dbus-glib-dev libcanberra-dev \
    73.7 -GConf-dev libwnck2-dev libnotify-dev"
    73.8 +gconf-dev libwnck2-dev libnotify-dev"
    73.9  SPLIT="notification-daemon-gtk2-dev"
   73.10  
   73.11  compile_rules() {
   73.12 @@ -27,7 +27,7 @@
   73.13  	case $PACKAGE in
   73.14  		notification-daemon-gtk2)
   73.15  			copy @std @ico # only 16 and 48 icons
   73.16 -			DEPENDS="GConf atk cairo dbus dbus-glib gdk-pixbuf glib gtk+ \
   73.17 +			DEPENDS="gconf atk cairo dbus dbus-glib gdk-pixbuf glib gtk+ \
   73.18  			libcanberra-gtk2 libnotify libwnck2 xorg-libX11"
   73.19  			;;
   73.20  		*-dev)
    74.1 --- a/ogmrip/receipt	Mon Sep 03 10:09:42 2018 +0300
    74.2 +++ b/ogmrip/receipt	Wed Sep 05 00:08:37 2018 +0300
    74.3 @@ -12,7 +12,7 @@
    74.4  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    74.5  
    74.6  BUILD_DEPENDS="libglade-dev libnotify-dev glib-dev enca-dev libxml2-dev \
    74.7 -mplayer mencoder tiff-dev zlib-dev intltool acl libdvdread-dev GConf-dev"
    74.8 +mplayer mencoder tiff-dev zlib-dev intltool acl libdvdread-dev gconf-dev"
    74.9  
   74.10  compile_rules() {
   74.11  	./configure $CONFIGURE_ARGS &&
   74.12 @@ -24,5 +24,5 @@
   74.13  genpkg_rules() {
   74.14  	copy @std
   74.15  	DEPENDS="libdvdread enca libxml2 mplayer mencoder libglade libnotify acl \
   74.16 -	GConf"
   74.17 +	gconf"
   74.18  }
    75.1 --- a/oniguruma/receipt	Mon Sep 03 10:09:42 2018 +0300
    75.2 +++ b/oniguruma/receipt	Wed Sep 05 00:08:37 2018 +0300
    75.3 @@ -1,7 +1,7 @@
    75.4  # SliTaz package receipt v2.
    75.5  
    75.6  PACKAGE="oniguruma"
    75.7 -VERSION="6.2.0"
    75.8 +VERSION="6.9.0"
    75.9  CATEGORY="libdevel"
   75.10  SHORT_DESC="Regular expression library"
   75.11  MAINTAINER="al.bobylev@gmail.com"
    76.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    76.2 +++ b/python-aubio/.icon.png	Wed Sep 05 00:08:37 2018 +0300
    76.3 @@ -0,0 +1,1 @@
    76.4 +../python/.icon.png
    76.5 \ No newline at end of file
    77.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    77.2 +++ b/python-aubio/receipt	Wed Sep 05 00:08:37 2018 +0300
    77.3 @@ -0,0 +1,23 @@
    77.4 +# SliTaz package receipt v2.
    77.5 +
    77.6 +PACKAGE="python-aubio"
    77.7 +VERSION="latest"
    77.8 +CATEGORY="multimedia"
    77.9 +SHORT_DESC="A collection of tools for music analysis"
   77.10 +MAINTAINER="jozee@slitaz.org"
   77.11 +LICENSE="GPL3"
   77.12 +WEB_SITE="https://pypi.org/project/aubio/"
   77.13 +REPOLOGY="python:aubio"
   77.14 +
   77.15 +BUILD_DEPENDS="python-dev python-numpy ffmpeg-dev libsndfile-dev \
   77.16 +libsamplerate-dev"
   77.17 +
   77.18 +compile_rules() {
   77.19 +	pip install --no-compile --root=$DESTDIR aubio
   77.20 +}
   77.21 +
   77.22 +genpkg_rules() {
   77.23 +	VERSION=$(sed -n '/^Successfully installed/ s|.*aubio-||p' $LOGS/$PACKAGE.log)
   77.24 +	copy @std
   77.25 +	DEPENDS="ffmpeg libsamplerate libsndfile python"
   77.26 +}
    78.1 --- a/qca/receipt	Mon Sep 03 10:09:42 2018 +0300
    78.2 +++ b/qca/receipt	Wed Sep 05 00:08:37 2018 +0300
    78.3 @@ -6,42 +6,41 @@
    78.4  SHORT_DESC="QCA aims to provide a straightforward and cross-platform crypto API"
    78.5  MAINTAINER="pankso@slitaz.org"
    78.6  LICENSE="LGPL2.1"
    78.7 +WEB_SITE="http://delta.affinix.com/qca/"
    78.8 +
    78.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   78.10 -WEB_SITE="http://delta.affinix.com/qca/"
   78.11  WGET_URL="http://delta.affinix.com/download/qca/${VERSION%.*}/$TARBALL"
   78.12  
   78.13  BUILD_DEPENDS="Qt4-dev qmake"
   78.14  SPLIT="qca qca-dev"
   78.15  
   78.16 -# Rules to configure and make the package.
   78.17 -compile_rules()
   78.18 -{
   78.19 +compile_rules() {
   78.20  	sed -i 's|set(in, n|this->&|' src/botantools/botan/botan/secmem.h
   78.21 +
   78.22  	./configure \
   78.23  		--prefix=/usr \
   78.24  		--certstore-path=/etc/ssl/certs/ca-certificates.crt \
   78.25  		--disable-tests \
   78.26  		--no-separate-debug-info \
   78.27  		--release &&
   78.28 -	make && make INSTALL_ROOT=$WOK/$PACKAGE/install install
   78.29 +	make &&
   78.30 +	make INSTALL_ROOT=$WOK/$PACKAGE/install install
   78.31  }
   78.32  
   78.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   78.34 -genpkg_rules()
   78.35 -{
   78.36 +genpkg_rules() {
   78.37  	case $PACKAGE in
   78.38 -	qca)
   78.39 -		DEPENDS="libQtCore"
   78.40 -		mkdir -p $fs/usr/lib
   78.41 -		cp -a $install/usr/bin $fs/usr
   78.42 -		cp -a $install/usr/lib/*.so* $fs/usr/lib
   78.43 -		;;
   78.44 -	qca-dev)
   78.45 -		mkdir -p $fs/usr/lib $fs/usr/share
   78.46 -		cp -a $install/usr/include $fs/usr
   78.47 -		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   78.48 -		cp -a $install/usr/lib/*.prl $fs/usr/lib
   78.49 -		cp -a $install/usr/share/qt $fs/usr/share
   78.50 -		;;
   78.51 +		qca)
   78.52 +			DEPENDS="libQtCore"
   78.53 +			mkdir -p $fs/usr/lib
   78.54 +			cp -a $install/usr/bin $fs/usr
   78.55 +			cp -a $install/usr/lib/*.so* $fs/usr/lib
   78.56 +			;;
   78.57 +		*-dev)
   78.58 +			mkdir -p $fs/usr/lib $fs/usr/share
   78.59 +			cp -a $install/usr/include $fs/usr
   78.60 +			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   78.61 +			cp -a $install/usr/lib/*.prl $fs/usr/lib
   78.62 +			cp -a $install/usr/share/qt $fs/usr/share
   78.63 +			;;
   78.64  	esac
   78.65  }
    79.1 --- a/rawstudio/receipt	Mon Sep 03 10:09:42 2018 +0300
    79.2 +++ b/rawstudio/receipt	Wed Sep 05 00:08:37 2018 +0300
    79.3 @@ -10,8 +10,8 @@
    79.4  WEB_SITE="http://rawstudio.org/"
    79.5  WGET_URL="http://rawstudio.org/files/release/$TARBALL"
    79.6  
    79.7 -DEPENDS="desktop-file-utils dbus exiv2 GConf gtk+ lcms jpeg libjpeg tiff libxml2"
    79.8 -BUILD_DEPENDS="exiv2-dev GConf-dev gtk+-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev"
    79.9 +DEPENDS="desktop-file-utils dbus exiv2 gconf gtk+ lcms jpeg libjpeg tiff libxml2"
   79.10 +BUILD_DEPENDS="exiv2-dev gconf-dev gtk+-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev"
   79.11  
   79.12  # Rules to configure and make the package.
   79.13  compile_rules()
    80.1 --- a/soprano/receipt	Mon Sep 03 10:09:42 2018 +0300
    80.2 +++ b/soprano/receipt	Wed Sep 05 00:08:37 2018 +0300
    80.3 @@ -20,23 +20,18 @@
    80.4  	cmake \
    80.5  		-DCMAKE_INSTALL_PREFIX=/usr \
    80.6  		.. &&
    80.7 -	make && make install
    80.8 +	make &&
    80.9 +	make install
   80.10  }
   80.11  
   80.12  genpkg_rules() {
   80.13  	case $PACKAGE in
   80.14  		soprano)
   80.15 -			mkdir -p $fs/usr/lib
   80.16 -			cp -a $install/usr/bin $fs/usr
   80.17 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   80.18 -			cp -a $install/usr/lib/soprano $fs/usr/lib
   80.19 -			cp -a $install/usr/share $fs/usr
   80.20 +			copy @std
   80.21  			DEPENDS="libQtCore libQtNetwork raptor libiodbc"
   80.22  			;;
   80.23  		*-dev)
   80.24 -			mkdir -p $fs/usr/lib
   80.25 -			cp -a $install/usr/include $fs/usr
   80.26 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   80.27 +			copy @dev
   80.28  			;;
   80.29  	esac
   80.30  }
    81.1 --- a/superswitcher/receipt	Mon Sep 03 10:09:42 2018 +0300
    81.2 +++ b/superswitcher/receipt	Wed Sep 05 00:08:37 2018 +0300
    81.3 @@ -1,4 +1,4 @@
    81.4 -# SliTaz package receipt.
    81.5 +# SliTaz package receipt v2.
    81.6  
    81.7  PACKAGE="superswitcher"
    81.8  VERSION="0.6"
    81.9 @@ -6,17 +6,15 @@
   81.10  SHORT_DESC="Replacement for the Alt-Tab window switching behavior"
   81.11  MAINTAINER="mallory@sweetpeople.org"
   81.12  LICENSE="GPL2"
   81.13 +WEB_SITE="https://code.google.com/archive/p/superswitcher/"
   81.14 +
   81.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   81.16 -WEB_SITE="https://code.google.com/archive/p/superswitcher/"
   81.17  WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
   81.18  
   81.19 -DEPENDS="gtk+ libwnck2 GConf"
   81.20  BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck2-dev \
   81.21  xorg-libXcomposite-dev xorg-libXrender-dev autoconf automake"
   81.22  
   81.23 -# Rules to configure and make the package.
   81.24 -compile_rules()
   81.25 -{
   81.26 +compile_rules() {
   81.27  	find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
   81.28  
   81.29  	sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am 
   81.30 @@ -29,12 +27,11 @@
   81.31  		--infodir=/usr/share/info \
   81.32  		--mandir=/usr/share/man \
   81.33  		$CONFIGURE_ARGS &&
   81.34 -	make && make DESTDIR=$DESTDIR install
   81.35 +	make &&
   81.36 +	make DESTDIR=$DESTDIR install
   81.37  }
   81.38  
   81.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   81.40 -genpkg_rules()
   81.41 -{
   81.42 -	mkdir -p $fs/usr
   81.43 -	cp -a $install/usr/bin $fs/usr
   81.44 +genpkg_rules() {
   81.45 +	copy @std
   81.46 +	DEPENDS="gtk+ libwnck2 gconf"
   81.47  }
    82.1 --- a/usbmuxd/receipt	Mon Sep 03 10:09:42 2018 +0300
    82.2 +++ b/usbmuxd/receipt	Wed Sep 05 00:08:37 2018 +0300
    82.3 @@ -25,17 +25,11 @@
    82.4  genpkg_rules() {
    82.5  	case $PACKAGE in
    82.6  		usbmuxd)
    82.7 -			mkdir -p $fs/usr/lib $fs/etc
    82.8 -			cp -a $install/etc/udev $fs/etc
    82.9 -			cp -a $install/usr/bin $fs/usr
   82.10 -			cp -a $install/usr/sbin $fs/usr
   82.11 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   82.12 +			copy @std
   82.13  			DEPENDS="libusb libplist"
   82.14  			;;
   82.15  		*-dev)
   82.16 -			mkdir -p $fs/usr/lib
   82.17 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   82.18 -			cp -a $install/usr/include $fs/usr
   82.19 +			copy @dev
   82.20  			;;
   82.21  	esac
   82.22  }
    83.1 --- a/vivaldi/receipt	Mon Sep 03 10:09:42 2018 +0300
    83.2 +++ b/vivaldi/receipt	Wed Sep 05 00:08:37 2018 +0300
    83.3 @@ -38,7 +38,7 @@
    83.4  
    83.5  genpkg_rules() {
    83.6  	copy opt/ usr/
    83.7 -	DEPENDS="GConf alsa-lib atk cairo dbus expat fontconfig gdk-pixbuf glib \
    83.8 +	DEPENDS="gconf alsa-lib atk cairo dbus expat fontconfig gdk-pixbuf glib \
    83.9  	gtk+3 libcups nspr nss pango xorg-libX11 xorg-libXScrnSaver \
   83.10  	xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXext \
   83.11  	xorg-libXfixes xorg-libXi xorg-libXrandr xorg-libXrender xorg-libXtst \