diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-12-05 18:51:41 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-12-05 18:52:27 +0100 |
commit | 50f0fd89508286b86f0e50c3f9e6899c4d36689d (patch) | |
tree | 621820eb89c4fa2d620538f76fd395d0bbdb6d3e /sys-fs/udisks | |
parent | media-libs/harfbuzz: Bump to version 1.7.2 (diff) | |
download | gentoo-50f0fd89508286b86f0e50c3f9e6899c4d36689d.tar.gz gentoo-50f0fd89508286b86f0e50c3f9e6899c4d36689d.tar.bz2 gentoo-50f0fd89508286b86f0e50c3f9e6899c4d36689d.zip |
sys-fs/udisks: Bump to version 2.7.5
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-fs/udisks')
-rw-r--r-- | sys-fs/udisks/Manifest | 3 | ||||
-rw-r--r-- | sys-fs/udisks/udisks-2.7.5.ebuild | 130 |
2 files changed, 132 insertions, 1 deletions
diff --git a/sys-fs/udisks/Manifest b/sys-fs/udisks/Manifest index 64d7f55cc94a..878adab5b8eb 100644 --- a/sys-fs/udisks/Manifest +++ b/sys-fs/udisks/Manifest @@ -2,4 +2,5 @@ DIST udisks-1.0.5.tar.gz 736221 SHA256 f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec DIST udisks-2.1.8.tar.bz2 931110 SHA256 da416914812a77e5f4d82b81deb8c25799fd3228d27d52f7bf89a501b1857dda SHA512 4f8adc0ebd5e8f34801722cacef09fe176a0e301889b98ecddad1bfbc61b008b2035518cdaf270258a80e087b0a5cb685ddba1373ba332a8d7967656a08156cb WHIRLPOOL 396465f32c9798495e4cd1ce541b619e5ed9d2693561da9a2630eeb27933deac8fa3959ee0c4f16d63bad297f4cadf8df9a4e5dd07b7dc06951cb84d12c64e64 DIST udisks-2.6.5.tar.gz 1251008 SHA256 817e2de4efab458a98b24b15066933692e6ee3777430211b4e7aeddd0b9045f2 SHA512 57ac878c981af1b91a2e93af154c81471853969a1c951ce11c83f39e4450354da58d447c7644f477e39b602e673d76ecafe34fc7ba1346abf1f71707bcc324a7 WHIRLPOOL 43f66f3410d68ef8b6db8050d30ada83307fe5236e011752f67d1f45c5c81c1f4714fe6fde8377544a3054192482731d58206bf8af94e50a9e713df7a78912b3 DIST udisks-2.7.3.tar.gz 1282215 SHA256 96e09e94083228a7af1025c4040b56c7eeca9687e60fecf7f88be88291dcb1f1 SHA512 27761e52527ecfd080711e39efb6669b2e85fe388e9f34b2f99294b2fefdd0da489b74ff3b3c2d53a239ff1bd818d73a1fd8d88eb7a7ef660d51f338ac2c82fe WHIRLPOOL be2d96b75e1dee8c905104fe0b88fb08f997524da7795f870412f392676baffc361303ca7a60f3734091c84c35fdad00c7c052c348539147f3b4b87d2e4de62c -DIST udisks-2.7.4.tar.gz 1286465 SHA256 2ca70f67cdfb4bd5b630972f72fd29eb35eb1b644e161132488446776a1d70fc SHA512 d0ad6c6d44f53414de3da68e0cdff1be0e9e6e03f900d5fdb4912560db36af52be32a2615d3d2efeaf134d4721a4a0c3e03515fd670f42e96f42ded08c3bf849 WHIRLPOOL dd99c4287e8b0a3276573da092d8826d32c13ca6b99a6945ed731ca6443b0f74e21f4876ef84c89c7a665d9e1f96fb67c2455b46def60b905fd0cebf95821f93 +DIST udisks-2.7.4.tar.gz 1286465 BLAKE2B 8c52199215bc4ee3840ded2ccf9e3d61bc99bf0f505abb55a5ce18aa2676a60f788bc235e0f6be308c8bb50ec653a559010970e827d3bb4c1212afea291e7a8d SHA512 d0ad6c6d44f53414de3da68e0cdff1be0e9e6e03f900d5fdb4912560db36af52be32a2615d3d2efeaf134d4721a4a0c3e03515fd670f42e96f42ded08c3bf849 +DIST udisks-2.7.5.tar.gz 1299487 BLAKE2B bb8be1686c2b26b42b51810ef198017a154c33f0b41b38bbb627607a79fd73ef48ed4c62fe80ed6b3c7a09266aa2d9c2d365f5e3b9aba4694dea42e75126b8d2 SHA512 fd49fd719d3d11ceb6349e856996f8f6f9ee58a2cc35e6622ce662096fa2e746d01958c81e464c4be6071578f4f3e39c5af81669b83582be47b191703c93e71c diff --git a/sys-fs/udisks/udisks-2.7.5.ebuild b/sys-fs/udisks/udisks-2.7.5.ebuild new file mode 100644 index 000000000000..da67c255bedb --- /dev/null +++ b/sys-fs/udisks/udisks-2.7.5.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-2.14[crypt,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 +} |