Version bump, request at bug#166916
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 16 Feb 2007 14:36:34 +0000 (14:36 +0000)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 16 Feb 2007 14:36:34 +0000 (14:36 +0000)
Package-Manager: portage-2.1.2-r9

dev-libs/cryptlib/ChangeLog
dev-libs/cryptlib/Manifest
dev-libs/cryptlib/cryptlib-3.3.1.ebuild [new file with mode: 0644]
dev-libs/cryptlib/files/digest-cryptlib-3.3.1 [new file with mode: 0644]

index 1fbd97ab6bbf7857ed423b250079a229125fe8be..fdea95969d6e8604a9ae24b03c536f96f222b6da 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-libs/cryptlib
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/ChangeLog,v 1.13 2007/02/05 08:53:35 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/ChangeLog,v 1.14 2007/02/16 14:36:34 alonbl Exp $
+
+*cryptlib-3.3.1 (16 Feb 2007)
+
+  16 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> +cryptlib-3.3.1.ebuild:
+  Version bump
 
 *cryptlib-3.3.0-r1 (05 Feb 2007)
 
index 3c650b5abd9b1b5d42f3190cebef4626fc1acdee..2428a6ab592bc9cebb73cbca94a9915254b81d73 100644 (file)
@@ -3,15 +3,20 @@ MD5 36d36032db333191604bb2991f5786f8 files/cryptlib-3.3.0-ld.patch 441
 RMD160 bd6e4fee7ac58189acdb5ac91bdc091189ea3892 files/cryptlib-3.3.0-ld.patch 441
 SHA256 d0fdbaa75c425ad85b477596adf1dc6eec6002cd20f1f1cd8fff44f1603872b9 files/cryptlib-3.3.0-ld.patch 441
 DIST cl33.zip 3779126 RMD160 82e38db5ceed4a1c7ae7f58510c1005b7760fa87 SHA1 830086620b9d7d0eeec674df456608d0e8b68228 SHA256 8c9d784d7699456e1aff2211cde6b95962116f43a05e869a0caec21b5be754b8
+DIST cl331.zip 3802344 RMD160 b15df19d5c5550d4542e8a075fa70a0b15cd5b16 SHA1 892a891a52b946e86664909157a290e30e1b1fe3 SHA256 630ac09c4febc5c131ed2e0370a10595008a849f4cb36427dc1be06463ed4079
 DIST cryptlib-3.3.0-manual.pdf.bz2 1682939 RMD160 3a49a5e4fdb7cf6d9dff39484657ac79330a7351 SHA1 998b0c5b23b1c4d7a899aa2015b78e91a27c4750 SHA256 1cf398964cad66b729d278b133ef463075b7824914e082b0fe0b086810a6b0e1
 EBUILD cryptlib-3.3.0-r1.ebuild 1994 RMD160 1e049ceb83eba2dce8c07179e57105b545f1a9ab SHA1 4d2a930d9bf436ae4db368121db04838c11d5100 SHA256 6901bb99f9c25527a3787f7a0bf90145e6df1c7da62eb39baf326d9dc6ae41bb
 MD5 782e25c7e04733c2a219a0a8361f31d9 cryptlib-3.3.0-r1.ebuild 1994
 RMD160 1e049ceb83eba2dce8c07179e57105b545f1a9ab cryptlib-3.3.0-r1.ebuild 1994
 SHA256 6901bb99f9c25527a3787f7a0bf90145e6df1c7da62eb39baf326d9dc6ae41bb cryptlib-3.3.0-r1.ebuild 1994
-MISC ChangeLog 3104 RMD160 53bed99d0b4baf006cdc2cf97986f3fd01dc8792 SHA1 53b69168a1b32763ed335523aeabab892815cc81 SHA256 4c4e69d36c8ed1579b1df9525e2d1549a3ce1342acd2d58410c9c07e0ee31dd3
-MD5 63acab59e5c1184f78e5257145528dae ChangeLog 3104
-RMD160 53bed99d0b4baf006cdc2cf97986f3fd01dc8792 ChangeLog 3104
-SHA256 4c4e69d36c8ed1579b1df9525e2d1549a3ce1342acd2d58410c9c07e0ee31dd3 ChangeLog 3104
+EBUILD cryptlib-3.3.1.ebuild 2052 RMD160 c74ac04f6185fc80eeb50a64169a525e0cda151d SHA1 3373967a59fb79b3ef040aefc53ea1dc9f547da6 SHA256 39f4326b3940d9ec50e157763ade8f1df3b9902771cf444e83275ea468b86d54
+MD5 0ca7eabfc815a4eeb8ad0ad18c51a623 cryptlib-3.3.1.ebuild 2052
+RMD160 c74ac04f6185fc80eeb50a64169a525e0cda151d cryptlib-3.3.1.ebuild 2052
+SHA256 39f4326b3940d9ec50e157763ade8f1df3b9902771cf444e83275ea468b86d54 cryptlib-3.3.1.ebuild 2052
+MISC ChangeLog 3223 RMD160 11c06a9507a6d9ebed8100079e2748af3db9e9c4 SHA1 caeb87ea15de13de3522c73fa8acaa4fc509da30 SHA256 0fe754dd4bb1c1d3e71bdbdb0adb1a609428abf8d0b5968365114568400e54ee
+MD5 2fa38fb3ab94a0e38e4dbecfe9172d28 ChangeLog 3223
+RMD160 11c06a9507a6d9ebed8100079e2748af3db9e9c4 ChangeLog 3223
+SHA256 0fe754dd4bb1c1d3e71bdbdb0adb1a609428abf8d0b5968365114568400e54ee ChangeLog 3223
 MISC metadata.xml 217 RMD160 d1e82852b46d347f8fc7027e72959160b5ade089 SHA1 d899a6870ab5af7dfe496ae91441fb7c103556a9 SHA256 5153c83d89a45bec698ace8ba637c14762333a6ddbe7ca798af6ce19f155d759
 MD5 243594eeb2106bc851cb98b68fbd0b3c metadata.xml 217
 RMD160 d1e82852b46d347f8fc7027e72959160b5ade089 metadata.xml 217
