wok-current diff udisks2/receipt @ rev 19536
Up: docbook-xsl (1.79.1): conversion xml->man now works; udisks2 (2.1.8): now it auto-unmount and free /media/* folders before reboot/shutdown.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 01 04:42:13 2016 +0200 (2016-12-01) |
parents | f517baa7c91e |
children | 074f8db95176 |
line diff
1.1 --- a/udisks2/receipt Mon May 23 23:30:37 2016 +0300 1.2 +++ b/udisks2/receipt Thu Dec 01 04:42:13 2016 +0200 1.3 @@ -1,18 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="udisks2" 1.7 -VERSION="2.1.3" 1.8 +VERSION="2.1.8" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="D-Bus service to access and manipulate storage devices" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/" 1.14 TARBALL="udisks-$VERSION.tar.bz2" 1.15 -WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks" 1.16 -WGET_URL="http://udisks.freedesktop.org/releases/$TARBALL" 1.17 +WGET_URL="https://udisks.freedesktop.org/releases/$TARBALL" 1.18 1.19 DEPENDS="libatasmart libgudev polkit" 1.20 -BUILD_DEPENDS="libxslt-dev gobject-introspection-dev libgudev-dev polkit-dev \ 1.21 -libatasmart-dev expat-dev" 1.22 +BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-dev polkit-dev libatasmart-dev \ 1.23 +gobject-introspection-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 @@ -20,35 +20,24 @@ 1.28 ./configure \ 1.29 --sysconfdir=/etc \ 1.30 --localstatedir=/var \ 1.31 - --disable-static \ 1.32 - --disable-gtk-doc-html \ 1.33 + --enable-fhs-media \ 1.34 --with-udevdir=/etc/udev \ 1.35 - $CONFIGURE_ARGS 1.36 - # Build fails when build doc even with docbook-xsl installed. 1.37 - sed -i '/^SUBDIRS/ s|doc||' Makefile 1.38 + --with-systemdsystemunitdir=no \ 1.39 + $CONFIGURE_ARGS && 1.40 make && make install 1.41 } 1.42 1.43 # Rules to gen a SliTaz package suitable for Tazpkg. 1.44 genpkg_rules() 1.45 { 1.46 - mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \ 1.47 - $fs/usr/lib $fs/usr/share 1.48 + cook_copy_folders etc bin sbin libexec dbus-1 polkit-1 var 1.49 + cook_copy_files *.so* 1.50 1.51 - cp -a $install/etc $fs 1.52 - cp -a $install/usr/bin $fs/usr 1.53 - cp -a $install/usr/sbin $fs/usr 1.54 - cp -a $install/usr/lib/udisks2 $fs/usr/lib 1.55 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.56 - cp -a $install/usr/share/dbus-1 $fs/usr/share 1.57 - cp -a $install/usr/share/polkit-1 $fs/usr/share 1.58 - cp -a $install/var $fs 1.59 + # Please, note: 1.60 + # Package: slitaz-configs-base 1.61 + # File: /etc/polkit-1/localauthority/50-local.d/55-storage.pkla 1.62 + # Provides: complete access to udisks2 methods 1.63 1.64 - # we don't have consolekit and don't want systemd, so we need 1.65 - # a rule to give disk group complete access to udisks2 1.66 - # methods without password. 1.67 - cp $stuff/*.pkla $fs/etc/polkit-1/localauthority/90-mandatory.d 1.68 - 1.69 - # mount to "/media" 1.70 + # mount to "/media" instead of "/media/<user>" 1.71 cp $stuff/99-udisks2.rules $fs/etc/udev/rules.d/ 1.72 }