#!/bin/bash # openssl # # Douglas Thrift # # $Id$ name=openssl version=0.9.8e revision=0 categories=(base devel security) description='Toolkit for Secure Sockets Layer and Transport Layer Security' url='http://www.openssl.org/' depends=('base/perl') sources=(`site_openssl`) with=(patented) function build() { cd $source/$sourcedir || return $? ./config --prefix=/usr --openssldir=/etc/ssl `[[ -z $with_patented ]] && echo no-ec no-idea no-mdc2 no-rc5` shared threads || return $? gmake && gmake INSTALL_PREFIX=$package MANDIR=/usr/share/man install || return $? chmod -v 0700 $package/etc/ssl/private }