summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2006-10-11 21:55:27 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2006-10-11 21:55:27 +0000
commitb0738cd149813406a75836f3402ac98d6c424add (patch)
tree03492b3a3ddb6c96739ae83fe110de764e3306fa /app-crypt
parentMade bnfc-* play nice with dev-lang/ghc-6.6 (diff)
downloadhistorical-b0738cd149813406a75836f3402ac98d6c424add.tar.gz
historical-b0738cd149813406a75836f3402ac98d6c424add.tar.bz2
historical-b0738cd149813406a75836f3402ac98d6c424add.zip
Version bump
Package-Manager: portage-2.1.1
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/bestcrypt/ChangeLog7
-rw-r--r--app-crypt/bestcrypt/Manifest16
-rw-r--r--app-crypt/bestcrypt/bestcrypt-1.6_p7.ebuild111
-rw-r--r--app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p79
4 files changed, 138 insertions, 5 deletions
diff --git a/app-crypt/bestcrypt/ChangeLog b/app-crypt/bestcrypt/ChangeLog
index a4cd4df69dff..c9013728358c 100644
--- a/app-crypt/bestcrypt/ChangeLog
+++ b/app-crypt/bestcrypt/ChangeLog
@@ -1,6 +1,11 @@
# 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.46 2006/10/06 16:00:37 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.47 2006/10/11 21:55:27 alonbl Exp $
+
+*bestcrypt-1.6_p7 (11 Oct 2006)
+
+ 11 Oct 2006; Alon Bar-Lev <alonbl@gentoo.org> +bestcrypt-1.6_p7.ebuild:
+ Version bump
06 Oct 2006; Simon Stelling <blubb@gentoo.org> bestcrypt-1.6_p5.ebuild:
fix wrt multilib-strict; bug 144588
diff --git a/app-crypt/bestcrypt/Manifest b/app-crypt/bestcrypt/Manifest
index 36cf7f9b7dfd..420bb880a3e2 100644
--- a/app-crypt/bestcrypt/Manifest
+++ b/app-crypt/bestcrypt/Manifest
@@ -15,16 +15,21 @@ MD5 7363de908c43373f6ccfc37fcc32989a files/bestcrypt-1.6_p5-makefile_fix.patch 2
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-5.tar.gz 194939 RMD160 969f67ac374282ef32d6a37ba1079bef220cc543 SHA1 527cc86e82b65326f6b9fa37ce44ced970b19ae8 SHA256 066b8ba630a234a0bd92987020665bfad07675fa0db563744c02af28c00444bd
+DIST BestCrypt-1.6-7.tar.gz 195093 RMD160 b1e3e2e243481966cc74a0da03e725cf61797e53 SHA1 3a585e5c533356fbdb0a41714568346ff4e6dae2 SHA256 a031dc9c5783a18ecb6dcb4e1557b2f4c9893961cd07b040b4db070d88bf6777
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_p5.ebuild 3275 RMD160 c887c127c1feca45983a75b97666b3b0b97097f6 SHA1 5955b9a724387aa50c8522595f0dcc568fae0083 SHA256 c2161b20f5cc1d5d1607d9a306bbfef5596ffc70ada91331a6546ad96eb9e03b
MD5 26c6f2ca0c0e74dc8d1eead65c78559c bestcrypt-1.6_p5.ebuild 3275
RMD160 c887c127c1feca45983a75b97666b3b0b97097f6 bestcrypt-1.6_p5.ebuild 3275
SHA256 c2161b20f5cc1d5d1607d9a306bbfef5596ffc70ada91331a6546ad96eb9e03b bestcrypt-1.6_p5.ebuild 3275
-MISC ChangeLog 9403 RMD160 c524368adcdb03661403ab1d9a78875453cb1afe SHA1 48c3f03d0ee91d1e2c5e943368ca648241bd5253 SHA256 46299ea8ea60544ffcb758e24c5286a5582a399b4c9efed7ffb66edfa604650f
-MD5 ce91772939ad45ef1ceffd870697e40f ChangeLog 9403
-RMD160 c524368adcdb03661403ab1d9a78875453cb1afe ChangeLog 9403
-SHA256 46299ea8ea60544ffcb758e24c5286a5582a399b4c9efed7ffb66edfa604650f ChangeLog 9403
+EBUILD bestcrypt-1.6_p7.ebuild 3293 RMD160 d9734e6ea61d2a8ded691901b10e3bd8198ad57b SHA1 8b89fd882c2bd19a88034d219df571998f1da43d SHA256 9c4f7b0a5992e00d7048e452af2a2afcdb8fbcac7c398720e51c78517273f3df
+MD5 eccef6035dfc9b92566a63d37e6192e2 bestcrypt-1.6_p7.ebuild 3293
+RMD160 d9734e6ea61d2a8ded691901b10e3bd8198ad57b bestcrypt-1.6_p7.ebuild 3293
+SHA256 9c4f7b0a5992e00d7048e452af2a2afcdb8fbcac7c398720e51c78517273f3df bestcrypt-1.6_p7.ebuild 3293
+MISC ChangeLog 9527 RMD160 138e8f6b579c18e29833196ebe2c43b2721ff31f SHA1 771a68048f79bda8a423bbb73eb8cda90e4ec5ef SHA256 bcc20b8b4a30b1098167a6b635f002b7733e1d73e0565dbba252ac2ab0c7411c
+MD5 925733d12e88cf1c3e1a58f787fa222f ChangeLog 9527
+RMD160 138e8f6b579c18e29833196ebe2c43b2721ff31f ChangeLog 9527
+SHA256 bcc20b8b4a30b1098167a6b635f002b7733e1d73e0565dbba252ac2ab0c7411c ChangeLog 9527
MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
MD5 566cf4f89e44670d0aba4a745913d748 metadata.xml 224
RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 metadata.xml 224
@@ -32,3 +37,6 @@ SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86 metadata
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 5df70254bf17acdc5e21034485dfa276 files/digest-bestcrypt-1.6_p7 759
+RMD160 5a78ae8a07477e19e57031191fa7fad5c70b73e0 files/digest-bestcrypt-1.6_p7 759
+SHA256 8784b636073f5f265368efc2ae16741f0ebab7cfbb38e219342bdb557f2670b3 files/digest-bestcrypt-1.6_p7 759
diff --git a/app-crypt/bestcrypt/bestcrypt-1.6_p7.ebuild b/app-crypt/bestcrypt/bestcrypt-1.6_p7.ebuild
new file mode 100644
index 000000000000..66b3180a04f6
--- /dev/null
+++ b/app-crypt/bestcrypt/bestcrypt-1.6_p7.ebuild
@@ -0,0 +1,111 @@
+# 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_p7.ebuild,v 1.1 2006/10/11 21:55:27 alonbl Exp $
+
+inherit flag-o-matic eutils linux-mod toolchain-funcs multilib
+
+MY_PN="bcrypt"
+DESCRIPTION="commercially licensed transparent filesystem encryption"
+HOMEPAGE="http://www.jetico.com/"
+SRC_URI="http://www.jetico.com/linux/BestCrypt-${PV/_p/-}.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="pcmcia"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="virtual/linux-sources"
+
+S="${WORKDIR}/bcrypt"
+
+#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}
+ epatch "${FILESDIR}"/${PN}-1.6_p5-makefile_fix.patch
+ epatch "${FILESDIR}"/${PN}-1.6_p5-gcc41.patch
+ epatch "${FILESDIR}"/${PN}-1.6_p2-path.patch
+
+ if use x86;
+ then
+ epatch bcrypt-rc6-serpent.diff
+ else
+ epatch 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
+}
diff --git a/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p7 b/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p7
new file mode 100644
index 000000000000..d2d4e3c32f6e
--- /dev/null
+++ b/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p7
@@ -0,0 +1,9 @@
+MD5 4327929bafe064e0edda2d4c3c23b25e BestCrypt-1.6-7.tar.gz 195093
+RMD160 b1e3e2e243481966cc74a0da03e725cf61797e53 BestCrypt-1.6-7.tar.gz 195093
+SHA256 a031dc9c5783a18ecb6dcb4e1557b2f4c9893961cd07b040b4db070d88bf6777 BestCrypt-1.6-7.tar.gz 195093
+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