summaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2004-06-04 12:38:58 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2004-06-04 12:38:58 +0000
commit3a50e32ab2fdd61c7a9c5956478fcd566386d6a6 (patch)
tree388099e09f8c4e85fe993b330bf1e9038ae42f91 /openssl
parenta389904252b10730a6e93080d3f7ca833535d8e5 (diff)
openssl/openssh fixes
BKrev: 40c06d62lPK7koYZrzTvdKhIk8HSWg
Diffstat (limited to 'openssl')
-rw-r--r--openssl/openssl-0.9.7d/debian.patch0
-rw-r--r--openssl/openssl_0.9.7d.oe12
2 files changed, 7 insertions, 5 deletions
diff --git a/openssl/openssl-0.9.7d/debian.patch b/openssl/openssl-0.9.7d/debian.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/openssl/openssl-0.9.7d/debian.patch
diff --git a/openssl/openssl_0.9.7d.oe b/openssl/openssl_0.9.7d.oe
index ae9c7aab09..4cf16767cb 100644
--- a/openssl/openssl_0.9.7d.oe
+++ b/openssl/openssl_0.9.7d.oe
@@ -1,7 +1,8 @@
SECTION = "libs"
DESCRIPTION = "Secure Socket Layer (SSL) binary and related cryptographic tools."
-SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz"
+SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
+ file://debian.patch;patch=1"
S = "${WORKDIR}/openssl-${PV}"
AR_append = " r"
@@ -51,13 +52,14 @@ do_compile () {
do_stage () {
cp --dereference -R include/openssl ${STAGING_INCDIR}/
- oe_libinstall -a -so libcrypto ${STAGING_LIBDIR}
- oe_libinstall -a -so libssl ${STAGING_LIBDIR}
+ oe_libinstall -a -so ${S}/libcrypto ${STAGING_LIBDIR}
+ oe_libinstall -a -so ${S}/libssl ${STAGING_LIBDIR}
}
do_install () {
- install -d ${D}/${libdir}/pkgconfig
+ install -m 0755 -d ${D}/${libdir}/pkgconfig
oe_runmake -f Makefile.ssl INSTALL_PREFIX="${D}" install
- chmod u+rx ${D}/${libdir}/pkgconfig
chmod 644 ${D}/${libdir}/pkgconfig/openssl.pc
+ oe_libinstall -so ${S}/libcrypto ${D}/${libdir}
+ oe_libinstall -so ${S}/libssl ${D}/${libdir}
}