/[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.22 Revision 1.23
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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.22 2014/03/20 19:30:56 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ssl-cert.eclass,v 1.23 2014/03/20 19:32:09 vapier Exp $
4 4
5# @ECLASS: ssl-cert.eclass 5# @ECLASS: ssl-cert.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# @AUTHOR: 7# @AUTHOR:
8# Max Kalika <max@gentoo.org> 8# Max Kalika <max@gentoo.org>
190 eerror "At least one argument needed" 190 eerror "At least one argument needed"
191 return 1; 191 return 1;
192 fi 192 fi
193 193
194 case ${EBUILD_PHASE} in 194 case ${EBUILD_PHASE} in
195 unpack|compile|test|install) 195 unpack|prepare|configure|compile|test|install)
196 eerror "install_cert cannot be called in ${EBUILD_PHASE}" 196 die "install_cert cannot be called in ${EBUILD_PHASE}"
197 return 1 ;; 197 ;;
198 esac 198 esac
199 199
200 # Generate a CA environment #164601 200 # Generate a CA environment #164601
201 gen_cnf 1 || return 1 201 gen_cnf 1 || return 1
202 gen_key 1 || return 1 202 gen_key 1 || return 1

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20