Home
last modified time | relevance | path

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

12345678910>>...22

/freebsd/contrib/pkgconf/libpkgconf/
H A Dpkg.c69 pkg_get_parent_dir(pkgconf_pkg_t *pkg) in pkg_get_parent_dir() argument
73 pkgconf_strlcpy(buf, pkg->filename, sizeof buf); in pkg_get_parent_dir()
142 typedef void (*pkgconf_pkg_parser_keyword_func_t)(pkgconf_client_t *client, pkgconf_pkg_t *pkg, con…
156 pkgconf_pkg_parser_tuple_func(pkgconf_client_t *client, pkgconf_pkg_t *pkg, const char *keyword, co… in pkgconf_pkg_parser_tuple_func() argument
161 char **dest = (char **)((char *) pkg + offset); in pkgconf_pkg_parser_tuple_func()
162 *dest = pkgconf_tuple_parse(client, &pkg->vars, value, pkg->flags); in pkgconf_pkg_parser_tuple_func()
166 pkgconf_pkg_parser_version_func(pkgconf_client_t *client, pkgconf_pkg_t *pkg, const char *keyword, … in pkgconf_pkg_parser_version_func() argument
172 char **dest = (char **)((char *) pkg + offset); in pkgconf_pkg_parser_version_func()
175 p = pkgconf_tuple_parse(client, &pkg->vars, value, pkg->flags); in pkgconf_pkg_parser_version_func()
183 …_SPECIFIER ": warning: malformed version field with whitespace, trimming to [%s]\n", pkg->filename, in pkgconf_pkg_parser_version_func()
[all …]
H A Dcache.c38 const pkgconf_pkg_t *pkg = *(void **) b; in cache_member_cmp() local
40 return strcmp(key, pkg->id); in cache_member_cmp()
67 const pkgconf_pkg_t *pkg = client->cache_table[i]; in cache_dump() local
70 i, pkg, pkg == NULL ? "NULL" : pkg->id); in cache_dump()
94 pkgconf_pkg_t **pkg; in pkgconf_cache_lookup() local
96 pkg = bsearch(id, client->cache_table, in pkgconf_cache_lookup()
100 if (pkg != NULL) in pkgconf_cache_lookup()
102 PKGCONF_TRACE(client, "found: %s @%p", id, *pkg); in pkgconf_cache_lookup()
103 return pkgconf_pkg_ref(client, *pkg); in pkgconf_cache_lookup()
123 pkgconf_cache_add(pkgconf_client_t *client, pkgconf_pkg_t *pkg) in pkgconf_cache_add() argument
[all …]
H A Dqueue.c106 pkgconf_queue_mark_public(pkgconf_client_t *client, pkgconf_pkg_t *pkg, void *data) in pkgconf_queue_mark_public() argument
108 if (pkg->flags & PKGCONF_PKG_PROPF_VISITED_PRIVATE) in pkgconf_queue_mark_public()
116 if (dep->match == pkg) in pkgconf_queue_mark_public()
120 pkg->flags &= ~PKGCONF_PKG_PROPF_VISITED_PRIVATE; in pkgconf_queue_mark_public()
122 PKGCONF_TRACE(client, "%s: updated, public", pkg->id); in pkgconf_queue_mark_public()
146 pkgconf_pkg_t *pkg = dep->match; in pkgconf_queue_collect_dependencies_walk() local
151 if (pkg == NULL) in pkgconf_queue_collect_dependencies_walk()
157 if (pkg->serial == client->serial) in pkgconf_queue_collect_dependencies_walk()
161 pkg->flags |= PKGCONF_PKG_PROPF_VISITED_PRIVATE; in pkgconf_queue_collect_dependencies_walk()
163 pkg->flags &= ~PKGCONF_PKG_PROPF_VISITED_PRIVATE; in pkgconf_queue_collect_dependencies_walk()
[all …]
/freebsd/stand/libsa/
H A Dpkgfs.c157 struct package *pkg; in pkgfs_init() local
160 pkg = NULL; in pkgfs_init()
176 error = new_package(fd, &pkg); in pkgfs_init()
182 if (pkg == NULL) in pkgfs_init()
185 pkg->pkg_chain = package; in pkgfs_init()
186 package = pkg; in pkgfs_init()
449 get_byte(struct package *pkg, off_t *op) in get_byte() argument
453 if (pkg->pkg_zs.avail_in == 0) { in get_byte()
454 c = read(pkg->pkg_fd, pkg->pkg_buf, PKG_BUFSIZE); in get_byte()
457 pkg->pkg_zs.avail_in = c; in get_byte()
[all …]
/freebsd/contrib/pkgconf/cli/bomtool/
H A Dmain.c46 sbom_spdx_identity(pkgconf_pkg_t *pkg) in sbom_spdx_identity() argument
50 snprintf(buf, sizeof buf, "%sC64%s", pkg->id, pkg->version); in sbom_spdx_identity()
98 sbom_identity(pkgconf_pkg_t *pkg) in sbom_identity() argument
102 snprintf(buf, sizeof buf, "%s@%s", pkg->id, pkg->version); in sbom_identity()
108 write_sbom_package(pkgconf_client_t *client, pkgconf_pkg_t *pkg, void *unused) in write_sbom_package() argument
113 if (pkg->flags & PKGCONF_PKG_PROPF_VIRTUAL) in write_sbom_package()
116 printf("##### Package: %s\n\n", sbom_identity(pkg)); in write_sbom_package()
118 printf("PackageName: %s\n", sbom_identity(pkg)); in write_sbom_package()
119 printf("SPDXID: SPDXRef-Package-%s\n", sbom_spdx_identity(pkg)); in write_sbom_package()
120 printf("PackageVersion: %s\n", pkg->version); in write_sbom_package()
[all …]
/freebsd/usr.sbin/pkg/
H A DFreeBSD.conf.latest3 # create or edit /usr/local/etc/pkg/repos/FreeBSD.conf, e.g.:
5 # mkdir -p /usr/local/etc/pkg/repos
6 # echo "FreeBSD-ports: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
7 # echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
13 url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
16 fingerprints: "/usr/share/keys/pkg",
20 url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest",
23 fingerprints: "/usr/share/keys/pkg",
27 url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_latest",
30 fingerprints: "/usr/share/keys/pkg",
H A DFreeBSD.conf.quarterly4 # create or edit /usr/local/etc/pkg/repos/FreeBSD.conf, e.g.:
6 # mkdir -p /usr/local/etc/pkg/repos
7 # echo "FreeBSD-ports: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
8 # echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
14 url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
17 fingerprints: "/usr/share/keys/pkg",
21 url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly",
24 fingerprints: "/usr/share/keys/pkg",
28 url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_latest",
31 fingerprints: "/usr/share/keys/pkg",
H A DFreeBSD.conf.quarterly-release3 # create or edit /usr/local/etc/pkg/repos/FreeBSD.conf, e.g.:
5 # mkdir -p /usr/local/etc/pkg/repos
6 # echo "FreeBSD-ports: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
7 # echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
13 url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
16 fingerprints: "/usr/share/keys/pkg",
20 url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}",
23 fingerprints: "/usr/share/keys/pkg",
27 url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
H A DMakefile1 PACKAGE= pkg-bootstrap
22 CONFSDIR= /etc/pkg
24 PROG= pkg
25 SRCS= pkg.c rsa.c dns_utils.c config.c ecc.c hash.c
26 MAN= pkg.7
/freebsd/share/examples/oci/
H A DContainerfile.pkg15 # use for downloading pkg since the freebsd-runtime image has both FreeBSD and
16 # FreeBSD-base pkg repo configs installed and FreeBSD-base does not contain the
17 # pkg package.
21 RUN pkg bootstrap -y -r FreeBSD && pkg -o IGNORE_OSVERSION=yes update -f
24 RUN pkg install -y ${packages}
27 # packages, uninstall pkg and delete the repository metadata downloaded by 'pkg
30 RUN pkg clean -ay && pkg delete -fy pkg && rm -rf /var/db/pkg/repos
/freebsd/contrib/pkgconf/cli/
H A Dmain.c172 print_variables(pkgconf_pkg_t *pkg) in print_variables() argument
176 PKGCONF_FOREACH_LIST_ENTRY(pkg->vars.head, node) in print_variables()
185 print_requires(pkgconf_pkg_t *pkg) in print_requires() argument
189 PKGCONF_FOREACH_LIST_ENTRY(pkg->required.head, node) in print_requires()
203 print_requires_private(pkgconf_pkg_t *pkg) in print_requires_private() argument
207 PKGCONF_FOREACH_LIST_ENTRY(pkg->requires_private.head, node) in print_requires_private()
221 print_provides(pkgconf_pkg_t *pkg) in print_provides() argument
225 PKGCONF_FOREACH_LIST_ENTRY(pkg->provides.head, node) in print_provides()
249 pkgconf_pkg_t *pkg = dep->match; in apply_provides() local
251 print_provides(pkg); in apply_provides()
[all …]
/freebsd/crypto/krb5/src/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 …]
/freebsd/sys/contrib/openzfs/config/
H A Dpkg.m42 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
3 # serial 12 (pkg-config-0.29.2)
33 dnl Verify that the version of the pkg-config macros are at least
35 dnl installed version of pkg-config, this checks the developer's version
36 dnl of pkg.m4 when generating configure.
40 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
47 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
54 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
55 dnl first found in the path. Checks that the version of pkg-config found
58 dnl pkg-config existed.
[all …]
H A Drpm.am17 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-kmod" \
21 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-dkms" \
25 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \
32 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-kmod" \
36 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-dkms" \
48 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \
52 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \
78 rpmpkg=$(pkg)-$(VERSION)-$(RELEASE)$$dist*src.rpm; \
79 rpmspec=$(pkg).spec; \
99 rpmpkg=$(pkg)-$(VERSION)-$(RELEASE)$$dist*src.rpm; \
[all …]
/freebsd/release/scripts/
H A Dpkg-stage.sh68 if [ ! -x /usr/local/sbin/pkg ]; then
70 /usr/bin/make -C ${PORTSDIR}/ports-mgmt/pkg install clean
73 export PKG_ABI=$(pkg --rootdir ${ROOTDIR} config ABI)
74 export PKG_ALTABI=$(pkg --rootdir ${ROOTDIR} config ALTABI 2>/dev/null)
118 ln -nfs ../All/$(${PKGCMD} rquery %n-%v pkg).pkg ${LATEST_DIR}/pkg.pkg
H A Dpkgbase-stage.lua22 local function select_packages(pkg, media, all_libcompats)
34 local rquery = capture(pkg .. "rquery -U -r FreeBSD-base %n")
98 local pkg = "pkg -o ASSUME_ALWAYS_YES=yes -o IGNORE_OSVERSION=yes " ..
102 assert(os.execute(pkg .. "update"))
104 local packages = select_packages(pkg, media, all_libcompats)
106 assert(os.execute(pkg .. "fetch -d -o " .. target .. " " .. table.concat(packages, " ")))
107 assert(os.execute(pkg .. "repo " .. target))
/freebsd/contrib/googletest/docs/
H A Dpkgconfig.md3 GoogleTest comes with pkg-config files that can be used to determine all
13 All current build systems support pkg-config in one way or another. For all
19 Using `pkg-config` in CMake is fairly easy:
39 splitting the pkg-config `Cflags` variable into include dirs and macros for
44 ### Help! pkg-config can't find GoogleTest!
58 pkg-config where it can find the `.pc` files containing the information. Say you
66 pkg-config will also try to look in `PKG_CONFIG_PATH` to find `gtest_main.pc`.
68 ### Using pkg-config in a cross-compilation setting
85 variables for pkg-config in a cross-compilation setting:
92 otherwise `pkg-config` will filter `-I` and `-L` flags against standard prefixes
[all …]
/freebsd/usr.sbin/bsdconfig/share/packages/
H A Dmusthavepkg.subr40 # Validate pkg(8) is installed and set $PKG_ABI global if not already set.
41 # Returns success unless pkg(8) is not installed and user refuses to install
48 if f_quietly pkg -N; then
53 if f_eval_catch -k PKG_ABI $funcname pkg "pkg config abi"; then
59 # pkg(8) not yet bootstrapped; ask for permission unless nonInteractive
63 f_mustberoot_init # Have to be root to install pkg(8)
65 # Bootstrap pkg(8)
67 f_eval_catch $funcname pkg \
68 "pkg bootstrap -y" ||
70 f_eval_catch -k PKG_ABI $funcname pkg "pkg config abi"
/freebsd/contrib/pkgconf/
H A Dpkg.m41 # pkg.m4 - Macros to locate and use pkg-config. -*- Autoconf -*-
30 dnl Verify that the version of the pkg-config macros are at least
32 dnl installed version of pkg-config, this checks the developer's version
33 dnl of pkg.m4 when generating configure.
37 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
44 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
51 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
52 dnl first found in the path. Checks that the version of pkg-config found
55 dnl pkg-config existed.
57 dnl If pkg-config is not found or older than specified, it will result
[all …]
H A DREADME.md5 pkg-config from freedesktop.org, but does not provide bug-compatibility with
6 the original pkg-config.
29 If you only need the original pkg-config functionality, there is also pkgconf-lite,
35 ## why `pkgconf` over original `pkg-config`?
47 pkg-config does not, as well as fully supporting `Conflicts` at dependency
55 This functionality depends on the pkg-config module properly declaring its dependency
57 which have pkg-config metadata files installed.
60 not recommended in [Dan Nicholson's pkg-config tutorial][fd-tut] for this reason.
62 [fd-tut]: http://people.freedesktop.org/~dbn/pkg-config-guide.html
64 ## bug compatibility with original pkg-config
[all …]
/freebsd/tools/tools/nanobsd/
H A Dfill_pkg.sh64 elif [ "${p%.pkg}" != "$p" -a -f "$p" ] && pkg info -F "$p" > /dev/null 2>&1 ; then
67 type=pkg
69 …elif [ "${p%.pkg}" != "$p" -a -f "$dumpdir/$p" ] && pkg info -F "$dumpdir/$p" > /dev/null 2>&1 ; t…
72 type=pkg
74 elif [ -f "$dumpdir/$p.pkg" ] && pkg info -F "$dumpdir/$p.pkg" > /dev/null 2>&1 ; then
77 type=pkg
78 fullpath=$dumpdir/$p.pkg
107 deps=`pkg info -dF "$fullpath" | grep -v "$pkgname:"`
/freebsd/release/packages/
H A Dcreate-sets.sh60 for pkg in "$repodir"/*.pkg; do
67 pkg-*) continue;;
86 _tmp="$(${PKG_CMD} query -F "$pkg" '%At %n %Av' | grep '^set ')"
88 printf >&2 '%s: package has no sets: %s\n' "$0" "$pkg"
/freebsd/crypto/openssl/exporters/
H A Dbuild.info11 GENERATE[libcrypto.pc]{exporter=pkg-config}=pkg-config/libcrypto.pc.in
13 GENERATE[libssl.pc]{exporter=pkg-config}=pkg-config/libssl.pc.in
15 GENERATE[openssl.pc]{exporter=pkg-config}=pkg-config/openssl.pc.in
/freebsd/contrib/atf/atf-c++/
H A Dpkg_config_test.sh36 pkg-config ${1} || atf_fail "pkg-config could not locate ${1}.pc;" \
45 atf_check -s eq:0 -o save:stdout -e empty pkg-config --modversion "${1}"
77 pkg-config --variable=cxx atf-c++
100 atf_check -s eq:0 -o save:stdout -e empty pkg-config --cflags atf-c++
105 pkg-config --libs-only-L --libs-only-other atf-c++
108 pkg-config --libs-only-l atf-c++
/freebsd/sys/dev/xen/cpu/
H A Dxen_acpi_cpu.c295 ACPI_OBJECT *pkg = &top->Package.Elements[i + 1]; in acpi_fetch_cx() local
299 if (!ACPI_PKG_VALID(pkg, 4) || in acpi_fetch_cx()
300 acpi_PkgInt32(pkg, 1, &type) != 0 || in acpi_fetch_cx()
301 acpi_PkgInt32(pkg, 2, &cx_ptr->latency) != 0 || in acpi_fetch_cx()
302 acpi_PkgInt32(pkg, 3, &cx_ptr->power) != 0 || in acpi_fetch_cx()
303 acpi_get_gas(pkg, 0, &gas) != 0) { in acpi_fetch_cx()
337 ACPI_OBJECT *pkg, *res; in acpi_fetch_px() local
350 pkg = (ACPI_OBJECT *)buf.Pointer; in acpi_fetch_px()
351 if (!ACPI_PKG_VALID(pkg, 1)) { in acpi_fetch_px()
355 count = pkg->Package.Count; in acpi_fetch_px()
[all …]

12345678910>>...22