Lines Matching defs:pkgname
184 install(char *pkgname)
193 s = strstr(pkgname, "://");
197 i = s - pkgname;
198 if (i == 4 && !strncasecmp(pkgname, "tftp", i)) {
202 } else if (i == 4 && !strncasecmp(pkgname, "file", i)) {
223 pkgname = strchr(s, '/');
224 if (pkgname == NULL)
227 *pkgname = '\0';
234 *pkgname = '/';
236 pkgname = s;
238 if (strlen(devname) + strlen(pkgname) + 2 > sizeof(buf)) {
242 sprintf(buf, "%s:%s", devname, pkgname);