1 |
ulm 07/12/09 08:06:11 |
2 |
|
3 |
Modified: ssl-cert.eclass |
4 |
Log: |
5 |
Add more documentation to function install_cert. |
6 |
Output a deprecation warning in docert. |
7 |
|
8 |
Revision Changes Path |
9 |
1.11 eclass/ssl-cert.eclass |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ssl-cert.eclass?rev=1.11&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ssl-cert.eclass?rev=1.11&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ssl-cert.eclass?r1=1.10&r2=1.11 |
14 |
|
15 |
Index: ssl-cert.eclass |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v |
18 |
retrieving revision 1.10 |
19 |
retrieving revision 1.11 |
20 |
diff -u -r1.10 -r1.11 |
21 |
--- ssl-cert.eclass 7 Dec 2007 22:41:04 -0000 1.10 |
22 |
+++ ssl-cert.eclass 9 Dec 2007 08:06:11 -0000 1.11 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2004 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v 1.10 2007/12/07 22:41:04 ulm Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v 1.11 2007/12/09 08:06:11 ulm Exp $ |
28 |
# |
29 |
# Author: Max Kalika <max@g.o> |
30 |
# |
31 |
@@ -144,6 +144,9 @@ |
32 |
# |
33 |
# Access: public |
34 |
docert() { |
35 |
+ ewarn "Function \"docert\" is deprecated for security reasons." |
36 |
+ ewarn "\"install_cert\" should be used instead. See bug #174759." |
37 |
+ |
38 |
if [ $# -lt 1 ] ; then |
39 |
eerror "At least one argument needed" |
40 |
return 1; |
41 |
@@ -208,6 +211,11 @@ |
42 |
# Uses all the private functions above to generate |
43 |
# and install the requested certificates |
44 |
# |
45 |
+# Usage: install_cert <certificates> |
46 |
+# where <certificates> are full pathnames relative to ROOT, without extension. |
47 |
+# |
48 |
+# Example: "install_cert /foo/bar" installs ${ROOT}/foo/bar.{key,csr,crt,pem} |
49 |
+# |
50 |
# Access: public |
51 |
install_cert() { |
52 |
if [ $# -lt 1 ] ; then |
53 |
|
54 |
|
55 |
|
56 |
-- |
57 |
gentoo-commits@g.o mailing list |