Commit 9b9eef51 authored by Shawn Webb's avatar Shawn Webb
Browse files

Merge branch 'upstream-master'

parents b9f22d5d 156c1c06
freebsd_task: freebsd_task:
install_script: ASSUME_ALWAYS_YES=yes pkg bootstrap -f ; pkg install -y kyua pkgconf mini_httpd install_script: ASSUME_ALWAYS_YES=yes pkg bootstrap -f ; pkg install -y kyua pkgconf mini_httpd
script: script:
- ./configure - ./configure $EXTRA_ARGS
- make -j4 || make V=1 - make -j4 || make V=1
check_script: make check || { kyua report --verbose ; exit 1 ; } check_script: make check || { kyua report --verbose ; exit 1 ; }
matrix: matrix:
...@@ -14,38 +14,63 @@ freebsd_task: ...@@ -14,38 +14,63 @@ freebsd_task:
- name: freebsd13-amd64 - name: freebsd13-amd64
freebsd_instance: freebsd_instance:
image_family: freebsd-13-0-snap image_family: freebsd-13-0-snap
#ubuntu_task: - name: freebsd14-amd64
# container: freebsd_instance:
# image: ubuntu:latest image_family: freebsd-14-0-snap
# setup_script: env:
# - apt-get update EXTRA_ARGS: --with-asan --with-ubsan
# - apt-get install -y libsqlite3-dev libbsd-dev libarchive-dev libssl-dev liblzma-dev liblua5.2-dev nettle-dev liblzo2-dev libattr1-dev libacl1-dev wget build-essential zlib1g-dev libbz2-dev m4 libexpat1-dev liblz4-dev libxml2-dev # There are still a few occurrences of this error (adding offset to NULL pointer)
# install_script: scripts/install_deps.sh CPPFLAGS: -fno-sanitize=pointer-overflow -ftrivial-auto-var-init=pattern
# script:
# - ./configure --with-libarchive.pc ubuntu_task:
# - make -j4 || make V=1 container:
# check_script: make check || { kyua report --verbose ; exit 1 ; } image: ubuntu:latest
# setup_script:
#osx_task: - DEBIAN_FRONTEND=noninteractive apt-get update
# osx_instance: - DEBIAN_FRONTEND=noninteractive apt-get install -y libsqlite3-dev libbsd-dev libarchive-tools libarchive-dev libssl-dev liblzma-dev liblua5.2-dev nettle-dev liblzo2-dev libattr1-dev libacl1-dev wget build-essential zlib1g-dev libbz2-dev m4 libexpat1-dev liblz4-dev libxml2-dev libzstd-dev
# image: catalina-xcode env:
# install_script: scripts/install_deps.sh # False-positive leak detection in recent glibc:
# env: # Direct leak of 12 byte(s) in 2 object(s) allocated from:
# LDFLAGS: -L/usr/local/opt/libarchive/lib -L/usr/local/opt/openssl/lib # #0 0x7fe222e5d3cf in __interceptor_malloc (/lib64/libasan.so.6+0xab3cf)
# CPPFLAGS: -I/usr/local/opt/libarchive/include -I/usr/local/opt/openssl/include # #1 0x7fe22260f08f in __vasprintf_internal (/lib64/libc.so.6+0x7f08f)
# CFLAGS: -I/usr/local/opt/libarchive/include -I/usr/local/opt/openssl/include ASAN_OPTIONS: detect_leaks=0
# script: install_script: scripts/install_deps.sh
# - ./configure script:
# - make -j4 || make V=1 - ./configure --with-libarchive.pc --with-asan --with-ubsan
# check_script: make check || { kyua report --verbose ; exit 1 ;} - make -j4 || make V=1
# check_script: make check || { kyua report --verbose ; exit 1 ; }
#fedora_task:
# container: osx_task:
# image: fedora:latest osx_instance:
# install_script: image: catalina-xcode
# - dnf -y upgrade install_script: scripts/install_deps.sh
# - dnf -y install kyua libatf-c-devel libatf-sh-devel libatf-sh libbsd-devel gcc make zlib-devel bzip2-devel libarchive-devel openssl-devel xz-devel m4 lz4-devel expat-devel libxml2-devel libacl-devel libzstd-devel xz env:
# script: LDFLAGS: -L/usr/local/opt/libarchive/lib -L/usr/local/opt/openssl/lib
# - ./configure --with-libarchive.pc CPPFLAGS: -I/usr/local/opt/libarchive/include -I/usr/local/opt/openssl/include -ftrivial-auto-var-init=pattern
# - make -j4 || make V=1 CXXFLAGS: -I/usr/local/opt/libarchive/include -I/usr/local/opt/openssl/include -ftrivial-auto-var-init=pattern
# check_script: make check || { kyua report --verbose ; exit 1 ; } CFLAGS: -I/usr/local/opt/libarchive/include -I/usr/local/opt/openssl/include -ftrivial-auto-var-init=pattern
script:
- ./configure --with-asan --with-ubsan
- make -j4 || make V=1
check_script: make check || { kyua report --verbose ; exit 1 ;}
fedora_task:
container:
image: fedora:latest
env:
# False-positive leak detection in recent glibc:
# Direct leak of 12 byte(s) in 2 object(s) allocated from:
# #0 0x7fe222e5d3cf in __interceptor_malloc (/lib64/libasan.so.6+0xab3cf)
# #1 0x7fe22260f08f in __vasprintf_internal (/lib64/libc.so.6+0x7f08f)
ASAN_OPTIONS: detect_leaks=0
install_script:
- dnf -y upgrade
- dnf -y install gcc g++ make kyua libatf-c-devel libatf-sh-devel libatf-sh libbsd-devel zlib-devel
bzip2-devel libarchive-devel openssl-devel xz-devel m4 lz4-devel expat-devel
libxml2-devel libacl-devel libzstd-devel
libasan-static libubsan-static libasan-static libubsan-static
bsdtar diffutils openssl which xz
script:
- ./configure --with-libarchive.pc --with-asan --with-ubsan
- make -j4 || make V=1
check_script: make check || { kyua report --verbose ; exit 1 ; }
...@@ -74,55 +74,15 @@ scripts/sbin/pkg2ng ...@@ -74,55 +74,15 @@ scripts/sbin/pkg2ng
/scripts/Makefile /scripts/Makefile
/src/Makefile /src/Makefile
/tests/Makefile /tests/Makefile
/tests/frontend/test_environment.sh
/mk/defs.mk /mk/defs.mk
/tests/Kyuafile /tests/Kyuafile
/tests/checksum /tests/checksum
/tests/deps_formula /tests/deps_formula
/tests/frontend/Kyuafile # Almost everything in tests/frontend is generated aside from .sh and .in files.
/tests/frontend/add /tests/frontend/*
/tests/frontend/alias !/tests/frontend/*.sh
/tests/frontend/annotate !/tests/frontend/*.in
/tests/frontend/autoremove /tests/frontend/test_environment.sh
/tests/frontend/autoupgrade
/tests/frontend/config
/tests/frontend/configmerge
/tests/frontend/conflicts
/tests/frontend/conflicts-multirepo
/tests/frontend/create
/tests/frontend/delete
/tests/frontend/extract
/tests/frontend/fingerprint
/tests/frontend/install
/tests/frontend/issue1374
/tests/frontend/issue1425
/tests/frontend/issue1440
/tests/frontend/issue1445
/tests/frontend/jpeg
/tests/frontend/lock
/tests/frontend/lua
/tests/frontend/messages
/tests/frontend/multipleprovider
/tests/frontend/packagemerge
/tests/frontend/packagesplit
/tests/frontend/php-pr
/tests/frontend/pkg
/tests/frontend/pubkey
/tests/frontend/query
/tests/frontend/register
/tests/frontend/repo
/tests/frontend/requires
/tests/frontend/rootdir
/tests/frontend/rubypuppet
/tests/frontend/search
/tests/frontend/set
/tests/frontend/update
/tests/frontend/updating
/tests/frontend/version
/tests/frontend/vital
/tests/frontend/clean
/tests/frontend/shellscript
/tests/frontend/backup_lib
/tests/merge /tests/merge
/tests/pkg_add_dir_to_del /tests/pkg_add_dir_to_del
/tests/pkg_printf /tests/pkg_printf
......
...@@ -15,7 +15,8 @@ clean-profiles: ...@@ -15,7 +15,8 @@ clean-profiles:
check: all check: all
@if TESTS @if TESTS
export LLVM_PROFILE_FILE=/tmp/pkg.%p.profraw export UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1; \
export LLVM_PROFILE_FILE=/tmp/pkg.%p.profraw; \
if [ "$(HTML)" != "" ]; then \ if [ "$(HTML)" != "" ]; then \
args="-r $(top_builddir)/res.db" ; \ args="-r $(top_builddir)/res.db" ; \
fi ; \ fi ; \
......
Changes from 1.16.99.5 to 1.17.99.1
- fix plenty of typos
- add --no-script to autoremove
- deprecated meta file v1
Changes from 1.16.99.4 to 1.16.99.5
- allow to execute programs from lua script and triggers
- fetch vuln.xml.xz by default
- triggers detected by pkg -r are now deferred for firstboot
- pkg triggers command can be executed at first boot to run the
deferred triggers
Changes from 1.16.99.3 to 1.16.99.4
- expose the name of the packages to its scripts lua and shell
- plist: remove internal support for @*exec
- plist: remove support for @ignore
- plist: remove suppot for @dirrm/@dirrmtry
- plist: remove support for @pkgdep
- plist: remove stub support for @stopdaemon
- plist: remove stub support for @display
- plist: remove stub support for @mtree
- plist: remove stub support for @conflict
- info: fix info processing of mutliple compares
- ci runs again on linux and osx
- portability fixes for linux and osx
- ubsan/asan related fixes
Changes from 1.16.99.2 to 1.16.99.3
- lua update to 5.4.2
- pkg repo accept now all supported formats mixed without config
- pkg now default on creating .bsd files with backward compatible symlinks
- backward compatible symlinks are now an option
- make the default comprpession format a config option
- set the default compression level for zstd to 19
- make the default compression level a config option
- Update libucl to latest version
- change the package extension to .pkg (with symlink on the old format)
Changes from 1.16.99.1 to 1.16.99.2
- libpkg: rsa: stop leaking an RSA object
- libpkg: rsa: start abstracting away rsa bits
- lua: filecmp: Fix for symlink
Changes from 1.16.99.8 to 1.16.99.1
- Avoid making making xstring.h public
- audit: fix quiet
- libpkg: add a snap(shot) version prefix
- libpkg: only upgrade installed packages with pattern matches
- libpkg: accept an "rsa:" prefixed file for pkg_finish_repo()
Changes from 1.15.99.7 to 1.15.99.8 Changes from 1.15.99.7 to 1.15.99.8
- Update documentation about configuration options - Update documentation about configuration options
- Fix variable expansion while parsing pkg.conf and repositories - Fix variable expansion while parsing pkg.conf and repositories
......
...@@ -79,3 +79,49 @@ Add some new ucl files in the ports tree do define groups of files instead of me ...@@ -79,3 +79,49 @@ Add some new ucl files in the ports tree do define groups of files instead of me
* Tests for pkg audit * Tests for pkg audit
* Improve tests for triggers * Improve tests for triggers
# pkg reposync/repomerge
Currently there is a race easily obtain when you pkg install blah and the remote repository
is synced.
The idea of reposync/repomerge is to address this issue by having a command that takes two
repository directories, one being the directory served by the webserver (named www below) and
the other being the newly created repository (named new below) and does:
* Open www/packagesite and rm all packages in www/All/ that aren't in it (this clean pkgs-1)
* Copy all new/All/* to www/All/
* Copy atomically meta.conf/meta.XXX/packagesite.XXX from new/ to www/
This leaves the new/ directory with the new packagesite, the new pkgs and the
pkgs-1 from the previous run.
# Alternatives
Alternatives are install in /usr/local/share/alternatives
For a given alternative X we have a subdirectory alternatives/X
Then a files with the various alternatives names for each alternative
alternatives/php/7.2
alternatives/php/7.4
A special alternatives is provided by the repo based on DEFAULT\_VERSION when
the alternative is version based, or a specific KNOBS when not based on version
this add a new file (symlink) to the package alternatives/php/default -> 7.2
The alternative file is a ucl file, with a list of symlinks:
Description: "yeah baby"
symlinks {
file1: target1
file2: target2
file3: target3
}
exec: { type = lua; script: ... },
exec: { type = shell; script: ...}
The exec part is an optional script which could be use to regenerate caches if needed for example
In case pkg 2 pkg have the default symlink then the regular conflict mechanism would be used
By default pkg priorize user defined default before package defined repo
if user defined repo to not exists then it switches to the global defaut if in non interactive
or as the user if in interractives mode
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
use cc cc-lib cc-shared pkg-config use cc cc-lib cc-shared pkg-config
set maj_ver 1 set maj_ver 1
set med_ver 15 set med_ver 17
set min_ver 99 set min_ver 99
set dev_ver 8 set dev_ver 1
define PKG_API [expr $maj_ver * 1000000 + $med_ver * 1000 + $min_ver] define PKG_API [expr $maj_ver * 1000000 + $med_ver * 1000 + $min_ver]
define VERSION $maj_ver.$med_ver.$min_ver[expr {$dev_ver ? ".$dev_ver" : ""}] define VERSION $maj_ver.$med_ver.$min_ver[expr {$dev_ver ? ".$dev_ver" : ""}]
...@@ -18,6 +18,7 @@ options { ...@@ -18,6 +18,7 @@ options {
with-coverage => "build with llvm coverage support" with-coverage => "build with llvm coverage support"
with-asan => "build with libasan support" with-asan => "build with libasan support"
with-ubsan => "Build with libubsan support" with-ubsan => "Build with libubsan support"
default-format:txz => "Default compression format: tzst, txz (default), tbz, tar"
} }
if {[opt-str pkgconfigdir dir]} { if {[opt-str pkgconfigdir dir]} {
...@@ -30,6 +31,21 @@ if {[opt-str pkgconfigdir dir]} { ...@@ -30,6 +31,21 @@ if {[opt-str pkgconfigdir dir]} {
} }
} }
# default compression format
if {[opt-str default-format fmt]} {
switch $fmt \
"tzst" { set comp TZS } \
"txz" { set comp TXZ } \
"tbz" { set comp TBZ } \
"tgz" { set comp TGZ } \
"tar" { set comp TAR } \
"default" { user-error "Invalid format $fmt" }
define DEFAULT_COMPRESSION $comp
} else {
define DEFAULT_COMPRESSION TXZ
}
cc-check-tools ar ranlib strip cc-check-tools ar ranlib strip
define EXTRA_LIBS "" define EXTRA_LIBS ""
...@@ -254,16 +270,24 @@ cc-with { -libs { -ljail} } { ...@@ -254,16 +270,24 @@ cc-with { -libs { -ljail} } {
# libbsd # libbsd
cc-check-includes bsd/err.h bsd/libutil.h bsd/readpassphrase.h \ cc-check-includes bsd/err.h bsd/libutil.h bsd/readpassphrase.h \
bsd/stdio.h bsd/strlib.h bsd/string.h bsd/sys/cdefs.h \ bsd/stdio.h bsd/stdlib.h bsd/strlib.h bsd/string.h \
bsd/unistd.h bsd/sys/cdefs.h bsd/unistd.h
if {[opt-bool with-asan]} { if {[opt-bool with-asan]} {
define-append ASAN_CFLAGS -O0 -ggdb -fsanitize=address define-append ASAN_CFLAGS -O0 -ggdb -fsanitize=address
define-append ASAN_LDFLAGS -fsanitize=address define-append ASAN_LDFLAGS -fsanitize=address
if {[string match *-linux* [get-define host]]} {
# ASAN depends on libdl for dlsym when building with GCC
define-append ASAN_LDFLAGS -ldl
}
define asan 1 define asan 1
undefine HAVE_STATIC undefine HAVE_STATIC
} }
if {[opt-bool with-ubsan]} { if {[opt-bool with-ubsan]} {
# Avoid alignment error when building with UBSan inside _mum_hash_avx2
define-append UBSAN_CFLAGS -D_MUM_UNALIGNED_ACCESS=0
define-append UBSAN_CFLAGS -O0 -ggdb -fsanitize=undefined
define-append UBSAN_LDFLAGS -fsanitize=undefined
define ubsan 1 define ubsan 1
} }
if {[opt-bool with-coverage]} { if {[opt-bool with-coverage]} {
...@@ -320,7 +344,7 @@ if {[get-define CCACHE] ne {none}} { ...@@ -320,7 +344,7 @@ if {[get-define CCACHE] ne {none}} {
define CC "[get-define CCACHE] [get-define CC]" define CC "[get-define CCACHE] [get-define CC]"
} }
make-config-header pkg_config.h make-config-header pkg_config.h -bare { DEFAULT_* }
make-config-header external/sqlite/config.h make-config-header external/sqlite/config.h
make-template mk/defs.mk.in make-template mk/defs.mk.in
make-template libpkg/pkg.h.in make-template libpkg/pkg.h.in
......
README.autosetup created by autosetup v0.6.9+ README.autosetup created by autosetup v0.7.0+
This is the autosetup directory for a local install of autosetup. This is the autosetup directory for a local install of autosetup.
It contains autosetup, support files and loadable modules. It contains autosetup, support files and loadable modules.
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
dir=`dirname "$0"`; exec "`$dir/autosetup-find-tclsh`" "$0" "$@" dir=`dirname "$0"`; exec "`$dir/autosetup-find-tclsh`" "$0" "$@"
# Note that the version has a trailing + on unreleased versions # Note that the version has a trailing + on unreleased versions
set autosetup(version) 0.6.9+ set autosetup(version) 0.7.0+
# Can be set to 1 to debug early-init problems # Can be set to 1 to debug early-init problems
set autosetup(debug) [expr {"--debug" in $argv}] set autosetup(debug) [expr {"--debug" in $argv}]
......
#!/bin/sh #!/bin/sh
# Looks for a suitable tclsh or jimsh in the PATH # Looks for a suitable tclsh or jimsh in the PATH
# If not found, builds a bootstrap jimsh from source # If not found, builds a bootstrap jimsh in current dir from source
# Prefer $autosetup_tclsh if is set in the environment # Prefer $autosetup_tclsh if is set in the environment (unless ./jimsh0 works)
d=`dirname "$0"` d="`dirname "$0"`"
{ "$d/jimsh0" "$d/autosetup-test-tclsh"; } 2>/dev/null && exit 0 for tclsh in ./jimsh0 $autosetup_tclsh jimsh tclsh tclsh8.5 tclsh8.6 tclsh8.7; do
PATH="$PATH:$d"; export PATH
for tclsh in $autosetup_tclsh jimsh tclsh tclsh8.5 tclsh8.6; do
{ $tclsh "$d/autosetup-test-tclsh"; } 2>/dev/null && exit 0 { $tclsh "$d/autosetup-test-tclsh"; } 2>/dev/null && exit 0
done done
echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0" echo 1>&2 "No installed jimsh or tclsh, building local bootstrap jimsh0"
for cc in ${CC_FOR_BUILD:-cc} gcc; do for cc in ${CC_FOR_BUILD:-cc} gcc; do
{ $cc -o "$d/jimsh0" "$d/jimsh0.c"; } 2>/dev/null || continue { $cc -o jimsh0 "$d/jimsh0.c"; } 2>/dev/null || continue
"$d/jimsh0" "$d/autosetup-test-tclsh" && exit 0 ./jimsh0 "$d/autosetup-test-tclsh" && exit 0
done done
echo 1>&2 "No working C compiler found. Tried ${CC_FOR_BUILD:-cc} and gcc." echo 1>&2 "No working C compiler found. Tried ${CC_FOR_BUILD:-cc} and gcc."
echo false echo false
...@@ -53,11 +53,12 @@ proc pkg-config-init {{required 1}} { ...@@ -53,11 +53,12 @@ proc pkg-config-init {{required 1}} {
define SYSROOT [file-normalize $o] define SYSROOT [file-normalize $o]
msg-result "Using specified sysroot [get-define SYSROOT]" msg-result "Using specified sysroot [get-define SYSROOT]"
} elseif {[get-define build] ne [get-define host]} { } elseif {[get-define build] ne [get-define host]} {
if {[catch {exec-with-stderr [get-define CC] -print-sysroot} result errinfo] == 0} { if {[catch {exec-with-stderr {*}[get-define CC] -print-sysroot} result errinfo] == 0} {
# Use the compiler sysroot, if there is one # Use the compiler sysroot, if there is one
define SYSROOT $result define SYSROOT $result
msg-result "Found compiler sysroot $result" msg-result "Found compiler sysroot $result"
} else { } else {
configlog "[get-define CC] -print-sysroot: $result"
set msg "pkg-config: Cross compiling, but no compiler sysroot and no --sysroot supplied" set msg "pkg-config: Cross compiling, but no compiler sysroot and no --sysroot supplied"
if {$required} { if {$required} {
user-error $msg user-error $msg
......
...@@ -64,6 +64,10 @@ ...@@ -64,6 +64,10 @@
#include <bsd/stdio.h> #include <bsd/stdio.h>
#endif #endif
#ifdef HAVE_BSD_STLIB_H
#include <bsd/stdlib.h>
#endif
#ifdef HAVE_BSD_ERR_H #ifdef HAVE_BSD_ERR_H
#include <bsd/err.h> #include <bsd/err.h>
#endif #endif
...@@ -163,10 +167,12 @@ char * strnstr(const char *s, const char *find, size_t slen); ...@@ -163,10 +167,12 @@ char * strnstr(const char *s, const char *find, size_t slen);
#endif #endif
#ifndef __unreachable #ifndef __unreachable
# if defined(__GNUC__) && ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) # if defined(__GNUC__) && ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 6))
# define __unreachable() __builtin_unreachable()
# elif defined(__clang__) && __has_builtin(__builtin_unreachable)
# define __unreachable() __builtin_unreachable() # define __unreachable() __builtin_unreachable()
# elif defined(__clang__)
# if __has_builtin(__builtin_unreachable)
# define __unreachable() __builtin_unreachable()
# endif
# else # else
# define __unreachable() ((void)0) # define __unreachable() ((void)0)
# endif # endif
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
.\" .\"
.\" @(#)pkg.8 .\" @(#)pkg.8
.\" .\"
.Dd May 13, 2018 .Dd January 6, 2021
.Dt PKG-ALIAS 8 .Dt PKG-ALIAS 8
.Os .Os
.Sh NAME .Sh NAME
...@@ -24,11 +24,12 @@ ...@@ -24,11 +24,12 @@
.Nm .Nm
.Op Fl q .Op Fl q
.Op Fl l .Op Fl l
.Op Ar alias
.Pp .Pp
.Nm "pkg alias" .Nm "pkg alias"
.Op Fl -quiet .Op Fl -quiet
.Op Fl -list .Op Fl -list
.Ar [alias] .Op Ar alias
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
displays configured aliases displays configured aliases
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
.\" .\"
.\" @(#)pkg.8 .\" @(#)pkg.8
.\" .\"
.Dd May 25, 2014 .Dd May 3, 2021
.Dt PKG-AUTOREMOVE 8 .Dt PKG-AUTOREMOVE 8
.Os .Os
.Sh NAME .Sh NAME
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
.Nd removes orphan packages .Nd removes orphan packages
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl nqy .Op Fl Dnqy
.Pp .Pp
.Nm .Nm
.Op Cm --{dry-run,quiet,yes} .Op Cm --{dry-run,no-scripts,quiet,yes}
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
is used for removing orphan packages, which were installed is used for removing orphan packages, which were installed
...@@ -38,6 +38,8 @@ The following options are supported by ...@@ -38,6 +38,8 @@ The following options are supported by
Dry-run mode. Dry-run mode.
The list of changes to packages is always printed, but The list of changes to packages is always printed, but
no changes are actually made. no changes are actually made.
.It Fl D , Cm --no-scripts
If a deinstallation script exists for a given package, do not execute it.
.It Fl q , Cm --quiet .It Fl q , Cm --quiet
Force quiet output. Force quiet output.
.It Fl y , Cm --yes .It Fl y , Cm --yes
......
...@@ -83,11 +83,15 @@ These options are supported by ...@@ -83,11 +83,15 @@ These options are supported by
.Bl -tag -width dependencies .Bl -tag -width dependencies
.It Fl a , Fl -all .It Fl a , Fl -all
Process all packages. Process all packages.
.It Fl B , Fl -shlibs
Regenerates the library dependency metadata for a package
.It Fl C , Fl -case-sensitive .It Fl C , Fl -case-sensitive
Use case sensitive standard or regular expression Use case sensitive standard or regular expression
.Fl ( x ) .Fl ( x )
matching with matching with
.Ar pattern . .Ar pattern .
.It Fl d , Fl -dependencies
Checks for and installs missing dependencies
.It Fl g , Fl -glob .It Fl g , Fl -glob
Treat Treat
.Ar pattern .Ar pattern
...@@ -103,6 +107,10 @@ has been set to true in ...@@ -103,6 +107,10 @@ has been set to true in
.Pa pkg.conf . .Pa pkg.conf .
.It Fl n , Fl -dry-run .It Fl n , Fl -dry-run
Only check for missing dependencies, do not install them. Only check for missing dependencies, do not install them.
.It Fl r , Fl -recompute
Recalculates and sets the checksums of installed packages
.It Fl s , Fl -checksums
Detects installed packages with invalid checksums
.It Fl v , Fl -verbose .It Fl v , Fl -verbose
Be verbose. Be verbose.
.It Fl q , Fl -quiet .It Fl q , Fl -quiet
......
...@@ -403,74 +403,6 @@ Available keywords are the following: ...@@ -403,74 +403,6 @@ Available keywords are the following:
Set the internal directory pointer to point to Set the internal directory pointer to point to
.Ar directory . .Ar directory .
All subsequent filenames will be assumed relative to this directory. All subsequent filenames will be assumed relative to this directory.
.It Cm @preexec Ar Command
Execute