cryptodev: update to 1.4.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 31 Mar 2012 09:21:15 +0000 (11:21 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 31 Mar 2012 09:21:15 +0000 (11:21 +0200)
lfs/cryptodev

index 17a10c7..0c2f486 100644 (file)
@@ -26,10 +26,10 @@ include Config
 
 VERSUFIX=ipfire$(KCFG)
 
-VER        = 20091126
+VER        = 1.4
 
-THISAPP    = cryptodev-$(VER)
-DL_FILE    = $(THISAPP).tar.bz2
+THISAPP    = cryptodev-linux-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)-kmod-$(KVER)-$(VERSUFIX)
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 26ffa32ef75bea7e980ab66166616e95
+$(DL_FILE)_MD5 = 7b0ac1c0a88d8fbe7316db02f21666e6
 
 install : $(TARGET)
 
@@ -74,13 +74,13 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && make build \
                KERNEL_DIR=/lib/modules/$(KVER)-$(VERSUFIX)/build
 
        -mkdir -pv /usr/include/crypto
        cd $(DIR_APP) && make install \
                KERNEL_DIR=/lib/modules/$(KVER)-$(VERSUFIX)/build
-       ln -svf ../crypto/cryptodev.h /usr/include/linux/cryptodev.h
+#      ln -svf ../crypto/cryptodev.h /usr/include/linux/cryptodev.h
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)