| 1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
| 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.3 2004/04/11 05:46:09 mr_bones_ 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. |
| … | |
… | |
| 10 | ECLASS=ssl-cert |
10 | ECLASS=ssl-cert |
| 11 | INHERITED="$INHERITED $ECLASS" |
11 | INHERITED="$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 |
| 15 | newdepend "ssl? ( dev-libs/openssl )" |
15 | DEPEND="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 |