Version bump, upstream received our patches
authorAlon Bar-Lev <alonbl@gentoo.org>
Thu, 1 Feb 2007 11:47:10 +0000 (11:47 +0000)
committerAlon Bar-Lev <alonbl@gentoo.org>
Thu, 1 Feb 2007 11:47:10 +0000 (11:47 +0000)
Package-Manager: portage-2.1.2-r5

app-crypt/bestcrypt/ChangeLog
app-crypt/bestcrypt/Manifest
app-crypt/bestcrypt/bestcrypt-1.6_p11.ebuild [new file with mode: 0644]
app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p11 [new file with mode: 0644]

index 4b2e358e7874e4882566685158517d1223fb5817..103c981509b002b00e120ac0da6436b4e2ba1eff 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-crypt/bestcrypt
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.56 2007/01/24 16:51:04 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.57 2007/02/01 11:47:10 alonbl Exp $
+
+*bestcrypt-1.6_p11 (01 Feb 2007)
+
+  01 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> +bestcrypt-1.6_p11.ebuild:
+  Version bump, upstream received our patches
 
   24 Jan 2007; Marius Mauch <genone@gentoo.org> bestcrypt-1.6_p10-r1.ebuild:
   Replacing einfo with elog
index 1a2133ce418dd4cb0de24d8d9f98a9eae403160f..5cbd7f0fe76c873316e961911f0c558b9ee73c42 100644 (file)
@@ -1,21 +1,23 @@
------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
 SHA256 83296e7fb84845ee0a177b9bc2d88caddb66440b38c3505fc91061873b2a45b3 files/bcrypt3 3246
 DIST BestCrypt-1.6-10.tar.gz 195976 RMD160 41544c0284f4c8505a9b0d5007be5e1791552fe9 SHA1 44f1bed728a633b4ef15be7ea9dd46bcb22da8dc SHA256 fe5bbf3437512434b01bd5db8c11907c26176876cb1893ae7da7b9fe96c0cdce
+DIST BestCrypt-1.6-11.tar.gz 196136 RMD160 dfb8fa0891b16a238d20fc1b0c8c288b82825314 SHA1 0aaff99f08777117eb025481adf7660a3521beb8 SHA256 5149eb75b53b8f1ef71ce8b490b6290f306fff9aced1fce01caec5ff473be7ee
 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-r1.ebuild 3105 RMD160 dee9a09bb03aaacd8ad792dc8d1c179a6259f406 SHA1 a208f52f2fc36ada9bb634ceac8bb9bb4e9feeb9 SHA256 f2f81c6a9ea9e446dbffd98a37181326832d1e8b20ec22ed7ca5d044faac1b57
 MD5 c65a3843015dd750fbefa46bc0365f93 bestcrypt-1.6_p10-r1.ebuild 3105
 RMD160 dee9a09bb03aaacd8ad792dc8d1c179a6259f406 bestcrypt-1.6_p10-r1.ebuild 3105
 SHA256 f2f81c6a9ea9e446dbffd98a37181326832d1e8b20ec22ed7ca5d044faac1b57 bestcrypt-1.6_p10-r1.ebuild 3105
-MISC ChangeLog 10894 RMD160 634fd27891ef8279f2203ba3d1f6d539cc58a2f5 SHA1 2643e6312c17e04222c7b80d4b1295b58eecd3a6 SHA256 d54ecd3a1adda2dfc0288ecc98b519121642a1d887d534f5aaa05130c78514b8
-MD5 d4aea33f6b5299c99343258d2bfe7e14 ChangeLog 10894
-RMD160 634fd27891ef8279f2203ba3d1f6d539cc58a2f5 ChangeLog 10894
-SHA256 d54ecd3a1adda2dfc0288ecc98b519121642a1d887d534f5aaa05130c78514b8 ChangeLog 10894
+EBUILD bestcrypt-1.6_p11.ebuild 3075 RMD160 6127050c2735a0586b2dbf08015ff77d6b6a7f6a SHA1 65e4913874f437a9d0cd5d12894094d55669fe4f SHA256 d1fffe335222b9ecd5bbdab3529d385f96338194ffa00d27717c68cd672fce52
+MD5 ff3f2b05c4a98e662e09dd6a7a809f26 bestcrypt-1.6_p11.ebuild 3075
+RMD160 6127050c2735a0586b2dbf08015ff77d6b6a7f6a bestcrypt-1.6_p11.ebuild 3075
+SHA256 d1fffe335222b9ecd5bbdab3529d385f96338194ffa00d27717c68cd672fce52 bestcrypt-1.6_p11.ebuild 3075
+MISC ChangeLog 11050 RMD160 2978fff90aca0ffc701a3e764fb6400fb0f02566 SHA1 ec0d7648d53ebeeac77020aa997446bfbe822188 SHA256 94b65a03a5ef57df1f7321299f5a9fd0dca08b954e9b6d78c6977017910f9f18
+MD5 edd90d2ce3743998bbee35bf4b9c5bfd ChangeLog 11050
+RMD160 2978fff90aca0ffc701a3e764fb6400fb0f02566 ChangeLog 11050
+SHA256 94b65a03a5ef57df1f7321299f5a9fd0dca08b954e9b6d78c6977017910f9f18 ChangeLog 11050
 MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
 MD5 566cf4f89e44670d0aba4a745913d748 metadata.xml 224
 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 metadata.xml 224
