Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd/usr.sbin/pkg/
H A Dpkg.729 .Nm pkg
39 .Ar pkg.txz
55 .Xr pkg 8
60 .Xr pkg 8
65 .Xr pkg 8
69 .Xr pkg 8 .
70 .It Nm Cm add Oo Fl fy Oc Oo Fl r Ar reponame Oc Ar pkg.txz
72 .Xr pkg 8
79 .Xr pkg 8
84 .Xr pkg 8 .
[all …]
H A Dpkg.c52 #include "pkg.h"
94 static const char *bootstrap_name = "pkg.pkg";
199 if (strcmp(end, "/pkg-static") == 0) { in extract_pkg_static()
212 warnx("failed to extract pkg-static: %s", in extract_pkg_static()
232 execl(path, "pkg-static", "add", "-f", pkgpath, in install_pkg_static()
235 execl(path, "pkg-static", "add", pkgpath, in install_pkg_static()
320 warn("An error occurred while fetching pkg(8)"); in fetch_to_fd()
854 printf("Bootstrapping pkg from %s, please wait...\n", repo->url); in bootstrap_pkg()
856 /* Support pkg+http:// for PACKAGESITE which is the new format in bootstrap_pkg()
857 in 1.2 to avoid confusion on why http://pkg.FreeBSD.org has in bootstrap_pkg()
[all …]
H A DFreeBSD.conf.latest3 # create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
5 # mkdir -p /usr/local/etc/pkg/repos
6 # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
10 url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
13 fingerprints: "/usr/share/keys/pkg",
H A DFreeBSD.conf.quarterly3 # create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
5 # mkdir -p /usr/local/etc/pkg/repos
6 # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
10 url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
13 fingerprints: "/usr/share/keys/pkg",
H A DMakefile1 PACKAGE= pkg-bootstrap
21 CONFSDIR= /etc/pkg
23 PROG= pkg
24 SRCS= pkg.c rsa.c dns_utils.c config.c ecc.c hash.c
25 MAN= pkg.7
/freebsd/stand/libsa/
H A Dpkgfs.c49 .fs_name = "pkg",
162 struct package *pkg; in pkgfs_init() local
165 pkg = NULL; in pkgfs_init()
178 error = new_package(fd, &pkg); in pkgfs_init()
184 if (pkg == NULL) in pkgfs_init()
187 pkg->pkg_chain = package; in pkgfs_init()
188 package = pkg; in pkgfs_init()
218 * at the first filename that has the .pkg extension. This is in pkg_open_follow()
446 get_byte(struct package *pkg, off_t *op) in get_byte() argument
450 if (pkg->pkg_zs.avail_in == 0) { in get_byte()
[all …]
/freebsd/release/scripts/
H A Dpkg-stage.sh8 export PKG_DBDIR="/tmp/pkg"
12 export PKGCMD="/usr/sbin/pkg -d --rootdir ${ROOTDIR}"
23 ports-mgmt/pkg
38 # If NOPORTS is set for the release, do not attempt to build pkg(8).
41 echo "*** Skipping pkg-stage.sh ***"
46 if [ ! -x /usr/local/sbin/pkg ]; then
48 /usr/bin/make -C ${PORTSDIR}/ports-mgmt/pkg install clean
51 export PKG_ABI=$(pkg --rootdir ${ROOTDIR} config ABI)
52 export PKG_ALTABI=$(pkg --rootdir ${ROOTDIR} config ALTABI 2>/dev/null)
79 # Print pkg(8) information to make debugging easier.
[all …]
H A Dmake-oci-image.sh32 cp /etc/pkg/FreeBSD.conf ${workdir}/repos
40 if [ ! -d ${rootdir}/usr/share/keys/pkg/trusted ]; then
41 mkdir -p ${rootdir}/usr/share/keys/pkg/trusted
43 cp /usr/share/keys/pkg/trusted/* ${rootdir}/usr/share/keys/pkg/trusted
47 env IGNORE_OSVERSION=yes ABI=${abi} pkg --rootdir ${rootdir} --repo-conf-dir ${workdir}/repos \
49 rm -rf ${rootdir}/var/db/pkg/repos
/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/share/examples/oci/
H A DContainerfile.pkg15 # use for downloading pkg since the freebsd-minimal image has both FreeBSD and
16 # FreeBSD-base pkg repo configs installed and FreeBSD-base does not contain the
17 # pkg package.
18 RUN env ASSUME_ALWAYS_YES=yes pkg bootstrap -r FreeBSD && pkg update
21 RUN pkg install -y ${packages}
24 # packages, uninstall pkg and delete the repository metadata downloaded by 'pkg
27 RUN pkg clean -ay && pkg delete -fy pkg && rm -rf /var/db/pkg/repos
/freebsd/sys/contrib/openzfs/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 …]
H A Drpm.am16 $(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/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/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"
H A Dpackages.subr167 # Detect installed packages. Currently this uses pkg-query(8) for querying
173 for package in $( pkg query "%n-%v" ); do
199 local pkg varpkg mark cat varcat pkgcat n tselected=0 tinstalled=0
205 for pkg in $SELECTED_PACKAGES; do
206 f_str2varname $pkg varpkg
238 local pkg varpkg mark rundeps dep vardep
244 for pkg in $SELECTED_PACKAGES; do
245 f_str2varname $pkg varpkg
250 f_dprintf "%s unselected" $pkg
252 f_package_deselect $pkg
[all …]
/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 …]
/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"
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++
[all …]
/freebsd/contrib/kyua/
H A D.cirrus.yml21 …- sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}…
22 - ASSUME_ALWAYS_YES=yes pkg bootstrap -f
23 - pkg install -y autoconf automake atf lutok pkgconf sqlite3
/freebsd/contrib/atf/
H A D.cirrus.yml17 …- sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}…
18 - ASSUME_ALWAYS_YES=yes pkg bootstrap -f
19 - pkg install -y autoconf automake libtool kyua
/freebsd/crypto/openssh/contrib/solaris/
H A DREADME19 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/contrib/tcpdump/cmake/Modules/
H A DFindCRYPTO.cmake12 # First, try looking for it with pkg-config, if we have it.
17 # Homebrew's pkg-config does not, by default, look for
18 # pkg-config files for packages it has installed.
36 # Get the pkg-config directory for openssl.
71 # If we got an additional pkg-config directory from Homebrew, add
79 # Use pkg-config to find libcrypto.
89 # Did pkg-config find it?
159 # Have we found it with pkg-config or Homebrew?
/freebsd/contrib/libucl/tests/basic/
H A D3.in2 * Pkg conf
5 #packagesite http//pkg.freebsd.org/freebsd-9-amd64/latest
6 #packagesite http//pkg.freebsd.org/freebsd-9-amd64/latest
7 packagesite: http://pkg-test.freebsd.org/pkg-test/${ABI}/latest
/freebsd/share/man/man7/
H A Dports.738 .Xr pkg 8 .
98 .Xr pkg 8
103 .Xr pkg 8
113 .Xr pkg 8
117 .Cm pkg -vv
285 .Xr pkg-delete 8
290 .Xr pkg-delete 8 .
299 .Pa .pkg
302 .Xr pkg-add 8 .
306 .Pa /usr/ports/category/port/work/pkg .
[all …]
/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 …]
/freebsd/contrib/ntp/sntp/m4/
H A Dntp_openssl.m48 dnl pkg-config search.
116 # we should use pkg-config to find openssl
117 # if we don't have pkg-config, if openssl is in the base OS, use that.
151 for pkg in `echo $with_crypto | $SED -e 's/,/ /'`; do
152 case "$pkg" in
154 if $PKG_CONFIG --exists $pkg ; then
215 for pkg in `echo $with_crypto | $SED -e 's/,/ /'`; do
216 AC_MSG_CHECKING([pkg-config for $pkg])
217 if $PKG_CONFIG --exists $pkg ; the
[all...]

12345678910>>...17