diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-fs/udisks | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-fs/udisks')
-rw-r--r-- | sys-fs/udisks/Manifest | 3 | ||||
-rw-r--r-- | sys-fs/udisks/files/udisks-1.0.2-ntfs-3g.patch | 12 | ||||
-rw-r--r-- | sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch | 18 | ||||
-rw-r--r-- | sys-fs/udisks/files/udisks-1.0.5-stat-includes.patch | 25 | ||||
-rw-r--r-- | sys-fs/udisks/metadata.xml | 15 | ||||
-rw-r--r-- | sys-fs/udisks/udisks-1.0.5-r1.ebuild | 105 | ||||
-rw-r--r-- | sys-fs/udisks/udisks-2.1.4.ebuild | 102 | ||||
-rw-r--r-- | sys-fs/udisks/udisks-2.1.6.ebuild | 105 |
8 files changed, 385 insertions, 0 deletions
diff --git a/sys-fs/udisks/Manifest b/sys-fs/udisks/Manifest new file mode 100644 index 000000000000..97854d0cc4ae --- /dev/null +++ b/sys-fs/udisks/Manifest @@ -0,0 +1,3 @@ +DIST udisks-1.0.5.tar.gz 736221 SHA256 f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71 SHA512 bdf4970113975221ff0e17866db18fd969ff9c8e1e851c8ad7572630814ab0c46b59df59433edcb2e7cc41cc8152afd35807f45e07f6d0fa87b21b5a77d0965a WHIRLPOOL 4698911bf53532b5149a71ab1a031fa836193476114ba26f0cde588c3095661f21492feb855e1eb3aa8f1c87ad8125bdc32b7cf56ac43f2de84073f3085f39eb +DIST udisks-2.1.4.tar.bz2 901364 SHA256 a4e148dd3a4a209160452a12cfe770382836027002f6c84f2e6c17eb5be519bb SHA512 782e94d27cdacf4178fc7c39ad300168d3280be6cd434f067c6e329efe91544d5bbfe9a2499483e3f4bdce16c55a061be53d9c592943b693441db8f9cfacee12 WHIRLPOOL fbb2487dce06f241112f2ba7dadcd384dd2b448a0f15688381331d01a8f954231f1794d7e26667b30ee6f899ec516dad620082caf4b0292d6a5bc91faf52231d +DIST udisks-2.1.6.tar.bz2 908987 SHA256 dec5f5c85fa0f74f39336acbfba1770f9988c096be23873714543c304b09f46a SHA512 33badcf87986504cf13926f23f1ac0386d732920918871e5bdbcbd704bfcee17d9d3c5002bbdd497bf88a47f844595ad06fc2049bc805099c052943ba3750770 WHIRLPOOL 798cfae910b4cc85ebbd0b60aa987fda6bc6009fb37bba8ad3644bca497f1bb5dde04d574aab97f323dd4c4ae8dcbbc3de9fa09cbdbee45ff19a0b1fbf22b797 diff --git a/sys-fs/udisks/files/udisks-1.0.2-ntfs-3g.patch b/sys-fs/udisks/files/udisks-1.0.2-ntfs-3g.patch new file mode 100644 index 000000000000..b6ba4a4849a8 --- /dev/null +++ b/sys-fs/udisks/files/udisks-1.0.2-ntfs-3g.patch @@ -0,0 +1,12 @@ +Support ntfs-3g by default without entry in /etc/filesystems for write access. + +--- src/device.c ++++ src/device.c +@@ -5909,6 +5909,7 @@ + "vfat", + "exfat", + "ntfs", ++ "ntfs-3g", + NULL, + }; +
\ No newline at end of file diff --git a/sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch b/sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch new file mode 100644 index 000000000000..0f13a6aba833 --- /dev/null +++ b/sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch @@ -0,0 +1,18 @@ +This change was done upstream to prevent UDisks1 from polling for floppy drive so often but broke +mounting floppies while at it. + +http://bugs.freedesktop.org/show_bug.cgi?id=30283 +http://bugs.gentoo.org/show_bug.cgi?id=338185 + +--- src/device.c ++++ src/device.c +@@ -4485,7 +4485,8 @@ update_info (Device *device) + } + else + { +- if (g_udev_device_get_property_as_boolean (device->priv->d, "ID_CDROM_MEDIA")) ++ if (g_udev_device_get_property_as_boolean (device->priv->d, "ID_CDROM_MEDIA") || ++ g_udev_device_get_property_as_boolean (device->priv->d, "ID_DRIVE_FLOPPY")) + { + media_available = TRUE; + } diff --git a/sys-fs/udisks/files/udisks-1.0.5-stat-includes.patch b/sys-fs/udisks/files/udisks-1.0.5-stat-includes.patch new file mode 100644 index 000000000000..85ef5208049d --- /dev/null +++ b/sys-fs/udisks/files/udisks-1.0.5-stat-includes.patch @@ -0,0 +1,25 @@ +From 0aa652a7b257f98f9e8e7dc7b0ddc9bc62377d09 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Fri, 29 May 2015 21:09:39 -0400 +Subject: [PATCH] Bug 90778 - fix build with newer glibc versions + +https://bugs.freedesktop.org/show_bug.cgi?id=90778 +--- + src/helpers/job-drive-detach.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/helpers/job-drive-detach.c b/src/helpers/job-drive-detach.c +index eeafcab..d122a1f 100644 +--- a/src/helpers/job-drive-detach.c ++++ b/src/helpers/job-drive-detach.c +@@ -18,6 +18,7 @@ + * + */ + ++#include <sys/stat.h> + #include <stdio.h> + #include <string.h> + #include <errno.h> +-- +2.4.2 + diff --git a/sys-fs/udisks/metadata.xml b/sys-fs/udisks/metadata.xml new file mode 100644 index 000000000000..f6f88f4bc4b8 --- /dev/null +++ b/sys-fs/udisks/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>freedesktop</herd> + <maintainer> + <email>freedesktop-bugs@gentoo.org</email> + </maintainer> + <use> + <flag name='cryptsetup'>Enable <pkg>sys-fs/cryptsetup</pkg> support</flag> + <flag name='gptfdisk'>Pull in <pkg>sys-apps/gptfdisk</pkg> for sgdisk command as used by partitioning functionality</flag> + <flag name='introspection'>Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> + <flag name='remote-access'>Control whether connections from other clients over LAN are allowed</flag> + <flag name='systemd'>Support <pkg>sys-apps/systemd</pkg>'s logind</flag> + </use> +</pkgmetadata> diff --git a/sys-fs/udisks/udisks-1.0.5-r1.ebuild b/sys-fs/udisks/udisks-1.0.5-r1.ebuild new file mode 100644 index 000000000000..3b3a43a4457f --- /dev/null +++ b/sys-fs/udisks/udisks-1.0.5-r1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils bash-completion-r1 linux-info udev systemd + +DESCRIPTION="Daemon providing interfaces to work with storage devices" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/udisks" +SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~sh sparc x86" +IUSE="debug nls remote-access selinux" + +COMMON_DEPEND=">=dev-libs/dbus-glib-0.100 + >=dev-libs/glib-2.30 + >=dev-libs/libatasmart-0.19 + >=sys-auth/polkit-0.110 + >=sys-apps/dbus-1.6 + >=sys-apps/sg3_utils-1.27.20090411 + >=sys-block/parted-3 + >=sys-fs/lvm2-2.02.66 + virtual/libgudev:= + virtual/libudev:= + virtual/udev + selinux? ( sec-policy/selinux-devicekit )" +# util-linux -> mount, umount, swapon, swapoff (see also #403073) +RDEPEND="${COMMON_DEPEND} + >=sys-apps/util-linux-2.20.1-r2 + virtual/eject + remote-access? ( net-dns/avahi )" +DEPEND="${COMMON_DEPEND} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + dev-util/intltool + virtual/pkgconfig" + +QA_MULTILIB_PATHS="usr/lib/${PN}/.*" + +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+=" ~NLS_UTF8" #425562 + kernel_is lt 3 10 && CONFIG_CHECK+=" ~USB_SUSPEND" #331065, #477278 + linux-info_pkg_setup + fi +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.0.2-ntfs-3g.patch \ + "${FILESDIR}"/${PN}-1.0.4-revert-floppy.patch \ + "${FILESDIR}"/${PN}-1.0.5-stat-includes.patch + + sed -i -e "s:/lib/udev:$(get_udevdir):" data/80-udisks.rules || die + + epatch_user +} + +src_configure() { + # device-mapper -> lvm2 -> mandatory depend -> force enabled + econf \ + --libexecdir=/usr/lib/${PN} \ + --localstatedir="${EPREFIX}"/var \ + --disable-static \ + $(use_enable debug verbose-mode) \ + --enable-man-pages \ + --disable-gtk-doc \ + --enable-lvm2 \ + --enable-dmmp \ + $(use_enable remote-access) \ + $(use_enable nls) \ + --with-html-dir="${EPREFIX}"/deprecated \ + "$(systemd_with_unitdir)" +} + +src_test() { + ewarn "Skipping testsuite because sys-fs/udisks:0 is deprecated" + ewarn "in favour of sys-fs/udisks:2." +} + +src_install() { + emake \ + DESTDIR="${D}" \ + slashsbindir=/usr/sbin \ + slashlibdir=/usr/lib \ + udevhelperdir="$(get_udevdir)" \ + udevrulesdir="$(get_udevdir)"/rules.d \ + install #398081 + + dodoc AUTHORS HACKING NEWS README + + rm -f "${ED}"/etc/profile.d/udisks-bash-completion.sh + newbashcomp tools/udisks-bash-completion.sh ${PN} + + prune_libtool_files --all + + keepdir /media + keepdir /var/lib/udisks #383091 + + rm -rf "${ED}"/deprecated +} diff --git a/sys-fs/udisks/udisks-2.1.4.ebuild b/sys-fs/udisks/udisks-2.1.4.ebuild new file mode 100644 index 000000000000..07988ef711e5 --- /dev/null +++ b/sys-fs/udisks/udisks-2.1.4.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit bash-completion-r1 eutils linux-info systemd udev + +DESCRIPTION="Daemon providing interfaces to work with storage devices" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/udisks" +SRC_URI="http://udisks.freedesktop.org/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 ~sh sparc x86" +IUSE="debug cryptsetup +gptfdisk +introspection selinux systemd" + +COMMON_DEPEND=">=dev-libs/glib-2.36 + >=dev-libs/libatasmart-0.19 + >=sys-auth/polkit-0.110 + virtual/acl + virtual/libgudev:= + virtual/udev + introspection? ( >=dev-libs/gobject-introspection-1.30 ) + systemd? ( sys-apps/systemd )" +# 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/intltool + >=sys-kernel/linux-headers-3.1 + virtual/pkgconfig" + +QA_MULTILIB_PATHS="usr/lib/udisks2/udisksd" + +DOCS="AUTHORS HACKING NEWS README" + +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" # http://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() { + use systemd || { sed -i -e 's:libsystemd-login:&disable:' configure || die; } + + epatch_user +} + +src_configure() { + econf \ + --localstatedir="${EPREFIX}"/var \ + --disable-static \ + $(use_enable debug) \ + --disable-gtk-doc \ + $(use_enable introspection) \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ + --with-udevdir="$(get_udevdir)" \ + "$(systemd_with_unitdir)" +} + +src_install() { + default + prune_libtool_files + keepdir /var/lib/udisks2 #383091 + + rm -rf "${ED}"/usr/share/bash-completion + dobashcomp data/completions/udisksctl + + local htmldir=udisks2 + if [[ -d ${ED}/usr/share/doc/${PF}/html/${htmldir} ]]; then + dosym /usr/share/doc/${PF}/html/${htmldir} /usr/share/gtk-doc/html/${htmldir} + 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 +} diff --git a/sys-fs/udisks/udisks-2.1.6.ebuild b/sys-fs/udisks/udisks-2.1.6.ebuild new file mode 100644 index 000000000000..5fdf05eb31ab --- /dev/null +++ b/sys-fs/udisks/udisks-2.1.6.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit bash-completion-r1 eutils linux-info systemd udev + +DESCRIPTION="Daemon providing interfaces to work with storage devices" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/udisks" +SRC_URI="http://udisks.freedesktop.org/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="debug cryptsetup +gptfdisk +introspection selinux systemd" + +COMMON_DEPEND=" + >=dev-libs/glib-2.36:2 + >=dev-libs/libatasmart-0.19 + >=sys-auth/polkit-0.110 + virtual/acl + virtual/libgudev:= + virtual/udev + introspection? ( >=dev-libs/gobject-introspection-1.30:= ) + systemd? ( sys-apps/systemd ) +" +# 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/intltool + >=sys-kernel/linux-headers-3.1 + virtual/pkgconfig +" + +QA_MULTILIB_PATHS="usr/lib/udisks2/udisksd" + +DOCS="AUTHORS HACKING NEWS README" + +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" # http://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() { + use systemd || { sed -i -e 's:libsystemd-login:&disable:' configure || die; } + + epatch_user +} + +src_configure() { + econf \ + --localstatedir="${EPREFIX}"/var \ + --disable-static \ + $(use_enable debug) \ + --disable-gtk-doc \ + $(use_enable introspection) \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ + --with-udevdir="$(get_udevdir)" \ + "$(systemd_with_unitdir)" +} + +src_install() { + default + prune_libtool_files + keepdir /var/lib/udisks2 #383091 + + rm -rf "${ED}"/usr/share/bash-completion + dobashcomp data/completions/udisksctl + + local htmldir=udisks2 + if [[ -d ${ED}/usr/share/doc/${PF}/html/${htmldir} ]]; then + dosym /usr/share/doc/${PF}/html/${htmldir} /usr/share/gtk-doc/html/${htmldir} + 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 +} |