OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 30-May-2003 22:33:59
Branch: HEAD Handle: 2003053021335702
Modified files:
openpkg-src/openssl openssl.spec
openpkg-web news.txt
Log:
provide options for the OpenSSL build variants
Summary:
Revision Changes Path
1.42 +27 -4 openpkg-src/openssl/openssl.spec
1.4663 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openssl/openssl.spec
============================================================================
$ cvs diff -u -r1.41 -r1.42 openssl.spec
--- openpkg-src/openssl/openssl.spec 11 Apr 2003 07:33:52 -0000 1.41
+++ openpkg-src/openssl/openssl.spec 30 May 2003 20:33:59 -0000 1.42
@@ -33,7 +33,12 @@
Group: Cryptography
License: BSD-style
Version: 0.9.7b
-Release: 20030411
+Release: 20030530
+
+# package options
+%option with_zlib no
+%option with_idea no
+%option with_threads no
# list of sources
Source0: ftp://ftp.openssl.org/source/openssl-%{version}.tar.gz
@@ -57,8 +62,14 @@
%prep
%setup -q
- %{l_shtool} subst -e 's;-m486;-march=i486;g' Configure
- %{l_shtool} subst -e 's;test "$OSTYPE" = msdosdjgpp;true;' util/point.sh
+ %{l_shtool} subst \
+ -e 's;-m486;-march=i486;g' \
+ -e 's;-DZLIB;-I%{l_prefix}/include -DZLIB;' \
+ -e 's;-lz;-L%{l_prefix}/lib -lz;' \
+ Configure
+ %{l_shtool} subst \
+ -e 's;test "$OSTYPE" = msdosdjgpp;true;' \
+ util/point.sh
%build
%{l_prefix}/bin/perl util/perlpath.pl %{l_prefix}/bin/perl
@@ -66,7 +77,19 @@
./config \
--prefix=%{l_prefix} \
--openssldir=%{l_prefix}/etc/openssl \
- no-idea no-threads
+%if "%{with_zlib}" == "yes"
+ zlib \
+%else
+ no-zlib \
+%endif
+%if "%{with_idea}" != "yes"
+ no-idea \
+%endif
+%if "%{with_threads}" == "yes"
+ threads
+%else
+ no-threads
+%endif
%{l_make} %{l_mflags}
%install
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.4662 -r1.4663 news.txt
--- openpkg-web/news.txt 30 May 2003 19:47:09 -0000 1.4662
+++ openpkg-web/news.txt 30 May 2003 20:33:57 -0000 1.4663
@@ -1,3 +1,4 @@
+30-May-2003: Upgraded package: P<openssl-0.9.7b-20030530>
30-May-2003: Upgraded package: P<qpopper-4.0.5-20030530>
30-May-2003: Upgraded package: P<imapd-2.1.13-20030530>
30-May-2003: Upgraded package: P<petidomo-4.0b1-20030530>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]