|
Lines 5-10
Link Here
|
| 5 |
inherit eutils flag-o-matic toolchain-funcs |
5 |
inherit eutils flag-o-matic toolchain-funcs |
| 6 |
|
6 |
|
| 7 |
OLD_CRYPT_VER=2.12i |
7 |
OLD_CRYPT_VER=2.12i |
|
|
8 |
LOOP_AES_VER=3.0c |
| 8 |
DESCRIPTION="Various useful Linux utilities" |
9 |
DESCRIPTION="Various useful Linux utilities" |
| 9 |
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/" |
10 |
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/" |
| 10 |
SRC_URI="mirror://kernel/linux/utils/${PN}/${P}.tar.gz |
11 |
SRC_URI="mirror://kernel/linux/utils/${PN}/${P}.tar.gz |
|
Lines 12-18
SRC_URI="mirror://kernel/linux/utils/${P
Link Here
|
| 12 |
mirror://kernel/linux/utils/${PN}/${PN}-${OLD_CRYPT_VER}.tar.gz |
13 |
mirror://kernel/linux/utils/${PN}/${PN}-${OLD_CRYPT_VER}.tar.gz |
| 13 |
mirror://gentoo/util-linux-${OLD_CRYPT_VER}-cryptoapi-losetup.patch.bz2 |
14 |
mirror://gentoo/util-linux-${OLD_CRYPT_VER}-cryptoapi-losetup.patch.bz2 |
| 14 |
) |
15 |
) |
| 15 |
crypt? ( http://loop-aes.sourceforge.net/updates/util-linux-2.12p.diff.bz2 )" |
16 |
crypt? ( |
|
|
17 |
http://loop-aes.sourceforge.net/loop-AES/loop-AES-v${LOOP_AES_VER}.tar.bz2 )" |
| 16 |
|
18 |
|
| 17 |
LICENSE="GPL-2" |
19 |
LICENSE="GPL-2" |
| 18 |
SLOT="0" |
20 |
SLOT="0" |
|
Lines 46-52
src_unpack() {
Link Here
|
| 46 |
|
48 |
|
| 47 |
# crypto support |
49 |
# crypto support |
| 48 |
! use old-crypt && \ |
50 |
! use old-crypt && \ |
| 49 |
use crypt && epatch ${WORKDIR}/util-linux-2.12p.diff |
51 |
use crypt && epatch ${WORKDIR}/loop-AES-v${LOOP_AES_VER}/${P}.diff |
| 50 |
|
52 |
|
| 51 |
# Fix rare failures with -j4 or higher |
53 |
# Fix rare failures with -j4 or higher |
| 52 |
epatch ${FILESDIR}/${PN}-2.11z-parallel-make.patch |
54 |
epatch ${FILESDIR}/${PN}-2.11z-parallel-make.patch |