/[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.6
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.6 2005/07/06 20:20:04 agriffis 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.
9 9
10ECLASS=ssl-cert
11INHERITED="$INHERITED $ECLASS" 10INHERITED="$INHERITED $ECLASS"
12 11
13# Conditionally depend on OpenSSL: allows inheretence 12# Conditionally depend on OpenSSL: allows inheretence
14# without pulling extra packages if not needed 13# without pulling extra packages if not needed
15newdepend "ssl? ( dev-libs/openssl )" 14DEPEND="ssl? ( dev-libs/openssl )"
16 15
17# Initializes variables and generates the needed 16# Initializes variables and generates the needed
18# OpenSSL configuration file and a CA serial file 17# OpenSSL configuration file and a CA serial file
19# 18#
20# Access: private 19# Access: private
23 SSL_CONF="${T}/${$}ssl.cnf" 22 SSL_CONF="${T}/${$}ssl.cnf"
24 # Location of the CA serial file 23 # Location of the CA serial file
25 SSL_SERIAL="${T}/${$}ca.ser" 24 SSL_SERIAL="${T}/${$}ca.ser"
26 # Location of some random files OpenSSL can use: don't use 25 # Location of some random files OpenSSL can use: don't use
27 # /dev/u?random here -- doesn't work properly on all platforms 26 # /dev/u?random here -- doesn't work properly on all platforms
28 SSL_RANDOM="${T}/evironment:${T}/eclass-debug.log:/etc/resolv.conf" 27 SSL_RANDOM="${T}/environment:${T}/eclass-debug.log:/etc/resolv.conf"
29 28
30 # These can be overridden in the ebuild 29 # These can be overridden in the ebuild
31 SSL_DAYS="${SSL_BITS:-730}" 30 SSL_DAYS="${SSL_BITS:-730}"
32 SSL_BITS="${SSL_BITS:-1024}" 31 SSL_BITS="${SSL_BITS:-1024}"
33 SSL_COUNTRY="${SSL_COUNTRY:-US}" 32 SSL_COUNTRY="${SSL_COUNTRY:-US}"

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

  ViewVC Help
Powered by ViewVC 1.1.20