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/bestcrypt/files
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/bestcrypt/files')
-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
2 files changed, 66 insertions, 0 deletions
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