Home
last modified time | relevance | path

Searched refs:pkgname (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/tools/protocmp/
H A Ddepend.c47 processed_package(const char *pkgname) in processed_package() argument
52 bucket = HASH(pkgname); in processed_package()
54 if (strcmp(tmp->pkg_name, pkgname) == 0) in processed_package()
61 mark_processed(const char *pkgname) in mark_processed() argument
66 bucket = HASH(pkgname); in mark_processed()
69 (void) strcpy(tmp->pkg_name, pkgname); in mark_processed()
75 add_dependency(pkg_list *dependlist, const char *pkgname) in add_dependency() argument
82 (void) strcpy(pkg->pkg_name, pkgname); in add_dependency()
110 print_dependencies(const char *pkgname, pkg_list *dependlist) in print_dependencies() argument
114 fprintf(stderr, "%s:", pkgname); in print_dependencies()
[all …]
H A Dprotodir.c85 const char *pkgname) in parse_proto_line() argument
209 e->pkgs = add_pkg(NULL, pkgname); /* init pkgs list */ in parse_proto_line()
214 if (!(dup->pkgs = add_pkg(dup->pkgs, pkgname))) { in parse_proto_line()
218 pkgname, dup->name); in parse_proto_line()
225 pkgname, e->perm, dup->name, dup->perm); in parse_proto_line()
231 pkgname, e->owner, dup->name, dup->owner); in parse_proto_line()
237 pkgname, e->group, dup->name, dup->group); in parse_proto_line()
248 pkgname, e->name); in parse_proto_line()
258 const char *pkgname) in parse_proto_link() argument
285 pkgname, file); in parse_proto_link()
[all …]
H A Dprotodir.h28 extern int process_dependencies(const char *pkgname, const char *parentdir,
30 extern int process_package_dir(const char *pkgname, const char *protodir,
H A Dlist.c196 add_pkg(pkg_list *head, const char *pkgname) in add_pkg() argument
204 (void) strcpy(new->pkg_name, pkgname); in add_pkg()
207 if (strcmp(cur->pkg_name, pkgname) >= 0) in add_pkg()
226 if (strcmp(cur->pkg_name, pkgname) == 0) /* a duplicate */ in add_pkg()
H A Dlist.h150 extern int processed_package(const char *pkgname);
151 extern void mark_processed(const char *pkgname);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Ddockdeps.c85 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
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
253 pkgname); in prereq()
258 pkgname); in prereq()
276 deponme(char *pkginst, char *pkgname, boolean_t a_preinstallCheck) in deponme() argument
286 if (!pkgname || !pkgname[0]) { in deponme()
[all …]
H A Ddryrun.c161 add_pkg_to_list(char *pkgname) in add_pkg_to_list() argument
181 (pkgname ? pkgname : ""), ((this_exitcode == 0) ? "" : "-")); in add_pkg_to_list()
/illumos-gate/usr/src/cmd/svc/startd/
H A Ddeathrow.c102 char *pkgname; in deathrow_init() local
146 pkgname = NULL; in deathrow_init()
158 pkgname = strchr(manifest, ' '); in deathrow_init()
159 if (pkgname != NULL) { in deathrow_init()
160 *pkgname = '\0'; in deathrow_init()
161 pkgname++; in deathrow_init()
168 pkgname != NULL && strlen(pkgname) > 0) { in deathrow_init()
171 fmri, manifest, pkgname); in deathrow_init()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dsrchcfile.c129 char pkgname[PKGSIZ+1]; in srchcfile() local
378 while ((c = getstr(&p, sizeof (pkgname), pkgname, ISPKGNAMESEP)) <= 0) { in srchcfile()
400 if ((pkgname[0] == '-') || (pkgname[0] == '+') || in srchcfile()
401 (pkgname[0] == '*') || (pkgname[0] == '~') || in srchcfile()
402 (pkgname[0] == '!') || (pkgname[0] == '%')) { in srchcfile()
403 pinfo->status = pkgname[0]; in srchcfile()
404 (void) strlcpy(pinfo->pkg, pkgname+1, in srchcfile()
407 (void) strlcpy(pinfo->pkg, pkgname, in srchcfile()
H A Dpkgtrans.c901 char cmd[CMDSIZE], pkgname[NON_ABI_NAMELNGTH]; in pkgxfer() local
1173 if (sscanf(line, "%s %d %d %[ 0-9]", pkgname, &nparts, in pkgxfer()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dpkg.c134 construct_fru_fmri(topo_mod_t *mp, const char *pkgname, FILE *fp) in construct_fru_fmri() argument
168 e |= nvlist_add_string(f, FM_FMRI_PKG_INST, pkgname); in construct_fru_fmri()
196 char *pkgname = NULL; in pkg_fmri_create() local
213 pkgname = topo_mod_strdup(mp, findpkgname); in pkg_fmri_create()
215 (void) snprintf(tmpbuf, BUFLEN, PKGINFO_CMD, pkgname); in pkg_fmri_create()
218 out = construct_fru_fmri(mp, pkgname, pcout); in pkg_fmri_create()
222 if (pkgname != NULL) in pkg_fmri_create()
223 topo_mod_strfree(mp, pkgname); in pkg_fmri_create()
256 char *pkgname = NULL, *aname, *aval; in fmri_nvl2str() local
273 err = nvlist_lookup_string(nvl, FM_FMRI_PKG_INST, &pkgname); in fmri_nvl2str()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgname/
H A DMakefile26 PROG= pkgname
28 OBJS= pkgname.o
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dpkgenv.c54 char *pkgname; variable
100 if ((pkgname = getenv("NAME")) == NULL) { in pkgenv()
H A Dquit.c69 extern char *pkgname;
454 pkgname, utsbuf.nodename, pkginst, zoneName); in mailmsg()
H A Dmain.c69 extern char *pkgname;
1205 echo("\n%s(%s) %s", pkgname, pkgarch, pkgvers); in main()
1911 echo(MSG_PKGINSTALL_DRYRUN, pkgname, pkginst); in main()
1913 echo(MSG_PKGINSTALL_INSIN_GZ, pkgname, pkginst); in main()
1915 echo(MSG_PKGINSTALL_INSIN_LZ, pkgname, pkginst, zoneName); in main()
/illumos-gate/usr/src/cmd/svr4pkg/
H A DMakefile36 pkgname \
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c188 char *pkgname; in main() local
457 if ((pkgname = getenv("NAME")) == NULL) { in main()
461 if (ckparam("NAME", pkgname)) in main()
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dalgs.c77 #define PKG_SEC_START(pkgname, doing_pkg, cur_pkg) { \ argument
78 (void) strcpy((cur_pkg), (pkgname)); \
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dmanifest-import369 while read fmri mfst pkgname; do
/illumos-gate/usr/src/pkg/manifests/
H A Dpackage-svr4.p5m57 file path=usr/sadm/install/bin/pkgname group=sys mode=0555