Searched refs:pkgs (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/usr.sbin/pkg_install/lib/
H A Ddeps.c29 void list_deps(const char *pkgname, char **pkgs, char *listed,
34 * Sort given NULL-terminated list of installed packages (pkgs) in
44 sortdeps(char **pkgs) argument
51 if (pkgs[0] == NULL || pkgs[1] == NULL)
55 while (pkgs[nrpkgs]) nrpkgs++;
75 for (i = 0; pkgs[i]; i++) if (!listed[i]) {
77 cp = strchr(pkgs[i], ':');
80 list_deps(pkgs[i],pkgs,liste
102 list_deps(const char *pkgname, char **pkgs, char *listed, char *check_loop, char **newpkgs, int *nrnewpkgs, int *err_cnt) argument
[all...]
/freebsd-9.3-release/release/scripts/
H A Dpackage-split.py28 pkgs = ['archivers/unzip',
48 return pkgs
64 pkgs = {}
73 if origin in pkgs:
77 pkgs[origin] = name
79 return (deps, pkgs)
88 def layout_discs(discs, pkgs, deps):
93 if port not in pkgs:
97 pkg = pkgs[port]
126 (deps, pkgs)
[all...]
/freebsd-9.3-release/usr.sbin/pkg_install/create/
H A Dmain.c73 char **pkgs, **start, *tmp; local
75 pkgs = start = argv;
234 *pkgs++ = *argv++;
237 if ((pkgs == start) && (InstalledPkg == NULL))
239 *pkgs = NULL;
259 "usage: pkg_create [-YNOhjnvyz] [-C conflicts] [-P pkgs] [-p prefix]",
H A Dperform.c43 pkg_perform(char **pkgs) argument
46 char *pkg = *pkgs; /* Only one arg to create */
92 char **matched, **pkgs; local
95 pkgs = pkgglob;
97 matched = matchinstalled(MatchType, pkgs, &error);
99 pkgs = matched;
109 if (pkgs[1] == NULL) {
111 pkg = *pkgs;
112 InstalledPkg = *pkgs;
117 for (i = 0; pkgs[
[all...]
/freebsd-9.3-release/usr.sbin/pkg_install/delete/
H A Dmain.c65 char **pkgs, **start; local
70 pkgs = start = argv;
148 *pkgs++ = *argv++;
152 if (pkgs == start && MatchType != MATCH_ALL)
154 *pkgs = NULL;
H A Dperform.c35 pkg_perform(char **pkgs) argument
44 matched = matchinstalled(MatchType, pkgs, &errcode);
50 * Copy matched[] into pkgs[], because we'll need to use
54 pkgs = NULL;
56 pkgs = realloc(pkgs, sizeof(*pkgs) * (i + 2));
57 pkgs[i] = strdup(matched[i]);
59 pkgs[i] = NULL;
76 err_cnt += sortdeps(pkgs);
[all...]
/freebsd-9.3-release/usr.sbin/pkg_install/add/
H A Dmain.c51 char **pkgs; variable
221 pkgs = (char **)malloc((argc+1) * sizeof(char *));
222 for (ch = 0; ch <= argc; pkgs[ch++] = NULL) ;
252 pkgs[ch] = (char *)"-";
256 pkgs[ch] = strdup(temp);
261 pkgs[ch] = strdup(temp);
264 pkgs[ch] = strdup(realpath(*argv, temp));
270 pkgs[ch] = strdup(temp);
274 pkgs[ch] = strdup(temp);
306 if ((error = pkg_perform(pkgs)) !
[all...]
H A Dperform.c39 pkg_perform(char **pkgs) argument
49 for (i = 0; pkgs[i]; i++)
50 err_cnt += pkg_do(pkgs[i]);
/freebsd-9.3-release/usr.sbin/pkg_install/info/
H A Dmain.c68 char **pkgs, **start; local
76 pkgs = start = argv;
273 *pkgs++ = *argv++;
277 if (pkgs == start && MatchType != MATCH_ALL && !CheckPkg &&
280 *pkgs = NULL;
H A Dperform.c34 static int matched_packages(char **pkgs);
37 pkg_perform(char **pkgs) argument
47 return matched_packages(pkgs);
58 matched = matchinstalled(MatchType, pkgs, &errcode);
64 pkgs = matched;
82 for (i = 0; pkgs[i]; i++)
83 err_cnt += pkg_do(pkgs[i]);
459 matched_packages(char **pkgs) argument
464 matched = matchinstalled(MatchType == MATCH_GLOB ? MATCH_NGLOB : MatchType, pkgs, &errcode);
/freebsd-9.3-release/usr.sbin/pkg_install/version/
H A Dperform.c51 char **pkgs, *pat[2], **patterns; local
92 pkgs = matchbyorigin(LookUpOrigin, &err_cnt);
94 pkgs = matchinstalled(MatchType, patterns, &err_cnt);
98 if (pkgs == NULL) {
117 for (i = 0; pkgs[i] != NULL; i++)
118 err_cnt += pkg_do(pkgs[i]);

Completed in 74 milliseconds