1 |
alonbl 07/12/25 07:07:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bestcrypt-1.6_p15.ebuild |
5 |
Removed: bestcrypt-1.6_p11.ebuild bestcrypt-1.6_p13.ebuild |
6 |
bestcrypt-1.6_p14.ebuild |
7 |
Log: |
8 |
Upstream accepted our patches |
9 |
(Portage version: 2.1.4_rc11) |
10 |
|
11 |
Revision Changes Path |
12 |
1.59 app-crypt/bestcrypt/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/bestcrypt/ChangeLog?rev=1.59&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/bestcrypt/ChangeLog?rev=1.59&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/bestcrypt/ChangeLog?r1=1.58&r2=1.59 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v |
21 |
retrieving revision 1.58 |
22 |
retrieving revision 1.59 |
23 |
diff -u -r1.58 -r1.59 |
24 |
--- ChangeLog 14 May 2007 04:38:48 -0000 1.58 |
25 |
+++ ChangeLog 25 Dec 2007 07:07:02 -0000 1.59 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for app-crypt/bestcrypt |
28 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.58 2007/05/14 04:38:48 alonbl Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.59 2007/12/25 07:07:02 alonbl Exp $ |
31 |
+ |
32 |
+*bestcrypt-1.6_p15 (25 Dec 2007) |
33 |
+ |
34 |
+ 25 Dec 2007; Alon Bar-Lev <alonbl@g.o> |
35 |
+ -files/bestcrypt-1.6_p14-module.patch, -bestcrypt-1.6_p11.ebuild, |
36 |
+ -bestcrypt-1.6_p13.ebuild, -bestcrypt-1.6_p14.ebuild, |
37 |
+ +bestcrypt-1.6_p15.ebuild: |
38 |
+ Upstream accepted our patches |
39 |
|
40 |
*bestcrypt-1.6_p13 (14 May 2007) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 app-crypt/bestcrypt/bestcrypt-1.6_p15.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p15.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p15.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: bestcrypt-1.6_p15.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2007 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.6_p15.ebuild,v 1.1 2007/12/25 07:07:02 alonbl Exp $ |
55 |
|
56 |
inherit flag-o-matic eutils linux-mod toolchain-funcs multilib |
57 |
|
58 |
MY_PN="bcrypt" |
59 |
MY_PV="${PV/_p/-}" |
60 |
DESCRIPTION="commercially licensed transparent filesystem encryption" |
61 |
HOMEPAGE="http://www.jetico.com/" |
62 |
SRC_URI="http://www.jetico.com/linux/BestCrypt-${MY_PV}.tar.gz |
63 |
!x86? ( mirror://gentoo/bcrypt-rc6-serpent-c.diff.gz ) |
64 |
x86? ( http://www.carceri.dk/files/bcrypt-rc6-serpent.diff.gz )" |
65 |
|
66 |
LICENSE="bestcrypt" |
67 |
SLOT="0" |
68 |
IUSE="" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
|
71 |
DEPEND="virtual/linux-sources" |
72 |
|
73 |
S="${WORKDIR}/${MY_PN}-${MY_PV}" |
74 |
|
75 |
pkg_setup() { |
76 |
linux-mod_pkg_setup |
77 |
|
78 |
MODULE_NAMES="bc(block:"${S}/mod") |
79 |
bc_3des(block:"${S}/mod":mod/3des) |
80 |
bc_bf128(block:"${S}/mod":mod/bf128) |
81 |
bc_bf448(block:"${S}/mod":mod/bf448) |
82 |
bc_blowfish(block:"${S}/mod":mod/blowfish) |
83 |
bc_cast(block:"${S}/mod":mod/cast) |
84 |
bc_des(block:"${S}/mod":mod/des) |
85 |
bc_gost(block:"${S}/mod":mod/gost) |
86 |
bc_idea(block:"${S}/mod":mod/idea) |
87 |
bc_rc6(block:"${S}/mod":mod/rc6) |
88 |
bc_rijn(block:"${S}/mod":mod/rijn) |
89 |
bc_serpent(block:"${S}/mod":mod/serpent) |
90 |
bc_twofish(block:"${S}/mod":mod/twofish)" |
91 |
BUILD_TARGETS="all" |
92 |
BUILD_PARAMS=" |
93 |
CPP=\"$(tc-getCXX)\" |
94 |
KERNEL_DIR=\"${KV_DIR}\" |
95 |
VER=${KV_MAJOR}.${KV_MINOR} |
96 |
KEXT=${KV_OBJ}" |
97 |
} |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${A} |
101 |
cd "${S}" |
102 |
|
103 |
if use x86; then |
104 |
epatch "${WORKDIR}/bcrypt-rc6-serpent.diff" |
105 |
else |
106 |
epatch "${WORKDIR}/bcrypt-rc6-serpent-c.diff" |
107 |
fi |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
linux-mod_src_compile |
112 |
|
113 |
filter-flags -fforce-addr |
114 |
|
115 |
emake -C kgsha CPP="$(tc-getCXX)" EXTRA_CXXFLAGS="${CXXFLAGS}" || die "library compile failed" |
116 |
emake -C kgsha256 CPP="$(tc-getCXX)" EXTRA_CXXFLAGS="${CXXFLAGS}" || die "library compile failed" |
117 |
emake -C src CC="$(tc-getCC)" EXTRA_CFLAGS="${CFLAGS} -I../kgsha256" || die "bctool compile failed" |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
linux-mod_src_install |
122 |
|
123 |
dobin bin/bctool |
124 |
dolib.so lib/libkgsha{,256}.so |
125 |
insinto /usr/bin |
126 |
doman man/bctool.8 |
127 |
for link in bcumount bcformat bcfsck bcnew bcpasswd bcinfo \ |
128 |
bclink bcunlink bcmake_hidden bcreencrypt; do |
129 |
dosym bctool "/usr/bin/${link}" |
130 |
done |
131 |
|
132 |
insinto /etc |
133 |
newins etc/bc.conf bc.conf |
134 |
newinitd "${FILESDIR}"/bcrypt3 bcrypt |
135 |
dodoc README HIDDEN_PART |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
elog "If you are using the serpent or rc6 encryption modules and have any problems," |
140 |
elog "please submit bugs to http://bugs.gentoo.org because these modules are not part" |
141 |
elog "of the standard distribution of BestCrypt for Linux released by Jetico." |
142 |
elog "For more information on these additional modules:" |
143 |
elog "visit http://www.carceri.dk/index.php?redirect=other_bestcrypt" |
144 |
|
145 |
ewarn |
146 |
ewarn "The BestCrypt drivers are not free - Please purchace a license from " |
147 |
ewarn "http://www.jetico.com/" |
148 |
ewarn |
149 |
|
150 |
linux-mod_pkg_postinst |
151 |
} |
152 |
|
153 |
|
154 |
|
155 |
-- |
156 |
gentoo-commits@g.o mailing list |