summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-07-02 21:41:13 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-07-02 21:41:13 +0000
commite4d1b37573f018411153a5ffbec3e4bba903b3d9 (patch)
tree323f69e94f04cba36a184a33483cb6adfaa4b503 /app-crypt
parentadd a patch to fix the info file direntry. Thanks to: Doug Weimer <dweimer@s... (diff)
downloadgentoo-2-e4d1b37573f018411153a5ffbec3e4bba903b3d9.tar.gz
gentoo-2-e4d1b37573f018411153a5ffbec3e4bba903b3d9.tar.bz2
gentoo-2-e4d1b37573f018411153a5ffbec3e4bba903b3d9.zip
Version bumped. Closes 53504
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/bestcrypt/ChangeLog8
-rw-r--r--app-crypt/bestcrypt/Manifest14
-rw-r--r--app-crypt/bestcrypt/bestcrypt-1.5_p5.ebuild59
-rw-r--r--app-crypt/bestcrypt/files/bestcrypt-1.5_p5-makefile_fix.patch65
-rw-r--r--app-crypt/bestcrypt/files/digest-bestcrypt-1.5_p51
5 files changed, 140 insertions, 7 deletions
diff --git a/app-crypt/bestcrypt/ChangeLog b/app-crypt/bestcrypt/ChangeLog
index 1bafa95797ad..246318fc75a4 100644
--- a/app-crypt/bestcrypt/ChangeLog
+++ b/app-crypt/bestcrypt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-crypt/bestcrypt
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.15 2004/06/24 21:30:10 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/ChangeLog,v 1.16 2004/07/02 21:41:13 mholzer Exp $
+
+*bestcrypt-1.5_p5 (03 Jul 2004)
+
+ 03 Jul 2004; Martin Holzer <mholzer@gentoo.org>
+ +files/bestcrypt-1.5_p5-makefile_fix.patch, +bestcrypt-1.5_p5.ebuild:
+ Version bumped. Closes 53504
07 Jun 2004; Daniel Black <dragonheart@gentoo.org> bestcrypt-1.2_p6.ebuild,
bestcrypt-1.4_p2.ebuild, bestcrypt-1.5_p1.ebuild, bestcrypt-1.5_p2.ebuild,
diff --git a/app-crypt/bestcrypt/Manifest b/app-crypt/bestcrypt/Manifest
index 0501272f7586..439069b3b541 100644
--- a/app-crypt/bestcrypt/Manifest
+++ b/app-crypt/bestcrypt/Manifest
@@ -1,14 +1,16 @@
-MD5 84d875011ca557b0ef037f38047bf330 bestcrypt-1.2_p6.ebuild 1539
MD5 d420cae4702001db3c9d401bba45f917 bestcrypt-1.4_p2.ebuild 1516
+MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
+MD5 84d875011ca557b0ef037f38047bf330 bestcrypt-1.2_p6.ebuild 1539
MD5 ebdf18b78fd87efd486d7880203fb8ec bestcrypt-1.5_p1.ebuild 1665
MD5 1512195b620469d54c8544430cc55814 ChangeLog 2443
-MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
MD5 40c01633137047f428dcc798ecdcf0fb bestcrypt-1.5_p2.ebuild 1650
-MD5 612a37e4db226c3ff5e6f261c20085f1 files/bestcrypt-1.5_p2-makefile_fix.patch 2047
+MD5 40c01633137047f428dcc798ecdcf0fb bestcrypt-1.5_p5.ebuild 1650
+MD5 423393c6218fc246347ba804c6d12093 files/digest-bestcrypt-1.5_p2 67
MD5 c5fbab81816aa1d6f319f8434d2db2b2 files/bcrypt 3113
-MD5 b0b2c330ce5e18ccd0ad06aa6aff62a3 files/digest-bestcrypt-1.2_p6 67
+MD5 9e28557b9e0d6e148ba9da712b789909 files/bestcrypt-1.5_p2-bdev_file_fix.patch 365
+MD5 612a37e4db226c3ff5e6f261c20085f1 files/bestcrypt-1.5_p2-makefile_fix.patch 2047
MD5 9c378965942830e2966d15c1c0d0816b files/digest-bestcrypt-1.4_p2 67
+MD5 b0b2c330ce5e18ccd0ad06aa6aff62a3 files/digest-bestcrypt-1.2_p6 67
+MD5 4db01d5af606b757325ba05826a8ebfa files/digest-bestcrypt-1.5_p5 67
MD5 73a8ba802e25017bcceb177c6b8f4105 files/digest-bestcrypt-1.5_p1 67
-MD5 423393c6218fc246347ba804c6d12093 files/digest-bestcrypt-1.5_p2 67
-MD5 9e28557b9e0d6e148ba9da712b789909 files/bestcrypt-1.5_p2-bdev_file_fix.patch 365
MD5 5b4b4d2cf3a069dcc49e6803af149665 files/bcrypt2 3097
diff --git a/app-crypt/bestcrypt/bestcrypt-1.5_p5.ebuild b/app-crypt/bestcrypt/bestcrypt-1.5_p5.ebuild
new file mode 100644
index 000000000000..4ab1df732fb5
--- /dev/null
+++ b/app-crypt/bestcrypt/bestcrypt-1.5_p5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-1.5_p5.ebuild,v 1.1 2004/07/02 21:41:13 mholzer Exp $
+
+inherit flag-o-matic eutils check-kernel
+
+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"
+
+LICENSE="bestcrypt"
+SLOT="0"
+IUSE=""
+KEYWORDS="~x86"
+
+DEPEND="virtual/linux-sources"
+
+S=${WORKDIR}/bcrypt
+
+pkg_setup() {
+ if [ -e /usr/src/linux/include/linux/modsetver.h ] &&
+ [ ! -e /usr/src/linux/include/linux/modversions.h ]; then
+ einfo "Setting modsetver->modversions symlink"
+ ln -s /usr/src/linux/include/linux/modsetver.h \
+ /usr/src/linux/include/linux/modversions.h
+ fi
+}
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ epatch ${FILESDIR}/${P}-makefile_fix.patch
+}
+
+src_compile() {
+ filter-flags -fforce-addr
+
+ emake -j1 EXTRA_CFLAGS="${CFLAGS}" EXTRA_CXXFLAGS="${CXXFLAGS}" || die
+}
+
+src_install() {
+ exeinto /etc/rc.d/init.d
+ doexe ${FILESDIR}/bcrypt
+ dodir \
+ /usr/bin \
+ /etc/init.d \
+ /etc/rc.d/rc{0,1,2,3,4,5,6}.d \
+ /etc/rc{0,1,2,3,4,5,6}.d \
+ /usr/share/man/man8 \
+ /lib/modules/${KV}/kernel/drivers/block
+ einstall MAN_PATH="/usr/share/man" \
+ root="${D}" \
+ MOD_PATH=/lib/modules/${KV}/kernel/drivers/block
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/bcrypt2 bcrypt
+ rm -rf ${D}/etc/rc*.d
+ dodoc README LICENSE
+}
diff --git a/app-crypt/bestcrypt/files/bestcrypt-1.5_p5-makefile_fix.patch b/app-crypt/bestcrypt/files/bestcrypt-1.5_p5-makefile_fix.patch
new file mode 100644
index 000000000000..9868634c3930
--- /dev/null
+++ b/app-crypt/bestcrypt/files/bestcrypt-1.5_p5-makefile_fix.patch
@@ -0,0 +1,65 @@
+--- mod/Makefile 2004-02-10 10:32:19.000000000 +0000
++++ mod/Makefile 2004-03-27 13:40:22.811483270 +0000
+@@ -42,7 +42,8 @@
+
+ CFLAGS = -c -D__KERNEL__ -DMODULE
+
+-KVER = $(shell uname -r | sed 's/\(.\..\).*/\1/')
++KVER = $(shell readlink /usr/src/linux|sed -e "s:.*linux-\([0-9]\+\.[0-9]\+\)\..*:\1:")
++KNAME = $(shell readlink /usr/src/linux|sed "s:linux-::")
+
+ OBJS = bc_dev22.o
+ KEXT = o
+@@ -66,7 +67,7 @@
+ # Linux 2.4.x
+ #######################################################################
+ ifeq ($(KVER), 2.4)
+-KERNEL_DIR = /lib/modules/$(shell uname -r)/build
++KERNEL_DIR = /lib/modules/$(KNAME)/build
+ OBJS = bc_dev24.o
+ SYMSRC = bc_dev24.c
+ CFLAGS += $(shell $(CC) -I$(KERNEL_DIR)/include/ -c test_nice.c -o /dev/null 2>/dev/null && echo "-D_NICE_PRESENT_")
+@@ -84,7 +85,7 @@
+ # Linux 2.6.x
+ #######################################################################
+ ifeq ($(KVER), 2.6)
+-KERNEL_DIR = /lib/modules/$(shell uname -r)/build
++KERNEL_DIR = /lib/modules/$(KNAME)/build
+ OBJS = bc_dev26.o
+ CFLAGS += -I$(KERNEL_DIR)/include/asm/mach-default/ -DKBUILD_BASENAME=BestCrypt
+ KEXT = ko
+@@ -92,13 +93,7 @@
+
+ CFLAGS += -I$(CUR_DIR)/../include/ -I$(KERNEL_DIR)/include/
+
+-ifeq ($(ARCH), alpha)
+-CFLAGS += -O2 -pipe -fno-strict-aliasing -fno-common -mno-fp-regs -ffixed-8 -mcpu=ev5
+-else
+-#ifeq ($(ARCH), i386)
+-CFLAGS += -O6 -fno-strength-reduce -fno-strict-aliasing
+-# -Wall
+-endif
++CFLAGS += $(EXTRA_CFLAGS)
+
+ LDFLAGS = -d -r
+
+--- src/Makefile 2004-03-27 14:02:53.281310545 +0000
++++ src/Makefile 2004-03-27 14:03:09.227381640 +0000
+@@ -24,6 +24,7 @@
+ CFLAGS += -L../lib -I../include/
+ CFLAGS += -Wall -O2 -fno-strict-aliasing
+ #CFLAGS += -g -static -O6
++CFLAGS += $(EXTRA_CFLAGS)
+ LDFLAGS =
+
+ TARGETS = bctool
+--- kgsha/Makefile 2004-03-27 14:04:43.074259248 +0000
++++ kgsha/Makefile 2004-03-27 14:05:03.033341700 +0000
+@@ -20,6 +20,7 @@
+
+ CPP=g++
+ CPPFLAGS = -Wall -Werror -fno-strength-reduce -I../include -g
++CPPFLAGS += $(EXTRA_CXXFLAGS)
+
+ TARGET = libkgsha.a
+ HEADERS = kg_defs.h kgsha.h kblock.h sha1.h random.h
diff --git a/app-crypt/bestcrypt/files/digest-bestcrypt-1.5_p5 b/app-crypt/bestcrypt/files/digest-bestcrypt-1.5_p5
new file mode 100644
index 000000000000..f277395a3224
--- /dev/null
+++ b/app-crypt/bestcrypt/files/digest-bestcrypt-1.5_p5
@@ -0,0 +1 @@
+MD5 6680a7e9683729dfcf416a2ad832b3fc BestCrypt-1.5-5.tar.gz 167957