Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg  ·  View all commits
200 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
6 days ago 920c183
J
Fix typos in source code
Jose Luis Duran
7 days ago 10f92f1
B
libpkg: update symbols versionning
Baptiste Daroussin
7 days ago 5f5a7eb
B
checksum: use blake2b everywhere we can
Baptiste Daroussin
7 days ago 3ad388e
B
checksum: now pkg command to generate a validate checksums
Baptiste Daroussin
7 days ago f15d3dc
B
repo: use blake2 instead of sha256
Baptiste Daroussin
7 days ago eb2ac2b
B
rwhich: implement file tracking and search for remote repositories
Baptiste Daroussin
7 days ago 9b1f2b1
B
backup: fix backup_library with rootdir
Baptiste Daroussin
8 days ago bbfc7b0
B
bakup_lib: emit loudly a warning when unable to backup a library
Baptiste Daroussin
8 days ago 02923ec
B
rcscript: rewrite entirely to be safer
Baptiste Daroussin
8 days ago 2e3e34b
B
triggers: multiple fd handling fixes
Baptiste Daroussin
8 days ago 16bb26d
B
jobs: avoid magic numbers
Baptiste Daroussin
8 days ago 5d62c0d
B
macho: simplify code
Baptiste Daroussin
8 days ago f2c76a3
B
manifest: code cleanup
Baptiste Daroussin
8 days ago 8e85663
B
ucl_parse: add 2 helpers on top of ucl to deduplicate code
Baptiste Daroussin
8 days ago b68de0a
B
pkg_config: factorize some code
Baptiste Daroussin
8 days ago 41c5f72
J
pkg_repo: Add missing spaces in error messages
Jose Luis Duran
9 days ago ced33b9
D
check: Skip missing metadata
Dag-Erling Smørgrav
9 days ago 1629385
D
config: Drop conversion from int to bool
Dag-Erling Smørgrav
9 days ago 6ff444f
B
fflags: emit in string value
Baptiste Daroussin
12 days ago c11b978
B
fflags: also accept integers
Baptiste Daroussin
12 days ago 40519f5
B
fix build on macos
Baptiste Daroussin
12 days ago 7563a50
B
Now that we have cleanup the build system we can rename Makefiles
Baptiste Daroussin
12 days ago 72758d3
B
don't add extra targets
Baptiste Daroussin
12 days ago 49d0d3f
B
code cleanup: unverbose boolean
Baptiste Daroussin
15 days ago ea7639d
B
repositories: enable/disable/reset
Baptiste Daroussin
15 days ago 6ebc458
B
upgrade: clarify the message when a package it not found
Baptiste Daroussin
16 days ago a80e094
B
make: clean more files
Baptiste Daroussin
18 days ago 63545bd
B
vaccum: burry the technical message into debug
Baptiste Daroussin
18 days ago ff43e0a
B
DB: in case of remote db corrompted destroy it to give a change to rebuild
Baptiste Daroussin
18 days ago 30a4ebb
B
ssl: burry the raw ssl messages under under the "verify" namespace
Baptiste Daroussin
18 days ago e9abac3
B
fingerprints, fallback on the host to find them when using -r
Baptiste Daroussin
18 days ago 0092c01
B
search: improve error message
Baptiste Daroussin
18 days ago 05a37ac
B
upgrade: generalize the more verbose explanation of changes
Baptiste Daroussin
18 days ago 9a0557c
B
options: give more explanation on option change
Baptiste Daroussin
18 days ago c58a26b
B
(r)query: if %{ is encountered fallback on using directly pkg_printf(3)
Baptiste Daroussin
19 days ago 5a0342c
B
Declare CheriBSD and CheriABI OS and ABI
Brooks Davis
20 days ago 10752ef
B
repo: do not delete repositories in overrides, simply disable them
Baptiste Daroussin
20 days ago 55dac2a
B
upgrade: don't propose to downgrade to solve a provide/require
Baptiste Daroussin
20 days ago 14ce865
B
pkg_abi.c: mostly centralize OS bits
Brooks Davis
21 days ago 3adfda1
B
pkg_abi.c: simplify os_string_table
Brooks Davis
21 days ago f2c8cf4
B
pkg_abi.c: simplify arch_string_table
Brooks Davis
21 days ago d6a674f
B
pkg_abi.c: simplify architecture translation
Brooks Davis
21 days ago 936c518
B
pkg_abi.c: tidy arch_trans definition
Brooks Davis
21 days ago c0d9d70
S
HBSD: Fix build
Shawn Webb
21 days ago c8be391
B
revert the Makefile.autosetup -> Makefile.in
Baptiste Daroussin
21 days ago 61a7a2d
B
triggers: fix execution of per packages triggers on pkg add/register
Baptiste Daroussin
21 days ago ee156e7
B
triggers: make the perpackage trigger per file instead of per directory
Baptiste Daroussin
21 days ago bf7cbe6
B
shlibs: also remove ignored shlibs provided from shlibs required
Baptiste Daroussin
21 days ago 4701646
B
Makefile: remove empty line added by accident and fix broken configure
Baptiste Daroussin
21 days ago a0d2bc9
B
build: cleanly separate build system from vendored source
Baptiste Daroussin
22 days ago 7bba0f1
B
lua: add pkg.exec_capture, a pkg.exec version capturing stdout/stderr
Baptiste Daroussin
22 days ago bd9cf03
B
options: now that options are simple name/value tuples make them kvlist_t
Baptiste Daroussin
22 days ago a25ae64
B
options: remove %Od and %OD they where never used and populated
Baptiste Daroussin
22 days ago 903337f
B
DB: loudly complain if the DB cannot be opened
Baptiste Daroussin
22 days ago 63c7804
B
Honor --repository flag for disabled repos as documented
Baptiste Daroussin
22 days ago fcfe2f6
B
backup libraries: atomic replacement of the library
Baptiste Daroussin
22 days ago b64f9dd
B
backup_libraries: now fully respectes rootdir
Baptiste Daroussin
22 days ago c79dfc9
B
pkg_config: accept int as boolean converted via != 0
Baptiste Daroussin
22 days ago a66f7a4
B
vital: now explicitly state the SAT solver issue are due to a vital package
Baptiste Daroussin
22 days ago 09da7c2
B
version: add IGNORE_MAJOR to pkg.conf and document it
Baptiste Daroussin
22 days ago a15fddb
S
HBSD: Resolve merge conflict
Shawn Webb
22 days ago 783edb6
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
22 days ago abccdd3
M
Fix overlinking on macOS
Mohamed Akram
1 month ago c6a935d
B
query: fix multiline SIGBUS on case like %dn with no deps
Baptiste Daroussin
1 month ago a8a53cf
I
libpkg: fix --register-only with empty packages
Isaac Freund
1 month ago 1f99b96
I
libpkg: attempt config file merge for force install
Isaac Freund
1 month ago 9169aa5
I
libpkg: fix --register-only to populate config file contents
Isaac Freund
1 month ago 2ec66d7
B
solver: avoid spurious reinstall from wrong repo with multi-repo setups
Baptiste Daroussin
1 month ago 8a4f0cd
B
fetch: fix crash when cleaing up the mirror list
Baptiste Daroussin
1 month ago 655fcd8
B
add: ignore dead symlinks for provides/requires
Baptiste Daroussin
1 month ago 4b0ddce
B
add: resolve shlibs and provides via symlink directory layout
Baptiste Daroussin
1 month ago a8e6f14
B
curl: completly remove
Baptiste Daroussin
1 month ago ed905fc
B
switch back to libfetch
Baptiste Daroussin
1 month ago de81471
B
fetch: readd libfetch++
Baptiste Daroussin
1 month ago 54cbe3f
G
Actually export the pkg_set_ignore_osversion symbol from libpkg
Gleb Popov
1 month ago 995ba2b
B
add: skip osversion check when force is set
Baptiste Daroussin
1 month ago 6050aa1
B
install -A: do not mark upgraded/reinstalled packages as automatic
Baptiste Daroussin
1 month ago dd08b14
B
DB: fix a race condition in db initialization
Baptiste Daroussin
1 month ago e9ae436
B
search: add search -Scomment-description
Baptiste Daroussin
1 month ago a478b48
B
sandbox: provide a default handler for PKG_EVENT_SANDBOX_GET_STRING
Baptiste Daroussin
1 month ago 5151477
B
delete: fix -fR
Baptiste Daroussin
1 month ago 95a90f1
B
jobs: honor PKG_FLAG_DRY_RUN in pkg_jobs_execute()
Baptiste Daroussin
1 month ago da3a159
B
install: emit a message when trying to install -f a locked package
Baptiste Daroussin
1 month ago 46aa15e
B
jobs: before scheduling a DELETE jobs verify if it is really needed
Baptiste Daroussin
1 month ago cdf3254
B
audit: don't leave behind tmp files
Baptiste Daroussin
1 month ago 35f78fc
B
EVENT_PIPE: fix invalid json
Baptiste Daroussin
1 month ago bac49fb
B
Fix heap buffer overread when vuxml is empty
Baptiste Daroussin
1 month ago 35584e6
B
elf: really analyse the content of an .a
Baptiste Daroussin
1 month ago 637c144
B
pkg_add: remove existing file before renaming temp directory
Baptiste Daroussin
1 month ago bc7e444
B
db: only open the db readonly when write is not needed
Baptiste Daroussin
1 month ago 6a93ea1
B
install: accept http:// https:// file:// url to install pkg
Baptiste Daroussin
1 month ago 44e68ad
B
pkgdb_close: remove sqlite3_shutdown
Baptiste Daroussin
1 month ago a376ade
B
audit: plug memory leak
Baptiste Daroussin
1 month ago f93cfef
B
autoremove: install, delete and upgrade are now autoremove aware
Baptiste Daroussin
1 month ago 329d205
B
jobs: hide jails and secure level restrictions behind HAVE_CHFLAGSAT
Baptiste Daroussin
1 month ago 4ca226d
B
ssh: add ssh_args per repositories
Baptiste Daroussin
1 month ago a245a7e
B
portability: securelevels are only available on systems also having chflagsat
Baptiste Daroussin
1 month ago ebee824
B
pkg: fix -N options after WAL activation
Baptiste Daroussin
1 month ago bd31a2d
B
jobs: only include sys/sysctl.h if it exists
Baptiste Daroussin
1 month ago c52e14b
B
DB: Only try to upgrade when the DB is opened RW
Baptiste Daroussin
1 month ago aa53329
B
DB: add missing indexes
Baptiste Daroussin
1 month ago 9c711f4
B
bsd's securelevel: check for bsd securelevel and report errors
Baptiste Daroussin
1 month ago ffc5a16
B
fflags: test if we are running in a jail
Baptiste Daroussin
1 month ago bc91eea
B
wording: finish fixing wording and associated tests
Baptiste Daroussin
1 month ago 05a6aa3
B
libpkg: fix getgrnam_r related errors
Baptiste Daroussin
1 month ago a159fe4
B
backup libraries: change the default behaviour
Baptiste Daroussin
2 months ago 0014e8b
B
pkg: messages improvements
Baptiste Daroussin
2 months ago b21ebf9
B
create: consistent initialization
Baptiste Daroussin
2 months ago 5f0dadc
B
pkgdb: remove useless returns
Baptiste Daroussin
2 months ago 6a8d49e
B
jobs: remove dead code
Baptiste Daroussin
2 months ago bbe320d
B
repo: do not reinvent str_ends_with
Baptiste Daroussin
2 months ago a1cd9dc
B
add: remove redundant function call
Baptiste Daroussin
2 months ago f413cc3
B
repo: factorize fetching code
Baptiste Daroussin
2 months ago 6e3ae8c
B
add: deduplicate code
Baptiste Daroussin
2 months ago 1a15261
B
repo: deduplicate code
Baptiste Daroussin
2 months ago 66619b0
B
utils: prevent potential buffer overflow
Baptiste Daroussin
2 months ago 48f73f1
B
xmalloc: use its functions everywhere
Baptiste Daroussin
2 months ago e5baad4
B
pkgdb: remove dead code
Baptiste Daroussin
2 months ago 3023e7a
B
macho: use xmalloc
Baptiste Daroussin
2 months ago cf5c78c
B
repo: fix potential buffer underflow
Baptiste Daroussin
2 months ago db9e391
B
file_to_bufferat: fix potential memory leak
Baptiste Daroussin
2 months ago 2a6170e
B
add: fix potential heap overflow
Baptiste Daroussin
2 months ago 7f34fff
B
pkg_checksum: prevent null pointer deferencing
Baptiste Daroussin
2 months ago 9df14f0
B
fix external merge tool: ensure the buffer is null terminated
Baptiste Daroussin
2 months ago 002313b
B
Fix typo
Baptiste Daroussin
2 months ago 66175bb
B
pkg: prevent potential stack overflow
Baptiste Daroussin
2 months ago d04b957
B
Fix crash when using external merge tool
Baptiste Daroussin
2 months ago 7b98991
B
solver: always process rdeps for remote packages
Baptiste Daroussin
2 months ago 5bbaecb
B
solver: prevent rdeps discovery explosion
Baptiste Daroussin
2 months ago 5d02e4b
B
solver: fix extra reinstallations
Baptiste Daroussin
2 months ago 84f31da
B
pkgdb: use SQLITE_CHECKPOINT_TRUNCATE
Baptiste Daroussin
2 months ago 250ba7b
B
triggers: add a "pkg_upgrade" variable for per packages triggers
Baptiste Daroussin
2 months ago 4b9ba49
B
triggers: add per package triggers
Baptiste Daroussin
2 months ago c0006d2
B
delete: reinstantiate the original -f behaviour
Baptiste Daroussin
2 months ago 6c4e197
B
trigger: fix typo in regex/regexp
Baptiste Daroussin
2 months ago ba68da9
P
pkg: avoid a bunch of warnings
Pierre Pronchery
2 months ago cf901ce
P
pkg: avoid a warning around enum pkg_shlib_flags
Pierre Pronchery
2 months ago fb6eeff
P
pkg: avoid a bunch of warnings
Pierre Pronchery
2 months ago 3b9bfd7
E
pkg_autoremove/force delete: Fix order
Emmanuel Vadot
2 months ago b67e56f
B
Revert "extract: do not extract a file which is identical to the installed one"
Baptiste Daroussin
2 months ago a39a76e
B
hardlinks: add an explicit error in failing case
Baptiste Daroussin
2 months ago e1928d6
B
jobs: plug a memory leak
Baptiste Daroussin
2 months ago dc198c7
B
jobs: prevent double fetch
Baptiste Daroussin
2 months ago 910336f
B
jobs: fix NULL dereference
Baptiste Daroussin
2 months ago 041107e
B
universe: fix inverted logic
Baptiste Daroussin
2 months ago 666f91a
V
pkgdb: open read-only databases in immutable mode to fix WAL access
Vsevolod Stakhov
2 months ago 17cf2e8
V
pkgdb: skip WAL journal mode on read-only databases
Vsevolod Stakhov
2 months ago 9ebf1d2
B
Fix EBADF crash
Baptiste Daroussin
2 months ago 38ed98b
B
upgrade: Fix crash in pkg upgrade
Baptiste Daroussin
2 months ago f648e3d
B
reproducibility: fix regression in DL_SORT
Baptiste Daroussin
2 months ago 544d62c
B
url_decode: fix a regression from a4b8871
Baptiste Daroussin
2 months ago 9c40fc5
B
add: check for version when running pkg add ./something.pkg
Baptiste Daroussin
2 months ago e6d8ee7
B
upgrade: multiple fixes on how decisions are taken
Baptiste Daroussin
2 months ago cf77f94
I
libpkg: ensure ignored shlibs loaded before usage
Isaac Freund
2 months ago 742c0d1
D
libpkg/pkg_jobs_universe.c: sprinkle debugs during shlibs tracking
Dave Cottlehuber
2 months ago 2174968
B
extract: if the renamed failed, keep the extracted file with a .pkgnew suffix
Baptiste Daroussin
2 months ago d514868
B
extract: do not extract a file which is identical to the installed one
Baptiste Daroussin
2 months ago 5716742
B
pkg_jobs: try to break potential infinite recursion
Baptiste Daroussin
2 months ago 8f790d4
J
Fix typo in error message
Joel Bodenmann
2 months ago 55a58da
R
Fix gname duplication typo in do_extract_dir to use archive_entry_gname
R. Christian McDonald
2 months ago d4bb7fe
B
Plug more memory leaks
Baptiste Daroussin
2 months ago 73cabc8
B
plug memory leak
Baptiste Daroussin
2 months ago 9e2764c
B
fix inverted logic in previous commit
Baptiste Daroussin
3 months ago 7dde416
B
memory: drastically reduce memory usage
Baptiste Daroussin
3 months ago 83243c7
B
configure: stop testing link.h
Baptiste Daroussin
3 months ago db2e1ae
B
configure: use C23 to check for elf headers
Baptiste Daroussin
3 months ago 08c85fc
B
configure: stop testing for MACROS in configure scripts
Baptiste Daroussin
3 months ago 7cb692c
B
Remove unneeded sys/cdefs.h
Baptiste Daroussin
3 months ago 4353a88
B
Revert "compat: use close_range() on linux for closefrom()"
Baptiste Daroussin
3 months ago 4abb01c
B
compat: use close_range() on linux for closefrom()
Baptiste Daroussin
3 months ago 58719c9
B
faccessat: generalize the usage
Baptiste Daroussin
3 months ago 5e23dd0
B
capsicum: finish 3009baa48926cb
Baptiste Daroussin
3 months ago a6e604b
B
compat: sysconf and fstatfs are available on all supported platforms
Baptiste Daroussin
3 months ago 2e8e62f
B
capsicum: stop defining from the configure script
Baptiste Daroussin
3 months ago 3009baa
B
statvfs: it is portable enough
Baptiste Daroussin
3 months ago beeb445
B
C23: first round at using __has_include
Baptiste Daroussin
3 months ago 0f84b83
I
libpkg: respect ignored shlibs for BACKUP_LIBRARIES
Isaac Freund
3 months ago 32a1ebd
I
libpkg: populate shilbs_{provided,required}_ignore
Isaac Freund
3 months ago 838536e
I
libpkg: store ignored shlibs in manifest and db
Isaac Freund
3 months ago cd69108
I
libpkg: fix removal during iteration bugs
Isaac Freund
3 months ago 3d87d1a
I
libpkg: remove redundant lstat call
Isaac Freund
3 months ago 02ce530
I
libpkg: fix leak on lstat failure
Isaac Freund
3 months ago c1a4314
V
pkgdb: enable WAL journal mode for local databases
Vsevolod Stakhov
3 months ago a7ccf3c
B
triggers: only defer triggers which will need to execute
Baptiste Daroussin
3 months ago 0b5238d
V
fetch: add -s/--symlink option for mirror mode
Vsevolod Stakhov
3 months ago 5a98c3f
B
macos: bring back support for macos
Baptiste Daroussin
4 months ago 4fb4382
B
@dir: fix permission via @mode
Baptiste Daroussin
4 months ago 80b3e5c
S
pkg_create: use -t specified timestamp for MANIFEST file timestamps
Siva Mahadevan
4 months ago d7ab5ca
B
repo update: actually show the sql instead of 'grmbl'
Baptiste Daroussin
4 months ago 795e207
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
B
Revert "fetch: Fix pkg_fetch_file_to_fd cleanup"
Baptiste Daroussin
4 months ago 2d4a921
B
register: set a sans default value for directory permissions
Baptiste Daroussin
4 months ago 1d3cc9a
T
fetch: Fix pkg_fetch_file_to_fd cleanup
Tuukka Pasanen
4 months ago 59d443a
E
pkg_install: Add --register-only
Emmanuel Vadot
5 months ago cb296b1
E
unregister: Do not delete empty directories
Emmanuel Vadot
5 months ago d23ccf0
B
fix accidental revert
Baptiste Daroussin
5 months ago a6f7782
B
case sensitivity: make the behaviour consistent (and default to no everywhere)
Baptiste Daroussin
5 months ago 51d4a97
B
case sentitivity: default to yes consistently everywhere
Baptiste Daroussin
5 months ago 9778962
B
case_sensitive: set the default value during pkg_ini respecting pkg.conf
Baptiste Daroussin
5 months ago 70fa486