Skip to content

Commit

Permalink
app-crypt/mcrypt: eapi bump
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
alonbl committed Jan 13, 2017
1 parent 8b123cf commit a19d701
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app-crypt/mcrypt/files/mcrypt-2.6.8-format-string.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- src/errors.c
+++ src/errors.c
--- a/src/errors.c
+++ b/src/errors.c
@@ -25,24 +25,24 @@

void err_quit(char *errmsg)
Expand Down
4 changes: 2 additions & 2 deletions app-crypt/mcrypt/files/mcrypt-2.6.8-stdlib.h.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- src/rfc2440.c 2008-11-17 06:50:01.000000000 +1100
+++ src/rfc2440.c 2010-08-10 13:48:28.000000000 +1000
--- a/src/rfc2440.c 2008-11-17 06:50:01.000000000 +1100
+++ b/src/rfc2440.c 2010-08-10 13:48:28.000000000 +1000
@@ -23,7 +23,7 @@
#include <zlib.h>
#endif
Expand Down
32 changes: 32 additions & 0 deletions app-crypt/mcrypt/mcrypt-2.6.8-r3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="6"

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"

DEPEND=">=dev-libs/libmcrypt-2.5.8
>=app-crypt/mhash-0.9.9
sys-libs/zlib"
RDEPEND="${DEPEND}"

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)
}

0 comments on commit a19d701

Please sign in to comment.