@@ -23,10 +25,6 @@ SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86 metadata
 MD5 aed14bae0447a087c68fa66e948596d0 files/digest-bestcrypt-1.6_p10-r1 762
 RMD160 d8910e270411aa192b97654e2b8ff95bc5cbbb77 files/digest-bestcrypt-1.6_p10-r1 762
 SHA256 259fd31230143e83a85a41db6d12c7bbec480cf0adc28e8167871ba7d87b829b files/digest-bestcrypt-1.6_p10-r1 762
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFt5EV6J2i8a8J4okRAk6NAJ9gPz3QnotpXxpIKiQW/6+oGrI03ACfYhnc
-g6mfsRuDQhlJ71aOLr6xNDs=
-=jFDu
------END PGP SIGNATURE-----
+MD5 8b6f48713fbd0382eb0f7180346b63d4 files/digest-bestcrypt-1.6_p11 762
+RMD160 c2683e2d52953e0fc07435833ea262dc275a7ff5 files/digest-bestcrypt-1.6_p11 762
+SHA256 30db62a693cae42eba513213b5f62f433ee5dadfc3ea2229048bab6f3e4af510 files/digest-bestcrypt-1.6_p11 762
diff --git a/app-crypt/bestcrypt/bestcrypt-1.6_p11.ebuild b/app-crypt/bestcrypt/bestcrypt-1.6_p11.ebuild
new file mode 100644 (file)
index 0000000..f88830e
--- /dev/null
@@ -0,0 +1,108 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p11.ebuild,v 1.1 2007/02/01 11:47:10 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 KERNEL_DIR=${KV_DIR} KEXT=${KV_OBJ} CC=$(tc-getCC) LD=$(tc-getLD) \
+               AS=$(tc-getAS) CPP=$(tc-getCXX) EXTRA_CFLAGS="${CFLAGS}" \
+               KVER=${KV_MAJOR}.${KV_MINOR} \
+               || die "compile failed"
+
+       einfo "Modules compiled"
+}
+
+src_install() {
+       linux-mod_src_install
+
+       cd "${S}"
+       dodir /etc
+       insinto /etc
+       newins etc/bc.conf 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() {
+       elog "If you are using the serpent or rc6 encryption modules and have any problems,"
+       elog "please submit bugs to http://bugs.gentoo.org because these modules are not part"
+       elog "of the standard distribution of BestCrypt for Linux released by Jetico."
+       elog "For more information on these additional modules:"
+       elog "visit http://www.carceri.dk/index.php?redirect=other_bestcrypt"
+
+       ewarn
+       ewarn "The BestCrypt drivers are not free - Please purchace a license from "
+       ewarn "http://www.jetico.com/"
+       ewarn
+
+       linux-mod_pkg_postinst
+}
diff --git a/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p11 b/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p11
new file mode 100644 (file)
index 0000000..739910b
--- /dev/null
@@ -0,0 +1,9 @@
+MD5 c75f9cdb0dabf0e0b77362adc14c8e47 BestCrypt-1.6-11.tar.gz 196136
+RMD160 dfb8fa0891b16a238d20fc1b0c8c288b82825314 BestCrypt-1.6-11.tar.gz 196136
+SHA256 5149eb75b53b8f1ef71ce8b490b6290f306fff9aced1fce01caec5ff473be7ee BestCrypt-1.6-11.tar.gz 196136
+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