public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/crypto++: ChangeLog crypto++-5.6.1-r3.ebuild crypto++-5.6.1-r2.ebuild
@ 2012-01-30 16:06 Dane Smith (c1pher)
  0 siblings, 0 replies; only message in thread
From: Dane Smith (c1pher) @ 2012-01-30 16:06 UTC (permalink / raw
  To: gentoo-commits

c1pher      12/01/30 16:06:15

  Modified:             ChangeLog
  Added:                crypto++-5.6.1-r3.ebuild
  Removed:              crypto++-5.6.1-r2.ebuild
  Log:
  dev-libs/crypto++: Revbump. Add new revision of fix_build_system.patch to address bug 401431. sunos.patch can be dropped when -r3 is stable and -r1 is dropped.
  
  (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

Revision  Changes    Path
1.74                 dev-libs/crypto++/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/ChangeLog?rev=1.74&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/ChangeLog?rev=1.74&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/ChangeLog?r1=1.73&r2=1.74

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- ChangeLog	28 Dec 2011 07:02:03 -0000	1.73
+++ ChangeLog	30 Jan 2012 16:06:14 -0000	1.74
@@ -1,6 +1,18 @@
 # ChangeLog for dev-libs/crypto++
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.73 2011/12/28 07:02:03 patrick Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.74 2012/01/30 16:06:14 c1pher Exp $
+
+*crypto++-5.6.1-r3 (30 Jan 2012)
+
+  30 Jan 2012; Dane Smith <c1pher@gentoo.org> -crypto++-5.6.1-r2.ebuild,
+  +crypto++-5.6.1-r3.ebuild, +files/crypto++-5.6.1-r3-fix_build_system.patch:
+  Address NEEDED library issues wrt bug 401431. Thanks Arfrever for the patch.
+  Add new patch (updated fix_build_system patch) for r3 since the current one
+  is
+  used by the stable -r1. The new patch includes the changes that are in the
+  patch {P}-sunos. This should be dropped when -r3 goes stable and -r1 is
+  dropped.
+  Drop -r2.
 
 *crypto++-5.6.1-r2 (28 Dec 2011)
 



1.1                  dev-libs/crypto++/crypto++-5.6.1-r3.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/crypto++-5.6.1-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/crypto++-5.6.1-r3.ebuild?rev=1.1&content-type=text/plain

Index: crypto++-5.6.1-r3.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.6.1-r3.ebuild,v 1.1 2012/01/30 16:06:14 c1pher Exp $

EAPI="3"

inherit eutils flag-o-matic multilib toolchain-funcs

DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes"
HOMEPAGE="http://cryptopp.com"
SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip"

LICENSE="cryptopp"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

DEPEND="app-arch/unzip"
RDEPEND=""

S="${WORKDIR}"

src_prepare() {
	epatch "${FILESDIR}/${PF}-fix_build_system.patch" \
		"${FILESDIR}/${P}-rijndael.patch"
}

src_compile() {
	# Higher optimizations cause problems.
	replace-flags -O? -O1
	filter-flags -fomit-frame-pointer

	emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" \
		LIBDIR="$(get_libdir)" || die "emake failed"
}

src_test() {
	# Ensure that all test vectors have Unix line endings.
	local file
	for file in TestVectors/*; do
		edos2unix ${file}
	done

	if ! emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" test; then
		eerror "Crypto++ self-tests failed."
		eerror "Try to remove some optimization flags and reemerge Crypto++."
		die "emake test failed"
	fi
}

src_install() {
	emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install \
		|| die "emake install failed"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-30 16:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-30 16:06 [gentoo-commits] gentoo-x86 commit in dev-libs/crypto++: ChangeLog crypto++-5.6.1-r3.ebuild crypto++-5.6.1-r2.ebuild Dane Smith (c1pher)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox