New commits:
commit 23f26d3ec489d19c662b6dde4b2b540db5d25857
Author: Andraž Levstik <ruskie AT mages.ath.cx>
Commit: Andraž Levstik <ruskie AT mages.ath.cx>
openssl: minor fixups of various things, finnaly got sse detection in
so that it will actually run on a non-sse system
commit 2953007073ae6539bb8c4548bc3a6ce5fd257fce
Author: Andraž Levstik <ruskie AT mages.ath.cx>
Commit: Andraž Levstik <ruskie AT mages.ath.cx>
kazehakase: update to 0.5.1
diff --git a/crypto/openssl/BUILD b/crypto/openssl/BUILD
index 278628a..3e10996 100755
--- a/crypto/openssl/BUILD
+++ b/crypto/openssl/BUILD
@@ -1,11 +1,16 @@
-if echo $OPTS | grep -q -- "no-krb5"; then
- OPENSSL_KRB5="no-krb5"
-fi &&
-
-./config --prefix=${INSTALL_ROOT}/usr \
- --openssldir=${INSTALL_ROOT}/etc/ssl \
- shared threads \
- $OPENSSL_KRB5 &&
+# again check if it's there or net and only then use the variable
+# else one would lose sse support on a new system
+if ! grep -q "sse" /proc/cpuinfo ; then
+if [[ $OPENSSL_SSE == n ]]; then
+ OPTS="no-sse2 $OPTS"
+fi
+fi &&
+OPTS="--prefix=${INSTALL_ROOT}/usr \
+ --openssldir=${INSTALL_ROOT}/etc/ssl \
+ shared \
+ threads \
+ $OPTS"
+./config $OPTS &&
sedit "s/-O3//" Makefile &&
sedit "s/-m486//" Makefile &&
diff --git a/crypto/openssl/CONFIGURE b/crypto/openssl/CONFIGURE
new file mode 100755
index 0000000..6aeff9b
--- /dev/null
+++ b/crypto/openssl/CONFIGURE
@@ -0,0 +1,6 @@
+if ! grep -q "sse" /proc/cpuinfo ; then
+message "Detected NO SSE support." &&
+message "Enabling SSE support when none exists can lead to a" &&
+message "broken installation. You are advised to disable it." &&
+config_query OPENSSL_SSE "Are you sure you want to enable SSE support?" n
+fi
diff --git a/crypto/openssl/DEPENDS b/crypto/openssl/DEPENDS
index ae97ad7..d3b41c5 100755
--- a/crypto/openssl/DEPENDS
+++ b/crypto/openssl/DEPENDS
@@ -3,6 +3,6 @@ depends perl &&
depends smgl-fhs &&
optional_depends krb5 \
- "krb5" \
+ "" \
"no-krb5" \
"for Kerberos v5 authentication"
diff --git a/crypto/openssl/HISTORY b/crypto/openssl/HISTORY
index 9489408..cd820cc 100644
--- a/crypto/openssl/HISTORY
+++ b/crypto/openssl/HISTORY
@@ -1,3 +1,10 @@
+2008-01-13 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * BUILD: updated a bit, krb5 is passed via OPTS
+ * CONFIGURE: added to enable/disable sse support(they call it sse2 but
+ it seems to work on sse only machines as well)
+ * DEPENDS: there is no krb5 enable option and ./config feels offended
+ about it ;)
+
2007-10-19 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 0.9.8g