head	1.10;
access;
symbols
	RELEASE_4_3_0:1.9
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.9
	RELEASE_4_1_0:1.9
	RELEASE_3_5_0:1.8
	RELEASE_4_0_0:1.7
	RELEASE_3_4_0:1.3;
locks; strict;
comment	@# @;


1.10
date	2001.08.10.14.21.32;	author roam;	state dead;
branches;
next	1.9;

1.9
date	2000.07.07.19.27.28;	author steve;	state Exp;
branches;
next	1.8;

1.8
date	2000.04.30.20.01.46;	author steve;	state Exp;
branches;
next	1.7;

1.7
date	2000.03.07.13.21.22;	author dirk;	state Exp;
branches;
next	1.6;

1.6
date	2000.02.27.06.21.10;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2000.02.15.07.09.55;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2000.02.12.10.37.45;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	99.11.01.01.33.43;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	99.06.23.19.04.20;	author dirk;	state dead;
branches;
next	1.1;

1.1
date	99.06.06.16.55.02;	author steve;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Update to 3.19.

PR:		29603
Submitted by:	maintainer
@
text
@*** configure.in.orig	Sun Jun 18 10:25:31 2000
--- configure.in	Sun Jun 18 10:28:17 2000
***************
*** 109,115 ****
  dnl Check for RSAref library.
  AC_MSG_CHECKING([for RSAref library])
  saved_LIBS="$LIBS"
! LIBS="$saved_LIBS -lRSAglue -lrsaref"
  AC_TRY_LINK([], [],
  [AC_MSG_RESULT(yes); ],
  [AC_MSG_RESULT(no)]; LIBS="$saved_LIBS")
--- 109,115 ----
  dnl Check for RSAref library.
  AC_MSG_CHECKING([for RSAref library])
  saved_LIBS="$LIBS"
! LIBS="$saved_LIBS -lRSAglue -L$prefix/lib -lrsaref"
  AC_TRY_LINK([], [],
  [AC_MSG_RESULT(yes); ],
  [AC_MSG_RESULT(no)]; LIBS="$saved_LIBS")
@


1.9
log
@Update to version 3.8.4.

PR:		19637
Submitted by:	maintainer
@
text
@@


1.8
log
@Update to version 3.8.

PR:		17792
Submitted by:	Keith Ray <kmray@@slb.com>
@
text
@d1 2
a2 2
*** configure.orig	Tue Apr  4 11:11:36 2000
--- configure	Tue Apr  4 11:11:40 2000
d4 3
a6 37
*** 935,941 ****
  
  
  checkssldir() { :
!     if test -d "$1/certs"; then
          if test -f "$1/include/openssl/ssl.h"; then
              cat >> confdefs.h <<\EOF
  #define HAVE_OPENSSL 1
--- 935,941 ----
  
  
  checkssldir() { :
! #    if test -d "$1/certs"; then
          if test -f "$1/include/openssl/ssl.h"; then
              cat >> confdefs.h <<\EOF
  #define HAVE_OPENSSL 1
***************
*** 948,954 ****
              ssldir="$1"
              return 0
          fi
!     fi
      return 1
  }
  
--- 948,954 ----
              ssldir="$1"
              return 0
          fi
! #    fi
      return 1
  }
  
***************
*** 1260,1266 ****
  echo $ac_n "checking for RSAref library""... $ac_c" 1>&6
  echo "configure:1262: checking for RSAref library" >&5
d9 6
a14 6
  cat > conftest.$ac_ext <<EOF
  #line 1266 "configure"
  #include "confdefs.h"
--- 1260,1266 ----
  echo $ac_n "checking for RSAref library""... $ac_c" 1>&6
  echo "configure:1262: checking for RSAref library" >&5
d16 4
a19 4
! LIBS="$saved_LIBS -lRSAglue -L${prefix}/lib -lrsaref"
  cat > conftest.$ac_ext <<EOF
  #line 1266 "configure"
  #include "confdefs.h"
@


1.7
log
@Fix usage of libc_r (i. e. replace -lc_r with -pthread) and simplify
prefix handling.

OK'ed by:	maintainer
@
text
@d1 2
a2 2
*** configure.orig	Thu Feb 10 12:18:18 2000
--- configure	Tue Feb 29 13:56:21 2000
d4 1
a4 54
*** 1051,1064 ****
    echo "$ac_t""no" 1>&6
  fi
  
! echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
! echo "configure:1056: checking for pthread_create in -lpthread" >&5
! ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lpthread  $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 1064 "configure"
  #include "confdefs.h"
--- 1051,1064 ----
    echo "$ac_t""no" 1>&6
  fi
  
! echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
! echo "configure:1056: checking for pthread_create in -lc_r" >&5
! ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-pthread  $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 1064 "configure"
  #include "confdefs.h"
***************
*** 1086,1098 ****
  fi
  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    echo "$ac_t""yes" 1>&6
!     ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
      -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    cat >> confdefs.h <<EOF
  #define $ac_tr_lib 1
  EOF
  
!   LIBS="-lpthread $LIBS"
  
  else
    echo "$ac_t""no" 1>&6
--- 1086,1098 ----
  fi
  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    echo "$ac_t""yes" 1>&6
!     ac_tr_lib=HAVE_LIB`echo c_r | sed -e 's/[^a-zA-Z0-9_]/_/g' \
      -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    cat >> confdefs.h <<EOF
  #define $ac_tr_lib 1
  EOF
a5 1
!   LIBS="-pthread $LIBS"
d7 13
a19 2
  else
    echo "$ac_t""no" 1>&6
d21 15
a35 1
*** 1174,1180 ****
a36 14
  echo $ac_n "checking for SSL directory""... $ac_c" 1>&6
  echo "configure:1177: checking for SSL directory" >&5
! for dir in ${prefix} /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do
      ssldir="$dir"
      if test -f "$dir/include/openssl/ssl.h"; then
          cat >> confdefs.h <<\EOF
--- 1174,1180 ----
  
  echo $ac_n "checking for SSL directory""... $ac_c" 1>&6
  echo "configure:1177: checking for SSL directory" >&5
! for dir in /usr ${prefix} /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local; do
      ssldir="$dir"
      if test -f "$dir/include/openssl/ssl.h"; then
          cat >> confdefs.h <<\EOF
d38 1
a38 1
*** 1199,1205 ****
d40 1
a40 1
  echo "configure:1201: checking for RSAref library" >&5
d44 1
a44 1
  #line 1205 "configure"
d46 1
a46 1
--- 1199,1205 ----
d48 1
a48 1
  echo "configure:1201: checking for RSAref library" >&5
d52 1
a52 1
  #line 1205 "configure"
@


1.6
log
@Fix build.

Submitted by:	Jim Bloom <bloom@@acm.org>
@
text
@d1 2
a2 19
*** configure.orig	Thu Feb 10 06:18:18 2000
--- configure	Fri Feb 25 16:29:14 2000
***************
*** 9,15 ****
  
  # Defaults:
  ac_help=
! ac_default_prefix=/usr/local
  # Any additions from configure.in:
  ac_help="$ac_help
    --with-random=FILE      read randomness from FILE (default=/dev/urandom)"
--- 9,15 ----
  
  # Defaults:
  ac_help=
! ac_default_prefix=%%LOCALBASE%%
  # Any additions from configure.in:
  ac_help="$ac_help
    --with-random=FILE      read randomness from FILE (default=/dev/urandom)"
d30 1
a30 1
! LIBS="-lc_r  $LIBS"
d59 1
a59 1
!   LIBS="-lc_r $LIBS"
d93 1
a93 1
! LIBS="$saved_LIBS -lRSAglue -L%%LOCALBASE%%/lib -lrsaref"
@


1.5
log
@Upgrade to stunnel 3.7

PR:		16554 (updated)
Submitted by:	Martti Kuparinen <martti.kuparinen@@lmf.ericsson.se>
@
text
@d1 19
a19 2
*** configure.orig	Mon Feb 14 12:32:38 2000
--- configure	Mon Feb 14 12:33:56 2000
d80 34
@


1.4
log
@USE_OPENSSL

Submitted by:	Jim Bloom <bloom@@acm.org>
@
text
@d1 62
a62 122
--- configure.orig	Tue Jul 13 09:35:02 1999
+++ configure	Thu Feb  3 15:38:42 2000
@@@@ -932,14 +932,14 @@@@
   echo "$ac_t""no" 1>&6
 fi
 
-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
-echo "configure:937: checking for pthread_create in -lpthread" >&5
-ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
+echo "configure:937: checking for pthread_create in -lc_r" >&5
+ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lpthread  $LIBS"
+LIBS="-lc_r  $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 945 "configure"
 #include "confdefs.h"
@@@@ -967,13 +967,13 @@@@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-    ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+    ac_tr_lib=HAVE_LIB`echo c_r | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
   cat >> confdefs.h <<EOF
 #define $ac_tr_lib 1
 EOF
 
