Home
last modified time | relevance | path

Searched refs:pkg (Results 1 – 25 of 477) sorted by relevance

12345678910>>...20

/netbsd-src/external/bsd/pkg_install/dist/delete/
H A Dpkg_delete.c108 add_by_pkgname(lpkg_head_t *pkgs, char *pkg) in add_by_pkgname() argument
113 const char *orig_pkg = pkg; in add_by_pkgname()
115 if (pkg[0] == '/') { in add_by_pkgname()
117 if (strncmp(pkg, pkgdb, l) || pkg[l] != '/') { in add_by_pkgname()
119 "package database, skipping: %s", pkg); in add_by_pkgname()
122 pkg += l + 1; in add_by_pkgname()
124 l = strcspn(pkg, "/"); in add_by_pkgname()
125 if (pkg[l + strspn(pkg + l, "/")] != '\0') { in add_by_pkgname()
129 pkg[l] = '\0'; in add_by_pkgname()
131 s = pkgdb_pkg_file(pkg, CONTENTS_FNAME); in add_by_pkgname()
[all …]
/netbsd-src/external/bsd/pkg_install/dist/lib/
H A Diterate.c232 struct pkg_db_list *pkg; in iterate_pkg_db_cached() local
246 pkg = xmalloc(sizeof(struct pkg_db_list)); in iterate_pkg_db_cached()
247 pkg->pkgname = xstrdup(pkgdir); in iterate_pkg_db_cached()
248 SLIST_INSERT_HEAD(&pkg_list_cache, pkg, entries); in iterate_pkg_db_cached()
265 match_by_basename(const char *pkg, void *cookie) in match_by_basename() argument
270 if ((pkg_version = strrchr(pkg, '-')) == NULL) { in match_by_basename()
271 warnx("Entry %s in pkgdb is not a valid package name", pkg); in match_by_basename()
274 if (strncmp(pkg, target, pkg_version - pkg) == 0 && in match_by_basename()
275 pkg + strlen(target) == pkg_version) in match_by_basename()
282 match_by_pattern(const char *pkg, void *cookie) in match_by_pattern() argument
[all …]
H A Dopattern.c53 alternate_match(const char *pattern, const char *pkg) in alternate_match() argument
88 if (pkg_match(buf, pkg) == 1) { in alternate_match()
100 glob_match(const char *pattern, const char *pkg) in glob_match() argument
102 return fnmatch(pattern, pkg, FNM_PERIOD) == 0; in glob_match()
110 simple_match(const char *pattern, const char *pkg) in simple_match() argument
112 return strcmp(pattern, pkg) == 0; in simple_match()
120 quick_pkg_match(const char *pattern, const char *pkg) in quick_pkg_match() argument
125 if (pattern[0] != pkg[0]) in quick_pkg_match()
130 if (pattern[1] != pkg[1]) in quick_pkg_match()
140 pkg_match(const char *pattern, const char *pkg) in pkg_match() argument
[all …]
H A Dplist.c159 mark_plist(package_t *pkg) in mark_plist() argument
163 for (pp = pkg->head; pp; pp = pp->next) { in mark_plist()
172 find_plist(package_t *pkg, pl_ent_t type) in find_plist() argument
176 for (pp = pkg->head; pp && pp->type != type; pp = pp->next) { in find_plist()
185 find_plist_option(package_t *pkg, const char *name) in find_plist_option() argument
189 for (p = pkg->head; p; p = p->next) { in find_plist_option()
204 delete_plist(package_t *pkg, Boolean all, pl_ent_t type, char *name) in delete_plist() argument
206 plist_t *p = pkg->head; in delete_plist()
216 pkg->head = pnext; in delete_plist()
220 pkg->tail = p->prev; in delete_plist()
[all …]
H A Dpkg_signature.c525 struct archive *pkg; in pkg_sign_x509() local
578 pkg = archive_write_new(); in pkg_sign_x509()
579 archive_write_set_format_ar_bsd(pkg); in pkg_sign_x509()
580 archive_write_open_filename(pkg, output); in pkg_sign_x509()
582 archive_write_header(pkg, hash_entry); in pkg_sign_x509()
583 archive_write_data(pkg, hash_file, strlen(hash_file)); in pkg_sign_x509()
584 archive_write_finish_entry(pkg); in pkg_sign_x509()
587 archive_write_header(pkg, sign_entry); in pkg_sign_x509()
588 archive_write_data(pkg, signature_file, signature_len); in pkg_sign_x509()
589 archive_write_finish_entry(pkg); in pkg_sign_x509()
[all …]
H A Dautomatic.c68 is_automatic_installed(const char *pkg) in is_automatic_installed() argument
73 assert(pkg[0] != '/'); in is_automatic_installed()
75 filename = pkgdb_pkg_file(pkg, INSTALLED_INFO_FNAME); in is_automatic_installed()
91 mark_as_automatic_installed(const char *pkg, int value) in mark_as_automatic_installed() argument
96 assert(pkg[0] != '/'); in mark_as_automatic_installed()
98 filename = pkgdb_pkg_file(pkg, INSTALLED_INFO_FNAME); in mark_as_automatic_installed()
H A Dconflicts.c96 package_t pkg; in check_package_conflict() local
108 read_plist(&pkg, f); in check_package_conflict()
111 for (p = pkg.head; p; p = p->next) { in check_package_conflict()
123 free_plist(&pkg); in check_package_conflict()
158 char *pkg, *patt;
160 if (some_installed_package_conflicts_with(argv[1], &pkg, &patt))
161 printf("yes: package %s conflicts with %s, pattern %s\n", pkg, argv[1], patt);
/netbsd-src/distrib/sets/
H A Dregpkg141 pkg=""
202 pkg="$2"
214 echo "Making PLIST for \"${pkg}\" package (part of ${pkgset} set)"
219 "${pkgset}" "${pkg}" \
225 echo >&2 "${ERROR}makeplist reported errors for ${pkg}:"
296 tinyvers="$(${AWK} '$1 ~ '/"${pkg}"/' { print $2 }' \
398 echo "${pkg} - ${t} version using ${method} method"
527 ${AWK} '$1 ~ '/"${pkg}"/' { print $2 }' "${rundir}/deps" | ${SORT} | \
540 …echo >&2 "${WARNING}${pkg} depends on '${pkgdep}' but there is no matching syspkg in ${SYSPKG_DB_T…
543 …echo >&2 "${ERRWARN}${pkg} depends on '${pkgdep}' but there are multiple matching syspkgs in ${SYS…
[all …]
H A Dregpkgset163 for pkg in ${tsort_output}; do
165 *"${nl}${pkg}${nl}"*)
168 ${verbose} && echo "${prog}: registering ${pkg}"
170 "${pkgset}" "${pkg}" || bomb
177 for pkg in ${pkgs}; do
179 *"${nl}${pkg}${nl}"*)
186 echo >&2 "${prog}: WARNING: ${pkg} is not mentioned in deps file"
188 ${verbose} && echo "${prog}: registering ${pkg}"
190 "${pkgset}" "${pkg}" || bomb
/netbsd-src/external/bsd/pkg_install/dist/admin/
H A Dmain.c287 lspattern(const char *pkg, void *vp) in lspattern() argument
290 printf("%s/%s\n", dir, pkg); in lspattern()
295 lsbasepattern(const char *pkg, void *vp) in lsbasepattern() argument
297 puts(pkg); in lsbasepattern()
320 struct pkg_reqd_by *pkg; in add_required_by() local
341 SLIST_FOREACH(pkg, phead, entries) { in add_required_by()
342 if (strcmp(pkg->pkgname, best_installed) == 0) { in add_required_by()
349 ehead = &pkg->required_by[PKG_HASH_ENTRY(pkgname)]; in add_required_by()
368 if (pkg == NULL) { in add_required_by()
369 pkg = xmalloc(sizeof(*pkg)); in add_required_by()
[all …]
/netbsd-src/external/bsd/pkg_install/dist/create/
H A Dperform.c132 pkg_perform(const char *pkg) in pkg_perform() argument
142 if ((cp = strrchr(pkg, '.')) != NULL) { in pkg_perform()
143 allocated_pkg = xmalloc(cp - pkg + 1); in pkg_perform()
144 memcpy(allocated_pkg, pkg, cp - pkg); in pkg_perform()
145 allocated_pkg[cp - pkg] = '\0'; in pkg_perform()
147 full_pkg = pkg; in pkg_perform()
148 pkg = allocated_pkg; in pkg_perform()
151 full_pkg = pkg; in pkg_perform()
158 printf("Creating package %s\n", pkg); in pkg_perform()
214 add_plist_top(&plist, PLIST_NAME, basename_of(pkg)); in pkg_perform()
[all …]
/netbsd-src/external/gpl3/binutils/dist/config/
H A Dpkg.m41 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
2 # serial 12 (pkg-config-0.29.2)
32 dnl Verify that the version of the pkg-config macros are at least
34 dnl installed version of pkg-config, this checks the developer's version
35 dnl of pkg.m4 when generating configure.
39 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
46 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
53 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
54 dnl first found in the path. Checks that the version of pkg-config found
57 dnl pkg-config existed.
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/config/
H A Dpkg.m41 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
2 # serial 12 (pkg-config-0.29.2)
32 dnl Verify that the version of the pkg-config macros are at least
34 dnl installed version of pkg-config, this checks the developer's version
35 dnl of pkg.m4 when generating configure.
39 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
46 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
53 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
54 dnl first found in the path. Checks that the version of pkg-config found
57 dnl pkg-config existed.
[all …]
/netbsd-src/external/gpl3/gcc/dist/config/
H A Dpkg.m41 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
2 # serial 12 (pkg-config-0.29.2)
32 dnl Verify that the version of the pkg-config macros are at least
34 dnl installed version of pkg-config, this checks the developer's version
35 dnl of pkg.m4 when generating configure.
39 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
46 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
53 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
54 dnl first found in the path. Checks that the version of pkg-config found
57 dnl pkg-config existed.
[all …]
/netbsd-src/external/gpl3/gdb/dist/config/
H A Dpkg.m41 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
2 # serial 12 (pkg-config-0.29.2)
32 dnl Verify that the version of the pkg-config macros are at least
34 dnl installed version of pkg-config, this checks the developer's version
35 dnl of pkg.m4 when generating configure.
39 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
46 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
53 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
54 dnl first found in the path. Checks that the version of pkg-config found
57 dnl pkg-config existed.
[all …]
/netbsd-src/external/gpl3/gdb.old/dist/config/
H A Dpkg.m41 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
2 # serial 12 (pkg-config-0.29.2)
32 dnl Verify that the version of the pkg-config macros are at least
34 dnl installed version of pkg-config, this checks the developer's version
35 dnl of pkg.m4 when generating configure.
39 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
46 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
53 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
54 dnl first found in the path. Checks that the version of pkg-config found
57 dnl pkg-config existed.
[all …]
/netbsd-src/external/bsd/pkg_install/dist/info/
H A Dperform.c233 read_meta_data_from_pkgdb(const char *pkg) in read_meta_data_from_pkgdb() argument
248 fname = pkgdb_pkg_file(pkg, descr->entry_filename); in read_meta_data_from_pkgdb()
255 descr->entry_filename, pkg); in read_meta_data_from_pkgdb()
324 pkg_do(const char *pkg) in pkg_do() argument
331 if (IS_URL(pkg) || (fexists(pkg) && isfile(pkg))) { in pkg_do()
339 archive = open_archive(pkg, &archive_name); in pkg_do()
341 warnx("can't find package `%s', skipped", pkg); in pkg_do()
353 if (!IS_URL(pkg)) in pkg_do()
354 binpkgfile = pkg; in pkg_do()
361 pkgdir = pkgdb_pkg_dir(pkg); in pkg_do()
[all …]
/netbsd-src/external/bsd/openldap/dist/
H A Daclocal.m415 dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
16 dnl serial 11 (pkg-config-0.29.1)
46 dnl Verify that the version of the pkg-config macros are at least
48 dnl installed version of pkg-config, this checks the developer's version
49 dnl of pkg.m4 when generating configure.
53 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
60 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
67 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
68 dnl first found in the path. Checks that the version of pkg-config found
71 dnl pkg-config existed.
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddimport.d45 Package pkg; // leftmost package/module variable
134 DsymbolTable dst = Package.resolve(packages, null, &pkg); in load()
137 if (pkg && pkg.isModule()) in load()
139 …not from a member of module `%s`. Did you mean `import %s : %s`?", pkg.toChars(), pkg.toPrettyChar… in load()
140 mod = pkg.isModule(); // Error recovery - treat as import of that module in load()
186 else if (pkg) in load()
188 ….error(loc, "can only import from a module, not from package `%s.%s`", pkg.toPrettyChars(), id.toC… in load()
208 if (!pkg) in load()
214 pkg = mod.pkg; in load()
217 pkg = mod; in load()
[all …]
H A Daccess.d74 …isibility.pkg = '%s')\n", s.toChars(), mod.toChars(), s.visible().pkg ? s.visible().pkg.toChars() … in hasPackageAccess()
76 Package pkg = null; in hasPackageAccess() local
77 if (s.visible().pkg) in hasPackageAccess()
78 pkg = s.visible().pkg; in hasPackageAccess()
93 pkg = p; in hasPackageAccess()
97 else if ((pkg = s.isPackage()) !is null) in hasPackageAccess()
103 if (pkg) in hasPackageAccess()
104 printf("\tsymbol access binds to package '%s'\n", pkg.toChars()); in hasPackageAccess()
106 if (pkg) in hasPackageAccess()
108 if (pkg == mod.parent) in hasPackageAccess()
[all …]
/netbsd-src/external/bsd/nsd/dist/
H A Daclocal.m415 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
16 # serial 11 (pkg-config-0.29.1)
46 dnl Verify that the version of the pkg-config macros are at least
48 dnl installed version of pkg-config, this checks the developer's version
49 dnl of pkg.m4 when generating configure.
53 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
60 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
67 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
68 dnl first found in the path. Checks that the version of pkg-config found
71 dnl pkg-config existed.
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/cmake/modules/
H A DFindOCaml.cmake23 # HAVE_OCAML_${pkg}
27 # OCAML_${pkg}_VERSION
64 function(find_ocamlfind_package pkg)
68 COMMAND "${OCAMLFIND}" "query" "${pkg}" "-format" "%v"
92 "ocamlfind package ${pkg} should have version ${ARG_VERSION} or newer")
96 string(TOUPPER ${pkg} pkg)
98 set(HAVE_OCAML_${pkg} ${found}
101 set(OCAML_${pkg}_VERSION ${version}
/netbsd-src/external/bsd/tre/dist/utils/
H A Dbuild-release.sh10 pkg=`ls dist/tre-*.tar.gz`
11 pkg=`basename $pkg`
12 dir=`basename $pkg .tar.gz`
14 scp dist/$pkg hemuli:build-tmp
15 ssh hemuli "cd build-tmp; rm -rf $dir; tar xzf $pkg; cd $dir; ./utils/build-rpm.sh"
/netbsd-src/crypto/external/bsd/heimdal/dist/cf/
H A Dpkg.m41 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
29 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
31 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
35 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
106 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
107 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
116 and $1[]_LIBS to avoid the need to call pkg-config.
117 See the pkg-config man page for more details.])
143 [The pkg-config script could not be found or is too old. Make sure it
145 path to pkg-config.
[all …]
/netbsd-src/external/bsd/tre/dist/tests/
H A Dbuild-on-hosts.sh24 pkg=`ls dist/tre-*.tar.gz`
25 pkg=`basename $pkg`
26 dir=`basename $pkg .tar.gz`
33 echo "pkg=$pkg" >> $hostfile.tmp
38 scp dist/$pkg tests/build-run.sh $scp_host:build-tmp

12345678910>>...20