summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-16 05:52:23 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-16 05:52:23 +0000
commit8197afdba8d31d144a204040793e762e1995ec62 (patch)
tree8cd856bfb29b6977978dcdd7a5f2a1d0a688d554 /obsolete-buildroot
parent9feaa112fde3c0306def6676863fe62b78f6a794 (diff)
openssl patches from below0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@100 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot')
-rw-r--r--obsolete-buildroot/make/openssl.mk15
-rw-r--r--obsolete-buildroot/sources/libssl.control9
-rw-r--r--obsolete-buildroot/sources/openssl.control9
3 files changed, 33 insertions, 0 deletions
diff --git a/obsolete-buildroot/make/openssl.mk b/obsolete-buildroot/make/openssl.mk
index a4003553b..0e1de34ce 100644
--- a/obsolete-buildroot/make/openssl.mk
+++ b/obsolete-buildroot/make/openssl.mk
@@ -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:
diff --git a/obsolete-buildroot/sources/libssl.control b/obsolete-buildroot/sources/libssl.control
new file mode 100644
index 000000000..4fe0b8726
--- /dev/null
+++ b/obsolete-buildroot/sources/libssl.control
@@ -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.
+
diff --git a/obsolete-buildroot/sources/openssl.control b/obsolete-buildroot/sources/openssl.control
new file mode 100644
index 000000000..cc679a656
--- /dev/null
+++ b/obsolete-buildroot/sources/openssl.control
@@ -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.
+