ChangeLog

# ChangeLog for dev-libs/beecrypt
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.59 2008/04/29 19:20:20 aballier Exp $

29 Apr 2008; Alexis Ballier
beecrypt-4.1.2-r2.ebuild:
Convert to latex-base, fix deps with texlive, bug #213707

13 Jan 2008; Mike Frysinger beecrypt-4.1.2-r1.ebuild,
beecrypt-4.1.2-r2.ebuild:
Do not let the configure script decide the lib64. Make it respect the
standard configure --libdir option.

02 Jun 2007; Alon Bar-Lev
-files/beecrypt-3.1.0-alpha.patch, -files/beecrypt-3.1.0-athlon.diff,
-files/beecrypt-3.1.0-python2.3.patch, -beecrypt-3.1.0-r2.ebuild:
Remove old ebuilds

02 Jun 2007; Joshua Kinard beecrypt-4.1.2-r1.ebuild:
Stable on mips, per #157858.

05 Mar 2007; Sandro Bonazzola ChangeLog:
Removing myself from metadata.xml as I'm stepping back.

07 Feb 2007; Sandro Bonazzola
beecrypt-4.1.2-r1.ebuild, beecrypt-4.1.2-r2.ebuild:
Replace flag pentium4m with pentium4, fix bug #165635. Thanks to Jiri
Pittner for reporting and to Jackub Moc for
his patience.

24 Jan 2007; Alec Warner beecrypt-4.1.2-r2.ebuild:
fix minor bug with USE=doc, bug # 163375

*beecrypt-4.1.2-r2 (22 Jan 2007)

22 Jan 2007; Sandro Bonazzola
+files/beecrypt-4.1.2-base64.patch, -beecrypt-3.1.0-r1.ebuild,
+beecrypt-4.1.2-r2.ebuild:
New doc use flag for doxygen api documentation. Including a patch from
Miloslav Trmac from Fedora beecrypt rpm: fix b64encode()
for data starting with NUL.
Removed obsolete ebuild. Waiting mips stabilization for removing latest 3.x
series ebuild.

12 Jan 2007; Alon Bar-Lev beecrypt-4.1.2-r1.ebuild:
Remove WANT_AUTO*

04 Jan 2007; Sandro Bonazzola -beecrypt-4.1.2.ebuild:
Removed broken ebuild, obsoleted by 4.1.2-r1. Fix bug #160004, Thanks to
Diego Pettenò for reporting.

31 Dec 2006; Bryan Østergaard
beecrypt-4.1.2-r1.ebuild:
Add ~alpha keyword, bug 157858.

26 Dec 2006; Sandro Bonazzola
beecrypt-4.1.2-r1.ebuild:
Fix incorrect behaviour with CHOST!="x86_64-..." and any -march flags
related to x86_64.

