Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/private/pkg.h  ·  View all commits
200 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
7 days ago 920c183
B
checksum: use blake2b everywhere we can
Baptiste Daroussin
8 days ago 3ad388e
B
rwhich: implement file tracking and search for remote repositories
Baptiste Daroussin
8 days ago 9b1f2b1
B
rcscript: rewrite entirely to be safer
Baptiste Daroussin
9 days ago 2e3e34b
B
repositories: enable/disable/reset
Baptiste Daroussin
16 days ago 6ebc458
B
triggers: fix execution of per packages triggers on pkg add/register
Baptiste Daroussin
21 days ago ee156e7
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
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
22 days ago abccdd3
B
ssh: add ssh_args per repositories
Baptiste Daroussin
1 month ago a245a7e
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
trigger: fix typo in regex/regexp
Baptiste Daroussin
2 months ago ba68da9
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
B
memory: drastically reduce memory usage
Baptiste Daroussin
3 months ago 83243c7
B
Remove unneeded sys/cdefs.h
Baptiste Daroussin
3 months ago 4353a88
I
libpkg: store ignored shlibs in manifest and db
Isaac Freund
3 months ago cd69108
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
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
B
case sensitivity: make the behaviour consistent (and default to no everywhere)
Baptiste Daroussin
5 months ago 51d4a97
E
Add unregister
Emmanuel Vadot
5 months ago e133b21
B
db: replace va_args with type safe arguments
Baptiste Daroussin
6 months ago bd2c8c4
B
compat: .pkg is there for long enough, remove forward compat.
Baptiste Daroussin
6 months ago 99d8a9c
M
libpkg: Use designated initializers for fetchers
Mark Johnston
6 months ago 65408a1
s
pkgdb: track mtime in pkgdb
strssndktn
7 months ago 08bf9b3
s
pkgdb: track uname, gname, permissions and fflags in pkgdb
strssndktn
7 months ago 699f92e
L
libpkg: Support system triggers
Lexi Winter
7 months ago 7831a19
M
libpkg: Mark some tables const
Mark Johnston
7 months ago aa43be2
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
7 months ago 7dccd36
M
libpkg: Implement backup_libraries for split upgrades
Mark Johnston
8 months ago 433a079
M
libpkg: Provide the METALOG path to pkg scripts
Mark Johnston
9 months ago ae1861a
S
Merge commit '1c5f88ead8e4239aed25ebf383117342c5c72850'
Shawn Webb
10 months ago 290e90b
B
universe: fix package selection
Baptiste Daroussin
11 months ago ff2168a
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
11 months ago ba89bd1
B
tll: finish removing tll from libpkg
Baptiste Daroussin
11 months ago 0a5b324
B
kv: insert all keyvalues directly sorted
Baptiste Daroussin
11 months ago c329d0a
B
add: attempt to further improve pkg add performances
Baptiste Daroussin
11 months ago 009e7a8
B
add: experiment with bsearch to see if it reduce the CPU bounding
Baptiste Daroussin
1 year ago d33f29c
B
triggers: convert to vector
Baptiste Daroussin
1 year ago dfef457
B
non pkgbase: convert system shlibs to vector of char *
Baptiste Daroussin
1 year ago b8cd71e
B
kvlist: add ability to sort and search
Baptiste Daroussin
1 year ago ddc501d
B
refacto: convert actions_t to vector
Baptiste Daroussin
1 year ago 9c84584
B
vec: convert pkg-message to vector
Baptiste Daroussin
1 year ago c01f2b7
B
vec: convert kvlist into vectors
Baptiste Daroussin
1 year ago 28aa748
B
upgrade: fix and simplify detection of upgrade requirements
Baptiste Daroussin
1 year ago e9ddeea
B
cleanup: remove deadcode
Baptiste Daroussin
1 year ago 2ac2201
B
pkg: convert stringlist_t to charv_t
Baptiste Daroussin
1 year ago 3c90262
B
pkg.h: cleanout dead code
Baptiste Daroussin
1 year ago 0026613
B
add: improve performances
Baptiste Daroussin
1 year ago 83f64ac
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 89d30c6
B
script-noexec: prevent anyscript which would call an external script
Baptiste Daroussin
1 year ago 0c1fea2
B
shlibs: move the requirement analysis into a separate function
Baptiste Daroussin
1 year ago 75d1d4b
B
config: configure globabbly variables
Baptiste Daroussin
1 year ago 2ab58f8
B
manifest: sort lists to make them reproducible
Baptiste Daroussin
1 year ago fc571f9
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 97b10c5
B
extract: fix regression when dealing with symlinks in the path
Baptiste Daroussin
1 year ago ab3906b
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago bf1eb68
I
libpkg: scan /usr/lib32 for system libs if needed
Isaac Freund
1 year ago 189bb2a
I
libpkg: track lib32 and Linuxulator shlibs
Isaac Freund
1 year ago 3882f0f
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 25ee7d0
I
libpkg: make shlib handling portable
Isaac Freund
1 year ago 6462d8a
I
libpkg: rework internal ABI handling, fix bugs
Isaac Freund
1 year ago 6c740ac
S
Merge remote-tracking branch 'freebsd/main'
Shawn Webb
1 year ago 84c2214
B
altabi: rename the private field arch into altabi
Baptiste Daroussin
1 year ago 72cc0cd
B
osversion: fix comparison
Baptiste Daroussin
1 year ago 9675169
B
OS: make more os specific behaviour dynamic
Baptiste Daroussin
1 year ago 74f7b91
B
elf: make os specific choices dynamic
Baptiste Daroussin
1 year ago fa0f9ff
B
private/pkg.h: Convert to SPDX
Baptiste Daroussin
1 year ago 71d8559
B
pkg_get_myarch_with_legacy: simplify signature
Baptiste Daroussin
1 year ago 0b4f306
B
OS: make abi, altabi and osversion members of os_info
Baptiste Daroussin
1 year ago d02a0e5
K
Split pkg_elf into pkg_abi (generic part) and pkg_elf (ELF specific part)
Keve
1 year ago 6f2fbec
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 76191f7
G
Add support for storing a list of expired packages in the meta
Gleb Popov
1 year ago d8295ae
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 851a6a4
B
groups: register installed groups in /var/db/pkg/groups
Baptiste Daroussin
1 year ago 7c89c85
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
1 year ago 33f4711
B
cocci: fix NELEM vs nitems mix
Baptiste Daroussin
1 year ago bf078b6
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago fd4c88b
B
pkg: allow to define threads for zstd and xz
Baptiste Daroussin
2 years ago bd83d9c
B
debug: implement PKG_DEBUG_FLAGS
Baptiste Daroussin
2 years ago 9f817aa
B
extraction: fix an upgrade issue with symlinks becoming directories
Baptiste Daroussin
2 years ago e482b66
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago f0dee69
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago ba94185
B
plist: add more test for variables handling
Baptiste Daroussin
2 years ago 26101cc
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 825ab9d
B
plist: grow the notion of variable
Baptiste Daroussin
2 years ago a340f78
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago adf6f88
K
libpkg: add a public-facing pkg_key API
Kyle Evans
2 years ago 4a70c81
K
libpkg: add a packing_append_iovec()
Kyle Evans
2 years ago 2eb688d
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago a88747a
B
groups: implement pkg rquery
Baptiste Daroussin
2 years ago 962d403
B
groups: implement basic pkg search group
Baptiste Daroussin
2 years ago 6e20634
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago ffa5b3d
B
repos: only allocate once per repos the file path
Baptiste Daroussin
2 years ago 4596832
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago c608efa
B
repos: move lock and meta under "/var/db/repos/<name>"
Baptiste Daroussin
2 years ago 76e201a
B
reposdirfd: add abstractions to prepare the move of repo metadata
Baptiste Daroussin
2 years ago 647e10a
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago f17f98f
B
repo: remove unused data_len
Baptiste Daroussin
2 years ago bd6fa5c
B
repo: prefer data.pkg over packagesite.pkg
Baptiste Daroussin
2 years ago a992cd2
B
groups: pkg repo can bundle groups definition
Baptiste Daroussin
2 years ago 5fa76a1
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 609fca8
B
repo: reduce memory usage
Baptiste Daroussin
2 years ago de0d8db
B
repo_create: refactor the API to make it extensible
Baptiste Daroussin
2 years ago efe25c6
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 7649071
r
pkg: fix build on glibc gnu/linux and a few other things
rilysh
2 years ago ed0550c
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 76bfe81
R
Introduce PKG_ISCHROOTED script environment variable
R. Christian McDonald
2 years ago 8c802c5
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 9856def
B
create: implement override_prefix
Baptiste Daroussin
2 years ago bc1137c
B
manifest: cleanup
Baptiste Daroussin
2 years ago 959e2d6
B
manifest: remove the nothing of manifest digest (unused)
Baptiste Daroussin
2 years ago 6dd3c09
B
manifest: add a function to emit directly to a file descriptor
Baptiste Daroussin
2 years ago 79716e0
B
meta: add a data field in meta v2
Baptiste Daroussin
2 years ago ce35a07
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 9ce36fc
B
repo: refactoring of pkg_repo_fetch_remote_extract_fd
Baptiste Daroussin
2 years ago 4d3acea
B
repo: simplify the signature of pkg_repo_fetch_remote_extract_fd
Baptiste Daroussin
2 years ago ec8db30
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago 5768655
B
IP: rework support for ip v4 vs v6
Baptiste Daroussin
2 years ago 288b4de
B
curl: reimplement mirror_type=http
Baptiste Daroussin
2 years ago e473264
B
fetch: introduce a new struct fetch_item
Baptiste Daroussin
2 years ago 2027d7a
B
fetch: finish removing libfetch by handling timeout per fetcher
Baptiste Daroussin
2 years ago c6c6c75
B
fetch: remove libfetch usage
Baptiste Daroussin
2 years ago e86eab4
B
fetch: switch from libfetch to libcurl
Baptiste Daroussin
2 years ago d85fcfd
B
fetch: isolate fetch details in specific functions
Baptiste Daroussin
3 years ago f8cdf1d
B
fetch: add a cleanup function
Baptiste Daroussin
3 years ago fb0fbeb
B
fetch: isolate the close code in a callback
Baptiste Daroussin
3 years ago cd3a5f3
B
fetch: only select the fetchers once per repo
Baptiste Daroussin
3 years ago 24d4b77
B
libpkg: kill useless pkg_manifest_key API
Baptiste Daroussin
3 years ago eec0e90
R
Add 'COMPRESSION_FORMAT' pkg.conf option
Rozhuk Ivan
3 years ago bd091f5
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago fa6223f
M
libpkg: Try to merge config files across split upgrades
Mark Johnston
3 years ago 4ddb234
M
libpkg: Refactor deletion handling in pkg_jobs_execute()
Mark Johnston
3 years ago b3ca789
M
libpkg: Remove a prototype for a non-existent function
Mark Johnston
3 years ago fe323a1
M
libpkg: Remove the "force" parameter from pkg_delete_files()
Mark Johnston
3 years ago 2be9fd9
M
libpkg: Remove the PKG_DELETE_CONFLICT flag
Mark Johnston
3 years ago 4fd3822
B
fix typo that crept in
Baptiste Daroussin
3 years ago 0712e7d
B
factorize pkg_chain_t
Baptiste Daroussin
3 years ago 04c77dc
g
Fix /dev/null not open before chroot
gearnode
3 years ago 5a0cc7f
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago e294fea
B
triggers: rework the cleanup triggers
Baptiste Daroussin
3 years ago 399d7a2
S
HBSD: Resolve merge conflicts
Shawn Webb
3 years ago 0287b56
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
lua_scripts: convert type to string list
Baptiste Daroussin
3 years ago 6d0c152
B
ports: remove post_patterns which are not used anymore
Baptiste Daroussin
3 years ago 870f806
B
pkg: convert dir_to_del to stringlist
Baptiste Daroussin
3 years ago e51cfdd
B
messages: convert to tllist
Baptiste Daroussin
3 years ago 0b8ce04
B
cleanup: prefer tll list over utlist
Baptiste Daroussin
3 years ago f66ca3c
B
metalog: add more tests
Baptiste Daroussin
4 years ago 21ae469
B
triggers: also run triggers when an empty directory is "touched"
Baptiste Daroussin
4 years ago 225062d
B
API: convert all abused hash table into stringlist
Baptiste Daroussin
4 years ago 9b49b83
B
libpkg: convert annotation to kvlist
Baptiste Daroussin
4 years ago a37bc66
B
libpkg: Convert licenses and categories to stringlist
Baptiste Daroussin
4 years ago b5eefda
B
API: replace generic pkg_get with typesafe version
Baptiste Daroussin
4 years ago 7bb8d7e
B
more conversions from utlist to tllist
Baptiste Daroussin
4 years ago 2fd3368
B
fetch: use string list to unset, pkg_kv is not needed
Baptiste Daroussin
4 years ago 6445397
B
more conversion from utlist to tllist
Baptiste Daroussin
4 years ago 55e8743
B
cleanup: remove now unused macros
Baptiste Daroussin
4 years ago 4dcf962
B
hardlinks: rework handling of hardlinks
Baptiste Daroussin
4 years ago 70b98f1
B
packing: remove never used function
Baptiste Daroussin
4 years ago b1bb805
B
libpkg: remove dead code
Baptiste Daroussin
4 years ago 9a540e4
B
pkg_manifest: eliminate another useless uthash use
Baptiste Daroussin
4 years ago 88a7190
B
config: eliminate another useless use of uthash
Baptiste Daroussin
4 years ago a92aae1
B
convert from uthash to pkghash
Baptiste Daroussin
4 years ago 7dc30d2
B
convert from khash to pkghash
Baptiste Daroussin
4 years ago 438bcc6
S
Make -e option orthogonal to other filter options
Stefan Eßer
4 years ago 25254bb
B
repo: only accept .pkg by default
Baptiste Daroussin
4 years ago 098719d
B
compat: only create .txz symlinks for packagesite and meta
Baptiste Daroussin
4 years ago c4b3bd9
B
manifest: revert 27395aa508b46f317b24dbfdb4b4412386adf2d8
Baptiste Daroussin
4 years ago 9bceb3a
B
manifest: parse manifest by chunks
Baptiste Daroussin
4 years ago 27395aa
S
Merge branch 'upstream-master'
Shawn Webb
4 years ago 9b9eef5
B
Triggers: in case rootdir is provided, defer the triggers
Baptiste Daroussin
5 years ago 9c5236e
B
lua triggers: add the ability to run non sandboxed
Baptiste Daroussin
5 years ago aba9ce4
B
plist: remove support for ancient pkg tools time
Baptiste Daroussin
5 years ago 4cbe6a4
B
format: Make the backward compatibility symlink a config option
Baptiste Daroussin
5 years ago 6772f60
B
compression: make the defaut level a config option
Baptiste Daroussin
5 years ago f986163
B
packing: add a function to determine if an extension is supported
Baptiste Daroussin
5 years ago 6967ed9
S
HBSD: Resolve merge conflict
Shawn Webb
5 years ago b9f22d5
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
B
Rework the keyword parsing function to make them more testable
Baptiste Daroussin
5 years ago 6569097
B
create: allow to create a package with readable +MANIFEST
Baptiste Daroussin
5 years ago 7a55498
J
Fix hang with pkg scripts that start daemons.
John Hood
5 years ago d40dbc6
B
Implement triggers
Baptiste Daroussin
5 years ago a4de42d
B
Implement triggers
Baptiste Daroussin
5 years ago ac3becb
B
Remove dead code
Baptiste Daroussin
5 years ago 61fb9e7
B
merge3: get rid of utstring
Baptiste Daroussin
5 years ago d88f0c4
B
Use open_memstream p1
Baptiste Daroussin
5 years ago 383d27c
B
Implement @include for plist
Baptiste Daroussin
5 years ago 01b4ca5
S
Merge remote-tracking branch 'upstream/master' into master
Shawn Webb
5 years ago 7e2225c
E
pkg query: Include the files and sum in '%X'
Emmanuel Vadot
5 years ago c337c10
E
pkg query: Fix '%X' to not use the version
Emmanuel Vadot
5 years ago ed15479
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
5 years ago d871ad5
E
query: Add %X to get the internal checksum of the package
Emmanuel Vadot
5 years ago 366e2df
B
Preserve file attributes when copying with lua
Baptiste Daroussin
5 years ago 694301e
A
Add a 'hash' mode to pkg repo
Allan Jude
5 years ago 36dfb48
B
Isolate libfetch specific code into its own function
Baptiste Daroussin
5 years ago c46eba5
S
HBSD: Support filesystem extended attributes
Shawn Webb
5 years ago dcf0ba3
B
In case we do find the http mirror at full doc url path, Consider the file to fetch relatively to it
Baptiste Daroussin
6 years ago 21a67b1