-  LIBS="-lpthread $LIBS"
+  LIBS="-lc_r $LIBS"
 
 else
   echo "$ac_t""no" 1>&6
@@@@ -1053,53 +1053,6 @@@@
 fi
 rm -f conftest*
 
-echo $ac_n "checking for SSL directory""... $ac_c" 1>&6
-echo "configure:1058: checking for SSL directory" >&5
-for dir in /usr/local/ssl /usr/lib/ssl /usr/pkg /usr/local /usr; do
-    ssldir="$dir"
-    if test -f "$dir/include/openssl/ssl.h"; then
-        cat >> confdefs.h <<\EOF
-#define HAVE_OPENSSL 1
-EOF
-
-        break
-    fi
-    if test -f "$dir/include/ssl.h"; then
-        break
-    fi
-done
-echo "$ac_t""$ssldir" 1>&6
-
-cat >> confdefs.h <<EOF
-#define ssldir "$ssldir"
-EOF
-
-CFLAGS="$CFLAGS -I$ssldir/include"
-LIBS="$LIBS -L$ssldir/lib -lssl -lcrypto"
-
-echo $ac_n "checking for RSAref library""... $ac_c" 1>&6
-echo "configure:1082: checking for RSAref library" >&5
-saved_LIBS="$LIBS"
-LIBS="$saved_LIBS -lRSAglue -lrsaref"
-cat > conftest.$ac_ext <<EOF
-#line 1086 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:1093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-  rm -rf conftest*
-  echo "$ac_t""yes" 1>&6; 
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
-  echo "$ac_t""no" 1>&6; LIBS="$saved_LIBS"
-fi
-rm -f conftest*
-
 # AC_HEADER_DIRENT
 # AC_HEADER_STDC
 # AC_HEADER_SYS_WAIT
@@@@ -1266,6 +1219,30 @@@@
   echo "$ac_t""no" 1>&6
 fi
 done
+
+echo $ac_n "checking for SSL directory""... $ac_c" 1>&6
+echo "configure:1058: checking for SSL directory" >&5
+for dir in /usr %%LOCALBASE%% /usr/local/ssl /usr/lib/ssl /usr/pkg; do
+    ssldir="$dir"
+    if test -f "$dir/include/openssl/ssl.h"; then
+        cat >> confdefs.h <<\EOF
+#define HAVE_OPENSSL 1
+EOF
+
+        break
+    fi
+    if test -f "$dir/include/ssl.h"; then
+        break
+    fi
+done
+echo "$ac_t""$ssldir" 1>&6
+
+cat >> confdefs.h <<EOF
+#define ssldir "$ssldir"
+EOF
+
+CFLAGS="$CFLAGS -I$ssldir/include"
+LIBS="$LIBS -L$ssldir/lib -lssl -lcrypto \${EXTRA_SSL_LIBS}"
 
 
 trap '' 1 2 15
@


1.3
log
@Teach this port's configure script that phtread_create can be found in
-lc_r.

PR:		13700
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@@gns.com.br>
@
text
@d1 2
a2 2
--- configure.orig	Tue Jul 13 10:35:02 1999
+++ configure	Sat Sep 11 18:25:14 1999
d38 85
@


1.2
log
@Upgrade to version 3.3.

PR:		ports/12318:
Submitted by:	Martti Kuparinen <martti.kuparinen@@ericsson.com> (maintainer)
@
text
@d1 37
a37 13
*** configure.in.orig	Tue Apr 27 18:38:28 1999
--- configure.in	Thu Jun  3 11:24:20 1999
***************
*** 16,21 ****
--- 16,23 ----
  SSLDIR="/usr/local/ssl"
  test -f $SSLDIR/include/ssl.h || SSLDIR="/usr/lib/ssl"
  test -f $SSLDIR/include/ssl.h || SSLDIR="/usr"
+ test -f $SSLDIR/include/ssl.h || SSLDIR="/usr/local"
+ test -f $SSLDIR/include/openssl/ssl.h || SSLDIR="/usr/local"
  AC_MSG_RESULT($SSLDIR)
  AC_SUBST(SSLDIR)
  AC_DEFINE_UNQUOTED(SSLDIR, "$SSLDIR")
@


1.1
log
@Update to version 3.2.

PR:		12018
Submitted by:	maintainer
@
text
@@

