/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkgnmchk.c | 55 valname(char *pkg, int wild) argument 61 if (wild && (strcmp(pkg, "all") == 0)) 67 if ((strncmp(pkg, rsvrd[i], n) == 0) && 68 (!pkg[n] || strchr(NMBRK, pkg[n]))) 77 if (pt = strpbrk(pkg, NMBRK)) { 98 if (!isalpha((unsigned char)*pkg)) 100 while (*pkg && !strchr(NMBRK, *pkg)) { 101 if (!isalnum((unsigned char)*pkg) 118 pkgnmchk(char *pkg, char *spec, int presvr4flg) argument [all...] |
/illumos-gate/usr/src/lib/libbsm/ |
H A D | auditxml.pm | 35 my $pkg = shift; 98 'xmlObj' => $obj}, $pkg; 104 my $pkg = shift; 106 return $pkg->{'id'}; 113 $pkg = shift; 115 if ($pkg->{'internalName'}) { 116 return $pkg->{'internalName'}; 119 return $pkg->{'id'}; 127 my $pkg = shift; 129 unless (@{$pkg [all...] |
H A D | xmlHandlers.pm | 46 # pkg reference, object name (tag), optional fileName. 50 my $pkg = shift; 61 'content' => ''}, $pkg; 253 my $pkg = shift; 268 if ($hashCount && $pkg->{'attributes'}) { 272 $pkg->{'attributes'} = \%content; 277 my $pkg = shift; 280 my @kids = $pkg->getKids(); 290 my $pkg = shift; 292 return @{$pkg [all...] |
/illumos-gate/usr/src/cmd/sgs/packages/i386/ |
H A D | Makefile | 34 install: all $(ROOTREADME) .WAIT pkg
|
/illumos-gate/usr/src/cmd/sgs/packages/sparc/ |
H A D | Makefile | 34 install: all $(ROOTREADME) .WAIT pkg
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | pkgfs.c | 51 "pkg", 163 struct package *pkg; local 178 error = new_package(fd, &pkg); 184 if (pkg == NULL) 187 pkg->pkg_chain = package; 188 package = pkg; 218 * at the first filename that has the .pkg extension. This is 420 get_byte(struct package *pkg, off_t *op) argument 424 if (pkg->pkg_zs.avail_in == 0) { 425 c = read(pkg 440 get_zipped(struct package *pkg, void *buf, size_t bufsz) argument 472 struct package *pkg; local 616 struct package *pkg; local 705 scan_tarfile(struct package *pkg, struct tarfile *last) argument [all...] |
/illumos-gate/usr/src/cmd/fm/schemes/ |
H A D | Makefile | 33 pkg \
|
/illumos-gate/usr/src/cmd/dtrace/test/ |
H A D | Makefile | 37 pkg: install 38 @cd $(SRC)/pkg; pwd; $(MAKE) SUNWdtrt.pub
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/ |
H A D | main.c | 95 char **pkg = NULL; variable 361 pkg = gpkglist(pkgdir, all_pkgs, category); 362 if (pkg == NULL) { 366 for (pkgcnt = 0; pkg[pkgcnt] != NULL; pkgcnt++); 371 pkg = &argv[optind]; 408 logerr(gettext(WRN_F_SPOOL), *pkg); local 415 if (n = pkgtrans(device, spooldir, pkg, PT_SILENT, 419 pkg = gpkglist(spooldir, all_pkgs, category); 421 pkg = gpkglist(spooldir, all_pkgs, NULL); 425 pkg 454 gettext(MSG_CHK_DIR), pkg[n], device); local 457 gettext(MSG_CHK_STRM), pkg[n], device); local [all...] |
H A D | checkmap.c | 53 extern char *basedir, *pathlist[], *ppathlist[], **pkg, **environ; 224 if (selpkg(pinfo->pkg)) { 311 "%s/var/sadm/pkg/%s/pkginfo", 312 root, pkg[i]); 316 "/var/sadm/pkg/%s/pkginfo", 317 pkg[i]); 321 pkg[i]); local 324 pkg[i]); local 334 "%s/var/sadm/pkg/%s/pkginfo", 335 root, pkg[ 344 pkg[i]); local 347 pkg[i]); local [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | gpkglist.c | 51 extern int pkgnmchk(register char *pkg, register char *spec, 54 extern char *fpkginst(char *pkg, ...); 113 gpkglist(char *dir, char **pkg, char **catg) argument 138 if (pkg[0] == NULL && !cont_in_list) { 194 * pkg array contains the instance identifiers to 205 if (pkg[0] == NULL) { /* It's just a continuation. */ 208 } else if (pkgnmchk(pkg[i], "all", 1)) { 211 inst = fpkginst(pkg[i], NULL, NULL); 213 progerr(pkg_gt(ERR_NOPKG), pkg[i]); local 229 } while (inst = fpkginst(pkg[ 232 progerr(pkg_gt(ERR_NOPKG), pkg[i]); local [all...] |
H A D | pkgmount.c | 52 pkgmount(struct pkgdev *devp, char *pkg, int part, int nparts, int getvolflg) argument 64 if (pkg) { 66 pkg_gt(LABEL0), part, nparts, pkg); 71 } else if (pkg) 72 (void) snprintf(prompt, sizeof (prompt), pkg_gt(LABEL2), pkg);
|
H A D | dstream.c | 52 extern int pkgnmchk(register char *pkg, register char *spec, 81 char pkg[NON_ABI_NAMELNGTH]; member in struct:dstoc 125 if (strcmp(list[j], toc_pt->pkg) == 0) { 292 ds_init(char *device, char **pkg, char *norewind) argument 451 if (sscanf(line, "%s %d %d %[ 0-9]", toc_pt->pkg, 485 for (i = 0; pkg[i]; i++) { 486 if (strcmp(pkg[i], "all") == 0) 492 (void) strlcat(cmd, pkg[i], CMDSIZ); 519 ds_findpkg(char *device, char *pkg) argument 525 pkglist[0] = pkg; 550 logerr(pkg_gt(MSG_NOPKG), pkg); local [all...] |
H A D | pkgtrans.c | 69 extern char *fpkginst(char *pkg, ...); 117 char **pkg, PKCS7 *); 242 _pkgtrans(char *device1, char *device2, char **pkg, int options, argument 472 if (ds_init(ids_name, pkg, srcdev.norewind)) { 497 xpkg = pkg = gpkglist(src, pkg, NULL); 498 if (!pkg) { 505 for (nxpkg = 0; pkg[nxpkg]; /* void */) { 510 ds_order(pkg); /* order requests */ 530 if ((hdr = genheader(src, pkg)) 633 pkgtrans(char *device1, char *device2, char **pkg, int options, keystore_handle_t keystore, char *keystore_alias) argument 771 genheader(char *src, char **pkg) argument 830 logerr(pkg_gt(MSG_NOPKGMAP), pkg[i]); local 925 wdsheader(struct dm_buf *hdr, char *src, char *device, char **pkg, PKCS7 *sig) argument [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | pkgvolume.c | 47 pkgvolume(struct pkgdev *devp, char *pkg, int part, int nparts) argument 83 if (n = pkgmount(devp, pkg, part, nparts, 1)) 85 (void) sprintf(path, "%s/%s", devp->dirname, pkg);
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | eptstat.c | 69 eptstat(struct cfent *entry, char *pkg, char c) argument 84 if (strcmp(pkg, pinfo->pkg) == 0) { 131 (void) strncpy(me->pkg, pkg, PKGSIZ);
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | onu.sh.in | 72 # pkg(1) returns 4 if "nothing to do", which is safe to ignore 73 [ $1 = "pkg" -a $exit_code -eq 4 ] && return 86 typeset on_publisher=$(pkg -R $root list -Hv \ 90 do_cmd pkg -R $root set-publisher --no-refresh \ 93 do_cmd pkg -R $root set-publisher -e --no-refresh -P -O $uri $redistpub 94 do_cmd pkg -R $root refresh --full 101 pkg -R $root list entire > /dev/null 2>&1 102 [ $? -eq 0 ] && do_cmd pkg -R $root uninstall entire 106 do_cmd pkg -R $root image-update
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | depend.c | 78 pkg_list *pkg; local 80 pkg = malloc(sizeof (pkg_list)); 81 bzero(pkg, sizeof (pkg_list)); 82 (void) strcpy(pkg->pkg_name, pkgname); 86 return (pkg); 91 tmp->next = pkg;
|
/illumos-gate/usr/src/cmd/mdb/tools/scripts/ |
H A D | Makefile | 46 pkg: $(ROOTPKGSCRIPTS)
|
/illumos-gate/usr/src/head/ |
H A D | pkgstrct.h | 73 char pkg[PKGSIZ+1]; member in struct:pinfo
|
/illumos-gate/usr/src/tools/depcheck/ |
H A D | get_depend_info | 41 [ -f ] [ -p ] [ -pkg SUNWxxx ] [ filename ] 59 The optional argument -pkg allows you to specify a package name. 69 get_depend_info -dbdir ./DBM -pkg SUNWnisu 70 get_depend_info -f -dbdir ./DBM -pkg SUNWnisu 72 get_depend_info -s -dbdir ./DBM -pkg SUNWnisu 109 } elsif ($arg eq "-pkg") { 124 # For a given pkg definition directory, this subroutine will 521 local($pkg) = @_; 522 $pkgchk = `/usr/sbin/pkgchk -l $pkg | grep Pathname | sed 's/Pathname: //'`; 537 foreach $pkg ( [all...] |
/illumos-gate/usr/src/ |
H A D | Makefile | 98 # Note: install does not cause a build in pkg. To build packages, 99 # cd pkg and do a 'make install' 102 all: mapfiles closedbins sgs .WAIT $(SUBDIRS) pkg 121 @cd pkg; pwd; $(MAKE) stage-licenses 135 clean: $(SUBDIRS) head pkg 136 clobber: $(SUBDIRS) head pkg clobber_local 176 $(SUBDIRS) head pkg: FRC 229 XRPRUNE = pkg prototypes
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | inc.flg | 63 find_files "s.*" usr/src/pkg/license_files 64 echo_file usr/src/pkg/manifests/SUNWckr.mf 65 echo_file usr/src/pkg/manifests/SUNWcakr.mf 66 echo_file usr/src/pkg/manifests/SUNWcs.mf 115 echo_file usr/src/pkg/Makefile
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/ |
H A D | pkginfo.c | 64 "%s [-q] [-pi] [-x|l] [options] [pkg ...]\n" \ 65 "%s -d device [-q] [-x|l] [options] [pkg ...]\n" \ 113 static char **pkg = NULL; variable 275 pkg = &argv[optind]; 278 if (pkg[0] && strcmp(pkg[0], "all") == NULL) { 280 pkg[0] = NULL; 292 * the pkginfo file in the spooled pkg. We have a spooled pkg if 306 * the pkginfo file in the spooled pkg s 412 logerr(gettext(ERR_NOPINFO), pkg[i]); local 414 logerr(gettext(ERR_NOINFO), pkg[i]); local [all...] |
/illumos-gate/usr/src/lib/brand/solaris10/zone/ |
H A D | p2v.ksh | 255 for i in $ZONEROOT/var/sadm/pkg/* 257 pkg=$(/usr/bin/basename $i) 258 [[ ! -f $ZONEROOT/var/sadm/pkg/$pkg/save/pspool/$pkg/pkgmap ]] \ 262 $ZONEROOT/var/sadm/pkg/$pkg/pkginfo || continue 266 $ZONEROOT/var/sadm/pkg/$pkg/save/pspool/$pkg/pkgma [all...] |