# ChangeLog for app-crypt/bestcrypt
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.51 2006/10/26 03:41:38 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.52 2006/12/06 21:24:07 alonbl Exp $
+
+*bestcrypt-1.6_p10 (06 Dec 2006)
+
+ 06 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> +bestcrypt-1.6_p10.ebuild:
+ Version bump
26 Oct 2006; Joshua Jackson <tsunam@gentoo.org> bestcrypt-1.6_p8.ebuild:
Stable x86; bug #152123
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX bcrypt3 3246 RMD160 2049cdd2934451843a2c72d4337e359ef3928f2f SHA1 04433a0504b3ec85b083a531acb09e3a608b22e6 SHA256 83296e7fb84845ee0a177b9bc2d88caddb66440b38c3505fc91061873b2a45b3
MD5 063ae0f67213da39ed4dd75a594b3b07 files/bcrypt3 3246
RMD160 2049cdd2934451843a2c72d4337e359ef3928f2f files/bcrypt3 3246
MD5 7363de908c43373f6ccfc37fcc32989a files/bestcrypt-1.6_p5-makefile_fix.patch 2229
RMD160 f6bbdc9dc392fc2ca784ce3b6fafa05fe94b31d1 files/bestcrypt-1.6_p5-makefile_fix.patch 2229
SHA256 f73b2e78dea62960aec05c5cd6bfaaf830aaf36f4a21d257fed48d26c7995b7b files/bestcrypt-1.6_p5-makefile_fix.patch 2229
+DIST BestCrypt-1.6-10.tar.gz 195976 RMD160 41544c0284f4c8505a9b0d5007be5e1791552fe9 SHA1 44f1bed728a633b4ef15be7ea9dd46bcb22da8dc SHA256 fe5bbf3437512434b01bd5db8c11907c26176876cb1893ae7da7b9fe96c0cdce
DIST BestCrypt-1.6-5.tar.gz 194939 RMD160 969f67ac374282ef32d6a37ba1079bef220cc543 SHA1 527cc86e82b65326f6b9fa37ce44ced970b19ae8 SHA256 066b8ba630a234a0bd92987020665bfad07675fa0db563744c02af28c00444bd
DIST BestCrypt-1.6-8.tar.gz 195314 RMD160 f5451d7ba238199a3602136383e04654acda9c1f SHA1 0bd828846fb025e04fb11af456708cd90e3a3e22 SHA256 2229a0caf1a806052b505edd0a33882119e9981e07468c3b71a743db9c453073
DIST bcrypt-rc6-serpent-c.diff.gz 6034 RMD160 127d0f2d562f1fdbfa6a8db5d83e92703a90ccc4 SHA1 ed23242a81d7681b887951be67019a24780c978a SHA256 6161a5bb5711307351eab95e53174bb7f181f870a4755e59ea1ad3eff9427bf5
DIST bcrypt-rc6-serpent.diff.gz 5718 RMD160 f388894ea0f3d1055dffaf118083baefa5822000 SHA1 f82278c22678e7dedb74bf6bbc202702fbe3f988 SHA256 1407b27e6a8390f62b66985d25f91ca1b68ff89ca5d9c211f0e83868214bdde8
+EBUILD bestcrypt-1.6_p10.ebuild 3206 RMD160 41320c3c5591d41c50618139ea2463f393eb3899 SHA1 e04e6ac0c7b93001bfb6da529e5e397aaeb94cd8 SHA256 abaea3f24091df8c04b38b5f40c64b11f0b2052bab666425b8115a09ed2e483e
+MD5 cb7afb7b62d419da60518c29e49d863d bestcrypt-1.6_p10.ebuild 3206
+RMD160 41320c3c5591d41c50618139ea2463f393eb3899 bestcrypt-1.6_p10.ebuild 3206
+SHA256 abaea3f24091df8c04b38b5f40c64b11f0b2052bab666425b8115a09ed2e483e bestcrypt-1.6_p10.ebuild 3206
EBUILD bestcrypt-1.6_p5.ebuild 3316 RMD160 bc53ee8324320e613240b973bd5cceb6f3550f6f SHA1 5d29aa5f023c62c330b02b5503c9c7cdd2bc16c7 SHA256 24746d9c907025a894c0022b1421520a8b5865a9342ebe6082464f74a96175a9
MD5 5f5313cdc84728a105e89d475e01b2f5 bestcrypt-1.6_p5.ebuild 3316
RMD160 bc53ee8324320e613240b973bd5cceb6f3550f6f bestcrypt-1.6_p5.ebuild 3316
MD5 f329d0624417321f27f412e921a3c463 bestcrypt-1.6_p8.ebuild 3204
RMD160 0fe2add780c268ed93085897dd5f4e453150c499 bestcrypt-1.6_p8.ebuild 3204
SHA256 cb868140cacb9e5ffd4c27838964ec415e009560f4bd15c421f077c58a7abd9f bestcrypt-1.6_p8.ebuild 3204
-MISC ChangeLog 10170 RMD160 1961bfad79bfd13da04fd5f534d36370bf16b7ac SHA1 3e758fa6faed4219c046574979c7ba9612c8849b SHA256 b361c9cdb146ef364cb3092a9ba0eec2e6910d5965e439f0ac2ae9b6512abfc7
-MD5 1246025b5ddb99268075176115466374 ChangeLog 10170
-RMD160 1961bfad79bfd13da04fd5f534d36370bf16b7ac ChangeLog 10170
-SHA256 b361c9cdb146ef364cb3092a9ba0eec2e6910d5965e439f0ac2ae9b6512abfc7 ChangeLog 10170
+MISC ChangeLog 10295 RMD160 fa46c49f5c634858f749b77545e1f0334b9d8c0a SHA1 dc96c5e04ab6a92aaf4edd8a6e4c2f6eb0f4da8b SHA256 e6173b1aa82a1fe819110460278641e34e44f00c32c583d995d7dd760dee3d57
+MD5 121f2c72337886cc78f9f14d67899c40 ChangeLog 10295
+RMD160 fa46c49f5c634858f749b77545e1f0334b9d8c0a ChangeLog 10295
+SHA256 e6173b1aa82a1fe819110460278641e34e44f00c32c583d995d7dd760dee3d57 ChangeLog 10295
MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
MD5 566cf4f89e44670d0aba4a745913d748 metadata.xml 224
RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 metadata.xml 224
SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86 metadata.xml 224
+MD5 aed14bae0447a087c68fa66e948596d0 files/digest-bestcrypt-1.6_p10 762
+RMD160 d8910e270411aa192b97654e2b8ff95bc5cbbb77 files/digest-bestcrypt-1.6_p10 762
+SHA256 259fd31230143e83a85a41db6d12c7bbec480cf0adc28e8167871ba7d87b829b files/digest-bestcrypt-1.6_p10 762
MD5 dd170d28f62e65e70cd3cf160e0d9861 files/digest-bestcrypt-1.6_p5 759
RMD160 acebddcb31cb47ea345067db1e487d10f5068496 files/digest-bestcrypt-1.6_p5 759
SHA256 a3d6af6139630204aa7a115bdb7e889a0d75751948b27461b66f610b6db7d60d files/digest-bestcrypt-1.6_p5 759
MD5 0ffcc4a5226694d116ed631f7435615b files/digest-bestcrypt-1.6_p8 759
RMD160 aa79eb520f8b62fd232d10584dc1ce70b4284936 files/digest-bestcrypt-1.6_p8 759
SHA256 349c11996cd4cf8d52d0fc69a088404d9653a87f83a6772d7ee53f6f73f4fbc2 files/digest-bestcrypt-1.6_p8 759
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFQC6R2ZWR0Jhg/EsRAhHsAJ4/HP6t/iFE0rzt/K6QJaLZijR7kwCfRCWq
-HF10F50Hp1b1ZwwnXlkm4HI=
-=HT+W
------END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p10.ebuild,v 1.1 2006/12/06 21:24:07 alonbl Exp $
+
+inherit flag-o-matic eutils linux-mod toolchain-funcs multilib
+
+MY_PN="bcrypt"
+MY_PV="${PV/_p/-}"
+DESCRIPTION="commercially licensed transparent filesystem encryption"
+HOMEPAGE="http://www.jetico.com/"
+SRC_URI="http://www.jetico.com/linux/BestCrypt-${MY_PV}.tar.gz
+ !x86? ( mirror://gentoo/bcrypt-rc6-serpent-c.diff.gz )
+ x86? ( http://www.carceri.dk/files/bcrypt-rc6-serpent.diff.gz )"
+
+LICENSE="bestcrypt"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="virtual/linux-sources"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+#get-version
+MODULE_NAMES="bc(block:"${S}"/mod)
+ bc_des(block:"${S}"/mod/des)
+ bc_3des(block:"${S}"/mod/3des)
+ bc_bf128(block:"${S}"/mod/bf128)
+ bc_bf448(block:"${S}"/mod/bf448)
+ bc_blowfish(block:"${S}"/mod/blowfish)
+ bc_cast(block:"${S}"/mod/cast)
+ bc_gost(block:"${S}"/mod/gost)
+ bc_idea(block:"${S}"/mod/idea)
+ bc_rijn(block:"${S}"/mod/rijn)
+ bc_twofish(block:"${S}"/mod/twofish)
+ bc_serpent(block:"${S}"/mod/serpent)
+ bc_rc6(block:"${S}"/mod/rc6)"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if use x86;
+ then
+ epatch "${WORKDIR}/bcrypt-rc6-serpent.diff"
+ else
+ epatch "${WORKDIR}/bcrypt-rc6-serpent-c.diff"
+ fi
+}
+
+src_compile() {
+ filter-flags -fforce-addr
+
+ emake -C kgsha CPP="$(tc-getCXX)" EXTRA_CXXFLAGS="${CXXFLAGS}" || die "library compile failed"
+ emake -C kgsha256 CPP="$(tc-getCXX)" EXTRA_CXXFLAGS="${CXXFLAGS}" || die "library compile failed"
+ emake -C src CC="$(tc-getCC)" EXTRA_CFLAGS="${CFLAGS} -I../kgsha256" || die "bctool compile failed"
+
+ # Don't put stack protection in the kernel - it just is bad
+ _filter-hardened -fstack-protector-all -fstack-protector
+
+ emake -C mod SYMSRC=bc_dev${KV_MAJOR}${KV_MINOR}.c bc_dev.ver EXTRA_CFLAGS="${CFLAGS}" \
+ || die "compile failed"
+
+ emake -C mod OBJS="bc_dev${KV_MAJOR}${KV_MINOR}.o bc_mgr.o" \
+ KERNEL_DIR=${KV_DIR} KEXT=${KV_OBJ} CC=$(tc-getCC) LD=$(tc-getLD) \
+ AS=$(tc-getAS) CPP=$(tc-getCXX) EXTRA_CFLAGS="${CFLAGS}" || die "compile failed"
+
+ einfo "Modules compiled"
+}
+
+src_install() {
+ linux-mod_src_install
+
+ cd "${S}"
+ dodir /etc
+ cp etc/bc.conf "${D}"/etc/bc.conf
+
+ dobin bin/bctool
+ insinto /usr/bin
+ for link in bcumount bcformat bcfsck bcnew bcpasswd bcinfo \
+ bclink bcunlink bcmake_hidden bcreencrypt;
+ do
+ dosym bctool /usr/bin/${link}
+ done
+
+ # bug 107392
+ insinto /usr/$(get_libdir)
+ doins lib/libkgsha{,256}.so
+
+ doman man/bctool.8
+ newinitd "${FILESDIR}"/bcrypt3 bcrypt
+ dodoc README HIDDEN_PART
+}
+
+
+pkg_postinst() {
+
+ einfo "If you are using the serpent or rc6 encryption modules and have any problems,"
+ einfo "please submit bugs to http://bugs.gentoo.org because these modules are not part"
+ einfo "of the standard distribution of BestCrypt for Linux released by Jetico."
+ einfo "For more information on these additional modules:"
+ einfo "visit http://www.carceri.dk/index.php?redirect=other_bestcrypt"
+
+ einfo
+ ewarn "The BestCrypt drivers are not free - Please purchace a license from "
+ ewarn "http://www.jetico.com/"
+
+ einfo
+ linux-mod_pkg_postinst
+}
--- /dev/null
+MD5 e520c4183e2d83f882b5359004fd9734 BestCrypt-1.6-10.tar.gz 195976
+RMD160 41544c0284f4c8505a9b0d5007be5e1791552fe9 BestCrypt-1.6-10.tar.gz 195976
+SHA256 fe5bbf3437512434b01bd5db8c11907c26176876cb1893ae7da7b9fe96c0cdce BestCrypt-1.6-10.tar.gz 195976
+MD5 d68956f4c2ed795c68a451a451de27bb bcrypt-rc6-serpent-c.diff.gz 6034
+RMD160 127d0f2d562f1fdbfa6a8db5d83e92703a90ccc4 bcrypt-rc6-serpent-c.diff.gz 6034
+SHA256 6161a5bb5711307351eab95e53174bb7f181f870a4755e59ea1ad3eff9427bf5 bcrypt-rc6-serpent-c.diff.gz 6034
+MD5 aa6e1f0e9ee797b409267bdba1f6534e bcrypt-rc6-serpent.diff.gz 5718
+RMD160 f388894ea0f3d1055dffaf118083baefa5822000 bcrypt-rc6-serpent.diff.gz 5718
+SHA256 1407b27e6a8390f62b66985d25f91ca1b68ff89ca5d9c211f0e83868214bdde8 bcrypt-rc6-serpent.diff.gz 5718