@@ -19,3 +24,6 @@ SHA256 5153c83d89a45bec698ace8ba637c14762333a6ddbe7ca798af6ce19f155d759 metadata
 MD5 db37c76b305a53c7f4914ee971c150fa files/digest-cryptlib-3.3.0-r1 479
 RMD160 b05516e5136e3b1a393f325bd834b4bfd29adf68 files/digest-cryptlib-3.3.0-r1 479
 SHA256 c7bb07c07fce2eeb08a89b179f8d856545a4bbb328908ea768bb59bfc7c08dfd files/digest-cryptlib-3.3.0-r1 479
+MD5 26d328360342dbc86183722e376d79e1 files/digest-cryptlib-3.3.1 482
+RMD160 e6866e73c2b890a202898a1d126de29a514a0e49 files/digest-cryptlib-3.3.1 482
+SHA256 3c92526511958cd9bb72145c7d01d91863a6da08f6d3354f4366fc3b3a717763 files/digest-cryptlib-3.3.1 482
diff --git a/dev-libs/cryptlib/cryptlib-3.3.1.ebuild b/dev-libs/cryptlib/cryptlib-3.3.1.ebuild
new file mode 100644 (file)
index 0000000..a3401e4
--- /dev/null
@@ -0,0 +1,75 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cryptlib/cryptlib-3.3.1.ebuild,v 1.1 2007/02/16 14:36:34 alonbl Exp $
+
+inherit eutils multilib flag-o-matic
+
+MY_PV="${PV//.0}"
+MY_PV="${MY_PV//.}"
+
+DESCRIPTION="Powerful security toolkit for adding encryption to software"
+HOMEPAGE="http://www.cs.auckland.ac.nz/~pgut001/cryptlib/"
+DOC_PREFIX="${PN}-3.3.0"
+SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip
+       doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )"
+
+LICENSE="Sleepycat"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+IUSE="doc odbc"
+
+S="${WORKDIR}"
+
+RDEPEND="odbc? ( dev-db/unixODBC )"
+DEPEND="${RDEPEND}
+       >=sys-apps/sed-4
+       app-arch/unzip"
+
+src_unpack() {
+       # we need the -a option, so we can not use 'unpack'
+       unzip -qoa "${DISTDIR}/cl${MY_PV}.zip"
+       use doc && unpack "${DOC_PREFIX}-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"
+
+       # NOTICE:
+       # Because of stack execution
+       # assembly parts are disabled.
+       sed -i -e 's:i\[3,4,5,6\]86:___:g' makefile || die "sed makefile failed"
+
+       # fix soname and strip issues
+       epatch "${FILESDIR}/${DOC_PREFIX}-ld.patch"
+}
+
+src_compile() {
+       # we need at least -O2
+       replace-flags -O  -O2
+       replace-flags -Os -O2
+       replace-flags -O1 -O2
+       append-flags -c -D__UNIX__ -DNDEBUG -I.
+       # QA issue for pthread_yield
+       append-flags -D_GNU_SOURCE
+
+       emake -j1 CFLAGS="${CFLAGS}" SCFLAGS="${CFLAGS} -fPIC" || \
+               die "emake static failed"
+
+       emake -j1 shared CFLAGS="${CFLAGS}" SCFLAGS="${CFLAGS} -fPIC" || \
+               die "emake shared failed"
+}
+
+src_install() {
+       dolib.so "libcl.so.3.3.0"
+       dosym "libcl.so.3.3.0" "/usr/$(get_libdir)/libcl.so"
+       dolib.a "libcl.a"
+
+       insinto /usr/include
+       doins cryptlib.h
+
+       dodoc README
+       use doc && newdoc "${DOC_PREFIX}-manual.pdf" "manual.pdf"
+}
diff --git a/dev-libs/cryptlib/files/digest-cryptlib-3.3.1 b/dev-libs/cryptlib/files/digest-cryptlib-3.3.1
new file mode 100644 (file)
index 0000000..14ce39a
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 3e93e5aa0b33fb1d5b05b099f01e0afe cl331.zip 3802344
+RMD160 b15df19d5c5550d4542e8a075fa70a0b15cd5b16 cl331.zip 3802344
+SHA256 630ac09c4febc5c131ed2e0370a10595008a849f4cb36427dc1be06463ed4079 cl331.zip 3802344
+MD5 ca68f04b53b4b7817c789f9021d57110 cryptlib-3.3.0-manual.pdf.bz2 1682939
+RMD160 3a49a5e4fdb7cf6d9dff39484657ac79330a7351 cryptlib-3.3.0-manual.pdf.bz2 1682939
+SHA256 1cf398964cad66b729d278b133ef463075b7824914e082b0fe0b086810a6b0e1 cryptlib-3.3.0-manual.pdf.bz2 1682939