diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-09-27 21:56:37 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-09-27 21:56:37 +0000 |
commit | 99f923e4c53189cab1f3affc9a84978254b65191 (patch) | |
tree | adad19fbe539d0e020981d24df4b025b13118b21 /app-crypt | |
parent | stable on amd64 wrt bug 105396 (diff) | |
download | historical-99f923e4c53189cab1f3affc9a84978254b65191.tar.gz historical-99f923e4c53189cab1f3affc9a84978254b65191.tar.bz2 historical-99f923e4c53189cab1f3affc9a84978254b65191.zip |
install libkgsha{,256}.so for bug 107392
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/bestcrypt/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/bestcrypt/Manifest | 30 | ||||
-rw-r--r-- | app-crypt/bestcrypt/bestcrypt-1.6_p1-r2.ebuild | 116 | ||||
-rw-r--r-- | app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1-r2 | 3 |
4 files changed, 138 insertions, 20 deletions
diff --git a/app-crypt/bestcrypt/ChangeLog b/app-crypt/bestcrypt/ChangeLog index 7ecd61eb0fc3..5cf112369732 100644 --- a/app-crypt/bestcrypt/ChangeLog +++ b/app-crypt/bestcrypt/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-crypt/bestcrypt # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.35 2005/09/16 20:29:29 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.36 2005/09/27 21:56:37 vanquirius Exp $ + +*bestcrypt-1.6_p1-r2 (27 Sep 2005) + + 27 Sep 2005; Marcelo Goes <vanquirius@gentoo.org> + +bestcrypt-1.6_p1-r2.ebuild: + Make kgsha256 and install libkgsha{,256}.so for bug 107392. Thanks to Alex + <nitro dot fuel3d at gmail dot com>. 16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog: Converted to UTF-8, fixed encoding screwups diff --git a/app-crypt/bestcrypt/Manifest b/app-crypt/bestcrypt/Manifest index 62ee9322edbc..cfe1d8bc22c6 100644 --- a/app-crypt/bestcrypt/Manifest +++ b/app-crypt/bestcrypt/Manifest @@ -1,25 +1,17 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 647e65173bc7229527e94aea50a6f3fd bestcrypt-1.6_p1.ebuild 3317 MD5 01fa3fab9cef0bcfe01671f972ba1052 bestcrypt-1.5_p11.ebuild 3130 +MD5 647e65173bc7229527e94aea50a6f3fd bestcrypt-1.6_p1.ebuild 3317 +MD5 e30c17c4efee41b1ed3f849680d9cdfa bestcrypt-1.5_p10.ebuild 2974 +MD5 8dcf940430c4916eec795612a8273ec0 bestcrypt-1.6_p1-r2.ebuild 3257 MD5 3c2d03aae97763035f173f2bb94dee06 bestcrypt-1.6_p1-r1.ebuild 3080 +MD5 a8e7acdec10895ce130fa0c98721fc86 ChangeLog 7337 MD5 566cf4f89e44670d0aba4a745913d748 metadata.xml 224 -MD5 e30c17c4efee41b1ed3f849680d9cdfa bestcrypt-1.5_p10.ebuild 2974 -MD5 47361d06cc51d9e0fcd11771be0bb75d ChangeLog 7098 -MD5 0f4e6e0c1442b612832726753739f6b2 files/digest-bestcrypt-1.5_p11 208 MD5 c9fdd7c76eb3731a6166cc9ff17bf722 files/digest-bestcrypt-1.5_p10 137 -MD5 063ae0f67213da39ed4dd75a594b3b07 files/bcrypt3 3246 -MD5 01225cc87eee84cf54232c86b04e8c93 files/bestcrypt.devfs 1673 -MD5 e9585e8f08138f46bdda7b88ddd81cd8 files/bestcrypt-1.5_p10-makefile_fix.patch 1136 +MD5 0f4e6e0c1442b612832726753739f6b2 files/digest-bestcrypt-1.5_p11 208 MD5 e4fb0265d55a570daf750fa7c0b8414c files/bestcrypt-1.6_p1-makefile_fix.patch 1367 -MD5 009cee9a408478ebf4f7c1a381c7e8b2 files/bestcrypt-1.5_p11-makefile_fix.patch 1148 -MD5 dee6aa8c71224187da9fbc2b2a6fc167 files/digest-bestcrypt-1.6_p1 136 MD5 6a91a7867c21eaa1be5ac4b829ae34d9 files/digest-bestcrypt-1.6_p1-r1 207 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDKytrLLFUmVNQ7rkRAoOKAKCtu6WZymAp7DUMGl1KZBBGRviaDQCcCt9e -FR0WrDUoeMwn/OUO46SqkYA= -=xt16 ------END PGP SIGNATURE----- +MD5 6a91a7867c21eaa1be5ac4b829ae34d9 files/digest-bestcrypt-1.6_p1-r2 207 +MD5 dee6aa8c71224187da9fbc2b2a6fc167 files/digest-bestcrypt-1.6_p1 136 +MD5 e9585e8f08138f46bdda7b88ddd81cd8 files/bestcrypt-1.5_p10-makefile_fix.patch 1136 +MD5 063ae0f67213da39ed4dd75a594b3b07 files/bcrypt3 3246 +MD5 009cee9a408478ebf4f7c1a381c7e8b2 files/bestcrypt-1.5_p11-makefile_fix.patch 1148 +MD5 01225cc87eee84cf54232c86b04e8c93 files/bestcrypt.devfs 1673 diff --git a/app-crypt/bestcrypt/bestcrypt-1.6_p1-r2.ebuild b/app-crypt/bestcrypt/bestcrypt-1.6_p1-r2.ebuild new file mode 100644 index 000000000000..23d8de994e36 --- /dev/null +++ b/app-crypt/bestcrypt/bestcrypt-1.6_p1-r2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p1-r2.ebuild,v 1.1 2005/09/27 21:56:37 vanquirius Exp $ + +inherit flag-o-matic eutils linux-mod toolchain-funcs + +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="" +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}"/${P}-makefile_fix.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 EXTRA_CXXFLAGS="${CXXFLAGS} -fPIC" || die "library compile failed" + emake -C kgsha256 EXTRA_CXXFLAGS="${CXXFLAGS} -fPIC" || die "library compile failed" + emake -C src EXTRA_CFLAGS="${CFLAGS} -I../kgsha256" || die "bctool compile failed" + + # Don't put stack protection in the kernel - it just is bad + append-flags -fno-stack-protector-all -fno-stack-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/lib + doins lib/libkgsha{,256}.so + + doman man/bctool.8 + newinitd "${FILESDIR}"/bcrypt3 bcrypt + dodoc README HIDDEN_PART + + insinto /etc/devfs.d + doins "${FILESDIR}"/bestcrypt.devfs +} + + +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/" + + if [ -e "${ROOT}/dev/.devfsd" ]; then + killall -HUP devfsd + fi + + einfo + linux-mod_pkg_postinst +} diff --git a/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1-r2 b/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1-r2 new file mode 100644 index 000000000000..da72c6b6638d --- /dev/null +++ b/app-crypt/bestcrypt/files/digest-bestcrypt-1.6_p1-r2 @@ -0,0 +1,3 @@ +MD5 966088b98018c477438d908ad763056c BestCrypt-1.6-1.tar.gz 194566 +MD5 d68956f4c2ed795c68a451a451de27bb bcrypt-rc6-serpent-c.diff.gz 6034 +MD5 aa6e1f0e9ee797b409267bdba1f6534e bcrypt-rc6-serpent.diff.gz 5718 |