浏览代码

bandage too simple OpenSSL checks (which just work under Linux)

Ralf S. Engelschall 19 年之前
父节点
当前提交
556b98d6eb
共有 2 个文件被更改,包括 24 次插入1 次删除
  1. 23 0
      siege/siege.patch
  2. 1 1
      siege/siege.spec

+ 23 - 0
siege/siege.patch

@@ -31,3 +31,26 @@ Index: src/hash.h
  void   hash_add(HASH this, char *key, char *value);
  char  *hash_get(HASH this, char *key);
  char **hash_get_keys(HASH this);
+Index: configure
+--- configure.orig	2005-10-11 19:31:39 +0200
++++ configure	2006-05-16 09:04:36 +0200
+@@ -21075,7 +21075,9 @@
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   $EGREP "yes" >/dev/null 2>&1; then
+ 
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+            SSL_LIBS="-ldl $SSL_LIBS"
++fi
+            echo "$as_me:$LINENO: result: >= 0.9.8 (appropriate flag set)" >&5
+ echo "${ECHO_T}>= 0.9.8 (appropriate flag set)" >&6
+ 
+@@ -21124,7 +21126,9 @@
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+   $EGREP "yes" >/dev/null 2>&1; then
+ 
++if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+       SSL_LIBS="-ldl $SSL_LIBS"
++fi
+       echo "$as_me:$LINENO: result: >= 0.9.8 (appropriate flag set)" >&5
+ echo "${ECHO_T}>= 0.9.8 (appropriate flag set)" >&6
+ 

+ 1 - 1
siege/siege.spec

@@ -33,7 +33,7 @@ Class:        PLUS
 Group:        Benchmark
 License:      GPL
 Version:      2.64
-Release:      20051103
+Release:      20060516
 
 #   list of sources
 Source0:      ftp://ftp.joedog.org/pub/siege/siege-%{version}.tar.gz