| /freebsd/stand/libsa/ |
| H A D | pkgfs.c | 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() 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/usr.sbin/pkg/ |
| H A D | FreeBSD.conf.latest | 3 # 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 D | FreeBSD.conf.quarterly | 4 # 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 D | FreeBSD.conf.quarterly-release | 3 # 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 D | Makefile | 1 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 D | Containerfile.pkg | 15 # 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/sys/contrib/openzfs/config/ |
| H A D | pkg.m4 | 1 # 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 …]
|
| H A D | rpm.am | 16 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-kmod" \ 20 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-dkms" \ 24 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \ 31 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-kmod" \ 35 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-dkms" \ 47 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \ 51 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \ 77 rpmpkg=$(pkg)-$(VERSION)-$(RELEASE)$$dist*src.rpm; \ 78 rpmspec=$(pkg).spec; \ 98 rpmpkg=$(pkg)-$(VERSION)-$(RELEASE)$$dist*src.rpm; \ [all …]
|
| /freebsd/crypto/krb5/src/config/ |
| H A D | pkg.m4 | 1 # 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/release/scripts/ |
| H A D | pkg-stage.sh | 66 if [ ! -x /usr/local/sbin/pkg ]; then 68 /usr/bin/make -C ${PORTSDIR}/ports-mgmt/pkg install clean 71 export PKG_ABI=$(pkg --rootdir ${ROOTDIR} config ABI) 72 export PKG_ALTABI=$(pkg --rootdir ${ROOTDIR} config ALTABI 2>/dev/null) 116 ln -s ../All/$(${PKGCMD} rquery %n-%v pkg).pkg ${LATEST_DIR}/pkg.pkg
|
| H A D | pkgbase-stage.lua | 22 local function select_packages(pkg, media, all_libcompats) 34 local rquery = capture(pkg .. "rquery -U -r FreeBSD-base %n") 95 local pkg = "pkg -o ASSUME_ALWAYS_YES=yes -o IGNORE_OSVERSION=yes " .. 99 assert(os.execute(pkg .. "update")) 101 local packages = select_packages(pkg, media, all_libcompats) 103 assert(os.execute(pkg .. "fetch -d -o " .. target .. " " .. table.concat(packages, " "))) 104 assert(os.execute(pkg .. "repo " .. target))
|
| H A D | make-oci-image.sh | 45 if [ ! -d ${rootdir}/usr/share/keys/pkg/trusted ]; then 46 mkdir -p ${rootdir}/usr/share/keys/pkg/trusted 48 for i in ${curdir}/../share/keys/pkg/trusted/pkg.*; do 49 if [ ! -f ${rootdir}/usr/share/keys/pkg/trusted/$(basename $i) ]; then 50 cp $i ${rootdir}/usr/share/keys/pkg/trusted 57 env IGNORE_OSVERSION=yes ABI=${abi} pkg --rootdir ${rootdir} --repo-conf-dir ${workdir}/repos \ 59 rm -rf ${rootdir}/var/db/pkg/repos
|
| /freebsd/contrib/googletest/docs/ |
| H A D | pkgconfig.md | 3 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 D | musthavepkg.subr | 40 # 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/tools/tools/nanobsd/ |
| H A D | fill_pkg.sh | 64 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 D | create-sets.sh | 40 for pkg in "$repodir"/*.pkg; do 44 { echo "$pkg" | grep -q '-'; } || continue 46 set -- $(pkg query -F "$pkg" '%At %n %Av' | grep '^set ')
|
| /freebsd/release/tools/ |
| H A D | vmimage.subr | 87 echo pkg 108 metalog_add_data ./var/db/pkg/local.sqlite 109 mkdir -p ${DESTDIR}/usr/local/etc/pkg/repos 110 echo 'FreeBSD-base: { enabled: yes }' > ${DESTDIR}/usr/local/etc/pkg/repos/FreeBSD.conf 111 metalog_add_data ./usr/local/etc/pkg/repos 112 metalog_add_data ./usr/local/etc/pkg/repos/FreeBSD.conf 206 for pkg in ${VM_EXTRA_PACKAGES}; do 210 -o METALOG=${DESTDIR}/METALOG.pkg \ 212 -o PKG_DBDIR=${DESTDIR}/var/db/pkg \ 214 install -y -r ${PKG_REPO_NAME} $pkg [all …]
|
| /freebsd/crypto/openssl/exporters/ |
| H A D | build.info | 11 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/sys/dev/xen/cpu/ |
| H A D | xen_acpi_cpu.c | 295 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 …]
|
| /freebsd/contrib/atf/atf-c++/ |
| H A D | pkg_config_test.sh | 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}" 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/contrib/atf/atf-c/ |
| H A D | pkg_config_test.sh | 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}" 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 108 atf_check -s eq:0 -o save:stdout -e empty pkg-config --libs-only-l atf-c
|
| /freebsd/contrib/lutok/examples/ |
| H A D | Makefile | 35 LUTOK_CPPFLAGS = $$(pkg-config --cflags-only-I lutok) 36 LUTOK_CXXFLAGS = $$(pkg-config --cflags-only-other lutok) 37 LUTOK_LDFLAGS = $$(pkg-config --libs-only-L lutok) \ 38 $$(pkg-config --libs-only-other lutok) 39 LUTOK_LIBS = $$(pkg-config --libs-only-l lutok)
|
| /freebsd/.cirrus-ci/ |
| H A D | pkg-install.sh | 5 pkg install -y "$@" && exit 0 8 pkg install failed after $(($(date +%s) - $start_time))s 17 pkg install -y "$@" && exit 0 20 second pkg install failed after $(($(date +%s) - $start_time))s
|
| /freebsd/crypto/openssh/contrib/solaris/ |
| H A D | README | 19 pkg_post_make_install_fixes.sh pkg-post-prototype-edit.sh 20 pkg-preinstall.local pkg-postinstall.local pkg-preremove.local 21 pkg-postremove.local pkg-request.local
|
| /freebsd/sys/dev/acpica/ |
| H A D | acpi_perf.c | 172 ACPI_OBJECT *pkg; in acpi_perf_probe() local 191 pkg = (ACPI_OBJECT *)buf.Pointer; in acpi_perf_probe() 192 if (ACPI_PKG_VALID(pkg, 2)) { in acpi_perf_probe() 194 error = acpi_PkgGas(dev, pkg, 0, &type, rid, &res, 0); in acpi_perf_probe() 244 ACPI_OBJECT *pkg, *res; in acpi_perf_evaluate() local 259 pkg = (ACPI_OBJECT *)buf.Pointer; in acpi_perf_evaluate() 260 if (!ACPI_PKG_VALID(pkg, 1)) { in acpi_perf_evaluate() 264 sc->px_count = pkg->Package.Count; in acpi_perf_evaluate() 276 res = &pkg->Package.Elements[i]; in acpi_perf_evaluate() 323 pkg = (ACPI_OBJECT *)buf.Pointer; in acpi_perf_evaluate() [all …]
|