summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-03-19 05:45:43 +0000
committerNaohiro Aota <naota@gentoo.org>2012-03-19 05:45:43 +0000
commitda3822e56d51e48562363f0981c6956b7cc6f6d4 (patch)
tree8b1b21338128b19b39d21110fae14be99827a03e
parentAdd ~mips keyword, needed by app-text/texlive[xml] (diff)
downloadgentoo-2-da3822e56d51e48562363f0981c6956b7cc6f6d4.tar.gz
gentoo-2-da3822e56d51e48562363f0981c6956b7cc6f6d4.tar.bz2
gentoo-2-da3822e56d51e48562363f0981c6956b7cc6f6d4.zip
Support Gentoo/FreeBSD. #319445
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
-rw-r--r--app-crypt/johntheripper/ChangeLog5
-rw-r--r--app-crypt/johntheripper/johntheripper-1.7.8.ebuild16
2 files changed, 17 insertions, 4 deletions
diff --git a/app-crypt/johntheripper/ChangeLog b/app-crypt/johntheripper/ChangeLog
index 8c04eecf545f..c3921d5f80e8 100644
--- a/app-crypt/johntheripper/ChangeLog
+++ b/app-crypt/johntheripper/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-crypt/johntheripper
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/ChangeLog,v 1.135 2012/03/05 22:19:51 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/ChangeLog,v 1.136 2012/03/19 05:45:43 naota Exp $
+
+ 19 Mar 2012; Naohiro Aota <naota@gentoo.org> johntheripper-1.7.8.ebuild:
+ Support Gentoo/FreeBSD. #319445
05 Mar 2012; Tim Harder <radhermit@gentoo.org> johntheripper-1.7.9.ebuild:
Use correct targets when xop and avx instructions sets are enabled (bugs
diff --git a/app-crypt/johntheripper/johntheripper-1.7.8.ebuild b/app-crypt/johntheripper/johntheripper-1.7.8.ebuild
index 3d452f7a66ee..a8f2a66b5463 100644
--- a/app-crypt/johntheripper/johntheripper-1.7.8.ebuild
+++ b/app-crypt/johntheripper/johntheripper-1.7.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.8.ebuild,v 1.1 2011/07/05 14:01:52 c1pher Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.8.ebuild,v 1.2 2012/03/19 05:45:43 naota Exp $
EAPI="4"
@@ -22,7 +22,7 @@ SRC_URI="http://www.openwall.com/john/g/${MY_P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
# This package can't be marked stable for ppc or ppc64 before bug 327211 is closed.
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="custom-cflags -minimal mmx openmp sse2"
REQUIRED_USE="openmp? ( !minimal )"
#Remove AltiVec USE flag. Appears to be an upstream issue.
@@ -82,6 +82,16 @@ get_target() {
fi
elif use x86-solaris; then
echo "solaris-x86-any"
+ elif use x86-fbsd; then
+ if use sse2; then
+ echo "freebsd-x86-sse2"
+ elif use mmx; then
+ echo "freebsd-x86-mmx"
+ else
+ echo "freebsd-x86-any"
+ fi
+ elif use amd64-fbsd; then
+ echo "freebsd-x86-64"
else
echo "generic"
fi