[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/, profiles/arch/arm/, profiles/, dev-libs/beecrypt/files/
commit: 22795f7a23c79d79f08445d39291991391065e49 Author: Michał Górny gentoo org> AuthorDate: Thu Jun 20 08:00:04 2019 + Commit: Michał Górny gentoo org> CommitDate: Thu Jun 20 08:01:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22795f7a dev-libs/beecrypt: Remove last-rited pkg Closes: https://bugs.gentoo.org/680322 Signed-off-by: Michał Górny gentoo.org> dev-libs/beecrypt/Manifest | 1 - dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild | 104 -- .../files/beecrypt-4.2.1-build-system.patch| 160 --- ...pt-4.2.1-c++11-allow-throw-in-destructors.patch | 26 --- .../beecrypt/files/beecrypt-4.2.1-cast-uchar.patch | 214 - .../beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch| 11 -- .../beecrypt/files/beecrypt-4.2.1-icu-61.patch | 51 - dev-libs/beecrypt/metadata.xml | 8 - profiles/arch/arm/package.use.mask | 1 - profiles/package.mask | 9 - 10 files changed, 585 deletions(-) diff --git a/dev-libs/beecrypt/Manifest b/dev-libs/beecrypt/Manifest deleted file mode 100644 index 0fc625fdb93..000 --- a/dev-libs/beecrypt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST beecrypt-4.2.1.tar.gz 882758 BLAKE2B 7ca25613cf95df8657c762d932618979783ea2ddfbaecdf066701d61a5f9ac76bd474a51eb65e140c83ef01880477cb7104e3d67c2fc078ae7b710637d18bb53 SHA512 59995d53c024efe6344a21ac0d6d55fbe652488a4a22cc6719f9fc3851d56697fa8738937d48aa1e6f9ebe749de61ac3c79a5f0cea793872213c3bdf922e71bc diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild deleted file mode 100644 index 6d5604389d3..000 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 - -DESCRIPTION="General-purpose cryptography library" -HOMEPAGE="https://sourceforge.net/projects/beecrypt/"; -SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="+threads java cxx python static-libs doc" -REQUIRED_USE="cxx? ( threads ) - python? ( ${PYTHON_REQUIRED_USE} )" - -COMMON_DEPEND="!=dev-libs/icu-6.1:= ) - python? ( ${PYTHON_DEPS} )" - -DEPEND="${COMMON_DEPEND} - java? ( >=virtual/jdk-1.4 ) - doc? ( app-doc/doxygen - virtual/latex-base - dev-texlive/texlive-fontsextra - )" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.4 )" - -DOCS=( BUGS README BENCHMARKS NEWS ) -PATCHES=( - "${FILESDIR}"/${P}-build-system.patch - "${FILESDIR}"/${P}-gcc-4.7.patch - - # Fixes bug 596904 - "${FILESDIR}"/${P}-c++11-allow-throw-in-destructors.patch - "${FILESDIR}"/${P}-cast-uchar.patch #618676 - - "${FILESDIR}"/${P}-icu-61.patch -) - -pkg_setup() { - use python && python-single-r1_pkg_setup - java-pkg-opt-2_pkg_setup -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # ICU needs char16_t support now - # bug 649548 - append-cxxflags -std=c++14 - - # Crudely disable amd64 assembly code - # as it assumes 64-bit 'unsinged long' size. bug #461960 - local x32_hack=() - use amd64 && [[ ${ABI} == "x32" ]] && x32_hack=(--enable-debug) - - # cplusplus needs threads support - ac_cv_java_include=$(use java && java-pkg_get-jni-cflags) \ - econf \ - --disable-expert-mode \ - $(use_enable static-libs static) \ - $(use_enable threads) \ - $(use_with python python "${PYTHON}") \ - $(use_with cxx cplusplus) \ - $(use_with java) \ - "${x32_hack[@]}" -} - -src_compile() { - default - - if use doc; then - pushd include/beecrypt >/dev/null || die - doxygen || die "doxygen failed" - popd >/dev/null || die - HTML_DOCS=( docs/html/*.{css,html,js,png} ) - fi -} - -src_test() { - export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf" - echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" || die - emake check bench -} - -src_install() { - default - - if use python; then - rm -f "${D%/}$(python_get_sitedir)"/_bc.*a || die - fi - if ! use static-libs; then - find "${D}" -name '*.la' -delete || die - fi -} diff --git a/dev-libs/beecrypt/files/beecrypt-4.2.1-build-system.patch b/dev-libs/beecrypt/files/beecrypt-4.2.1-build-system.patch deleted file mode 100644 index e35095f53b6..000 --- a/dev-libs/b
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 7022efa4479b36e046198e0384f818e965328022 Author: Pacho Ramos gentoo org> AuthorDate: Wed Feb 20 21:38:20 2019 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Feb 20 21:38:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7022efa4 dev-libs/beecrypt: Drop old Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 98 -- 1 file changed, 98 deletions(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild deleted file mode 100644 index 43810318441..000 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 - -DESCRIPTION="General-purpose cryptography library" -HOMEPAGE="https://sourceforge.net/projects/beecrypt/"; -SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="+threads java cxx python static-libs doc" -REQUIRED_USE="cxx? ( threads ) - python? ( ${PYTHON_REQUIRED_USE} )" - -COMMON_DEPEND="!=dev-libs/icu-6.1:= ) - python? ( ${PYTHON_DEPS} )" - -DEPEND="${COMMON_DEPEND} - java? ( >=virtual/jdk-1.4 ) - doc? ( app-doc/doxygen - virtual/latex-base - dev-texlive/texlive-fontsextra - )" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.4 )" - -DOCS=( BUGS README BENCHMARKS NEWS ) -PATCHES=( - "${FILESDIR}"/${P}-build-system.patch - "${FILESDIR}"/${P}-gcc-4.7.patch - - # Fixes bug 596904 - "${FILESDIR}"/${P}-c++11-allow-throw-in-destructors.patch - "${FILESDIR}"/${P}-cast-uchar.patch #618676 - - "${FILESDIR}"/${P}-icu-61.patch -) - -pkg_setup() { - use python && python-single-r1_pkg_setup - java-pkg-opt-2_pkg_setup -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # ICU needs char16_t support now - # bug 649548 - append-cxxflags -std=c++14 - - # cplusplus needs threads support - ac_cv_java_include=$(use java && java-pkg_get-jni-cflags) \ - econf \ - --disable-expert-mode \ - $(use_enable static-libs static) \ - $(use_enable threads) \ - $(use_with python python "${PYTHON}") \ - $(use_with cxx cplusplus) \ - $(use_with java) -} - -src_compile() { - default - - if use doc; then - pushd include/beecrypt >/dev/null || die - doxygen || die "doxygen failed" - popd >/dev/null || die - HTML_DOCS=( docs/html/*.{css,html,js,png} ) - fi -} - -src_test() { - export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf" - echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" || die - emake check bench -} - -src_install() { - default - - if use python; then - rm -f "${D%/}$(python_get_sitedir)"/_bc.*a || die - fi - if ! use static-libs; then - find "${D}" -name '*.la' -delete || die - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 6a36225fca3847558336aaac11178f04ac5efaff Author: Mikle Kolyada gentoo org> AuthorDate: Wed Feb 20 16:04:08 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Feb 20 16:04:08 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a36225f dev-libs/beecrypt: amd64 stable wrt bug #676458 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild index 52211c5e48c..6d5604389d3 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 98d8ee71b1215e183edbf95340367f1cd7b735b1 Author: Markus Meier gentoo org> AuthorDate: Tue Feb 19 21:11:57 2019 + Commit: Markus Meier gentoo org> CommitDate: Tue Feb 19 21:11:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d8ee71 dev-libs/beecrypt: arm stable, bug #676458 Signed-off-by: Markus Meier gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="arm" dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild index 0c70770848d..52211c5e48c 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha ~amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 812fe0588b34f850ccdd16bb76776ef0c83d6a90 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Feb 15 01:27:51 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Feb 15 01:36:49 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812fe058 dev-libs/beecrypt: x86 stable (bug #676458) Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild index c0d4ba388c3..0c70770848d 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 5136e178faf8a721ac31afd95d9c5e9e255c79f0 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Feb 2 21:13:35 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Feb 2 21:13:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5136e178 dev-libs/beecrypt: stable 4.2.1-r6 for ppc64, bug #676458 Package-Manager: Portage-2.3.59, Repoman-2.3.12 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild index e00946d29c1..c0d4ba388c3 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 7188336429266e9b40b941d3f0a006f8caeb1760 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Feb 2 20:22:38 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Feb 2 20:44:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71883364 dev-libs/beecrypt: stable 4.2.1-r6 for ppc, bug #676458 Package-Manager: Portage-2.3.59, Repoman-2.3.12 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild index 0a300f6b9ad..e00946d29c1 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 7c96bf254389bdff2ad0b68197edf54bfa4a300b Author: Tobias Klausmann gentoo org> AuthorDate: Fri Feb 1 10:39:57 2019 + Commit: Tobias Klausmann gentoo org> CommitDate: Fri Feb 1 10:39:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c96bf25 dev-libs/beecrypt-4.2.1-r6: alpha stable Bug: http://bugs.gentoo.org/676458 Signed-off-by: Tobias Klausmann gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild index 54428c68dcf..0a300f6b9ad 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 18b6c0e7665e88bb8e90043156c10f728013d79e Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Jan 28 10:24:21 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jan 28 19:37:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b6c0e7 dev-libs/beecrypt: stable 4.2.1-r6 for sparc, bug #676458 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild index 7ec1630ce8c..54428c68dcf 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: dc029d8a685916f8c3d7452eef95302d387f7f99 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Nov 9 18:45:08 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Nov 9 18:54:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc029d8a dev-libs/beecrypt: Drop 4.2.1-r4 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild | 96 -- 1 file changed, 96 deletions(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild deleted file mode 100644 index b0189d3c74c..000 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 - -DESCRIPTION="General-purpose cryptography library" -HOMEPAGE="https://sourceforge.net/projects/beecrypt/"; -SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="+threads java cxx python static-libs doc" -REQUIRED_USE="cxx? ( threads ) - python? ( ${PYTHON_REQUIRED_USE} )" - -COMMON_DEPEND="!=dev-libs/icu-2.8:= ) - python? ( ${PYTHON_DEPS} )" - -DEPEND="${COMMON_DEPEND} - java? ( >=virtual/jdk-1.4 ) - doc? ( app-doc/doxygen - virtual/latex-base - dev-texlive/texlive-fontsextra - )" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.4 )" - -DOCS=( BUGS README BENCHMARKS NEWS ) -PATCHES=( - "${FILESDIR}"/${P}-build-system.patch - "${FILESDIR}"/${P}-gcc-4.7.patch - - # Fixes bug 596904 - "${FILESDIR}"/${P}-c++11-allow-throw-in-destructors.patch - "${FILESDIR}"/${P}-cast-uchar.patch #618676 -) - -pkg_setup() { - use python && python-single-r1_pkg_setup - java-pkg-opt-2_pkg_setup -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # ICU needs char16_t support now - # bug 649548 - append-cxxflags -std=c++14 - - # cplusplus needs threads support - ac_cv_java_include=$(use java && java-pkg_get-jni-cflags) \ - econf \ - --disable-expert-mode \ - $(use_enable static-libs static) \ - $(use_enable threads) \ - $(use_with python python "${PYTHON}") \ - $(use_with cxx cplusplus) \ - $(use_with java) -} - -src_compile() { - default - - if use doc; then - pushd include/beecrypt >/dev/null || die - doxygen || die "doxygen failed" - popd >/dev/null || die - HTML_DOCS=( docs/html/*.{css,html,js,png} ) - fi -} - -src_test() { - export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf" - echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" || die - emake check bench -} - -src_install() { - default - - if use python; then - rm -f "${D%/}$(python_get_sitedir)"/_bc.*a || die - fi - if ! use static-libs; then - find "${D}" -name '*.la' -delete || die - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 495148527fe3baa3601b2c83dd4ba7ce8362f9ea Author: Mikle Kolyada gentoo org> AuthorDate: Fri Nov 9 18:20:00 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Nov 9 18:20:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49514852 dev-libs/beecrypt: arm stable wrt bug #668280 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild index adb3ef1d9d9..43810318441 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 6d25fb606f1cf674648e79da2ce71fe7da439508 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Oct 28 18:04:51 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Oct 28 18:05:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d25fb60 dev-libs/beecrypt: disable assembly for x32, bug #461960 beecrypt has target-specifix assembly code for arithmetics in gas/mpopt.x86_64.m4. That assumes that x86_64 has 64-bit items to represent bignums. Unfortunately that is not true for x32 ABI as detection is based on size of 'unsigned long': ``` AC_DEFUN([BEE_CPU_BITS],[ AC_CHECK_SIZEOF([unsigned long]) if test $ac_cv_sizeof_unsigned_long -eq 8; then AC_SUBST(MP_WBITS,64U) ``` To workaround this deficiency disable assembly code completely: pass --enable-debug. Closes: https://bugs.gentoo.org/461960 Signed-off-by: Sergei Trofimovich gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild | 104 + 1 file changed, 104 insertions(+) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild new file mode 100644 index 000..7ec1630ce8c --- /dev/null +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r6.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 + +DESCRIPTION="General-purpose cryptography library" +HOMEPAGE="https://sourceforge.net/projects/beecrypt/"; +SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+threads java cxx python static-libs doc" +REQUIRED_USE="cxx? ( threads ) + python? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND="!=dev-libs/icu-6.1:= ) + python? ( ${PYTHON_DEPS} )" + +DEPEND="${COMMON_DEPEND} + java? ( >=virtual/jdk-1.4 ) + doc? ( app-doc/doxygen + virtual/latex-base + dev-texlive/texlive-fontsextra + )" +RDEPEND="${COMMON_DEPEND} + java? ( >=virtual/jre-1.4 )" + +DOCS=( BUGS README BENCHMARKS NEWS ) +PATCHES=( + "${FILESDIR}"/${P}-build-system.patch + "${FILESDIR}"/${P}-gcc-4.7.patch + + # Fixes bug 596904 + "${FILESDIR}"/${P}-c++11-allow-throw-in-destructors.patch + "${FILESDIR}"/${P}-cast-uchar.patch #618676 + + "${FILESDIR}"/${P}-icu-61.patch +) + +pkg_setup() { + use python && python-single-r1_pkg_setup + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # ICU needs char16_t support now + # bug 649548 + append-cxxflags -std=c++14 + + # Crudely disable amd64 assembly code + # as it assumes 64-bit 'unsinged long' size. bug #461960 + local x32_hack=() + use amd64 && [[ ${ABI} == "x32" ]] && x32_hack=(--enable-debug) + + # cplusplus needs threads support + ac_cv_java_include=$(use java && java-pkg_get-jni-cflags) \ + econf \ + --disable-expert-mode \ + $(use_enable static-libs static) \ + $(use_enable threads) \ + $(use_with python python "${PYTHON}") \ + $(use_with cxx cplusplus) \ + $(use_with java) \ + "${x32_hack[@]}" +} + +src_compile() { + default + + if use doc; then + pushd include/beecrypt >/dev/null || die + doxygen || die "doxygen failed" + popd >/dev/null || die + HTML_DOCS=( docs/html/*.{css,html,js,png} ) + fi +} + +src_test() { + export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf" + echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" || die + emake check bench +} + +src_install() { + default + + if use python; then + rm -f "${D%/}$(python_get_sitedir)"/_bc.*a || die + fi + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: df1cea520b643770a7ac83f3996b736199bc3b23 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Oct 20 18:30:55 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Oct 20 18:30:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df1cea52 dev-libs/beecrypt: amd64 stable wrt bug #668280 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild index 9d71a8ef5f5..adb3ef1d9d9 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 434144e2263f0c9a7ed0ba2b40e673ef4540cbba Author: Tobias Klausmann gentoo org> AuthorDate: Thu Oct 18 11:44:03 2018 + Commit: Tobias Klausmann gentoo org> CommitDate: Thu Oct 18 11:44:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=434144e2 dev-libs/beecrypt-4.2.1-r5: alpha stable Bug: http://bugs.gentoo.org/668280 Signed-off-by: Tobias Klausmann gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild index 2001915b033..9d71a8ef5f5 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha ~amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 7d7365127b8aa1e6abe08d002695ea6ba19f85de Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Oct 14 09:12:30 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Oct 14 09:14:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d736512 dev-libs/beecrypt: stable 4.2.1-r5 for ppc64, bug #668280 Signed-off-by: Sergei Trofimovich gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="ppc64" dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild index 83c9ae6c0ca..2001915b033 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: e9d0ba9c1f4211f3c256455c2ac3b29709642d5b Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Oct 14 08:55:36 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Oct 14 08:55:36 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d0ba9c dev-libs/beecrypt: stable 4.2.1-r5 for ppc, bug #668280 Signed-off-by: Sergei Trofimovich gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="ppc" dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild index adbd668eb25..83c9ae6c0ca 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: c1a1c78a1a74afec66b2dce243c9f52513ba9409 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Oct 14 08:50:34 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Oct 14 08:50:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a1c78a dev-libs/beecrypt: stable 4.2.1-r5 for hppa, bug #668280 Signed-off-by: Sergei Trofimovich gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="hppa" dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild index 2a8720b3073..adbd668eb25 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 18c8d15a6e887133ae159b9e80b2695d8a4f3e72 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Oct 14 01:30:45 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Oct 14 01:30:45 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c8d15a dev-libs/beecrypt: x86 stable (bug #668280) Package-Manager: Portage-2.3.50, Repoman-2.3.11 Signed-off-by: Thomas Deutschmann gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild index 564e81f5799..2a8720b3073 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/, dev-libs/beecrypt/files/
commit: 46aa079fc5c778a517af846385b728a26e4dd99d Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Sep 27 21:19:00 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Sep 27 21:20:40 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46aa079f dev-libs/beecrypt: tweak for icu-61, bug #666542 On icu-61 built failures look like: include/beecrypt/c++/lang/String.h:76:17: error: ‘UnicodeString’ does not name a type ICU-61 moved all names into icu:: space. The fix is to add 'using icu::'. Reported-by: Juergen Rose Closes: https://bugs.gentoo.org/666542 Package-Manager: Portage-2.3.50, Repoman-2.3.11 dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild | 98 ++ .../beecrypt/files/beecrypt-4.2.1-icu-61.patch | 51 +++ 2 files changed, 149 insertions(+) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild new file mode 100644 index 000..564e81f5799 --- /dev/null +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r5.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 + +DESCRIPTION="General-purpose cryptography library" +HOMEPAGE="https://sourceforge.net/projects/beecrypt/"; +SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+threads java cxx python static-libs doc" +REQUIRED_USE="cxx? ( threads ) + python? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND="!=dev-libs/icu-6.1:= ) + python? ( ${PYTHON_DEPS} )" + +DEPEND="${COMMON_DEPEND} + java? ( >=virtual/jdk-1.4 ) + doc? ( app-doc/doxygen + virtual/latex-base + dev-texlive/texlive-fontsextra + )" +RDEPEND="${COMMON_DEPEND} + java? ( >=virtual/jre-1.4 )" + +DOCS=( BUGS README BENCHMARKS NEWS ) +PATCHES=( + "${FILESDIR}"/${P}-build-system.patch + "${FILESDIR}"/${P}-gcc-4.7.patch + + # Fixes bug 596904 + "${FILESDIR}"/${P}-c++11-allow-throw-in-destructors.patch + "${FILESDIR}"/${P}-cast-uchar.patch #618676 + + "${FILESDIR}"/${P}-icu-61.patch +) + +pkg_setup() { + use python && python-single-r1_pkg_setup + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # ICU needs char16_t support now + # bug 649548 + append-cxxflags -std=c++14 + + # cplusplus needs threads support + ac_cv_java_include=$(use java && java-pkg_get-jni-cflags) \ + econf \ + --disable-expert-mode \ + $(use_enable static-libs static) \ + $(use_enable threads) \ + $(use_with python python "${PYTHON}") \ + $(use_with cxx cplusplus) \ + $(use_with java) +} + +src_compile() { + default + + if use doc; then + pushd include/beecrypt >/dev/null || die + doxygen || die "doxygen failed" + popd >/dev/null || die + HTML_DOCS=( docs/html/*.{css,html,js,png} ) + fi +} + +src_test() { + export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf" + echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" || die + emake check bench +} + +src_install() { + default + + if use python; then + rm -f "${D%/}$(python_get_sitedir)"/_bc.*a || die + fi + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi +} diff --git a/dev-libs/beecrypt/files/beecrypt-4.2.1-icu-61.patch b/dev-libs/beecrypt/files/beecrypt-4.2.1-icu-61.patch new file mode 100644 index 000..68845f612d9 --- /dev/null +++ b/dev-libs/beecrypt/files/beecrypt-4.2.1-icu-61.patch @@ -0,0 +1,51 @@ +On icu-61 built failures look like: + include/beecrypt/c++/lang/String.h:76:17: +error: ‘UnicodeString’ does not name a type + +ICU-61 moved all names into icu:: space. + +The fix is to add 'using icu::'. + +Reported-by: Juergen Rose +Bug: https://bugs.gentoo.org/666542 +--- a/c++/beeyond/DHIESParameterSpec.cxx b/c++/beeyond/DHIESParameterSpec.cxx +@@ -36,2 +36,4 @@ using std::auto_ptr; + #include ++using icu::RegexPattern; ++using icu::RegexMatcher; + +--- a/c++/crypto/Cipher.cxx b/c++/crypto/Cipher.cxx +@@ -30,2 +30,4 @@ using beecrypt::security::Security; + #include ++using icu::RegexMatcher; ++using icu::RegexPattern; + +--- a/c++/lang/Integer.cxx b/c++/lang/Integer.cxx +@@ -29,2 +29,5 @@ using beecrypt::lang::String; + #include ++using icu::Formattable; ++using icu::NumberFormat; ++ + +--- a/c++/lang/Long.cxx b/c++/lang/Long.cxx +@@ -29,2 +29,4 @@ using beecrypt::lang::String; +
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/files/
commit: 6917ced95348bce9dcdaed2a1061b6123d92e402 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 23 13:01:06 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 23 13:20:02 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6917ced9 dev-libs/beecrypt: drop executable bit from patch Package-Manager: Portage-2.3.49, Repoman-2.3.11 .../beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/dev-libs/beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch b/dev-libs/beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch old mode 100755 new mode 100644
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 0692f677947c1b422ab0d896209239e154df3b2d Author: James Le Cuirot gentoo org> AuthorDate: Sat Mar 10 21:58:54 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Mar 10 21:58:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0692f677 dev-libs/beecrypt: Override JNI CFLAG detection with eclass helper The detection was failing for some people. I wasn't able to reproduce this but the detection is a bit convoluted in any case so using the eclass helper is much safer. Closes: https://bugs.gentoo.org/582052 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild index a5e42cb2075..a04082f9c8a 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild @@ -43,7 +43,7 @@ PATCHES=( pkg_setup() { use python && python-single-r1_pkg_setup - use java && java-pkg-opt-2_pkg_setup + java-pkg-opt-2_pkg_setup } src_prepare() { @@ -57,6 +57,7 @@ src_configure() { append-cxxflags -std=c++14 # cplusplus needs threads support + ac_cv_java_include=$(use java && java-pkg_get-jni-cflags) \ econf \ --disable-expert-mode \ $(use_enable static-libs static) \
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: cb5b6050407a1503981b0efd55e151f3a3a328f1 Author: David Seifert gentoo org> AuthorDate: Sat Mar 10 19:23:43 2018 + Commit: David Seifert gentoo org> CommitDate: Sat Mar 10 19:43:28 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb5b6050 dev-libs/beecrypt: Build in C++14 mode Closes: https://bugs.gentoo.org/649548 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild index 69a3ccb8f34..a5e42cb2075 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit autotools java-pkg-opt-2 python-single-r1 +inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 DESCRIPTION="General-purpose cryptography library" HOMEPAGE="https://sourceforge.net/projects/beecrypt/"; @@ -52,6 +52,10 @@ src_prepare() { } src_configure() { + # ICU needs char16_t support now + # bug 649548 + append-cxxflags -std=c++14 + # cplusplus needs threads support econf \ --disable-expert-mode \
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/files/, dev-libs/beecrypt/
commit: e91c58f05f9ebb9cf9d15a1132356051b928fe22 Author: Ulrich Müller gentoo org> AuthorDate: Fri Dec 1 20:23:04 2017 + Commit: Ulrich Müller gentoo org> CommitDate: Fri Dec 1 20:23:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e91c58f0 dev-libs/beecrypt: Fix compilation with >=dev-libs/icu-59. Closes: https://bugs.gentoo.org/618676 Package-Manager: Portage-2.3.16, Repoman-2.3.6 dev-libs/beecrypt/Manifest | 2 +- dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild | 1 + .../beecrypt/files/beecrypt-4.2.1-cast-uchar.patch | 214 + 3 files changed, 216 insertions(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/Manifest b/dev-libs/beecrypt/Manifest index de57828f34d..0fc625fdb93 100644 --- a/dev-libs/beecrypt/Manifest +++ b/dev-libs/beecrypt/Manifest @@ -1 +1 @@ -DIST beecrypt-4.2.1.tar.gz 882758 SHA256 286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d SHA512 59995d53c024efe6344a21ac0d6d55fbe652488a4a22cc6719f9fc3851d56697fa8738937d48aa1e6f9ebe749de61ac3c79a5f0cea793872213c3bdf922e71bc WHIRLPOOL c4a0371d8e2cf37194800867c58e77d72bb59ab464fdff9c561230ece0f288dabdebfdd0ac13382c9ebe45b455ffbfdd81e6a15969dcb86d3d8c8e6635e294bb +DIST beecrypt-4.2.1.tar.gz 882758 BLAKE2B 7ca25613cf95df8657c762d932618979783ea2ddfbaecdf066701d61a5f9ac76bd474a51eb65e140c83ef01880477cb7104e3d67c2fc078ae7b710637d18bb53 SHA512 59995d53c024efe6344a21ac0d6d55fbe652488a4a22cc6719f9fc3851d56697fa8738937d48aa1e6f9ebe749de61ac3c79a5f0cea793872213c3bdf922e71bc diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild index 4d835cb2cd9..69a3ccb8f34 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild @@ -38,6 +38,7 @@ PATCHES=( # Fixes bug 596904 "${FILESDIR}"/${P}-c++11-allow-throw-in-destructors.patch + "${FILESDIR}"/${P}-cast-uchar.patch #618676 ) pkg_setup() { diff --git a/dev-libs/beecrypt/files/beecrypt-4.2.1-cast-uchar.patch b/dev-libs/beecrypt/files/beecrypt-4.2.1-cast-uchar.patch new file mode 100644 index 000..8efedc01e4a --- /dev/null +++ b/dev-libs/beecrypt/files/beecrypt-4.2.1-cast-uchar.patch @@ -0,0 +1,214 @@ +beecrypt's c++ api uses jchar arrays for strings, while ICU 59 expects +char16_t type + +In practice these both seem to be defined as short int on amd64 so it +might be okay to just reinterpret_cast them? There's probably no easy +way out on a platform where char16_t won't match jchar + +Patch by Valeriy Malov +https://bugs.gentoo.org/618676 + +--- a/c++/io/DataInputStream.cxx b/c++/io/DataInputStream.cxx +@@ -201,7 +201,7 @@ String DataInputStream::readUTF() throw (IOException) + jchar* buffer = new jchar[ulen+1]; + + status = U_ZERO_ERROR; +- ucnv_toUChars(_utf, buffer, ulen+1, (const char*) data, (jint) utflen, &status); ++ ucnv_toUChars(_utf, reinterpret_cast(buffer), ulen+1, (const char*) data, (jint) utflen, &status); + + delete[] data; + +@@ -232,7 +232,7 @@ String DataInputStream::readLine() throw (IOException) + + array target_buffer(80); + jint target_offset = 0; +-UChar* target = target_buffer.data(); ++UChar* target = reinterpret_cast(target_buffer.data()); + const UChar* target_limit = target+1; + char source_buffer[MAX_BYTES_PER_CHARACTER]; + const char* source = source_buffer; +--- a/c++/io/DataOutputStream.cxx b/c++/io/DataOutputStream.cxx +@@ -187,7 +187,7 @@ void DataOutputStream::writeUTF(const String& str) throw (IOException) + const array& src = str.toCharArray(); + + // the expected status code here is U_BUFFER_OVERFLOW_ERROR +- jint need = ucnv_fromUChars(_utf, 0, 0, src.data(), src.size(), &status); ++ jint need = ucnv_fromUChars(_utf, 0, 0, reinterpret_cast(src.data()), src.size(), &status); + if (U_FAILURE(status)) + if (status != U_BUFFER_OVERFLOW_ERROR) + throw IOException("ucnv_fromUChars failed"); +@@ -200,7 +200,7 @@ void DataOutputStream::writeUTF(const String& str) throw (IOException) + status = U_ZERO_ERROR; + + // the expected status code here is U_STRING_NOT_TERMINATED_WARNING +- ucnv_fromUChars(_utf, (char*) buffer, need, src.data(), src.size(), &status); ++ ucnv_fromUChars(_utf, (char*) buffer, need, reinterpret_cast(src.data()), src.size(), &status); + if (status != U_STRING_NOT_TERMINATED_WARNING) + { + delete[] buffer; +--- a/c++/io/PrintStream.cxx b/c++/io/PrintStream.cxx +@@ -191,7 +191,7 @@ void PrintStream::print(jchar ch) throw () + UErrorCode status = U_ZERO_ERROR; + + // do conversion of one character +- size_t used = ucnv_fromUChars(_loc, buffer, 8, &ch, 1, &status); ++
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: d5aff677027246892ba292891f6bf8209e0860d1 Author: Amy Liffey gentoo org> AuthorDate: Mon Feb 20 14:29:21 2017 + Commit: Amy Liffey gentoo org> CommitDate: Mon Feb 20 14:30:06 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5aff677 dev-libs/beecrypt: remove old, bug #582052 - Fix keywords Package-Manager: portage-2.3.0 dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild | 85 -- dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild | 4 +- 2 files changed, 2 insertions(+), 87 deletions(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild deleted file mode 100644 index 7823badb13..00 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils multilib autotools java-pkg-opt-2 python-single-r1 - -DESCRIPTION="general-purpose cryptography library" -HOMEPAGE="https://sourceforge.net/projects/beecrypt/"; -SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" -IUSE="+threads java cxx python static-libs doc" - -COMMONDEPEND="!=dev-libs/icu-2.8:= ) - python? ( ${PYTHON_DEPS} )" - -DEPEND="${COMMONDEPEND} - java? ( >=virtual/jdk-1.4 ) - doc? ( app-doc/doxygen - virtual/latex-base - dev-texlive/texlive-fontsextra - )" -RDEPEND="${COMMONDEPEND} - java? ( >=virtual/jre-1.4 )" - -DOCS="BUGS README BENCHMARKS NEWS" - -REQUIRED_USE="cxx? ( threads ) - python? ( ${PYTHON_REQUIRED_USE} )" - -pkg_setup() { - use python && python-single-r1_pkg_setup - use java && java-pkg-opt-2_pkg_setup -} - -src_prepare() { - java-pkg-opt-2_src_prepare - - epatch "${FILESDIR}"/${P}-build-system.patch - epatch "${FILESDIR}"/${P}-gcc-4.7.patch - eautoreconf -} - -src_configure() { - # cpluscplus needs threads support - econf \ - --disable-expert-mode \ - $(use_enable static-libs static) \ - $(use_enable threads) \ - $(use_with python python "${PYTHON}") \ - $(use_with cxx cplusplus) \ - $(use_with java) -} - -src_compile() { - default - - if use doc; then - cd include/beecrypt || die - doxygen || die "doxygen failed" - fi -} - -src_test() { - export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf" - echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" - emake check - emake bench -} - -src_install() { - default - use python && rm -f "${D%/}$(python_get_sitedir)"/_bc.*a - - use static-libs || find "${ED}" -name '*.la' -delete - - use doc && dohtml -r docs/html/. -} diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild index e0bf957fa4..892c83f13d 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" REQUIRED_USE="cxx? ( threads ) python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 3dcc299290d33f4bd4b5937d96ff3a216d31a86c Author: Mike Gilbert gentoo org> AuthorDate: Sun Oct 23 15:49:24 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Sun Oct 23 15:49:45 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dcc2992 dev-libs/beecrypt: add missing 'use' Package-Manager: portage-2.3.2 dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild index fe156b4..e0bf957 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild @@ -82,7 +82,7 @@ src_test() { src_install() { default - if python; then + if use python; then rm -f "${D%/}$(python_get_sitedir)"/_bc.*a || die fi if ! use static-libs; then
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/files/, dev-libs/beecrypt/
commit: 34e8da00ccfbb0f6d50c78dfce6ada72a971c568 Author: Peter-Levine gmail com> AuthorDate: Thu Oct 13 22:40:20 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Oct 23 14:17:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e8da00 dev-libs/beecrypt: Allow for compiling with GCC 6 Gentoo-bug: 596904 * EAPI=6 * Improve DOCS and HTML_DOCS handling * Minor QA fixes Closes: https://github.com/gentoo/gentoo/pull/2551 Signed-off-by: David Seifert gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild | 91 ++ ...pt-4.2.1-c++11-allow-throw-in-destructors.patch | 26 +++ .../beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch| 4 +- 3 files changed, 119 insertions(+), 2 deletions(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild new file mode 100644 index ..fe156b4 --- /dev/null +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r4.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools java-pkg-opt-2 python-single-r1 + +DESCRIPTION="General-purpose cryptography library" +HOMEPAGE="https://sourceforge.net/projects/beecrypt/"; +SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" +IUSE="+threads java cxx python static-libs doc" +REQUIRED_USE="cxx? ( threads ) + python? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND="!=dev-libs/icu-2.8:= ) + python? ( ${PYTHON_DEPS} )" + +DEPEND="${COMMON_DEPEND} + java? ( >=virtual/jdk-1.4 ) + doc? ( app-doc/doxygen + virtual/latex-base + dev-texlive/texlive-fontsextra + )" +RDEPEND="${COMMONDEPEND} + java? ( >=virtual/jre-1.4 )" + +DOCS=( BUGS README BENCHMARKS NEWS ) +PATCHES=( + "${FILESDIR}"/${P}-build-system.patch + "${FILESDIR}"/${P}-gcc-4.7.patch + + # Fixes bug 596904 + "${FILESDIR}"/${P}-c++11-allow-throw-in-destructors.patch +) + +pkg_setup() { + use python && python-single-r1_pkg_setup + use java && java-pkg-opt-2_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # cplusplus needs threads support + econf \ + --disable-expert-mode \ + $(use_enable static-libs static) \ + $(use_enable threads) \ + $(use_with python python "${PYTHON}") \ + $(use_with cxx cplusplus) \ + $(use_with java) +} + +src_compile() { + default + + if use doc; then + pushd include/beecrypt >/dev/null || die + doxygen || die "doxygen failed" + popd >/dev/null || die + HTML_DOCS=( docs/html/*.{css,html,js,png} ) + fi +} + +src_test() { + export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf" + echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" || die + emake check bench +} + +src_install() { + default + + if python; then + rm -f "${D%/}$(python_get_sitedir)"/_bc.*a || die + fi + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi +} diff --git a/dev-libs/beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch b/dev-libs/beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch new file mode 100755 index ..0cb291d --- /dev/null +++ b/dev-libs/beecrypt/files/beecrypt-4.2.1-c++11-allow-throw-in-destructors.patch @@ -0,0 +1,26 @@ +--- beecrypt-4.2.1/include/beecrypt/c++/lang/Object.h.old 2016-10-12 18:40:10.878868563 -0400 beecrypt-4.2.1/include/beecrypt/c++/lang/Object.h 2016-10-12 19:17:22.508857979 -0400 +@@ -145,7 +145,11 @@ + waiter* prev; + + waiter(bc_threadid_t owner, unsigned int lock_count); ++#if __cplusplus < 201103L + ~waiter(); ++#else ++ ~waiter() noexcept(false); ++#endif + }; + + waiter* _lock_head; +--- beecrypt-4.2.1/c++/lang/Object.cxx.old 2016-10-12 18:40:39.024665316 -0400 beecrypt-4.2.1/c++/lang/Object.cxx 2016-10-12 19:14:41.630529720 -0400 +@@ -767,6 +767,9 @@ + } + + Object::FairMonitor::waiter::~waiter() ++#if __cplusplus >= 201103L ++noexcept(false) ++#endif + { + #if WIN32 + if (!CloseHandle(event)) diff --git a/dev-libs/beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch b/dev-libs/beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch index 64d513b..dff5d8c 100644 --- a/dev-libs/beecrypt/files/beecrypt-4.2.1-gcc-4.7.patch +++ b/dev-li
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 1e403545c180c3cbd95481c38207d0536d1f7599 Author: Pacho Ramos gentoo org> AuthorDate: Tue Oct 18 19:14:58 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Tue Oct 18 19:26:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e403545 dev-libs/beecrypt: Drop old Package-Manager: portage-2.3.1 dev-libs/beecrypt/beecrypt-4.2.1.ebuild | 87 - 1 file changed, 87 deletions(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1.ebuild deleted file mode 100644 index b221f1f.. --- a/dev-libs/beecrypt/beecrypt-4.2.1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 -PYTHON_DEPEND="python? 2" - -inherit eutils multilib autotools java-pkg-opt-2 python - -DESCRIPTION="general-purpose cryptography library" -HOMEPAGE="https://sourceforge.net/projects/beecrypt/"; -SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="java cxx python static-libs threads doc" - -COMMONDEPEND="!=dev-libs/icu-2.8 )" - -DEPEND="${COMMONDEPEND} - java? ( >=virtual/jdk-1.4 ) - doc? ( app-doc/doxygen - virtual/latex-base - dev-texlive/texlive-fontsextra - )" -RDEPEND="${COMMONDEPEND} - java? ( >=virtual/jre-1.4 )" - -DOCS="BUGS README BENCHMARKS NEWS" - -REQUIRED_USE="cxx? ( threads )" - -pkg_setup() { - if use python; then - python_set_active_version 2 - python_pkg_setup - java-pkg-opt-2_pkg_setup - fi -} - -src_prepare() { - java-pkg-opt-2_src_prepare - - use python && python_convert_shebangs -r 2 . - - epatch "${FILESDIR}"/${P}-build-system.patch - epatch "${FILESDIR}"/${P}-gcc-4.7.patch - eautoreconf -} - -src_configure() { - # cpluscplus needs threads support - econf \ - --disable-expert-mode \ - $(use_enable static-libs static) \ - $(use_enable threads) \ - $(use_with python python "${EPREFIX}"/usr/bin/python2) \ - $(use_with cxx cplusplus) \ - $(use_with java) -} - -src_compile() { - default - - if use doc; then - cd include/beecrypt - doxygen || die "doxygen failed" - fi -} - -src_test() { - export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf" - echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}" - emake check - emake bench -} - -src_install() { - default - rm -f "${ED}"/usr/$(get_libdir)/python*/site-packages/_bc.*a - - use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + - - use doc && dohtml -r docs/html/. -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 2f50a68fc25cd336e64a28b64891cf2354a005d8 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Oct 5 14:52:19 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Oct 5 14:53:36 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f50a68f dev-libs/beecrypt: Stable for PPC64 (bug #577864). Package-Manager: portage-2.3.1 RepoMan-Options: --ignore-arches dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild index b8f2de1..7823bad 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" COMMONDEPEND="!
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: bdc0ce3090c0861119060201bef8bf28e87d7da8 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Aug 3 04:02:12 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Aug 3 04:02:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdc0ce30 dev-libs/beecrypt: Stable for HPPA (bug #577864). Package-Manager: portage-2.3.0 RepoMan-Options: --ignore-arches dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild index 3beacd1..b8f2de1 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ~ia64 ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" COMMONDEPEND="!
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 153bb7584102ed6e4db0de27d0cf49ffcdefcc38 Author: Tobias Klausmann gentoo org> AuthorDate: Sat May 28 15:28:51 2016 + Commit: Tobias Klausmann gentoo org> CommitDate: Sat May 28 15:28:51 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=153bb758 dev-libs/beecrypt-4.2.1-r3: add alpha keyword Gentoo-Bug: 577864 Package-Manager: portage-2.3.0_rc1 dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild index ef5902b..d110189 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" +KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" COMMONDEPEND="!
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 596ea82118a1069596a766f52de199ec825126bf Author: Markus Meier gentoo org> AuthorDate: Fri Apr 1 19:16:01 2016 + Commit: Markus Meier gentoo org> CommitDate: Fri Apr 1 19:16:01 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=596ea821 dev-libs/beecrypt: arm stable, bug #577864 Package-Manager: portage-2.2.28 RepoMan-Options: --include-arches="arm" dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild index 4d7726e..ef5902b 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" COMMONDEPEND="!
[gentoo-commits] repo/gentoo:master commit in: dev-libs/beecrypt/
commit: 67d5b0e3aafe9a0ebeb4b3cb6483f4dcb4684b4b Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Mar 22 14:31:23 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Mar 22 14:31:23 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d5b0e3 dev-libs/beecrypt: amd64 stable wrt bug #577864 Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild index 6f01165..4d7726e 100644 --- a/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild +++ b/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos" IUSE="+threads java cxx python static-libs doc" COMMONDEPEND="!