/[gentoo-x86]/eclass/ssl-cert.eclass
Gentoo

Diff of /eclass/ssl-cert.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.5
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v 1.2 2004/04/01 22:08:35 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v 1.5 2004/06/25 00:39:48 vapier Exp $
4# 4#
5# Author: Max Kalika <max@gentoo.org> 5# Author: Max Kalika <max@gentoo.org>
6# 6#
7# This eclass implements standard installation procedure for installing 7# This eclass implements standard installation procedure for installing
8# self-signed SSL certificates. 8# self-signed SSL certificates.
10ECLASS=ssl-cert 10ECLASS=ssl-cert
11INHERITED="$INHERITED $ECLASS" 11INHERITED="$INHERITED $ECLASS"
12 12
13# Conditionally depend on OpenSSL: allows inheretence 13# Conditionally depend on OpenSSL: allows inheretence
14# without pulling extra packages if not needed 14# without pulling extra packages if not needed
15newdepend "ssl? ( dev-libs/openssl )" 15DEPEND="ssl? ( dev-libs/openssl )"
16 16
17# Initializes variables and generates the needed 17# Initializes variables and generates the needed
18# OpenSSL configuration file and a CA serial file 18# OpenSSL configuration file and a CA serial file
19# 19#
20# Access: private 20# Access: private
23 SSL_CONF="${T}/${$}ssl.cnf" 23 SSL_CONF="${T}/${$}ssl.cnf"
24 # Location of the CA serial file 24 # Location of the CA serial file
25 SSL_SERIAL="${T}/${$}ca.ser" 25 SSL_SERIAL="${T}/${$}ca.ser"
26 # Location of some random files OpenSSL can use: don't use 26 # Location of some random files OpenSSL can use: don't use
27 # /dev/u?random here -- doesn't work properly on all platforms 27 # /dev/u?random here -- doesn't work properly on all platforms
28 SSL_RANDOM="${T}/evironment:${T}/eclass-debug.log:/etc/resolv.conf" 28 SSL_RANDOM="${T}/environment:${T}/eclass-debug.log:/etc/resolv.conf"
29 29
30 # These can be overridden in the ebuild 30 # These can be overridden in the ebuild
31 SSL_DAYS="${SSL_BITS:-730}" 31 SSL_DAYS="${SSL_BITS:-730}"
32 SSL_BITS="${SSL_BITS:-1024}" 32 SSL_BITS="${SSL_BITS:-1024}"
33 SSL_COUNTRY="${SSL_COUNTRY:-US}" 33 SSL_COUNTRY="${SSL_COUNTRY:-US}"

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20