diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
commit | 3be02a9acbeb006d9a9e6136c54d91064cc7d80e (patch) | |
tree | ade247e1b6c47fbd7362273f59d3ae4f955587a7 /testing/udisks | |
parent | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (diff) |
Mon May 2 00:29:22 UTC 2011
Diffstat (limited to 'testing/udisks')
-rw-r--r-- | testing/udisks/01-mkfs-tempdir.patch | 17 | ||||
-rw-r--r-- | testing/udisks/PKGBUILD | 37 |
2 files changed, 0 insertions, 54 deletions
diff --git a/testing/udisks/01-mkfs-tempdir.patch b/testing/udisks/01-mkfs-tempdir.patch deleted file mode 100644 index 976108264..000000000 --- a/testing/udisks/01-mkfs-tempdir.patch +++ /dev/null @@ -1,17 +0,0 @@ -# Description: Daemon does not create /var/run/udisks/, so mkfs jobs fail. -# Just create the directory in /tmp, this is what /tmp is for, after all. -# Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=24265 - -Index: udisks/src/helpers/job-mkfs.c -=================================================================== ---- udisks.orig/src/helpers/job-mkfs.c 2010-12-05 23:08:54.587881164 +0100 -+++ udisks/src/helpers/job-mkfs.c 2010-12-05 23:09:12.399889312 +0100 -@@ -546,7 +546,7 @@ - /* take ownership of the device if requested */ - if (take_ownership_uid != 0 || take_ownership_gid != 0) - { -- char dir[256] = PACKAGE_LOCALSTATE_DIR "/run/udisks/job-mkfs-XXXXXX"; -+ char dir[256] = "/tmp/job-mkfs-XXXXXX"; - - if (mkdtemp (dir) == NULL) - { diff --git a/testing/udisks/PKGBUILD b/testing/udisks/PKGBUILD deleted file mode 100644 index e431b7500..000000000 --- a/testing/udisks/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# $Id: PKGBUILD 119537 2011-04-11 22:26:25Z ibiru $ -# Maintainer: Jan de Groot <jgc@archlinux.org> - -pkgname=udisks -pkgver=1.0.3 -pkgrel=1 -pkgdesc="Disk Management Service" -arch=('i686' 'x86_64') -url="http://www.freedesktop.org/wiki/Software/udisks" -license=('GPL') -depends=('udev' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' 'device-mapper' 'libatasmart' 'lsof' 'lvm2' 'eject') -makedepends=('intltool' 'docbook-xsl' 'gtk-doc') -options=(!libtool) -#source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz) -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz - 01-mkfs-tempdir.patch) -sha256sums=('a4d18b2de59c1567df5342f26960c6c3e70a0320f7bafe42893f2708c9b57dd5' - '786c0adb1a37e16b351c906527e3cbd17193bb51d8c1dd0889f216556c419c6c') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/01-mkfs-tempdir.patch" - ./autogen.sh - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libexecdir=/usr/lib/udisks --disable-static - #fix location for bash_completion helper - sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile - - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - - rm -rf "${pkgdir}/var/run" -} |