public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/c1pher:master commit in: dev-libs/botan/
@ 2011-05-03 18:57 Dane Smith
  0 siblings, 0 replies; 2+ messages in thread
From: Dane Smith @ 2011-05-03 18:57 UTC (permalink / raw
  To: gentoo-commits

commit:     68d4b940d0f87d48fb148666abb0ed9c637e2792
Author:     Dane Smith <c1pher <AT> gentoo <DOT> org>
AuthorDate: Mon May  2 17:30:18 2011 +0000
Commit:     Dane Smith <c1pher <AT> gentoo <DOT> org>
CommitDate: Mon May  2 17:30:18 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/c1pher.git;a=commit;h=68d4b940

Version bump for botan.

---
 dev-libs/botan/ChangeLog           |    7 ++-
 dev-libs/botan/Manifest            |    4 +-
 dev-libs/botan/botan-1.9.17.ebuild |  103 ++++++++++++++++++++++++++++++++++++
 3 files changed, 112 insertions(+), 2 deletions(-)

diff --git a/dev-libs/botan/ChangeLog b/dev-libs/botan/ChangeLog
index 3411969..17c431b 100644
--- a/dev-libs/botan/ChangeLog
+++ b/dev-libs/botan/ChangeLog
@@ -1,7 +1,12 @@
 # ChangeLog for dev-libs/botan
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*botan-1.9.17 (02 May 2011)
+
+  02 May 2011; Dane Smith <c1pher@gentoo.org> +botan-1.9.17.ebuild:
+  Bump to new version.
+
 *botan-1.9.11-r2 (01 Dec 2010)
 
   01 Dec 2010; Dane Smith <c1pher@gentoo.org> -botan-1.9.11-r1.ebuild,

diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest
index 45b42bf..524d399 100644
--- a/dev-libs/botan/Manifest
+++ b/dev-libs/botan/Manifest
@@ -1,3 +1,5 @@
 DIST Botan-1.9.12.tbz 3103452 RMD160 1e25e56b88d152440933b7bc3f450dbf20941204 SHA1 c72ecf935644188277e5e6fac1c2bfc9bf0042c7 SHA256 f863f9d89fa4354dd8434abc01058fbacfbca94e992e8be8a59d632b9caa78b1
+DIST Botan-1.9.17.tbz 2338028 RMD160 5bf5ac5f4c7c4bab229cb72a6f0c0ce752092615 SHA1 f85c7ed87b3004e788ff462bc3a838a4fca17c7d SHA256 e28b2daedd4dc827f3779f08fc7025bd283b1c9ea9dc97bf104a2404f5ebaa31
 EBUILD botan-1.9.12.ebuild 2830 RMD160 70c5c2daa298323a59a55d60b02d888b61cbda23 SHA1 bf35e5c9c68c3508d1b5fc877e662c5bcbe81dd9 SHA256 fa4d51d9db4d8613265c86dc484e1fd4b625cc2cc5791d74a578b76b9f56164b
-MISC ChangeLog 977 RMD160 978bf37be03316920cca834fef79ab569ef48b85 SHA1 127a03568289302cbc8e81ad510c0e93413b122d SHA256 62624530da3e8eeda7dabcb5166d0a9f83f0570c0c1e3f2633e9b7f60a80f609
+EBUILD botan-1.9.17.ebuild 2748 RMD160 854afa5297e003009b8b637e735730c090daad93 SHA1 5d31eb75546a14f4ffb62c31f9eb168fd3dfac1f SHA256 b0015447479180d6ab4ed1ff8ca77292f9aa86f63d20cbabe8455936769a6724
+MISC ChangeLog 1098 RMD160 35a2ac20d8d5e916780de9cb8c57a2f8f17cbcd4 SHA1 84378671246a920a47969446c4b74ff8362d83b8 SHA256 70da67959f1d3084f9ffe5085ea30d225081893f595232f3ed1473f1e3b9ae15

diff --git a/dev-libs/botan/botan-1.9.17.ebuild b/dev-libs/botan/botan-1.9.17.ebuild
new file mode 100644
index 0000000..6d0690b
--- /dev/null
+++ b/dev-libs/botan/botan-1.9.17.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+RESTRICT_PYTHON_ABIS="3.*"
+inherit eutils multilib python toolchain-funcs
+
+MY_PN="Botan"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="A C++ crypto library"
+HOMEPAGE="http://botan.randombit.net/"
+SRC_URI="http://botan.randombit.net/files/${MY_P}.tbz"
+
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos"
+SLOT="0"
+LICENSE="BSD"
+IUSE="aesni altivec bzip2 doc gmp python sse2 ssse3 openssl zlib"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="python? ( dev-libs/boost[python] )
+	bzip2? ( >=app-arch/bzip2-1.0.5 )
+	zlib? ( >=sys-libs/zlib-1.2.3 )
+	gmp? ( >=dev-libs/gmp-4.2.2 )
+	openssl? ( >=dev-libs/openssl-0.9.8g )"
+
+DEPEND="${RDEPEND}
+        doc? ( >=dev-python/sphinx-1.0.7 >=app-doc/doxygen-1.7.3 )"
+
+pkg_setup() {
+	python_set_active_version 2
+}
+
+src_configure() {
+	local disable_modules="proc_walk,unix_procs"
+
+	# Enable v9 instructions for sparc64
+	if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
+		CHOSTARCH="sparc32-v9"
+	else
+		CHOSTARCH="${CHOST%%-*}"
+	fi
+
+	cd "${S}"
+	elog "Disabling modules: ${disable_modules}"
+
+	local myos=
+	case ${CHOST} in
+		*-darwin*)	myos=darwin ;;
+		*)		myos=linux  ;;
+	esac
+
+	# foobared buildsystem, --prefix translates into DESTDIR, see also make
+	# install in src_install, we need the correct live-system prefix here on
+	# Darwin for a shared lib with correct install_name
+	./configure.py \
+		--prefix="${EPREFIX}/usr" \
+		--libdir=$(get_libdir) \
+		--docdir=share/doc/ \
+		--cc=gcc \
+		--os=${myos} \
+		--cpu=${CHOSTARCH} \
+		--with-endian="$(tc-endian)" \
+		--with-tr1=system \
+		--distribution-info="Gentoo ${PVR}" \
+		$(use_with doc sphinx) \
+		$(use_with doc doxygen) \
+		$(use_with python boost-python) \
+		$(use_with bzip2) \
+		$(use_with gmp gnump) \
+		$(use_with openssl) \
+		$(use_with zlib) \
+		$(use_enable sse2) \
+		$(use_enable ssse3) \
+		$(use_enable aesni aes-ni) \
+		$(use_enable altivec) \
+		--disable-modules=${disable_modules} \
+		|| die "configure.py failed"
+}
+
+src_compile() {
+	emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" \
+	MACH_OPT="" LDFLAGS="${LDFLAGS}" || die "emake failed"
+
+	if useq python; then
+		emake CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -f Makefile.python || die "emake failed"
+	fi
+}
+
+src_test() {
+	chmod -R ugo+rX "${S}"
+	emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check || die "emake check failed"
+	LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed"
+}
+
+src_install() {
+        emake DESTDIR="${ED}usr" install || die "emake install failed"
+
+	if useq python; then
+		emake install PYTHON_SITE_PACKAGE_DIR="${D}/usr/lib/python2.6/site-packages" -f Makefile.python || die "emake install failed"
+	fi
+}



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/c1pher:master commit in: dev-libs/botan/
@ 2011-05-03 18:57 Dane Smith
  0 siblings, 0 replies; 2+ messages in thread