26 Dec 2006; Jeroen Roovers beecrypt-4.1.2-r1.ebuild:
Stable for HPPA (bug #157858).

21 Dec 2006; Markus Rothe beecrypt-4.1.2-r1.ebuild:
Stable on ppc64; bug #157858

20 Dec 2006; Sandro Bonazzola
beecrypt-4.1.2-r1.ebuild:
Fix incorrect behaviour with CHOST="i686-..." and CFLAGS="-march=athlon64
...", bug #158109. Thanks to Robert Golding for
reporting.

16 Dec 2006; nixnut beecrypt-4.1.2-r1.ebuild:
Stable on ppc wrt bug 157858

13 Dec 2006; Peter Weller ChangeLog:
Fixed digest.

12 Dec 2006; Peter Weller beecrypt-4.1.2-r1.ebuild:
Added amd64 keyword wrt bug #157858

12 Dec 2006; Gustavo Zacarias
beecrypt-4.1.2-r1.ebuild:
Stable on sparc wrt #157858

12 Dec 2006; Christian Faulhammer
beecrypt-4.1.2-r1.ebuild:
stable x86, bugs #157858

13 Nov 2006; Sandro Bonazzola metadata.xml,
beecrypt-4.1.2-r1.ebuild:
Adding missing dependencies on virtual/jdk and virtual/jre. Inheriting
java-pkg-opt-2 fixing bug# 153750. Thanks to Petteri Räty for his help and
Sawk for reporting.

24 Oct 2006; Alon Bar-Lev
files/beecrypt-4.1.2-build.patch:
Fixed athlon64 asm (again), closes again bug#152575

24 Oct 2006; Sandro Bonazzola
files/beecrypt-4.1.2-build.patch:
Fix multilib issues, see bug #152689.

23 Oct 2006; Alon Bar-Lev
files/beecrypt-4.1.2-build.patch:
Fixed stack execution, this is the farest I can

23 Oct 2006; Alon Bar-Lev
-files/beecrypt-4.1.2-asm.patch, +files/beecrypt-4.1.2-build.patch,
-files/beecrypt-4.1.2-configure-ac.patch, beecrypt-4.1.2-r1.ebuild:
Fixed athlon64 (again), bug#152575

23 Oct 2006; Alon Bar-Lev
files/beecrypt-4.1.2-asm.patch:
Added athlon64 asm support, bug#152575

23 Oct 2006; Alon Bar-Lev
+files/beecrypt-4.1.2-asm.patch, +files/beecrypt-4.1.2-threads.patch,
beecrypt-4.1.2-r1.ebuild:
Fixed assembly and threading issues

16 Oct 2006; Mike Frysinger
+files/beecrypt-4.1.2-gcc4.patch, beecrypt-4.1.2-r1.ebuild:
Fixes from upstream for building with gcc-4 #150579 by David Pyke.

16 Oct 2006; Mike Frysinger
files/beecrypt-4.1.2-configure-ac.patch, beecrypt-4.1.2-r1.ebuild:
Grab more fixes from upstream so we dont need flag filtering hacks.

15 Jun 2006; Sandro Bonazzola
+files/beecrypt-4.1.2-configure-ac.patch,
+files/beecrypt-4.1.2-python-Makefile-am.patch,
+files/beecrypt-4.1.2-python-debug-py-c.patch, +metadata.xml,
beecrypt-4.1.2-r1.ebuild:
Fixing ebuild headers, adding metadata.xml. Updated without bumping
beecrypt-4.1.2-r1 ebuild.
This ebuild uses upstream patches from cvs. Fixes python test failures on
pentium3, athlon-xp, pentium-mmx; provides a workaround for pentium-m and
athlon64. The ebuild is far from perfection, see bug #124900 for known
issues. Thanks to Benedikt Boehm, #gentoo-python, #gentoo-amd64-dev,
#gentoo-java for their support.

*beecrypt-4.1.2-r1 (18 Jan 2006)

18 Jan 2006; Mike Frysinger
+files/beecrypt-4.1.2-custom-cflags.patch, +beecrypt-4.1.2-r1.ebuild:
Cleanup build system and add sh love.

11 Aug 2005; Herbie Hopkins beecrypt-4.1.2.ebuild:
Fix install path of python module on multilib systems.

03 Jul 2005; Hardave Riar beecrypt-3.1.0-r2.ebuild:
Stable on mips, dep for bug #91792.

*beecrypt-4.1.2 (26 Jun 2005)

26 Jun 2005; Daniel Black
+files/beecrypt-4.1.2-athlon.patch, +beecrypt-4.1.2.ebuild:
version bump with help from author Bob Deblier

06 Apr 2005; Markus Rothe beecrypt-3.1.0-r2.ebuild:
Stable on ppc64

02 Apr 2005; Jeremy Huddleston
beecrypt-3.1.0-r2.ebuild:
Fix compilation on amd64.

17 Feb 2005; Markus Rothe beecrypt-3.1.0-r2.ebuild:
Added ~ppc64 to KEYWORDS

29 Dec 2004; Ilya A. Volynets-Evenbach
beecrypt-3.1.0-r2.ebuild:
mark ~mips

*beecrypt-3.1.0-r2 (13 Apr 2004)

23 Oct 2004; Stefan Jones :
Block
16 Apr 2004; Stefan Jones
beecrypt-3.1.0-r2.ebuild:
Now bump to stable AFTER testing!

15 Apr 2004; Stefan Jones
beecrypt-3.1.0-r2.ebuild file/beecrypt-3.1.0-athlon.diff:
Patch configure not configure.ac and remove autogen.sh
Fixes bugs 47868 and 47852

13 Apr 2004; Stefan Jones beecrypt-3.1.0-r2.ebuild:
New version which will work!
( fix the inline assembly functions nit linking)

12 Apr 2004; Stefan Jones beecrypt-3.1.0-r1.ebuild:
Fix athlon in mcpu or march, #47592

11 Apr 2004; Stefan Jones beecrypt-3.1.0-r1.ebuild:
Mark as stable for the rest of the archs
Also add scanning of CFLAGS to set optimisations

25 Feb 2004; Daniel Ahlberg beecrypt-3.1.0-r1.ebuild:
Stable on amd64.

24 Jan 2004; Alastair Tse beecrypt-3.1.0-r1.ebuild,
files/beecrypt-3.1.0-python2.3.patch:
added patch for python2.3, thanks to Vaclav Slavik
(#39282)

15 Jan 2004; beecrypt-3.1.0-r1.ebuild:
stable on alpha and ia64

13 Jan 2004; Jon Portnoy beecrypt-3.1.0-r1.ebuild :
AMD64 keywords.

14 Nov 2003; beecrypt-3.1.0.ebuild:
changed mips in ~mips

13 Nov 2003; beecrypt-3.1.0.ebuild:
added mips to KEYWORDS

12 Nov 2003; Aron Griffis beecrypt-3.1.0-r1.ebuild,
files/beecrypt-3.1.0-alpha.patch:
This library's makefiles are way too smart for its own good. If you update
configure.ac, then the makefiles notice and insist on rebuilding half a dozen
other things (even after you run autoconf). The end result is that mpopt.s is
emptied and undefined symbols appear in the library.

Modified the patch to affect configure instead of configure.ac so that
autoconf isn't required and the build system doesn't screw up.

11 Nov 2003; Aron Griffis beecrypt-3.1.0-r1.ebuild:
Fix autoconf whoops which caused mpopt.s to fail to build because the
makefiles are too smart...

*beecrypt-3.1.0-r1 (11 Nov 2003)

11 Nov 2003; Aron Griffis beecrypt-3.1.0-r1.ebuild,
files/beecrypt-3.1.0-alpha.patch:
Fix installation on alpha to usr /usr/lib instead of /usr/lib64

28 Oct 2003; Stefan Jones :
block Accident waiting to happen, see #32100

23 Oct 2003; Michael Sterrett beecrypt-3.1.0.ebuild:
tidy; use use_with; more error checking/messages

*beecrypt-3.1.0 (21 Oct 2003)

22 Oct 2003; Stefan Jones :
Removed making docs; a lot of bother for no payoff!

21 Oct 2003; Stefan Jones :
New ebuild, required for app-arch/rpm-4.2.1

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX beecrypt-4.1.2-athlon.patch 700 RMD160 f5026638df29a94f5a77ca42d29a5d9dd3d7e103 SHA1 7faca3ef443441629fad21751ba176108012088a SHA256 cc3eacd51054126b101c43592f75ed755161b680bdf5ab0c1b7ffef8f076534f
AUX beecrypt-4.1.2-base64.patch 414 RMD160 8990c65079b5623a1995b524beacd028a516f5f8 SHA1 095b6e17b972e00512c627ba9fd473e4acc7e546 SHA256 ba378900e17872ff3efb55e71a68e371b0f027c8b162b9e02a742fc4acd2fc3a
AUX beecrypt-4.1.2-build.patch 5255 RMD160 3f66e4bcb8b86672f7479d3ea4fbb5cad3213bf6 SHA1 dba7a9e5fe0fbd9bc2c62579c63353d013db059f SHA256 b148f400ab405a0d33511220bf38f3ed0ea6f1f054af9227bae0504b1cbbbd93
AUX beecrypt-4.1.2-custom-cflags.patch 1923 RMD160 29270a2fd07996a2362ff3344a95929385b119d7 SHA1 9a1a5e5f4efdc35d967207e2420e8723749b2ad5 SHA256 474b2c61885e68af31e489adadb0130c47437022b05050c9a2c7fe98e4444cb3
AUX beecrypt-4.1.2-gcc4.patch 1163 RMD160 f3af93f4491752afa870d29224e0ecda6b17622a SHA1 93a484a44cc6e9d8ae4ba3bbb774d04d9aaec0d2 SHA256 8fc8a2c652fdce419327e5bc176bc0abcc42d69588a136459cb915dc1950b4ad
AUX beecrypt-4.1.2-python-Makefile-am.patch 311 RMD160 dd271f87a2cff9042007e69e1238513e8c4fffa0 SHA1 b7b262aa484925ef57ed1869c2a548c564810d96 SHA256 fba9950605602ae777c540c7a0c07d90547cb26edfa36df481c767be11d2c9b3
AUX beecrypt-4.1.2-python-debug-py-c.patch 887 RMD160 414bc978cae368facdcb6fbaae9f80edd1c2ec16 SHA1 b53bed1526ffd3671955558461d5059ed9c912ed SHA256 4a31c4f7591334e9ea1dffc314f924e6379aed2818ce95c85e3f970054538c98
AUX beecrypt-4.1.2-threads.patch 2142 RMD160 96b4dc0ebd5bc28228e063987987f3db2817621a SHA1 f3e252258a3d4e253df3735951ae3dfaff2f6132 SHA256 c8bdc84848ec24330fd3973fb84cef2eaaa1d8e845039dc5a0d0f6bc4c4345da
DIST beecrypt-4.1.2.tar.gz 774280 RMD160 fe26e5429738450fa2ef00b37e9725eec29bda08 SHA1 71cebd3329bb2561ffba24a2004dfac50b143f59 SHA256 f29eb246947677a9e7870521e3d576fd0d91a7072210a4404ed137e40cfc18fd
EBUILD beecrypt-4.1.2-r1.ebuild 2286 RMD160 10a54ee448ccbe1047367e558a68f219f81dcff8 SHA1 2312c8c54a6f75eff58a03e93a8f61b92b171ee2 SHA256 a748628ae10789d1176120de09ea7311ad597196a6d96f0223a9ec58c35e0145
EBUILD beecrypt-4.1.2-r2.ebuild 2566 RMD160 2acd5ddc0c5c7da8d4840551a77d86fa147aff26 SHA1 99b689ddcc3879585fbdc31da288954bdbd0e3c8 SHA256 96aea8cd846ea39a43e199e70e703d8988176508ec3eb742b33ce7a23a885cca
MISC ChangeLog 9718 RMD160 e6c4cb6344fb30c544452bfed74bb5aca113acba SHA1 c37efafcb2912d6e999fa30e7bbdd8cda284c284 SHA256 115638db841dcb5fbb3c6c0e75ca463fa287e0353010c8bdfc3ccfe963c42dc5
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkgXdQUACgkQvFcC4BYPU0qN+QCfTf1sS857zFaOyTCIcmFdIVdr
lWMAn1/sYN36eRhchfqTcP+Ee3W5pLfO
=Tpeq
-----END PGP SIGNATURE-----

beecrypt-4.1.2-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.1.2-r1.ebuild,v 1.22 2008/01/13 01:02:25 vapier Exp $

inherit flag-o-matic eutils multilib autotools java-pkg-opt-2

DESCRIPTION="general-purpose cryptography library"
HOMEPAGE="http://sourceforge.net/projects/beecrypt"
SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
IUSE="java nocxx python threads"

COMMONDEPEND="python? ( >=dev-lang/python-2.2 )
!
DEPEND="${COMMONDEPEND}
java? ( >=virtual/jdk-1.4 )"

RDEPEND="${COMMONDEPEND}
java? ( >=virtual/jre-1.4 )"

pkg_setup() {
java-pkg-opt-2_pkg_setup
}

src_unpack() {
unpack ${A}
cd "${S}"
# Set correct python libdir on multilib systems
sed -i -e 's:get_python_lib():get_python_lib(1,0):' \
configure.ac || die "sed failed"
# let configure figure out libpaths, not a pokey build system
sed -i \
-e '/^libaltdir=/s:=.*:=$(libdir):' \
$(find . -name Makefile.am) || die

# upstream patches from CVS
epatch "${FILESDIR}/${P}-python-Makefile-am.patch"
epatch "${FILESDIR}/${P}-python-debug-py-c.patch"
epatch "${FILESDIR}/${P}-build.patch"
epatch "${FILESDIR}/${P}-gcc4.patch"
epatch "${FILESDIR}/${P}-threads.patch"
eautoreconf
}

src_compile() {
local myarch=$(get-flag march)
[[ -z ${myarch} ]] && myarch=${CHOST%%-*}
[[ ${myarch} == "athlon64" || ${myarch} == "k8" || ${myarch} == "opteron" || ${myarch} == "athlon-fx" ]] && \
[[ ${CHOST%%-*} != "x86_64" ]] && myarch=${CHOST%%-*}
replace-flags pentium4m pentium4
econf \
$(use_enable threads) \
$(use_with !nocxx cplusplus) \
$(use_with java) \
$(use_with python) \
--with-arch=${myarch} \
--libdir=/usr/$(get_libdir) \
|| die
emake || die "emake failed"
}

src_test() {
export BEECRYPT_CONF_FILE=${T}/beecrypt-test.conf
echo provider.1=${S}/c++/provider/.libs/base.so > ${BEECRYPT_CONF_FILE}
make check || die "self test failed"
}

src_install() {
emake DESTDIR="${D}" install || die "make install failed"
# Not needed
rm -f "${D}"/usr/$(get_libdir)/python*/site-packages/_bc.*a
dodoc BUGS README BENCHMARKS NEWS || die "dodoc failed"
}

beecrypt-4.1.2-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.1.2-r2.ebuild,v 1.5 2008/04/29 19:20:20 aballier Exp $

inherit flag-o-matic eutils multilib autotools java-pkg-opt-2

DESCRIPTION="general-purpose cryptography library"
HOMEPAGE="http://sourceforge.net/projects/beecrypt"
SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="java nocxx python threads doc"

COMMONDEPEND="python? ( >=dev-lang/python-2.2 )
!
DEPEND="${COMMONDEPEND}
java? ( >=virtual/jdk-1.4 )
doc? ( app-doc/doxygen
virtual/latex-base
|| ( dev-texlive/texlive-fontsextra app-text/tetex app-text/ptex ) )"
RDEPEND="${COMMONDEPEND}
java? ( >=virtual/jre-1.4 )"

pkg_setup() {
java-pkg-opt-2_pkg_setup
}

src_unpack() {
unpack ${A}
cd "${S}"
# Set correct python libdir on multilib systems
sed -i -e 's:get_python_lib():get_python_lib(1,0):' \
configure.ac || die "sed failed"
# let configure figure out libpaths, not a pokey build system
sed -i \
-e '/^libaltdir=/s:=.*:=$(libdir):' \
$(find . -name Makefile.am) || die
epatch "${FILESDIR}"/${P}-python-Makefile-am.patch
epatch "${FILESDIR}"/${P}-python-debug-py-c.patch
epatch "${FILESDIR}"/${P}-build.patch
epatch "${FILESDIR}"/${P}-gcc4.patch
epatch "${FILESDIR}"/${P}-threads.patch
epatch "${FILESDIR}"/${P}-base64.patch
eautoreconf
}

src_compile() {
local myarch=$(get-flag march)
[[ -z ${myarch} ]] && myarch=${CHOST%%-*}
[[ ${myarch} == "athlon64" || ${myarch} == "k8" || ${myarch} == "opteron" || ${myarch} == "athlon-fx" ]] && \
[[ ${CHOST%%-*} != "x86_64" ]] && myarch=${CHOST%%-*}
replace-flags pentium4m pentium4
econf \
$(use_enable threads) \
$(use_with !nocxx cplusplus) \
$(use_with java) \
$(use_with python) \
--with-arch=${myarch} \
--libdir=/usr/$(get_libdir) \
|| die
emake || die "emake failed"
use doc && doxygen
}

src_test() {
export BEECRYPT_CONF_FILE=${T}/beecrypt-test.conf
echo provider.1=${S}/c++/provider/.libs/base.so > ${BEECRYPT_CONF_FILE}
make check || die "self test failed"
make bench || die "self benchmark test failed"
}

src_install() {
emake DESTDIR="${D}" install || die "make install failed"
# Not needed
rm -f "${D}"/usr/$(get_libdir)/python*/site-packages/_bc.*a
dodoc BUGS README BENCHMARKS NEWS || die "dodoc failed"
if use doc ; then
dohtml -r docs/html/. || die "dohtml failed"
fi
}

files

metadata.xml




no-herd

maintainer-needed@gentoo.org