openssl/openssh fixes
authorMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 4 Jun 2004 12:38:58 +0000 (12:38 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 4 Jun 2004 12:38:58 +0000 (12:38 +0000)
BKrev: 40c06d62lPK7koYZrzTvdKhIk8HSWg

openssh/openssh_3.8p1.oe
openssl/openssl-0.9.7d/debian.patch [new file with mode: 0644]
openssl/openssl_0.9.7d.oe

index f0228c8..e590a02 100644 (file)
@@ -36,3 +36,8 @@ do_configure_prepend () {
 do_compile_append () {
        install -m 0644 ${WORKDIR}/sshd_config ${S}/
 }
+
+PACKAGES =+ " openssh-scp "
+
+FILES_openssh-scp = "/usr/bin/scp"
+RDEPENDS_openssh += " openssh-scp"
diff --git a/openssl/openssl-0.9.7d/debian.patch b/openssl/openssl-0.9.7d/debian.patch
new file mode 100644 (file)
index 0000000..e69de29
index ae9c7aa..4cf1676 100644 (file)
@@ -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}
 }