31 lines
706 B
Bash
31 lines
706 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="replacement of the old unix crypt(1)"
|
|
HOMEPAGE="http://mcrypt.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/mcrypt/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc sparc x86 ~x86-macos"
|
|
IUSE="nls"
|
|
|
|
RDEPEND=">=dev-libs/libmcrypt-2.5.8
|
|
>=app-crypt/mhash-0.9.9
|
|
sys-libs/zlib"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-2.6.7-qa.patch"
|
|
"${FILESDIR}/${P}-stdlib.h.patch"
|
|
"${FILESDIR}/${P}-segv.patch"
|
|
"${FILESDIR}/${P}-sprintf.patch"
|
|
"${FILESDIR}/${P}-format-string.patch"
|
|
"${FILESDIR}/${P}-overflow.patch"
|
|
)
|
|
|
|
src_configure() {
|
|
econf $(use_enable nls)
|
|
}
|