/titanic_41/usr/src/lib/libadm/common/ |
H A D | pkginfo.c | 84 pkginfo(struct pkginfo *info, char *pkginst, ...) in pkginfo() argument 90 va_start(ap, pkginst); in pkginfo() 95 if (pkginst == NULL) { in pkginfo() 96 info->pkginst = NULL; in pkginfo() 106 if (pkgnmchk(pkginst, "all", 1)) { in pkginfo() 108 pkginst = fpkginst(pkginst, ckarch, ckvers); in pkginfo() 109 if (pkginst == NULL) in pkginfo() 117 info->pkginst = NULL; in pkginfo() 118 if (fpkginfo(info, pkginst)) in pkginfo() 126 if (ckinst(pkginst, info->arch, info->version, ckarch, in pkginfo() [all …]
|
H A D | pkgparam.c | 79 pkginfofind(char *path, char *pkg_dir, char *pkginst) in pkginfofind() argument 85 pkginst); in pkginfofind() 94 pkginst); in pkginfofind() 108 pkginfopen(char *pkg_dir, char *pkginst) in pkginfopen() argument 113 if (pkginfofind(temp, pkg_dir, pkginst)) in pkginfopen()
|
/titanic_41/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | main.c | 75 extern int delmap(int flag, char *pkginst, PKGserver *server, VFP_T **tfp); 103 char *pkginst; /* current package (source) instance to process */ variable 544 pkginst = argv[optind++]; in main() 559 if (!lockinst(get_prog_name(), pkginst, "remove-initial")) { in main() 590 echoDebug(DBG_PKGREMOVE_PRERMCHK, pkginst ? pkginst : "", in main() 597 pkginst); in main() 606 echo(MSG_PREREMOVE_REMINST, pkginst); in main() 615 echoDebug(DBG_PKGINSTALL_HAS_LOCKFILE, pkginst, rlockfile, in main() 736 pkginst, nointeract)) != 0) { in main() 906 echoDebug(DBG_PKGREMOVE_PROCPKG_GZ, pkginst, rlockfile); in main() [all …]
|
H A D | delmap.c | 46 extern char *pkginst; 59 delmap(int flag, char *pkginst, PKGserver *pkgserver, VFP_T **tmpfp) in delmap() argument 68 pkgopenfilter(*pkgserver, pkginst) != 0) { in delmap() 103 pinfo = eptstat(ept, pkginst, (flag ? '@' : '-')); in delmap() 156 n = swapcfile(*pkgserver, tmpfp, pkginst, dbchg); in delmap()
|
H A D | quit.c | 68 extern char *pkginst; 241 if (pkginst != (char *)NULL) { in quitmsg() 243 pkginst, zoneName); in quitmsg() 285 ptext(pp, qreason(4, retcode, 0, includeZonename), pkginst, in mailmsg()
|
H A D | check.c | 49 extern char pkgloc[], *pkginst, *msgtext; 163 echo(MSG_CHECKREMOVE_PKG_IN_GZ, pkginst); in rckdepend() 165 echo(MSG_CHECKREMOVE_PKG_IN_ZONE, pkginst, zoneName); in rckdepend() 168 if (dockdeps(pkginst, 1, preremoveCheck)) { in rckdepend()
|
/titanic_41/usr/src/cmd/svr4pkg/libinst/ |
H A D | dockdeps.c | 85 static void deponme(char *pkginst, char *pkgname, 87 static void prereq(char *pkginst, char *pkgname, 89 static void incompat(char *pkginst, char *pkgname, 208 incompat(char *pkginst, char *pkgname, boolean_t a_preinstallCheck) in incompat() argument 217 (void) fprintf(stdout, "incompat=%s\n", pkginst); in incompat() 222 (void) snprintf(buf, sizeof (buf), ERR_INCOMP_VERS, pkginst, pkgname); in incompat() 228 prereq(char *pkginst, char *pkgname, boolean_t a_preinstallCheck) in prereq() argument 242 "prerequisite-incomplete=%s\n", pkginst); in prereq() 245 "prerequisite-installed=%s\n", pkginst); in prereq() 252 (void) snprintf(buf, sizeof (buf), ERR_PRENCI, pkginst, in prereq() [all …]
|
H A D | pkgdbmerg.c | 77 extern char *pkginst; 322 pkgpinfo = eptstat(cf_ent, pkginst, DUP_ENTRY); in do_like_ent() 332 pkgpinfo = eptstat(cf_ent, pkginst, RM_RDY); in do_like_ent() 442 pkgpinfo = eptstat(&(el_ent->cf_ent), pkginst, in do_like_ent() 461 eptstat(&(el_ent->cf_ent), pkginst, in do_like_ent() 465 eptstat(&(el_ent->cf_ent), pkginst, in do_like_ent() 469 eptstat(&(el_ent->cf_ent), pkginst, in do_like_ent() 474 pkginst, '\0'); in do_like_ent() 590 pinfo = eptstat(&(el_ent->cf_ent), pkginst, DUP_ENTRY); in do_new_ent() 600 (void) strcpy(pinfo->pkg, pkginst); in do_new_ent()
|
H A D | dryrun.c | 63 extern char *pkginst; 92 char pkginst[PKGNAMESIZE + 2]; member 180 (void) snprintf((*pkg_entry)->pkginst, PKGNAMESIZE, "%s%s", in add_pkg_to_list() 193 (void) fprintf(fp_dra, " %s", pkg_entry->pkginst); in write_pkglist_ascii() 389 if (write(fd_drb, pkg_entry->pkginst, PKGNAMESIZE) == -1) { in write_dryrun_bin() 444 pkginst, CONFIRM_CONT); in write_dryrun_bin() 881 add_pkg_to_list(pkginst); in write_dryrun_file()
|
/titanic_41/usr/src/cmd/svr4pkg/pkginfo/ |
H A D | pkginfo.c | 61 extern int pkginfofind(char *path, char *pkg_dir, char *pkginst); 121 char pkginst[32]; member 136 static struct cfstat *fpkg(char *pkginst); 330 pkgLgth = strlen(dp->pkginst); in report() 342 (strcmp(choice->pkginst, dp->pkginst) > 0)) in report() 348 if (pkginfo(&info, choice->pkginst, ckarch, ckvers)) { in report() 390 i = selectp(choice->pkginst); in report() 439 (void) puts(info.pkginst); in dumpinfo() 442 (void) printf(XFMT, pkgLngth, pkgLngth, info.pkginst, in dumpinfo() 460 (void) printf(SFMT, category, pkgLngth, pkgLngth, info.pkginst, in dumpinfo() [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/pkgrm/ |
H A D | check.c | 190 char *pkginst; in preremove_verify() local 224 for (i = 0; (pkginst = a_pkglist[i]) != NULL; i++) { in preremove_verify() 233 if (pkgIsPkgInGzOnly(get_inst_root(), pkginst) == B_TRUE) { in preremove_verify() 258 a_zoneTempDir, pkginst, in preremove_verify() 263 pkginst, zoneName); in preremove_verify() 270 echoDebug(DBG_PRERVFY_NOFILE, pkginst, zoneName, in preremove_verify() 272 progerr(ERR_PRERVFY_NOFILE, pkginst, zoneName); in preremove_verify() 281 preremovecheckPath, pkginst, zoneName, in preremove_verify() 323 echoDebug(DBG_PRERVFY_SCAN, line, pkginst, in preremove_verify() 330 pkginst, zoneName); in preremove_verify() [all …]
|
H A D | main.c | 106 static char *pkginst = NULL; /* current pkg/src instance 2 process */ variable 867 b = pkginfoIsPkgInstalled(&pinfo, pkginst); in doRemove() 869 progerr(ERR_NO_SUCH_INSTANCE, pkginst); in doRemove() 877 echoDebug(DBG_DOREMOVE_ARGS, PSTR(pinfo->pkginst), PSTR(pinfo->name), in doRemove() 899 echo(fmt1, pinfo->pkginst, pinfo->name); in doRemove() 937 echo(INFO_RMSPOOL, pkginst); in doRemove() 939 return (rrmdir(pkginst)); in doRemove() 954 echo(MSG_DOREMOVE_INTERRUPTED_B4_Z, pkginst); in doRemove() 955 echoDebug(MSG_DOREMOVE_INTERRUPTED_B4_Z, pkginst); in doRemove() 977 echo(MSG_REMOVE_PKG_FROM_ZONE, pkginst, zoneName); in doRemove() [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | main.c | 132 char *pkginst = (char *)NULL; variable 933 pkginst ? pkginst : (srcinst ? srcinst : ""), in main() 1364 pkginst = getinst(&update, prvinfo, npkgs, preinstallCheck); in main() 1388 (void) set_respfile(respfile, pkginst, RESP_RO); in main() 1392 "%s/%s", get_PKGLOC(), pkginst); in main() 1401 pkginst) < 0) { in main() 1412 "%s/logs/%s", get_PKGADM(), pkginst); in main() 1414 putparam("PKGINST", pkginst); in main() 1581 echoDebug(DBG_PKGINSTALL_COC_NONE, pkginst, script, in main() 1585 echoDebug(DBG_PKGINSTALL_COC_DBUPD, pkginst, script, in main() [all …]
|
H A D | quit.c | 68 extern char *pkginst; 283 (pkginst ? pkginst : "unknown"), in quit() 408 } else if (pkginst) { in quitmsg() 410 includeZonename), pkginst, zoneName); in quitmsg() 454 pkgname, utsbuf.nodename, pkginst, zoneName); in mailmsg()
|
H A D | getinst.c | 117 sameinst = info[i].pkginst; in getinst() 157 inst = info[samearch].pkginst; in getinst() 220 info.pkginst = NULL; in nextinst() 260 "%s %s\n(%s) %s", info[i].pkginst, in prompt() 274 (void) strcpy(newinst, info[0].pkginst); in prompt()
|
H A D | pkgenv.c | 62 pkgenv(char *pkginst, char *p_pkginfo, char *p_pkgmap) in pkgenv() argument 121 if (pkgnmchk(pkginst, param, 0)) { in pkgenv() 122 progerr(gettext(ERR_PKGMTCH), pkgabrv, pkginst); in pkgenv()
|
H A D | merginfo.c | 46 extern char instdir[], pkgbin[], pkgloc[], savlog[], *pkginst, **environ; 171 get_inst_root() : "", pkginst, in merginfo() 178 pkginst); in merginfo() 230 echoDebug(ERR_NO_PKG_INFOFILE, pkginst, pkginfoPath, in merginfo() 399 progerr(ERR_PKGINFO_ATTR_ADDED, pkginst, ep); in merginfo() 406 progerr(ERR_PKGINFO_ATTR_CHANGED, pkginst, in merginfo() 418 (void) fputs(pkginst, fp); in merginfo()
|
H A D | check.c | 56 *pkginst, *msgtext; 217 gettext(ASK_CONT), pkginst); in ckpartial() 250 gettext(ASK_CONT), pkginst); in ckpartial() 318 gettext(ASK_CONT), pkginst); in ckrunlevel() 428 gettext(ASK_CONT), pkginst); in ckdepend() 509 gettext(ASK_CONT), pkginst); in ckspace() 797 gettext(ASK_CONT), pkginst); in ckconflct() 957 gettext(ASK_CONT), pkginst); in cksetuid() 1018 gettext(ASK_CONT), pkginst); in ckpriv()
|
/titanic_41/usr/src/cmd/svr4pkg/pkgadd/ |
H A D | main.c | 132 static char *pkginst = NULL; /* current pkg/src instance 2 process */ variable 1486 echoDebug(DBG_PKGZONECHECKINSTALL_ARGS, a_zoneName, PSTR(pkginst), in pkgZoneCheckInstall() 1680 pkginst, strerror(errno)); in pkgZoneCheckInstall() 1694 arg[nargs++] = pkginst; in pkgZoneCheckInstall() 1795 echoDebug(DBG_PKGZONEINSTALL_ARGS, a_zoneName, PSTR(pkginst), in pkgZoneInstall() 2018 pkginst, strerror(errno)); in pkgZoneInstall() 2032 arg[nargs++] = pkginst; in pkgZoneInstall() 2117 echoDebug(DBG_PKGINSTALL_ARGS, PSTR(pkginst), PSTR(pkgdev.dirname), in pkgInstall() 2162 } else if (pkgPackageIsThisZone(pkginst) == B_TRUE) { in pkgInstall() 2386 arg[nargs++] = pkginst; in pkgInstall() [all …]
|
H A D | check.c | 276 char *pkginst; in preinstall_verify() local 328 for (i = 0; (pkginst = a_pkglist[i]) != NULL; i++) { in preinstall_verify() 338 if (pkgPackageIsThisZone(pkginst) == B_TRUE) { in preinstall_verify() 339 echoDebug(DBG_PREIVFY_SKIP_THISZONE, pkginst); in preinstall_verify() 368 pkginst, zoneName); in preinstall_verify() 372 pkginst, zoneName); in preinstall_verify() 380 pkginst, zoneName, preinstallcheckPath, in preinstall_verify() 383 pkginst, zoneName); in preinstall_verify() 392 preinstallcheckPath, pkginst, zoneName, in preinstall_verify() 434 echoDebug(DBG_PREIVFY_SCAN, line, pkginst, in preinstall_verify() [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/installf/ |
H A D | main.c | 112 char *pkginst; variable 303 pkginst = argv[optind++]; in main() 304 if (pkginst == NULL) { in main() 310 n = strlen(pkginst); in main() 325 if ((err = set_basedirs(0, NULL, pkginst, 1)) != 0) in main() 352 if (pkgnmchk(pkginst, "all", 0)) { in main() 353 progerr(gettext(ERR_INVAL), pkginst); in main() 356 if (fpkginst(pkginst, NULL, NULL) == NULL) { in main() 357 progerr(gettext(ERR_NOTINST), pkginst); in main() 393 if ((n = swapcfile(pkgserver, &cfTmpVfp, pkginst, 1)) in main()
|
H A D | dofinal.c | 49 extern char *pkginst; 73 if (pkgopenfilter(server, pkginst) != 0) in dofinal() 126 if (strcmp(pkginst, pinfo->pkg) == 0) in check_db_entry() 144 (void) eptstat(&(entry->cf_ent), pkginst, '@'); in check_db_entry()
|
/titanic_41/usr/src/cmd/svr4pkg/pkgparam/ |
H A D | pkgparam.c | 78 char *value, *pkginst; in main() local 138 pkginst = pkgfile; in main() 145 pkginst = argv[optind++]; in main() 155 value = pkgparam(pkginst, param); in main() 166 progerr(gettext(ERR_MESG), pkginst); in main()
|
/titanic_41/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | main.c | 186 char *pt, *value, *pkginst, *tmpdir, *abi_sym_ptr, in main() local 305 if ((pkginst = argv[optind]) != NULL) { in main() 306 if (pkgnmchk(pkginst, "all", 0)) { in main() 307 progerr(gettext(ERR_PKGINST), pkginst); in main() 442 if (pkginst == NULL) in main() 443 pkginst = pt; in main() 452 if (pkgnmchk(pkginst, param, 0)) { in main() 453 progerr(gettext(ERR_PKGMTCH), pt, pkginst); in main() 592 pkgdev.dirname, pkginst); in main()
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | gpkglist.c | 53 extern int fpkginfo(struct pkginfo *info, char *pkginst); 126 info.pkginst = NULL; /* initialize for memory handling */ in gpkglist() 146 if (!info.pkginst || !info.name || !info.arch || in gpkglist() 150 "%s %s\n(%s) %s", info.pkginst, in gpkglist()
|