search for: saved_libs

Displaying 20 results from an estimated 27 matches for "saved_libs".

2001 Feb 13
1
configure.in reorder patch
...tm.h paths.h poll.h pty.h regex.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/queue.h sys/select.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h sys/un.h stdarg.h stddef.h time.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h) + +saved_LIBS="$LIBS" # Checks for libraries. -if test -z "$no_libsocket" ; then - AC_CHECK_LIB(nsl, yp_match, , ) -fi if test -z "$no_libnsl" ; then - AC_CHECK_LIB(socket, main, , ) + AC_CHECK_LIB(nsl, yp_match, LIBS="$LIBS -lnsl") fi +if test -z "$no_libsocket&qu...
2000 Mar 23
1
Found a bug in the OpsnSSH configuration script
...Mar 23 18:55:05 2000 @@ -152,10 +152,10 @@ AC_MSG_CHECKING([for OpenSSL/SSLeay directory]) for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do if test ! -z "$ssldir" ; then - LIBS="$saved_LIBS -L$ssldir" + LIBS="$saved_LIBS -L$ssldir/lib" CFLAGS="$CFLAGS -I$ssldir/include" if test "x$need_dash_r" = "x1" ; then - LIBS="$LIBS -R$ssldir" + LIBS="$LIBS -R$ssldir/lib" fi fi LIBS="$LIBS -lcrypto" --- c...
2000 Aug 15
0
[PATCH]: Port to Mac OS X/Darwin, misc
...ude" if test ! -z "$need_dash_r" ; then LDFLAGS="$LDFLAGS -R$ssldir/lib -R$ssldir" fi + LIBCRYPTO="-lcrypto" else LDFLAGS="$saved_LDFLAGS" + CFLAGS="$saved_CFLAGS" + LIBCRYPTO="-lcrypto" fi - LIBS="$saved_LIBS -lcrypto" + LIBS="$saved_LIBS $LIBCRYPTO" # Basic test to check for compatible version and correct linking # *does not* test for RSA - that comes later. @@ -372,7 +381,13 @@ ac_cv_openssldir=$ssldir ]) -if (test ! -z "$ac_cv_openssldir" && test "x$a...
2000 Mar 11
3
TEST RELEASE: openssh-1.2.3pre1
I have just uploaded a test release of 1.2.3. It includes numerous fixes from the OpenBSD team and should fix the stupid configure bugs of 1.2.2p1. http://violet.ibs.com.au/openssh/files/test/ A detailed ChangeLog is in the directory. Please report successes and failures. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller -
2001 Jun 06
1
configure patch for Alpha/Tru64 Unix 5.1
...;ll send more patches if required. :-) diff -ur src-2.9p1/configure.in src-2.9p1-local/configure.in --- src-2.9p1/configure.in Wed Jun 6 17:15:09 2001 +++ src-2.9p1-local/configure.in Wed Jun 6 19:06:07 2001 @@ -683,6 +683,7 @@ break; ], []) done +LIBS="$saved_LIBS" if test ! -z "$no_rsa" ; then AC_MSG_RESULT(disabled) @@ -698,7 +699,7 @@ else RSA_MSG="yes (using RSAref)" AC_MSG_RESULT(using RSAref) - LIBS="$saved_LIBS -lcrypto -lRSAg...
1999 Dec 28
0
Patches to report rsaref build and to call pam_setcred
...ainst RSAref. Used only to print the right + * message at run-time. */ +#undef RSAREF + /* Define is utmp.h has a ut_host field */ #undef HAVE_HOST_IN_UTMP diff -uNr configure.in configure.in --- configure.in Sat Dec 25 18:21:48 1999 +++ configure.in Mon Dec 27 10:45:09 1999 @@ -89,7 +89,8 @@ saved_LIBS="$LIBS" LIBS="$saved_LIBS -lRSAglue -lrsaref" AC_TRY_LINK([], [], -[AC_MSG_RESULT(yes); ], +[AC_MSG_RESULT(yes); + AC_DEFINE(RSAREF)], [AC_MSG_RESULT(no)]; LIBS="$saved_LIBS") dnl Checks for libraries. diff -uNr ssh.c ssh.c --- ssh.c Mon Dec 13 18:47:16 1999 +++...
2002 Apr 03
2
cross compilation?
...[2048]; + memset(a, 0, sizeof(a)); + RAND_add(a, sizeof(a), sizeof(a)); + return(RAND_status() <= 0); ], [ found_crypto=1 break; - ], [] + ], [ ] ) if test ! -z "$found_crypto" ; then @@ -800,26 +791,26 @@ else LIBS="$saved_LIBS -lRSAglue -lrsaref" fi - AC_TRY_RUN([ -#include <string.h> -#include <openssl/rand.h> -#include <openssl/rsa.h> -#include <openssl/bn.h> -#include <openssl/sha.h> -int main(void) -{ - int num; RSA *key; static unsigned char p_in[] = "blahblah"; - un...
2023 Jun 17
2
[PATCH] ssh-agent: add systemd socket-based activation
...;xyes" ; then + systemd=yes + AC_DEFINE([WITH_SYSTEMD], [1], [enable systemd socket-based activation]) + fi + ] +) + use_stack_protector=1 use_toolchain_hardening=1 AC_ARG_WITH([stackprotect], @@ -3376,6 +3386,18 @@ AC_CHECK_LIB([crypt], [crypt], [ AC_CHECK_FUNCS([crypt]) LIBS="$saved_LIBS" +if test "x$systemd" == "xyes" ; then + # Check for sd_listen_fds in libsystemd for socket activation + saved_LIBS="$LIBS" + AC_CHECK_LIB([systemd], [sd_listen_fds], [ + LIBS="-lsystemd $LIBS" + AGENTLIBS="-lsystemd $AGENTLIBS" + ]) + AC_C...
2000 Mar 09
1
No subject
...able to locate ssl, even when I gave it the correct (Default-) path: /usr/local/ssl. After a little investigation I found the reason for this: configure searches for the library files in $ssldir, but for include files in $ssldir/include. I changed one line:1893c1893 < LIBS="$saved_LIBS -L$ssldir" --- > LIBS="$saved_LIBS -L$ssldir/lib" Maybe I overlooked something - then forgive me for intruding :-} Hannes -- Johannes Gritsch Unix Consultant Windschnur, Austria Sent through GMX FreeMail - http://www.gmx.net
2007 Sep 10
1
4.7p1 password auth broken on SCO OSR6
openssh 4.7p1 SCO OSR6 Password authentication is non-functional. This seems dependent on USE_LIBIAF which further depends on HAVE_LIBIAF (in defines.h), but there is no longer any code in configure to define the latter. Building with HAVE_LIBIAF defined enables password authentication, but only for non-long (<9 char) passwords, even though UNIXWARE_LONG_PASSWORDS seems to be defined. I
2000 Mar 11
1
OpenSSH 1.2.3 Configure
...;configure:1890: checking for OpenSSL/SSLeay directory" >&5 ! for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do if test ! -z "$ssldir" ; then ! LIBS="$saved_LIBS -L$ssldir -lcrypto" CFLAGS="$CFLAGS -I$ssldir/include" if test "x$need_dash_r" = "x1" ; then LIBS="$LIBS -R$ssldir/lib" --- 1887,1896 ---- fi echo $ac_n "checking for OpenSSL/SSLeay directo...
2000 Mar 17
2
Problem with 1.2.3pre4 and RSAref
The following code snippet will not compile support for RSAref on NetBSD even if it exists on the system (which breaks OpenSSL): for WANTS_RSAREF in "" 1 ; do if test -z "$WANTS_RSAREF" ; then LIBS="$saved_LIBS -lcrypto" else LIBS="$saved_LIBS -lcrypto -lRSAglue -lrsaref" fi .... It appears that the code referenced in configure just before line 1950 works correctly even without the RSAglue and rsaref libraries, but "in production...
2000 Mar 09
0
Can not configure openssh-1.2.2p1
...Mar 8 22:28:19 2000 @@ -152,10 +152,10 @@ AC_MSG_CHECKING([for OpenSSL/SSLeay directory]) for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do if test ! -z "$ssldir" ; then - LIBS="$saved_LIBS -L$ssldir" + LIBS="$saved_LIBS -L$ssldir/lib" CFLAGS="$CFLAGS -I$ssldir/include" if test "x$need_dash_r" = "x1" ; then - LIBS="$LIBS -R$ssldir" + LIBS="$LIBS -R$ssldir/lib" fi fi LIBS="$LIBS -lcrypto" In...
2006 Mar 14
2
Problem compiling openssh-4.3p2 w/ openssl.0.9.8a on FC3
Hi there, I have tried compiling OpenSSH 4.3p2 using the following steps: Upgrade OpenSSL tar xvfz openssl-0.9.8a.tar.gz cd openssl-0.9.8a ./config make make install Upgrade zlib tar xvfz zlib-1.2.3.tar.gz ./configure make test make install Upgrade OpenSSH tar xvfz openssh-4.3p2.tar.gz cd openssh-4.3p2.tar.gz ./configure --with-tcp-wrappers --with-ssl-dir=/usr/local/ssl
2010 Apr 10
0
[LLVMdev] darwin dragon-egg build issues
Hi Jack, > Is anyone building dragon-egg on darwin? Anton built it once. There were some problems with dynamic libraries: gcc's plugin support requires the use of dynamic libraries, and the configure logic it uses thinks that darwin does not support dynamic libraries! So it is possible that plugin support was automatically disabled because of this. Try configuring with
2000 May 31
0
openssh 2.1.0p3 w/ rsaref
...a patch that fixes it for me. Cheers, Nalin -------------- next part -------------- --- openssh-2.1.0p3/configure.in Wed May 31 08:56:52 2000 +++ openssh-2.1.0p3/configure.in Wed May 31 09:03:49 2000 @@ -231,7 +231,27 @@ [ found_crypto=1 break; - ], [] + ], + [ + LIBS="$saved_LIBS -lcrypto -lRSAglue -lrsaref" + AC_TRY_RUN( + [ + #include <string.h> + #include <openssl/rand.h> + int main(void) + { + char a[2048]; + memset(a, 0, sizeof(a)); + RAND_add(a, sizeof(a), sizeof(a)); + return(RAND_status() <= 0); + } + ], +...
2016 Jan 27
1
opus-tools: fix PIE configure test
...arch path of the compiler. This isn't necessarily the case (/usr/local, /opt, ...). Straightforward fix: --- configure.ac.orig Thu Jun 12 02:11:24 2014 +++ configure.ac Wed Jan 27 16:50:22 2016 @@ -261,11 +261,11 @@ saved_CFLAGS="$CFLAGS" saved_LDFLAGS="$LDFLAGS" saved_LIBS="$LIBS" - CFLAGS="$CFLAGS -fPIE" + CFLAGS="$CFLAGS $OPUS_CFLAGS -fPIE" LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now" LIBS="$LIBS $OPUS_LIBS" AC_MSG_CHECKING([for PIE support]) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <opus/opus....
2014 Jul 12
1
openssh portable and libressl portable cause recursion between arc4random and RAND_bytes
Hi, Yesterday I tried to replace the system openssl in a gentoo system with libressl. With openssh an interesting issue popped up: * RAND_bytes in libressl calls arc4random * arc4random is a compat function both in openssh and libressl * arc4random from openssh uses RAND_bytes So what's happening is a recursion. arc4random wants to use RAND_bytes and RAND_bytes wants to use arc4random. The
2002 Jan 18
1
[patch] openssh 3.0.2p1: Libwrap gets linked in unnecessarily
...AC_MSG_CHECKING(for libwrap) AC_TRY_LINK( [ @@ -557,12 +558,14 @@ AC_ARG_WITH(tcp-wrappers, [ AC_MSG_RESULT(yes) AC_DEFINE(LIBWRAP) + AC_SUBST(LIBWRAP) TCPW_MSG="yes" ], [ AC_MSG_ERROR([*** libwrap missing]) ] ) + LIBS="$saved_LIBS" fi ] )
2010 Apr 10
3
[LLVMdev] darwin dragon-egg build issues
Is anyone building dragon-egg on darwin? I am trying to build against the fink gcc45 package that I have prepared for darwin and a updated fink llvm 2.7 package that is built as... ../llvm-2.7/configure --prefix=/sw --prefix=/sw/lib/llvm --mandir=/sw/share/man --infodir=/sw/share/info --with-gmp=/sw --with-libiconv-prefix=/usr --with-system-zlib --with-as=/Developer/usr/bin/as