diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-07 09:57:13 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-07 09:57:13 +0200 |
commit | 85a8b02b3a6f867444e3d863047ba27d1559b435 (patch) | |
tree | 6493bc1433a4168ccda234a85f37f65d0dcd310f /sys-fs/udisks | |
parent | media-plugins/qmmp-plugin-pack: Removed old. (diff) | |
download | gentoo-85a8b02b3a6f867444e3d863047ba27d1559b435.tar.gz gentoo-85a8b02b3a6f867444e3d863047ba27d1559b435.tar.bz2 gentoo-85a8b02b3a6f867444e3d863047ba27d1559b435.zip |
sys-fs/udisks: Bump to version 2.7.2
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'sys-fs/udisks')
-rw-r--r-- | sys-fs/udisks/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/udisks/udisks-2.7.2.ebuild | 130 |
2 files changed, 131 insertions, 0 deletions
diff --git a/sys-fs/udisks/Manifest b/sys-fs/udisks/Manifest index bd09d02068ed..3a21686f578b 100644 --- a/sys-fs/udisks/Manifest +++ b/sys-fs/udisks/Manifest @@ -3,3 +3,4 @@ DIST udisks-2.1.8.tar.bz2 931110 SHA256 da416914812a77e5f4d82b81deb8c25799fd3228 DIST udisks-2.6.4.tar.gz 1242262 SHA256 7c7889dbd8f910b8a8094841168c04d48e0bdaf946b22aa5f0742a460473c191 SHA512 8cd4fa1c2873f2150448bb81268feb38802959bb860fa41f9cc4f088327faf207011a3ea15c121f531dc0a8cd65a3fff14615b79bdaa5f59f52f4ede4d44532c WHIRLPOOL cc54fe2ca683d9adc61448a48e1a9be43c1bbc5b4c1902f8ea2fbf7561e8f798edca6e7e6cfce55ad6b902ffb40045d2ae2ec49784dd88fa9f680b69e021aa1c DIST udisks-2.6.5.tar.gz 1251008 SHA256 817e2de4efab458a98b24b15066933692e6ee3777430211b4e7aeddd0b9045f2 SHA512 57ac878c981af1b91a2e93af154c81471853969a1c951ce11c83f39e4450354da58d447c7644f477e39b602e673d76ecafe34fc7ba1346abf1f71707bcc324a7 WHIRLPOOL 43f66f3410d68ef8b6db8050d30ada83307fe5236e011752f67d1f45c5c81c1f4714fe6fde8377544a3054192482731d58206bf8af94e50a9e713df7a78912b3 DIST udisks-2.7.1.tar.gz 1258739 SHA256 020f661d5350a094f63c7575f2b428e3f98edcf949a3267fc14a46ede814c662 SHA512 14ce08f30f6698fb3cd26c2076e916bf2f9600c5ea6042f170c721644243f55497a3afdcbbbb5b26fdcfe79dda7fe7c25b6156c7b0b94edf732689b1bf158d69 WHIRLPOOL e0b38d61b8478c371f812e760e89d2678e081d2a0d2546e86b844c1ef1c27d3ce0987d07333bc831e7466506f6153aeb9d505477fa3082d3216bad629a369aea +DIST udisks-2.7.2.tar.gz 1269868 SHA256 34d834520efcfbb8cca33ccf703e45752b32772ae766673dab6360202c7838aa SHA512 5729ba5314db88a72d932865352c133afb5b515a4e15f7d729f9074a3fcbc4ce195c7e58e0c4a8eb2df9fe4d29ccffed4be50cc605f1c6d7cf26f9b941ef7edb WHIRLPOOL d23443ddc254050a92caee6e84f29d9e6af72b5f5b70590510930623f7ac959237b0e6fe640fd8d2f6822fde073d0fd6a966563779443891a2ca0862fc296ee8 diff --git a/sys-fs/udisks/udisks-2.7.2.ebuild b/sys-fs/udisks/udisks-2.7.2.ebuild new file mode 100644 index 000000000000..d46a9238e416 --- /dev/null +++ b/sys-fs/udisks/udisks-2.7.2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools bash-completion-r1 eutils linux-info systemd udev xdg-utils + +DESCRIPTION="Daemon providing interfaces to work with storage devices" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/udisks" +SRC_URI="https://github.com/storaged-project/${PN}/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="acl cryptsetup debug elogind +gptfdisk +introspection lvm nls selinux systemd" + +REQUIRED_USE="?? ( elogind systemd )" + +COMMON_DEPEND=" + >=dev-libs/glib-2.36:2 + >=dev-libs/libatasmart-0.19 + >=sys-auth/polkit-0.110 + sys-libs/libblockdev[lvm?] + >=virtual/libgudev-165:= + virtual/udev + acl? ( virtual/acl ) + elogind? ( >=sys-auth/elogind-219 ) + introspection? ( >=dev-libs/gobject-introspection-1.30:= ) + lvm? ( sys-fs/lvm2 ) + systemd? ( >=sys-apps/systemd-209 ) +" +# gptfdisk -> src/udiskslinuxpartition.c -> sgdisk (see also #412801#c1) +# util-linux -> mount, umount, swapon, swapoff (see also #403073) +RDEPEND="${COMMON_DEPEND} + >=sys-apps/util-linux-2.20.1-r2 + >=sys-block/parted-3 + virtual/eject + cryptsetup? ( + sys-fs/cryptsetup[udev(+)] + sys-fs/lvm2[udev(+)] + ) + gptfdisk? ( >=sys-apps/gptfdisk-0.8 ) + selinux? ( sec-policy/selinux-devicekit ) +" +DEPEND="${COMMON_DEPEND} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + >=dev-util/gdbus-codegen-2.32 + >=dev-util/gtk-doc-1.3 + gnome-base/gnome-common:3 + sys-devel/autoconf-archive + >=sys-kernel/linux-headers-3.1 + virtual/pkgconfig + nls? ( dev-util/intltool ) +" + +S="${WORKDIR}/${PN}-${P}" + +QA_MULTILIB_PATHS="usr/lib/udisks2/udisksd" + +DOCS=( AUTHORS HACKING NEWS README.md ) + +pkg_setup() { + # Listing only major arch's here to avoid tracking kernel's defconfig + if use amd64 || use arm || use ppc || use ppc64 || use x86; then + CONFIG_CHECK="~!IDE" #319829 + CONFIG_CHECK+=" ~TMPFS_POSIX_ACL" #412377 + CONFIG_CHECK+=" ~SWAP" # https://forums.gentoo.org/viewtopic-t-923640.html + CONFIG_CHECK+=" ~NLS_UTF8" #425562 + kernel_is lt 3 10 && CONFIG_CHECK+=" ~USB_SUSPEND" #331065, #477278 + linux-info_pkg_setup + fi +} + +src_prepare() { + xdg_environment_reset + + default + + eautoreconf + + if ! use systemd ; then + sed -i -e 's:libsystemd-login:&disable:' configure || die + fi +} + +src_configure() { + local myeconfargs=( + --enable-btrfs + --disable-gtk-doc + --disable-static + --localstatedir="${EPREFIX%/}"/var + --with-html-dir="${EPREFIX%/}"/usr/share/gtk-doc/html + --with-modprobedir="${EPREFIX%/}"/lib/modprobe.d + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + --with-udevdir="$(get_udevdir)" + $(use_enable acl) + $(use_enable debug) + $(use_enable introspection) + $(use_enable lvm lvm2) + $(use_enable lvm lvmcache) + $(use_enable nls) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + prune_libtool_files + keepdir /var/lib/udisks2 #383091 + + rm -rf "${ED}"/usr/share/bash-completion + dobashcomp data/completions/udisksctl +} + +pkg_preinst() { + # Remove gtk-doc symlink, #597628 + if [[ -L "${EROOT}"/usr/share/gtk-doc/html/udisks2 ]]; then + rm "${EROOT}"/usr/share/gtk-doc/html/udisks2 || die + fi +} + +pkg_postinst() { + mkdir -p "${EROOT}"/run #415987 + + # See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync? + if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then + echo + ewarn "You should reboot the system now to get /run mounted with tmpfs!" + fi +} |