tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Openssh5.9 LD- CCP -Flags but wrong SSL Version



But it's this possible that for this now Answer exist?
Please don't write all together:-)
Help

Am 08.03.2012 13:44, schrieb Maurizio Caloro:
> Hello Together
> Last week i compiled me Own Openssl-1.0.1 like a Pkgsrc pakage
> - for this i have used me new Path /usr/pkgsrc/security/openssl-1.0.1
> 
> The installation of this was successful on /usr/pkg/sbin/ /usr/pkg/Inlude 
> /usr/pkg/lib
> 
> now i try to Compile on the same way Openssh5.9
> - here i have used me new Path /usr/pkgsrc/security/openssh5.9
> 
> i see now if compiling Openssh-5.9 it will use ssl from /usr/lib/ or 
> /usr/include/
> after try to work with modified LD/CPP -Flag i dont have success, here i 
> wan't give
> me "Makefile" possible i don't have the right switch set.
> 
> Cat "/usr/pkgsrc/security/openssh5.9/" Start [Makefile]
> # $NetBSD $ # 
> 
> DISTNAME=               openssh-5.9p1
> PKGNAME=                openssh-5.9.1
> PKGREVISION=            1
> SVR4_PKGNAME=           ossh
> CATEGORIES=             security
> MASTER_SITES=           ftp://ftp.openssh.com/pub/OpenBSD/OpenSSH/portable/
> 
> MAINTAINER=             EMail@Adress
> HOMEPAGE=               http://www.openssh.com
> COMMENT=                OpenSSH-5.9 Build
> 
> PKG_DESTDIR_SUPPORT=    user-destdir
> GNU_CONFIGURE=          yes
> CRYPTO=                 yes
> BUILD_DEFS+=            IPV6_READY
> USE_TOOLS+=             PERL
> 
> ### --with-bsd-auth wird mit nachfolgenden Fehler gestopt
> ### ../auth.h:39:22: error: bsd_auth.h: No such file or directory ###
> ### CONFIGURE_ARGS+=    --with-bsd-auth
> CONFIGURE_ARGS+=        --with-mantype=man
> #CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}
> #CONFIGURE_ARGS+=        --with-pid-dir=${SSH_PID_DIR:Q}
> CONFIGURE_ARGS+=        --with-ssl-dir=/usr/pkg/bin/
> CONFIGURE_ARGS+=        --includedir=/usr/pkg/include/
> CONFIGURE_ARGS+=        --libdir=/usr/pkg/lib/
> #CONFIGURE_ARGS+=        --with-ssl-dir=${SSLBASE:Q}
> #CONFIGURE_ARGS+=        --with-tcp-wrappers=${BUILDLINK_PREFIX.tcp_wrappers}
> 
> CC=gcc 
> LD=gcc
> CFLAGS=-g -O2
> LDFLAGS=-L/usr/pkg/lib
> CPPFLAGS=-I/usr/pkg/include
> 
> .include "../../mk/bsd.pkg.mk"
> [Finish Makefile]
> 
> What i see if compile openssh-5.9 with following Syntax
> /usr/source/openssh-5.9/LDFLAGS="-L/usr/pkg/lib" 
> CPPFLAGS="-I/usr/pkg/include" ./configure --with-ssl-dir=/usr/pkg/bin/openssl
> 
> and here it's taking the rigth version.....
> checking OpenSSL header version... 10100000 (OpenSSL 1.1.0-dev xx XXX xxxx)
> checking OpenSSL library version... 10100000 (OpenSSL 1.1.0-dev xx XXX xxxx)
> 
> 
> Thanks for become any help from us
> regards
> Mauri



Home | Main Index | Thread Index | Old Index