Home
last modified time | relevance | path

Searched full:pkg (Results 1 – 25 of 695) sorted by relevance

12345678910>>...28

/freebsd/usr.sbin/pkg/
H A Dpkg.729 .Nm pkg
40 .Ar pkg.pkg
56 .Xr pkg 8
61 .Xr pkg 8
66 .Xr pkg 8
70 .Xr pkg 8 .
71 .It Nm Cm add Oo Fl fy Oc Oo Fl r Ar reponame Oc Ar pkg.pkg
73 .Xr pkg 8
80 .Xr pkg 8
85 .Xr pkg 8 .
[all …]
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}",
/freebsd/contrib/pkgconf/libpkgconf/
H A Dpkg.c2 * pkg.c
32 * libpkgconf `pkg` module
35 * The `pkg` module provides dependency resolution services and the overall `.pc` file parsing
69 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
[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()
113 * .. c:function:: void pkgconf_cache_add(pkgconf_client_t *client, pkgconf_pkg_t *pkg)
[all …]
/freebsd/contrib/sqlite3/autosetup/
H A Dpkg-config.tcl6 # The 'pkg-config' module allows package information to be found via 'pkg-config'.
9 # by 'pkg-config'.
14 # 'PKG_CONFIG' may be set to use an alternative to 'pkg-config'.
19 sysroot:dir => "Override compiler sysroot for pkg-config search path"
22 # @pkg-config-init ?required?
24 # Initialises the 'pkg-config' system. Unless '$required' is set to 0,
25 # it is a fatal error if a usable 'pkg-config' is not found .
28 # but it may be invoked explicitly if lack of 'pkg-config' is acceptable.
30 # Returns 1 if ok, or 0 if 'pkg-config' not found/usable (only if '$required' is 0).
32 proc pkg-config-init {{required 1}} {
[all …]
/freebsd/stand/libsa/
H A Dpkgfs.c43 .fs_name = "pkg",
157 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()
216 * at the first filename that has the .pkg extension. This is in pkg_open_follow()
449 get_byte(struct package *pkg, off_t *op) in get_byte() argument
453 if (pkg->pkg_zs.avail_in == 0) { in get_byte()
[all …]
/freebsd/contrib/googletest/docs/
H A Dpkgconfig.md3 GoogleTest comes with pkg-config files that can be used to determine all
5 Pkg-config is a standardised plain-text format containing
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
70 Pkg-config can be used in a cross-compilation setting too. To do this, let's
[all …]
/freebsd/libexec/pkg-serve/tests/
H A Dpkg_serve_test.sh6 PKG_SERVE="${PKG_SERVE:-/usr/libexec/pkg-serve}"
37 check_output "ok: pkg-serve " "quit\n" repo ||
61 check_output "ko: file not found" "get nonexistent.pkg 0\nquit\n" repo ||
73 echo "testcontent" > repo/test.pkg
74 output=$(serve "get test.pkg 0\nquit\n" repo)
89 echo "testcontent" > repo/test.pkg
90 check_output "ok: 12" "get /test.pkg 0\nquit\n" repo ||
102 echo "testcontent" > repo/test.pkg
103 check_output "ok: 0" "get test.pkg 9999999999\nquit\n" repo ||
127 check_output "ko: bad command get" "get test.pkg\nquit\n" repo ||
[all …]
/freebsd/release/scripts/
H A Dpkg-stage.sh8 export PKG_DBDIR="/tmp/pkg"
24 ports-mgmt/pkg
43 # If NOPORTS is set for the release, do not attempt to build pkg(8).
46 echo "*** Skipping pkg-stage.sh ***"
66 PKGCMD="/usr/sbin/pkg ${PKG_ARGS}"
68 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)
108 # Print pkg(8) information to make debugging easier.
[all …]
H A Dpkgbase-stage.lua22 local function select_packages(pkg, media, all_libcompats)
34 local rquery = capture(pkg .. "rquery -U -r FreeBSD-base %n")
43 elseif package == "pkg" then
44 components["pkg"] = package
49 assert(components["pkg"])
53 table.insert(selected, components["pkg"])
65 table.insert(selected, components["pkg"])
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)
[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/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/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 …]
/freebsd/contrib/pkgconf/
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 …]
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 …]
/freebsd/tools/tools/nanobsd/
H A Dfill_pkg.sh30 # $0 [-cv] PACKAGE_DUMP NANO_PACKAGE_DIR /usr/ports/foo/bar [package.pkg]...
39 echo "Usage: $0 [-cv] package-dump-dir nano-package-dir port-dir-or-pkg ..." 1>&2
64 elif [ "${p%.pkg}" != "$p" -a -f "$p" ] && pkg info -F "$p" > /dev/null 2>&1 ; then
66 pkgname=`basename "$p" | sed 's/\.pkg$//I'`
67 type=pkg
69 …elif [ "${p%.pkg}" != "$p" -a -f "$dumpdir/$p" ] && pkg info -F "$dumpdir/$p" > /dev/null 2>&1 ; t…
71 pkgname=`basename "$p" | sed 's/\.pkg$//I'`
72 type=pkg
74 elif [ -f "$dumpdir/$p.pkg" ] && pkg info -F "$dumpdir/$p.pkg" > /dev/null 2>&1 ; then
77 type=pkg
[all …]
/freebsd/usr.sbin/bsdinstall/scripts/
H A Dpkgbase.in110 -- "pkg" is always installed if present.
111 if component == "pkg" then return false end
203 -- both, and this way the user can remove the base set without pkg
212 -- If pkg is available, always install it so the user can manage the
214 -- from src alone won't have a pkg package.
215 if components["pkg"] then
216 table.insert(selected, "pkg")
231 local function select_packages(pkg, options)
250 local rquery = capture(pkg .. "rquery -U -r FreeBSD-base %n")
261 elseif package == "pkg" then
[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/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/libexec/pkg-serve/
H A Dpkg-serve.89 .Nm pkg-serve
10 .Nd serve pkg repositories over TCP via inetd
18 .Xr pkg 8
19 repositories using the pkg TCP protocol.
37 ok: pkg-serve <version>
70 pkg stream tcp nowait nobody /usr/libexec/pkg-serve pkg-serve /usr/local/poudriere/data/packa…
80 .Pa /usr/local/etc/pkg/repos/myrepo.conf
105 .Xr pkg 8
/freebsd/release/packages/
H A Dcreate-sets.sh29 : ${PKG_CMD:="pkg"}
60 for pkg in "$repodir"/*.pkg; do
62 case "${pkg##*/}" in
64 # When building release, we add a 'pkg' package to the repository,
67 pkg-*) continue;;
76 # is <pkgname>-<version>.pkg, so this skips files which aren't
77 # really packages, like data.pkg or packagesite.pkg.
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/contrib/atf/atf-c/
H A Dpkg_config_test.sh27 # directory that is known by pkg-config. Otherwise they will fail,
36 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}"
47 echo "Version reported by pkg-config: ${ver2}"
56 atf_set "require.progs" "pkg-config"
69 "the C library based on the pkg-config information"
70 atf_set "require.progs" "pkg-config"
76 atf_check -s eq:0 -o save:stdout -e empty pkg-config --variable=cc atf-c
101 atf_check -s eq:0 -o save:stdout -e empty pkg-config --cflags atf-c
106 pkg-config --libs-only-L --libs-only-other atf-c
[all …]

12345678910>>...28