CVS: moonbase/crypto/openssl/0.9.6k BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 POST_INSTALL, NONE, 1.1

elaine at lunar-linux.org elaine at lunar-linux.org
Tue Sep 30 16:59:54 GMT 2003


Update of /var/cvs/lunar/moonbase/crypto/openssl/0.9.6k
In directory dbguin.lunar-linux.org:/tmp/cvs-serv20819

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL 
Log Message:
Adding fixed 0.9.6 (k) openssl for people not running 0.9.7


--- NEW FILE: BUILD ---
(

  # make sure the customer has the source for this one!
  download_module wget &

  ./config  --prefix=/usr                       \
            --openssldir=/etc/ssl               \
            shared                              &&
  sedit "/^CC/d" Makefile                       &&
  sedit "s/-m486//g" Makefile                   &&
  sedit "s/^CFLAG=/CFLAG=$CFLAGS /g" Makefile   &&
  make                                          &&
  prepare_install                               &&
  make  MANDIR=/usr/share/man  install          &&
  cp $SOURCE_CACHE/$SOURCE2 /etc/ssl/certs/Makefile

) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends  mktemp  &&
depends  perl

--- NEW FILE: DETAILS ---
          MODULE=openssl/0.9.6k
         VERSION=0.9.6k
        #VERSION=0.9.6i
SOURCE_DIRECTORY=$BUILD_DIRECTORY/openssl-$VERSION

          SOURCE=openssl-$VERSION.tar.gz
      SOURCE_VFY=md5:dee92f648a02e4a7db0507ab3d0769c6
   SOURCE_URL[0]=ftp://opensores.thebunker.net/pub/mirrors/openssl/source/$SOURCE
   SOURCE_URL[1]=http://www.dentarthurdent.com/transfer/openssl/$SOURCE
   SOURCE_URL[2]=http://www.openssl.org/source/$SOURCE
   SOURCE_URL[3]=ftp://ftp.infoscience.co.jp/pub/Crypto/SSL/openssl/source/$SOURCE
   SOURCE_URL[4]=ftp://ftp.duth.gr/pub/OpenSSL/source/$SOURCE

	 SOURCE2=Makefile.openssl-certs
     SOURCE2_URL=$LRESORT_URL/$SOURCE2
     SOURCE2_VFY=md5:5ce126820eded42138d2236f54932f56

        WEB_SITE=http://www.openssl.org
         ENTERED=20010922
         UPDATED=20030607
           SHORT="openssl is a library for providing encrypted transport layers."
cat << EOF
OpenSSL
The OpenSSL Project is a collaborative effort to develop a robust,
commercial-grade, full-featured, and Open Source toolkit 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. The project is managed by a worldwide community of volunteers
that use the Internet to communicate, plan, and develop the OpenSSL
toolkit and its related documentation.
OpenSSL is based on the excellent SSLeay library developed by Eric A.
Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
Apache-style licence, which basically means that you are free to get and
use it for commercial and non-commercial purposes subject to some simple
license conditions.
EOF

--- NEW FILE: POST_INSTALL ---
# Recompile of gcc is necessary as it "fixes" its own copy of the
# bn.h include files.  This will allow gcc to correctly recompile
# an openssl app.

rm -rf /usr/lib/gcc-lib/*/$(installed_version gcc)/include/openssl &> /dev/null

lin -c openssh wget

for MOD in $(lvu depends openssl | grep -v -e openssh -e theedge -e lunar -e wget) pine ; do
  if module_installed $MOD ; then
    lin -c $MOD
  fi
done

#fixup certs for imaps and pop3s
CERTHOME="/etc/ssl/certs"
if [ -d $CERTHOME ]; then
  cd $CERTHOME
  if [ ! -e imapd.pem ]; then
    make imapd.pem
  fi
  if [ ! -e ipop3d.pem ]; then
    make ipop3d.pem
  fi
fi

#leave a note about how to make an apache cert from the new makefile
if [ ! -e $CERTHOME/make.apache.cert.note ]; then
  echo "To create a test certificate for use with Apache, run: make testcert" > $CERTHOME/make.apache.cert.note
fi





More information about the Lunar-commits mailing list