app-crypt/mcrypt - 2.6.8 (gentoo)

Search

Install

Install this version:

emerge -a =app-crypt/mcrypt-2.6.8

Package Information

Description:
Replacement of the old unix crypt(1)
Homepage:
https://mcrypt.sourceforge.net/
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
2.6.8 7 amd64 ppc ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit flag-o-matic

DESCRIPTION="Replacement of the old unix crypt(1)"
HOMEPAGE="https://mcrypt.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/mcrypt/${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
IUSE="nls"

RDEPEND=">=dev-libs/libmcrypt-2.5.8
	>=app-crypt/mhash-0.9.9
	virtual/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() {
	# bug #943960
	append-cflags -std=gnu17

	econf $(use_enable nls)
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-crypt/mcrypt | euse -E <flag> -p app-crypt/mcrypt | euse -D <flag> -p app-crypt/mcrypt

Global/Standard Flags

nls

Inherited Eclasses

Dependencies

DEPEND

>=dev-libs/libmcrypt-2.5.8
	>=app-crypt/mhash-0.9.9
	virtual/zlib:=

RDEPEND

>=dev-libs/libmcrypt-2.5.8
	>=app-crypt/mhash-0.9.9
	virtual/zlib:=

Manifest for 2.6.8

Type File Size Source URLs
DIST mcrypt-2.6.8.tar.gz 471915 bytes https://downloads.sourceforge.net/mcrypt/mcrypt-2.6.8.tar.gz