Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 71603 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/sys-apps/util-linux/util-linux-2.12i-r1.ebuild (-7 / +17 lines)
Lines 1-30 Link Here
1
# Copyright 1999-2004 Gentoo Foundation
1
# Copyright 1999-2004 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-apps/util-linux/util-linux-2.12i-r1.ebuild,v 1.2 2004/11/16 02:28:00 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12i-r1.ebuild,v 1.1 2004/11/14 08:46:54 vapier Exp $
4
4
5
inherit eutils flag-o-matic toolchain-funcs
5
inherit eutils flag-o-matic toolchain-funcs
6
6
7
AES_VER="2.2d"
7
AES_VER="3.0a"
8
DESCRIPTION="Various useful Linux utilities"
8
DESCRIPTION="Various useful Linux utilities"
9
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
9
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
10
SRC_URI="mirror://kernel/linux/utils/${PN}/${P}.tar.gz
10
SRC_URI="mirror://kernel/linux/utils/${PN}/${P}.tar.gz
11
	crypt? (
11
	crypt? (
12
		mirror://gentoo/util-linux-2.12i-cryptoapi-losetup.patch.bz2
12
		mirror://gentoo/util-linux-2.12i-cryptoapi-losetup.patch.bz2
13
		http://dev.gentoo.org/~vapier/dist/util-linux-2.12i-cryptoapi-losetup.patch.bz2
13
		http://dev.gentoo.org/~vapier/dist/util-linux-2.12i-cryptoapi-losetup.patch.bz2
14
	)"
14
	)
15
#	crypt? ( http://loop-aes.sourceforge.net/loop-AES/loop-AES-v${AES_VER}.tar.bz2 )
15
	loop-aes? ( 
16
		http://loop-aes.sourceforge.net/loop-AES/loop-AES-v${AES_VER}.tar.bz2 )"
16
17
17
LICENSE="GPL-2"
18
LICENSE="GPL-2"
18
SLOT="0"
19
SLOT="0"
19
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
20
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
20
IUSE="crypt nls static pam selinux perl"
21
IUSE="crypt loop-aes nls static pam selinux perl"
21
22
22
DEPEND="virtual/libc
23
DEPEND="virtual/libc
23
	>=sys-libs/ncurses-5.2-r2
24
	>=sys-libs/ncurses-5.2-r2
24
	>=sys-fs/e2fsprogs-1.34
25
	>=sys-fs/e2fsprogs-1.34
25
	selinux? ( sys-libs/libselinux )
26
	selinux? ( sys-libs/libselinux )
26
	pam? ( sys-apps/pam-login )
27
	pam? ( sys-apps/pam-login )
27
	crypt? ( app-crypt/hashalot )"
28
	crypt? ( app-crypt/hashalot )
29
	loop-aes? ( sys-fs/loop-aes )"
28
RDEPEND="${DEPEND}
30
RDEPEND="${DEPEND}
29
	perl? ( dev-lang/perl )
31
	perl? ( dev-lang/perl )
30
	nls? ( sys-devel/gettext )"
32
	nls? ( sys-devel/gettext )"
Lines 35-42 Link Here
35
	unpack ${A}
37
	unpack ${A}
36
	cd ${S}
38
	cd ${S}
37
39
40
	if use crypt && use loop-aes; then
41
		eerror ""
42
		eerror "Cryptoloop and loop-aes are incompatible with"
43
		eerror "with each other. Please specify either crypt"
44
		eerror "or loop-aes flag in USE, but not both"
45
		eerror ""
46
		die
47
	fi
38
	# crypto support, yummy #24458
48
	# crypto support, yummy #24458
39
	#use crypt && epatch ${WORKDIR}/loop-AES-v${AES_VER}/util-linux-*.diff
49
	use loop-aes && epatch ${WORKDIR}/loop-AES-v${AES_VER}/util-linux-2.12i.diff
40
	use crypt && epatch ${WORKDIR}/util-linux-2.12i-cryptoapi-losetup.patch
50
	use crypt && epatch ${WORKDIR}/util-linux-2.12i-cryptoapi-losetup.patch
41
51
42
	# Fix rare failures with -j4 or higher
52
	# Fix rare failures with -j4 or higher

Return to bug 71603