/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _PKGADM_MSGS_H
#define _PKGADM_MSGS_H
#include <libintl.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef lint
#define gettext(x) x
#endif
/* generic messages */
"\"%s\" is not a valid subcommand")
"-%c requires an operand")
"usage:\n" \
"\n" \
"pkgadm addcert [-ty] [-a app] [-k keystore] [-e keyfile]\n" \
"\t[-f format] [-n name] [-P passarg] [-p input_passarg]\n" \
"\t[-R rootpath] certfile\n" \
"\n" \
"\t- Adds a trusted CA certificate or user certificate\n" \
"\tand private key\n" \
"\n" \
"pkgadm removecert [-a app] [-k keystore] -n name [-P passarg]\n" \
"\t[-R rootpath]\n" \
"\n" \
"\t- Removes a trusted CA certificate or user certificate\n" \
"\tand private key\n" \
"\n" \
"pkgadm listcert [-a app] [-f format] [-k keystore] -n name\n" \
"\t[-P passarg] [-o outfile] [-R rootpath]\n" \
"\n" \
"\t- Prints trusted CA certificates or user certificates\n" \
"\n" \
"pkgadm dbstatus [-R rootpath]\n" \
"\n" \
"\t- Returns 'text' - the text install database in use since Solaris 2.0\n" \
"\t is the current install database in use.\n" \
"\n" \
"pkgadm sync [-R rootpath] [-q]\n" \
"\n" \
"\t- Writes the contents file and rolls the contents log file.\n" \
"\t- Optionally forces the contents file server to quit [-q].\n" \
"\n" \
"pkgadm -V\n" \
"\t- Displays packaging tools version\n" \
"\n" \
"pkgadm -?\n" \
"\t- Shows this help message\n")
"WARNING")
"ERROR")
"-t option takes 2 or 3 arguments, not %d!\n")
"result <%d>: <%s> ~= <%s>\n")
"required <%d> actual <%d> <%30s> ~- <%30s>\n")
"Enter Keystore Password: ")
"Type a Keystore protection Password.\n" \
"Press ENTER for no protection password (not recommended): ")
"Enter PEM Passphrase: ")
"ERROR")
/* warnings */
"Creating directory <%s>\n")
"Signer <%s> has unsupported signature, ignoring")
"Removing stale lock on <%s> pid <%ld> zid <%ld>")
/* errors */
"Fatal Error")
"Length of <%s> exceeds maximum allowed length")
"Intenal Error <%s>")
"Cannot open <%s> for reading")
"Cannot open <%s> for writing")
"Invalid password retrieval method <%s>")
"Invalid password")
"Failed to log message using format <%s>")
"Invalid format: <%s>")
"An alias is required when adding user certificates")
"Trusted certificates cannot have an explicit alias")
"Found multiple certificates in <%s>. You must explicitly trust " \
"them using <%s>")
"Found multiple certificates in <%s>. You must explicitly trust " \
"them using <%s>")
"Cannot supply private key when adding trusted certificates")
"One or more private keys were found in trusted certificate file <%s>")
"Addition of trusted certificate aborted by user request")
"No private key found in <%s>, must specify one with -e")
"No private key found in <%s>")
"No certificates found in <%s>")
"Multiple certificates found in <%s>")
"Cannot add certificate(s) from <%s>. No changes have been made.")
"Cannot add private key from <%s>. No changes have been made.")
"Cannot remove certificate with alias <%s>")
"Are you sure you want to trust this certificate? ")
"\n" \
"This certificate does not appear to be issued and signed\n" \
"by a certificate authority (CA). CA Certificates are normally\n" \
"self-signed and have CA Basic Constraints.\n" \
"Are you sure you want to trust this certificate? ")
"Parsing error")
"Certificate(s) from <%s> are now trusted")
"Trusting certificate <%s>")
"Successfully added Certificate <%s> with alias <%s>")
"Successfully removed Certificate(s) with alias <%s>")
"Out of memory")
"Cannot print certificates to <%s>")
"Operation failed due to corrupted install contents data file.")
"Could not mkdir for path %s. %s.")
"Could not rename %s to %s\n%s")
"Could not remove %s\n%s")
"Operation failed: unable to access file %s: %s")
"Operation failed: unable to read file %s")
"Operation failed: unable to build indexes\n")
"Operation failed: file name too long: %s\n")
"Must specify operation to perform\n")
"lock: cannot create alternative root directory <%s>: %s\n")
"lock: argument to -R <%s> is not a directory: %s\n")
"lock: lock file base directory <%s> not valid: %s\n")
"The integer value <%s> given to the -W option includes an " \
"invalid character: \"%c\"\n")
"The integer value <%s> given to the -p option includes an " \
"invalid character: \"%c\"\n")
"The integer value <%s> given to the -z option includes an " \
"invalid character: \"%c\"\n")
"The integer value <%s> given to the -n option includes an " \
"invalid character: \"%c\"\n")
"lock: The -a and -r options cannot be used together: "\
"specify only one.\n")
"Argument to -k is <%d> characters: may not exceed <%d> characters\n")
"Argument to -o is <%d> characters: may not exceed <%d> characters\n")
"Argument to -R must be absolute path: %s")
"Argument to -W has problem with wait interval <%s>: %s")
"Argument to -p has problem with process i.d. value <%s>: %s")
"Argument to -p has problem with zone i.d. value <%s>: %s")
"Argument to -n has problem with maximum number of retries " \
"value <%s>: %s")
"lock: The -e and -s options cannot be used together: "\
"specify only one.\n")
"lock: The -k option cannot be used with the -a option.\n")
"lock: The -e option can only be used with the -a option.\n")
"lock: The -s option can only be used with the -a option.\n")
"cannot acquire %s lock on <%s>: object locked and specified key " \
"does not match")
"cannot determine if object <%s> key <%s> is locked: %s")
"cannot acquire %s lock on <%s> key <%s>: object locked, no key " \
"was specified, and the wait timed out")
"object <%s> is locked: waiting for object to become available")
"cannot reopen lock file after waiting for lock on object " \
"<%s> to be released")
"cannot release lock on <%s> key <%s>: object not locked and " \
"a key was specified")
"cannot release lock on <%s> key <%s>: object locked but no " \
"key was specified")
"cannot release lock on <%s> key <%s>: object is not locked")
"cannot release lock on <%s>: object locked and specified key " \
"does not match")
"cannot determine if object <%s> key <%s> is locked")
"cannot execute command <%s>: %s")
"cannot open input file <%s>: %s")
"cannot create pipe: %s")
"cannot find lock <%s> key <%s>: lseek failure: %s")
"cannot create %s lock for object <%s>: pwrite failure: %s")
"cannot create %s lock for object <%s>: lseek failure: %s")
"cannot increment %s lock for object <%s>: pwrite failure: %s")
"cannot decrement %s lock for object <%s>: pwrite failure: %s")
"cannot decrement %s lock for object <%s>: pread failure: %s")
"cannot decrement %s lock for object <%s>: lseek failure: %s")
"cannot decrement %s lock for object <%s>: ftruncate failure: %s")
/*
* i18n:
* next two messages grouped together
*/
"cannot acquire %s lock on <%s> key <%s>: object matches wildcard " \
"<%s> lock%s")
"cannot acquire %s lock on <%s> key <%s>: object <%s> is locked <%s>%s")
/*
* i18n: note this message may be appended to the previous message
* by supplying it to the final "%s" at the end of the line above;
* that is either:
* cannot acquire %s lock on <%s> key <%s>: object is locked <%s>
* or:
* cannot acquire %s lock on <%s> [...] is locked <%s> and no key specified
*/
" and no key specified")
/*
* i18n: note these two "messages" are inserted into other
* messages, such as:
* cannot acquire %s lock on <%s>
* will be either:
* cannot acquire shared lock on <%s>
* or
* cannot acquire exclusive lock on <%s>
*/
"exclusive")
"shared")
/*
* i18n: note these messages are "debugging" messages and will normally
* not be seen unless debugging has been enabled for problem root causing
* so they are not meant to be perfectly "human readable"
*/
"validate lock <%s>: VALID (no pid)")
"validate lock <%s>: VALID (lock zid <%ld> this zid <%ld>)")
"validate lock <%s>: zone i.d.s match (lock zid <%ld> this zid <%ld>)")
"validate lock <%s> pid <%ld> path <%s>: VALID")
"validate lock <%s> pid <%ld> path <%s>: NOT VALID")
"lockMatch: *** BEGIN *** compare objects <%s> <%s>")
"lockMatch: first lock node (%d) <%s>")
"lockMatch: second lock node (%d) <%s>")
"lockMatch: first lock node <%s> prefix <%s> (%d) second lock " \
" node <%s> prefix <%s> (%d)")
"lockMatch: no prefix direct comparison: match: <%s> <%s>")
"lockMatch: no prefix direct comparison: NO MATCH: <%s> <%s>")
"lockMatch: prefix comparison: match: <%s> <%s>")
"lockMatch: prefix comparison: NO MATCH: <%s> <%s>")
"lockMatch: first lock index (%d) last scanned node <%s> prefix " \
"<%s> (%d)")
"lockMatch: second lock index (%d) last scanned node <%s> prefix " \
"<%s> (%d)")
"lockMatch: absolute locks: NO MATCH: <%s> <%s>")
"lockMatch: object locks: match: <%s> <%s>")
"lockMatch: nonmatching overlapping objects: <%s> <%s> before " \
"(%d) <%s>")
"lockMatch: locks begin with same node - compare: <%s> <%s> at <%s>")
"lockMatch: second lock <%s> subset of <%s> at (%d) <%s>")
"lockMatch: first lock <%s> subset of <%s> at (%d) <%s>")
"lockMatch: unable to determine how to compare locks: <%s> <%s>: " \
"using direct comparision")
"lockMatch: comparing nodes locks <%s> <%s>")
"lockMatch: node (%d) comparison: NO MATCH: <%s> != <%s>")
"lockMatch: node (%d) comparision: match: <%s> == <%s>")
"lockMatch: locks match: <%s> == <%s>")
"command <%s> executed: pid <%d> errno <0x%04x> status <0x%04x> " \
"final status <0x%04x> output <%s>")
"generated new unique key using makeuuid: %s")
"generated new unique key using date: %s")
"decrement <%s> lock count record <%d> count <%d>")
"decrement lock record <%d> count <%d> object <%s> key <%s>")
"decrement lock remove record lastPos %ld last record %d " \
"current record %d")
"decrement lock removing <%s> lock last record <%d> " \
"truncating to <%ld>")
"decrement lock removing record <%d> last record <%d> " \
"truncating to <%ld>")
"increment <%s> lock count record <%d> count <%d>")
"increment lock record <%d> count <%d> object <%s> key <%s>")
"adding %s lock pos <%d> object <%s> key <%s> pid <%ld> zid <%ld>")
"find lock object <%s> key <%s>")
"find lock read record <%d>: count <%d> object <%s> key <%s> pid " \
"<%ld> zid <%ld>")
"find lock record found")
"find lock record not found")
"open lock file root <%s> file <%s>")
"open lock file busy <%s>: sleeping <%d>")
"open lock file could not be opened: %s")
"open lock file cannot obtain record lock <%s>: sleeping <%d>")
"open lock file could not obtain record lock: <%s>")
"open lock file: opened and locked fd <%d>")
"status read record <%d>: count <%d> object <%s> key <%s> pid <%ld> " \
"zid <%ld>")
"status key=<%s> object=<%s>")
"object <%s> key <%s> is locked: decrementing lock count")
"release lock key=<%s> object=<%s> quiet=<%d>")
"release lock result <%d> record <%d>")
"object <%s> key <%s> is locked: incrementing <%s> lock count")
"acquire lock key=<%s> object=<%s> quiet=<%d> exclusive=<%d>")
"acquire %s lock result <%d> record <%d>")
"object <%s> key <%s> is locked but shared: incrementing lock count")
"cannot acquire %s lock on <%s> key <%s>: object not locked " \
"and non-matching key specified")
"acquiring %s lock on object <%s>")
#ifdef __cplusplus
}
#endif
#endif /* _PKGADM_MSGS_H */