Lines Matching refs:pkg
61 pkg_do(char *pkg)
93 if (!pkg) {
106 if (isURL(pkg)) {
107 if (!(where_to = fileGetURL(NULL, pkg, KeepPackage))) {
108 warnx("unable to fetch '%s' by URL", pkg);
111 strcpy(pkg_fullname, pkg);
123 strcpy(pkg_fullname, pkg); /*
127 if (strcmp(pkg, "-")) {
214 if (sanity_check(pkg))
291 for (p = pkg ? Plist.head : NULL; p; p = p->next) {
303 strlcpy(subpkg, pkg, sizeof subpkg);
310 if ((ext = strrchr(pkg, '.')) == NULL) {
348 if (!isURL(pkg) && !getenv("PKG_ADD_BASE")) {
363 cp = fileFindByPath(pkg, p->name);
381 else if ((cp = fileGetURL(pkg, p->name, KeepPackage)) != NULL) {
406 printf("Package dependency %s for %s not found%s\n", p->name, pkg,
545 warnx("can't open new contents file '%s'! can't register pkg",
547 goto success; /* can't log, but still keep pkg */
674 sanity_check(char *pkg)
679 warnx("package %s has no CONTENTS file!", pkg);
683 warnx("package %s has no COMMENT file!", pkg);
687 warnx("package %s has no DESC file!", pkg);