1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 17:56:15 +02:00

openssl patches from below0

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@100 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mbm 2004-07-16 05:52:23 +00:00
parent 9feaa112fd
commit 8197afdba8
3 changed files with 33 additions and 0 deletions

View File

@ -10,6 +10,9 @@ OPENSSL_SOURCE:=openssl-0.9.7d.tar.gz
OPENSSL_DIR:=$(BUILD_DIR)/openssl-0.9.7d
OPENSSL_PATCH=$(SOURCE_DIR)/openssl.patch
OPENSSL_IPK_DIR=$(BUILD_DIR)/openssl-0.9.7d-ipk
LIBSSL_IPK=$(BUILD_DIR)/libssl_0.9.7d_mipsel.ipk
$(DL_DIR)/$(OPENSSL_SOURCE):
$(WGET) -P $(DL_DIR) $(OPENSSL_SITE)/$(OPENSSL_SOURCE)
@ -65,6 +68,18 @@ openssl-headers: $(TARGET_DIR)/usr/lib/libssl.a
openssl: uclibc $(TARGET_DIR)/usr/lib/libcrypto.so.0.9.7
$(LIBSSL_IPK): uclibc $(STAGING_DIR)/usr/lib/libcrypto.so.0.9.7
mkdir -p $(OPENSSL_IPK_DIR)/CONTROL
cp $(SOURCE_DIR)/libssl.control $(OPENSSL_IPK_DIR)/CONTROL/control
mkdir -p $(OPENSSL_IPK_DIR)/usr/lib
cp -fa $(STAGING_DIR)/lib/libcrypto.so* $(OPENSSL_IPK_DIR)/usr/lib/
cp -fa $(STAGING_DIR)/lib/libssl.so* $(OPENSSL_IPK_DIR)/usr/lib/
-$(STRIP) --strip-unneeded $(OPENSSL_IPK_DIR)/usr/lib/libssl.so.0.9.7
-$(STRIP) --strip-unneeded $(OPENSSL_IPK_DIR)/usr/lib/libcrypto.so.0.9.7
cd $(BUILD_DIR); $(STAGING_DIR)/bin/ipkg-build -c -o root -g root $(OPENSSL_IPK_DIR)
openssl-ipk: $(LIBSSL_IPK)
openssl-source: $(DL_DIR)/$(OPENSSL_SOURCE)
openssl-clean:

View File

@ -0,0 +1,9 @@
Package: libssl
Priority: optional
Version: 0.9.7d-1
Architecture: mipsel
Maintainer: below0
Section: libs
Source: Embedded in the main OpenWrt buildroot
Description: OpenSSL libraries used for SSL encryption.

View File

@ -0,0 +1,9 @@
Package: openssl
Priority: optional
Version: 0.9.7d-1
Architecture: mipsel
Maintainer: below0
Section: libs
Source: Embedded in the main OpenWrt buildroot
Description: OpenSSL libraries used for SSL encryption.