diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2005-11-02 03:38:45 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2005-11-02 03:38:45 +0000 |
commit | 8736601db8fccd0de110f29602c7f07200d3ed0a (patch) | |
tree | de912e3c12fc42ff6a258acfee55856b1aa99653 /dev-libs/cryptlib | |
parent | minor fix (diff) | |
download | gentoo-2-8736601db8fccd0de110f29602c7f07200d3ed0a.tar.gz gentoo-2-8736601db8fccd0de110f29602c7f07200d3ed0a.tar.bz2 gentoo-2-8736601db8fccd0de110f29602c7f07200d3ed0a.zip |
version bump, general ebuild cleanup, optional manual is now uploaded to gentoo-mirrors (original had no version tag), added ~amd64 (compiles fine and seems to work).
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'dev-libs/cryptlib')
-rw-r--r-- | dev-libs/cryptlib/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/cryptlib/Manifest | 18 | ||||
-rw-r--r-- | dev-libs/cryptlib/cryptlib-3.2.2.ebuild | 64 | ||||
-rw-r--r-- | dev-libs/cryptlib/files/digest-cryptlib-3.2.2 | 2 |
4 files changed, 80 insertions, 14 deletions
diff --git a/dev-libs/cryptlib/ChangeLog b/dev-libs/cryptlib/ChangeLog index 4cf9d37e1d2f..f3b30fd4a8d2 100644 --- a/dev-libs/cryptlib/ChangeLog +++ b/dev-libs/cryptlib/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/cryptlib # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/ChangeLog,v 1.10 2005/08/20 08:09:58 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/ChangeLog,v 1.11 2005/11/02 03:38:45 sbriesen Exp $ + +*cryptlib-3.2.2 (02 Nov 2005) + + 02 Nov 2005; Stefan Briesenick <sbriesen@gentoo.org> + +cryptlib-3.2.2.ebuild: + version bump, general ebuild cleanup, optional manual is now uploaded to + gentoo-mirrors (original had no version tag), added ~amd64 (compiles fine + and seems to work). *cryptlib-3.2.1 (20 Aug 2005) diff --git a/dev-libs/cryptlib/Manifest b/dev-libs/cryptlib/Manifest index 1123afe6d744..564b253df166 100644 --- a/dev-libs/cryptlib/Manifest +++ b/dev-libs/cryptlib/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 e8ee9d0e7d7080c18fb2fb83617b806f ChangeLog 2255 -MD5 1dedee7a3250a51625eecd30517141ae cryptlib-3.2.ebuild 1669 -MD5 243594eeb2106bc851cb98b68fbd0b3c metadata.xml 217 MD5 e52f3dfabac86d07aaf126678d49af35 cryptlib-3.2.1.ebuild 1643 -MD5 e03b101c9f3f5cf0fcb1b32670788bdd files/digest-cryptlib-3.2.1 111 +MD5 978eeecde357b80dd093cc75999127e4 cryptlib-3.2.2.ebuild 1621 +MD5 1dedee7a3250a51625eecd30517141ae cryptlib-3.2.ebuild 1669 MD5 ee1413d8c49650dde4b95ffe4b5bb8c6 files/digest-cryptlib-3.2 110 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDBuVqmdTrptrqvGERAiBmAKCOyU9bR1JKO+avt9zZjyzwG8meQwCePV9a -XPaBoCL3oImIAIohgMnK5zo= -=xWk0 ------END PGP SIGNATURE----- +MD5 e03b101c9f3f5cf0fcb1b32670788bdd files/digest-cryptlib-3.2.1 111 +MD5 a07bc475f7e2fea3bd5a39e1f3bf763a files/digest-cryptlib-3.2.2 130 +MD5 243594eeb2106bc851cb98b68fbd0b3c metadata.xml 217 diff --git a/dev-libs/cryptlib/cryptlib-3.2.2.ebuild b/dev-libs/cryptlib/cryptlib-3.2.2.ebuild new file mode 100644 index 000000000000..d37eccdd9ba3 --- /dev/null +++ b/dev-libs/cryptlib/cryptlib-3.2.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.2.2.ebuild,v 1.1 2005/11/02 03:38:45 sbriesen Exp $ + +inherit eutils multilib flag-o-matic + +MY_PV=${PV//.} + +DESCRIPTION="Powerful security toolkit for adding encryption to software" +HOMEPAGE="http://www.cs.auckland.ac.nz/~pgut001/cryptlib/" +SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip + doc? ( mirror://gentoo/${P}-manual.pdf.bz2 )" + +LICENSE="Sleepycat" +KEYWORDS="~x86 ~amd64" +SLOT="0" +IUSE="doc static" + +S="${WORKDIR}" + +DEPEND=">=sys-apps/sed-4 + app-arch/unzip" +RDEPEND="" + +src_unpack() { + # we need the -a option, so we can not use 'unpack' + unzip -qoa "${DISTDIR}/cl${MY_PV}.zip" + use doc && unpack "${P}-manual.pdf.bz2" + + # we want our own CFLAGS) ;-) + sed -i -e "s:-m.*=pentium::g" -e "s:-fomit-frame-pointer::g" -e "s:-O2::g" \ + -e "s:-O3::g" -e "s:-O4::g" makefile || die "sed makefile failed" + + # change 'make' to '$(MAKE)' + sed -i -e "s:@\?make:\$(MAKE):g" makefile || die "sed makefile failed" +} + +src_compile() { + # we need at least -O2 + replace-flags -O -O2 + replace-flags -Os -O2 + replace-flags -O1 -O2 + local MYCFLAGS="-c -D__UNIX__ -DNDEBUG -I. ${CFLAGS}" + + if use static; then + emake -j1 CFLAGS="${MYCFLAGS}" SCFLAGS="${MYCFLAGS} -fPIC" || \ + die "emake static failed" + fi + + emake -j1 shared CFLAGS="${MYCFLAGS}" SCFLAGS="${MYCFLAGS} -fPIC" || \ + die "emake shared failed" +} + +src_install() { + dolib.so "libcl.so.${PV}" + dosym "libcl.so.${PV}" "/usr/$(get_libdir)/libcl.so" + use static && dolib.a "libcl.a" + + insinto /usr/include + doins cryptlib.h + + dodoc README + use doc && newdoc "${P}-manual.pdf" "manual.pdf" +} diff --git a/dev-libs/cryptlib/files/digest-cryptlib-3.2.2 b/dev-libs/cryptlib/files/digest-cryptlib-3.2.2 new file mode 100644 index 000000000000..77771dafafd0 --- /dev/null +++ b/dev-libs/cryptlib/files/digest-cryptlib-3.2.2 @@ -0,0 +1,2 @@ +MD5 0944963faae4566f54aeb45c6e803142 cl322.zip 3072208 +MD5 3e778b8d630d0cfe4c0717ced72a9057 cryptlib-3.2.2-manual.pdf.bz2 2348320 |