/[gentoo-x86]/sys-fs/udev/udev-175-r1.ebuild
Gentoo

Diff of /sys-fs/udev/udev-175-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/Attic/udev-175-r1.ebuild,v 1.3 2011/12/29 19:32:46 williamh Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/Attic/udev-175-r1.ebuild,v 1.4 2012/01/02 22:10:27 vapier Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7KV_min=2.6.34 7KV_min=2.6.34
8# patchversion=1 8# patchversion=1
32HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" 32HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
33 33
34LICENSE="GPL-2" 34LICENSE="GPL-2"
35SLOT="0" 35SLOT="0"
36IUSE="build selinux debug +rule_generator hwdb acl gudev introspection 36IUSE="build selinux debug +rule_generator hwdb acl gudev introspection
37 keymap floppy edd doc" 37 keymap floppy edd doc +zlib"
38 38
39COMMON_DEPEND="selinux? ( sys-libs/libselinux ) 39COMMON_DEPEND="selinux? ( sys-libs/libselinux )
40 acl? ( sys-apps/acl dev-libs/glib:2 ) 40 acl? ( sys-apps/acl dev-libs/glib:2 )
41 gudev? ( dev-libs/glib:2 ) 41 gudev? ( dev-libs/glib:2 )
42 introspection? ( dev-libs/gobject-introspection ) 42 introspection? ( dev-libs/gobject-introspection )
43 >=sys-apps/util-linux-2.16 43 >=sys-apps/util-linux-2.16
44 >=sys-libs/glibc-2.10" 44 >=sys-libs/glibc-2.10
45 zlib? ( sys-libs/zlib )"
45 46
46DEPEND="${COMMON_DEPEND} 47DEPEND="${COMMON_DEPEND}
47 keymap? ( dev-util/gperf ) 48 keymap? ( dev-util/gperf )
48 dev-util/pkgconfig 49 dev-util/pkgconfig
49 virtual/os-headers 50 virtual/os-headers
60 DEPEND="${DEPEND} 61 DEPEND="${DEPEND}
61 doc? ( dev-util/gtk-doc )" 62 doc? ( dev-util/gtk-doc )"
62fi 63fi
63 64
64RDEPEND="${COMMON_DEPEND} 65RDEPEND="${COMMON_DEPEND}
65 hwdb? ( >=sys-apps/usbutils-0.82 sys-apps/pciutils[-zlib] ) 66 hwdb? ( >=sys-apps/usbutils-0.82 sys-apps/pciutils )
66 acl? ( sys-apps/coreutils[acl] ) 67 acl? ( sys-apps/coreutils[acl] )
67 !sys-apps/coldplug 68 !sys-apps/coldplug
68 !<sys-fs/lvm2-2.02.45 69 !<sys-fs/lvm2-2.02.45
69 !sys-fs/device-mapper 70 !sys-fs/device-mapper
70 >=sys-apps/baselayout-1.12.5" 71 >=sys-apps/baselayout-1.12.5"
129 if [[ -n "${patchset}" ]] 130 if [[ -n "${patchset}" ]]
130 then 131 then
131 EPATCH_SOURCE="${WORKDIR}/${patchset}" EPATCH_SUFFIX="patch" \ 132 EPATCH_SOURCE="${WORKDIR}/${patchset}" EPATCH_SUFFIX="patch" \
132 EPATCH_FORCE="yes" epatch 133 EPATCH_FORCE="yes" epatch
133 fi 134 fi
135 use zlib && epatch "${FILESDIR}"/${PN}-175-zlib.patch #360849
134 136
135 # change rules back to group uucp instead of dialout for now 137 # change rules back to group uucp instead of dialout for now
136 sed -e 's/GROUP="dialout"/GROUP="uucp"/' \ 138 sed -e 's/GROUP="dialout"/GROUP="uucp"/' \
137 -i rules/{rules.d,arch}/*.rules \ 139 -i rules/{rules.d,arch}/*.rules \
138 || die "failed to change group dialout to uucp" 140 || die "failed to change group dialout to uucp"

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20