--
http://www.apache-ssl.org/ben.html
Coming to ApacheCon Europe 2000? http://apachecon.com/
Hi -
I put together an RPM spec file for OpenSSL. Perhaps you might include
it in the next distribution, for those who want an easy build option.
--
-bwb
Brent Baccala
[EMAIL PROTECTED]
Summary: Cryptographic library to support SSL/TLS
Name: openssl
Version: 0.9.5a
Release: 1
Copyright: bsd
Group: Development/Libraries
Source: openssl-%{version}.tar.gz
Buildroot: /var/tmp/openssl-root
%description
OpenSSL is a library that provides cryptographic functionality,
implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer
Security (TLS v1) protocols as well as a full-strength general purpose
cryptography library for applications such as secure web servers.
OpenSSL includes a command line utility (openssl) that can be used to
perform a variety of cryptographic functions, such as generating and
manipulating X.509 certificates, encrypting and decrypting S/MIME
messages, and testing SSL/TLS connections.
%package devel
Summary: Header and object files for crytographic development
Group: Development/Libraries
%description devel
The openssl-devel package contains the header and object files necessary
for developing programs which use the OpenSSL library for cryptographic
applications, primarily the SSL/TLS protocols.
Install openssl-devel if you are going to develop programs using the
OpenSSL library.
%prep
%setup -n openssl-%{version}
%build
./Configure --prefix=/usr --install-prefix=$RPM_BUILD_ROOT linux-elf
export LD_LIBRARY_PATH=$RPM_BUILD_DIR/openssl-%{version}
make linux-shared
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/lib
make install
cp -d lib* $RPM_BUILD_ROOT/usr/lib
%clean
rm -rf $RPM_BUILD_ROOT
%post
ldconfig
%postun
ldconfig
%files
%defattr(-,root,root)
%doc README FAQ NEWS CHANGES CHANGES.SSLeay LICENSE
%doc doc/openssl*
/usr/lib/*so*
/usr/bin/*
%dir /usr/ssl
/usr/ssl/certs
/usr/ssl/misc
/usr/ssl/private
%config /usr/ssl/openssl.cnf
%files devel
/usr/lib/*.a
/usr/include/openssl
/usr/ssl/man
%changelog
* Sat Jul 22 2000 Brent Baccala <[EMAIL PROTECTED]>
- adapted from stunnel RPM spec file