From: Dane Smith @ 2011-05-03 18:57 UTC (permalink / raw
  To: gentoo-commits

commit:     ba397418f6e1ba307da252efd7b575423ece084a
Author:     Dane Smith <c1pher <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 18:53:23 2011 +0000
Commit:     Dane Smith <c1pher <AT> gentoo <DOT> org>
CommitDate: Tue May  3 18:53:23 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/c1pher.git;a=commit;h=ba397418

Keyword botan appropriately.

---
 dev-libs/botan/Manifest            |    2 +-
 dev-libs/botan/botan-1.9.17.ebuild |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest
index 70ab0a1..5b3b1cb 100644
--- a/dev-libs/botan/Manifest
+++ b/dev-libs/botan/Manifest
@@ -1,5 +1,5 @@
 DIST Botan-1.9.12.tbz 3103452 RMD160 1e25e56b88d152440933b7bc3f450dbf20941204 SHA1 c72ecf935644188277e5e6fac1c2bfc9bf0042c7 SHA256 f863f9d89fa4354dd8434abc01058fbacfbca94e992e8be8a59d632b9caa78b1
 DIST Botan-1.9.17.tbz 2338028 RMD160 5bf5ac5f4c7c4bab229cb72a6f0c0ce752092615 SHA1 f85c7ed87b3004e788ff462bc3a838a4fca17c7d SHA256 e28b2daedd4dc827f3779f08fc7025bd283b1c9ea9dc97bf104a2404f5ebaa31
 EBUILD botan-1.9.12.ebuild 2830 RMD160 70c5c2daa298323a59a55d60b02d888b61cbda23 SHA1 bf35e5c9c68c3508d1b5fc877e662c5bcbe81dd9 SHA256 fa4d51d9db4d8613265c86dc484e1fd4b625cc2cc5791d74a578b76b9f56164b
-EBUILD botan-1.9.17.ebuild 2685 RMD160 8fde764375f6539ab4726be41387f6bc8daaf4c5 SHA1 2581e25fc644b8be57ddbde26cb22101ecc07963 SHA256 a0db2a6a7fae66b1f1a5272610182c1c4ec67cd86ef1447c09850e695c56dbb9
+EBUILD botan-1.9.17.ebuild 2675 RMD160 6bb2fd0eca10c3f4f616e4a177b53ed9d25b8d46 SHA1 2d24b2b3030533d64aad061c4fc26a74ef087280 SHA256 8c3c5999ff34ae18c8a694526c39a2ff4a0d2cb7010fb6e08e0d7ca8d95bca0a
 MISC ChangeLog 1098 RMD160 35a2ac20d8d5e916780de9cb8c57a2f8f17cbcd4 SHA1 84378671246a920a47969446c4b74ff8362d83b8 SHA256 70da67959f1d3084f9ffe5085ea30d225081893f595232f3ed1473f1e3b9ae15

diff --git a/dev-libs/botan/botan-1.9.17.ebuild b/dev-libs/botan/botan-1.9.17.ebuild
index 24a3106..fd93567 100644
--- a/dev-libs/botan/botan-1.9.17.ebuild
+++ b/dev-libs/botan/botan-1.9.17.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="A C++ crypto library"
 HOMEPAGE="http://botan.randombit.net/"
 SRC_URI="http://botan.randombit.net/files/${MY_P}.tbz"
 
-KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos"
+KEYWORDS=""
 SLOT="0"
 LICENSE="BSD"
 IUSE="aesni altivec bzip2 doc gmp python sse2 ssse3 openssl zlib"



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-03 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-03 18:57 [gentoo-commits] dev/c1pher:master commit in: dev-libs/botan/ Dane Smith
  -- strict thread matches above, loose matches on Subject: below --
2011-05-03 18:57 Dane Smith

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