Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 330831 Details for
Bug 277164
app-crypt/bestcrypt fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Proposed ebuild for bestcrypt
bestcrypt-1.9_p2.ebuild (text/plain), 3.19 KB, created by
Martin Bartosch
on 2012-11-28 14:28:39 UTC
(
hide
)
Description:
Proposed ebuild for bestcrypt
Filename:
MIME Type:
Creator:
Martin Bartosch
Created:
2012-11-28 14:28:39 UTC
Size:
3.19 KB
patch
obsolete
># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 > >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" > >LICENSE="bestcrypt" >SLOT="0" >IUSE="" >KEYWORDS="amd64 ~x86" > >DEPEND="" >RDEPEND="" > >S="${WORKDIR}/${MY_PN}-${MY_PV}" > >pkg_setup() { > linux-mod_pkg_setup > > MODULE_NAMES="bc(block:"${S}/mod") > bc_3des(block:"${S}/mod":mod/3des) > bc_bf128(block:"${S}/mod":mod/bf128) > bc_bf448(block:"${S}/mod":mod/bf448) > bc_blowfish(block:"${S}/mod":mod/blowfish) > bc_cast(block:"${S}/mod":mod/cast) > bc_des(block:"${S}/mod":mod/des) > bc_gost(block:"${S}/mod":mod/gost) > bc_idea(block:"${S}/mod":mod/idea) > bc_rijn(block:"${S}/mod":mod/rijn) > bc_twofish(block:"${S}/mod":mod/twofish)" > BUILD_TARGETS="all" > BUILD_PARAMS=" \ > CPP=\"$(tc-getCXX)\" \ > KERNEL_DIR=\"${KV_DIR}\" \ > VER=${KV_MAJOR}.${KV_MINOR} \ > KEXT=${KV_OBJ}" >} > >src_prepare() { ># if kernel_is -ge 2 6 33 ; then ># # evil patch for new kernels - header moved ># grep -lR linux/autoconf.h mod/* | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' ># fi ># # fix linking in order to make --as-needed work correctly ># epatch "${FILESDIR}/${P}-fix-linking.patch" > ># if kernel_is -ge 2 6 36 ; then ># # really, really evil here ># elog "Fixing module license" ># grep -lR MODULE_LICENSE mod/* | xargs sed -i -e 's/MODULE_LICENSE(".*");/MODULE_LICENSE("GPL");/' ># fi > > # fix nasty debug message > elog "Fixing debug message on container init" > sed -i -e 's/\(BC_DEBUG_PRINT((KERN_ERR "bc: ioctl code.*", cmd))\);/\/\/\1/' mod/bc_dev26.c > > # fix module build for new (not yet running) kernels > elog "Fixing kernel module build" > sed -i -e "s!\(KERNEL_DIR\s*:=\s*\)/lib/modules/.*/build!\1$KERNEL_DIR!" mod/Makefile >} > >src_compile() { > # needs to happen first in order to create 'build' directory > emake > > linux-mod_src_compile > > #filter-flags -fforce-addr > #emake BC_CPP="$(tc-getCXX)" EXTRA_CFLAGS="${CXXFLAGS}" || die "emake failed" > #emake >} > >src_install() { > linux-mod_src_install > > # install mount helpers -> only these need to be suid root > # these should go into /usr/sbin -> need code patch for this > exeinto /sbin > exeopts -m4755 > doexe build/bc{,u}mount_helper > > exeinto /usr/bin > exeopts -m0755 > doexe build/bctool > dolib.so build/lib{bcbdk,modv{7,8}}.so > local link > for link in bcmount bcumount bcformat bcfsck bcnew bcpasswd bcinfo \ > bclink bcunlink bcmake_hidden bcreencrypt; do > dosym bctool "/usr/bin/${link}" > done > > insinto /etc > newins etc/bc.conf bc.conf > newinitd "${FILESDIR}"/bcrypt3-${PV} bcrypt > sed -e '/\(bc_rc6\|bc_serpent\)/d' -i "${D}etc/init.d/bcrypt" > > dodoc README HIDDEN_PART > > #insinto /etc/udev/rules.d > #newins etc/90-bcrypt-device-permissions.rules 90-bcrypt-device-permissions.rules > > doman man/bctool.8 >} > >pkg_postinst() { > ewarn > ewarn "The BestCrypt drivers are not free - Please purchace a license from " > ewarn "http://www.jetico.com/" > ewarn > > linux-mod_pkg_postinst >} > >pkg_prerm() { > einfo "Shutting down ${PN} for safe unmerge" > /etc/init.d/bcrypt stop >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 277164
:
197312
|
277017
| 330831 |
331020
|
331022