Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/pkg_config.c  ·  View all commits
200 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
6 days ago 920c183
B
pkg_config: factorize some code
Baptiste Daroussin
9 days ago 41c5f72
D
config: Drop conversion from int to bool
Dag-Erling Smørgrav
9 days ago 6ff444f
B
repositories: enable/disable/reset
Baptiste Daroussin
16 days ago 6ebc458
B
repo: do not delete repositories in overrides, simply disable them
Baptiste Daroussin
20 days ago 55dac2a
B
pkg_config: accept int as boolean converted via != 0
Baptiste Daroussin
22 days ago a66f7a4
B
version: add IGNORE_MAJOR to pkg.conf and document it
Baptiste Daroussin
22 days ago a15fddb
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
22 days ago abccdd3
B
curl: completly remove
Baptiste Daroussin
1 month ago ed905fc
B
autoremove: install, delete and upgrade are now autoremove aware
Baptiste Daroussin
1 month ago 329d205
B
ssh: add ssh_args per repositories
Baptiste Daroussin
1 month ago a245a7e
B
pkg: messages improvements
Baptiste Daroussin
2 months ago b21ebf9
P
pkg: avoid a bunch of warnings
Pierre Pronchery
2 months ago 3b9bfd7
B
C23: first round at using __has_include
Baptiste Daroussin
3 months ago 0f84b83
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
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
B
compat: .pkg is there for long enough, remove forward compat.
Baptiste Daroussin
6 months ago 99d8a9c
I
scheduler: add DEBUG_SCHEDULER_DOT_FILE option
Isaac Freund
6 months ago a64787a
L
libpkg: Support system triggers
Lexi Winter
7 months ago 7831a19
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
7 months ago 7dccd36
B
priorities: allow negative priorities
Baptiste Daroussin
8 months ago 80f3d8a
M
libpkg: Remove an unused variable
Mark Johnston
8 months ago 019bea3
M
libpkg: Provide the METALOG path to pkg scripts
Mark Johnston
9 months ago ae1861a
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
11 months ago ba89bd1
B
vec: convert kvlist into vectors
Baptiste Daroussin
1 year ago 28aa748
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 89d30c6
G
Introduce the FORCE_CAN_REMOVE_VITAL boolean config option
Gleb Popov
1 year ago cef2179
I
libpkg: validate SHLIB_PROVIDE_PATHS_* options
Isaac Freund
1 year ago 705dff9
G
Introduce pkg_set_ignore_osversion()
Gleb Popov
1 year ago 7bf702d
I
libpkg: add SHLIB_PROVIDE_IGNORE_{GLOB,REGEX} options
Isaac Freund
1 year ago 6ec1463
I
libpkg: add SHLIB_PROVIDE_PATHS_* options
Isaac Freund
1 year ago a35c0a3
B
config: configure globabbly variables
Baptiste Daroussin
1 year ago 2ab58f8
I
libpkg: allow configuring ABI in pkg.conf
Isaac Freund
1 year ago 5b0de4e
I
libpkg: remove redundant strncasecmp() usage
Isaac Freund
1 year ago 79d1efd
B
OSVERSION: relax requirement
Baptiste Daroussin
1 year ago 432bc12
B
ABI: replace notice with warning message
Baptiste Daroussin
1 year ago a7148a7
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 2498431
K
Allow IGNORE_OSVERSION also when dealing with FreeBSD packages on non-FreeBSD systems
Keve
1 year ago e86ae24
B
abi: burry the notice under debug
Baptiste Daroussin
1 year ago e59b844
B
ABI: ignore OSVERSION if abi is not set
Baptiste Daroussin
1 year ago 4b13003
B
vec: rename pkgvec.h into pkg/vec.h
Baptiste Daroussin
1 year ago 22dddf2
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago bf1eb68
I
libpkg: disable Linuxulator shlib tracking by default
Isaac Freund
1 year ago 1e333d8
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 25ee7d0
I
libpkg: add options to ignore required shlibs
Isaac Freund
1 year ago 16937e4
I
libpkg: make shlib handling portable
Isaac Freund
1 year ago 6462d8a
K
More leak fixes as well as skipped leaks.
Keve
1 year ago 306fc12
I
libpkg: rework internal ABI handling, fix bugs
Isaac Freund
1 year ago 6c740ac
K
Generalize and extend unit tests working with binary files
Keve
1 year ago b646211
I
libpkg: fix regression in config parsing
Isaac Freund
1 year ago 0fff8d9
I
libpkg: remove unused descriptions in pkg_config.c
Isaac Freund
1 year ago 9df5da5
S
Merge remote-tracking branch 'freebsd/main'
Shawn Webb
1 year ago 84c2214
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
pkg_config: use global struct os_info
Baptiste Daroussin
1 year ago 41519b7
B
elf: make os specific choices dynamic
Baptiste Daroussin
1 year ago fa0f9ff
B
osversion: set the string value when actually determining it.
Baptiste Daroussin
1 year ago a4e7e54
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
F
libpkg: switch DEFAULT_VULNXML_URL to HTTPS
Franco Fichtner
1 year ago 93928c6
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago c62eec6
B
pkg_external_libs_version: new function
Baptiste Daroussin
1 year ago 740f5c1
K
Add runtime library version information to verbose pkg -vv
Keve
1 year ago d3f3903
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 76191f7
G
Add support for using external 3-way merge tool when handling @config items
Gleb Popov
1 year ago 19d215b
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 851a6a4
B
jobs: allow user to not reinstall on option change
Baptiste Daroussin
1 year ago c3d0c24
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
1 year ago 33f4711
B
STR*EQ: use macros where possible
Baptiste Daroussin
1 year ago 053f4a2
B
debug_flags: default to all flags
Baptiste Daroussin
1 year ago 62ebf11
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: use macro so simplify code
Baptiste Daroussin
2 years ago d12b0fd
B
pkg_dbg: now accept both flags and level
Baptiste Daroussin
2 years ago 69dc99d
B
debug: add a "config" debug flag
Baptiste Daroussin
2 years ago 2bb7306
B
debug: appease gcc
Baptiste Daroussin
2 years ago 6cccc24
B
debug: implement PKG_DEBUG_FLAGS
Baptiste Daroussin
2 years ago 9f817aa
B
config: if ABI is provided extrapolate ALTABI
Baptiste Daroussin
2 years ago 9b56ce7
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 76bfe81
R
Introduce PKG_ISCHROOTED script environment variable
R. Christian McDonald
2 years ago 8c802c5
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
fetch: introduce a new struct fetch_item
Baptiste Daroussin
2 years ago 2027d7a
B
fetch: add a cleanup function
Baptiste Daroussin
3 years ago fb0fbeb
R
Add 'COMPRESSION_FORMAT' pkg.conf option
Rozhuk Ivan
3 years ago bd091f5
B
Revert "cleanup: replace memset with some inline declaration"
Baptiste Daroussin
3 years ago 991ca6b
B
cleanup: replace memset with some inline declaration
Baptiste Daroussin
3 years ago 8cfcfbc
B
Refix use-after-free
Baptiste Daroussin
3 years ago 6c55d7b
R
/s/"NULL"/NULL in pkg_config.c
R. Christian McDonald
3 years ago 87ab7de
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago fa6223f
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
regression: fix disabling repository which was breaking the repo list
Baptiste Daroussin
3 years ago 153b13b
B
unconstify the yaml
Baptiste Daroussin
3 years ago 9575f81
J
Two memory leaks from calls for printf arguments
John Hood
3 years ago f7a9b6a
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
protocols: remove support for ftp
Baptiste Daroussin
3 years ago 2a1d53a
B
plist: remove PLIST_ACCEPT_DIRECTORIES
Baptiste Daroussin
4 years ago 6192cd4
B
tcp: add a new protocol tcp://
Baptiste Daroussin
4 years ago 4535ea5
B
more conversion from utlist to tllist
Baptiste Daroussin
4 years ago 55e8743
B
quality: plug plenty of memory leaks
Baptiste Daroussin
4 years ago ff0be3e
B
pkg: allow filtering files at install time
Baptiste Daroussin
4 years ago 913c637
B
config: eliminate another useless use of uthash
Baptiste Daroussin
4 years ago a92aae1
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
S
Merge branch 'upstream-master'
Shawn Webb
4 years ago 9b9eef5
B
Remove debug cruft
Baptiste Daroussin
5 years ago b7f6696
B
Triggers: in case rootdir is provided, defer the triggers
Baptiste Daroussin
5 years ago 9c5236e
B
vuln.xml: switch default vuxml file to xz compression
Baptiste Daroussin
5 years ago db1ffd5
A
Fix another memory leak
Alex Richardson
5 years ago 6547f46
A
Fix memory leak of oi.arch and oi.name
Alex Richardson
5 years ago 48b8fce
B
pkg: fix heap-use-after-free
Baptiste Daroussin
5 years ago 3d17b9d
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
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
B
configuration: improve error message
Baptiste Daroussin
5 years ago b8dfc59
B
audit: Allow to ignore some packages
Baptiste Daroussin
5 years ago b5e8079
B
Fix variable expansion while parsing repositories
Baptiste Daroussin
5 years ago 740c384
B
Clenaup hash variables
Baptiste Daroussin
5 years ago d2e92f8
B
Get rid of sysexits
Baptiste Daroussin
5 years ago f446c79
E
Call metalog_close at pkg_shutdown
Emmanuel Vadot
5 years ago 8ccac50
B
Implement triggers
Baptiste Daroussin
5 years ago ac3becb
B
more removal of utstring
Baptiste Daroussin
5 years ago 43d9ef4
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
5 years ago d871ad5
A
Add a 'hash' mode to pkg repo
Allan Jude
5 years ago 36dfb48
B
if IGNORE_OSMAJOR is set in env var then skip the test for testsuite purpose
Baptiste Daroussin
6 years ago ac5157b
B
Add more variables to the list of expandable variables
Baptiste Daroussin
6 years ago d313276
B
Simplify a bit the code
Baptiste Daroussin
6 years ago 5903a49
B
Implement a mechanism to backup libraries during upgrade
Baptiste Daroussin
6 years ago d3bf49e
K
libpkg: add accessor for the cachedir; pkg-clean will need it
Kyle Evans
6 years ago e428b2d
B
Silence -Wstring-plus-int warning
Baptiste Daroussin
6 years ago 42c700b
B
Add a helper to get the dbdir and the cachedir path
Baptiste Daroussin
6 years ago 8dd464b
B
Do not crash on unsupported ABI
Baptiste Daroussin
6 years ago e55cb42
R
pkg_config: fix pkg_shutdown
Ralf Hubert
6 years ago 2feb200
B
Add an option to ignore the osversion check on FreeBSD
Baptiste Daroussin
8 years ago 4d9a295
B
Only defined OSVERSION on FreeBSD
Baptiste Daroussin
8 years ago 5b864a9
B
Expose OSVERSION on FreeBSD via configuration entry (to also allow to overwrite it)
Baptiste Daroussin
8 years ago de0e357
B
Add a integer to store osversion
Baptiste Daroussin
8 years ago 1bbe636
B
Consider locking is always functional and tell the users if database if corrupted on nfs
Baptiste Daroussin
8 years ago 655ddff
B
Formatting nit
Brad Davis
8 years ago 945a949
B
Go ahead and load a disabled repo beause it might be enabled later.
Brad Davis
8 years ago 43fe875
V
Merge branch 'master' of github.com:freebsd/pkg
Vsevolod Stakhov
9 years ago d7f6ae8
B
Move the globals under a ctx object to prepare for newer api
Baptiste Daroussin
9 years ago 7ea4379
B
Prefer double linked list when appending data
Baptiste Daroussin
9 years ago bf4c200
B
Add a configuration option to allow not using the unix-dotfile on nfs
Baptiste Daroussin
9 years ago 6ed10aa
V
Fix format strings issues
Vsevolod Stakhov
9 years ago 7957c5b
B
Abort if asprintf fails
Baptiste Daroussin
9 years ago 721c1e2
B
Remove useless code and duplicated code
Baptiste Daroussin
9 years ago bd5adf3
B
abort() in case of memory failure
Baptiste Daroussin
9 years ago 2a1ca66
B
Allow to set env per repo (useful for fetch specific)
Baptiste Daroussin
9 years ago 097c35b
B
Remove sysexits.h from pkg.h
Baptiste Daroussin
9 years ago b0d576b
B
Add 2 new macros: pkg_errno and pkg_fatal_errno
Baptiste Daroussin
9 years ago 305ccf2
B
Fix segfault if ABI is defined to ""
Baptiste Daroussin
9 years ago c05c940
B
GLIBC does not provide dp_namlen
Baptiste Daroussin
9 years ago 91ddc55
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
Mark as cloexec left directories open
Baptiste Daroussin
9 years ago 98c70cb
B
Add CLOEXEC where needed
Baptiste Daroussin
9 years ago b2f3794
B
Simplify scandir for config files
Baptiste Daroussin
9 years ago bda7542
B
Add 2 function to open/retrive the file descriptor of the cachedir and the dbdir to simplify capsicumization
Baptiste Daroussin
9 years ago c8191ab
B
Use filedescriptor to avoid string manipulation
Baptiste Daroussin
9 years ago 34c01d5
B
Merge pull request #1473 from brd/metalog4
Baptiste Daroussin
9 years ago 1887fc5
B
Add support for writing a METALOG file instead of setting permissions.
Brad Davis
9 years ago 8885bf4
B
Fix running pkg in an env where 0 has been closed
Baptiste Daroussin
9 years ago f312738
B
Fix setting nameservers
Baptiste Daroussin
9 years ago 6822849
B
Restore previous behaviour for REPOS_DIR and -r flag
Baptiste Daroussin
10 years ago 3a5f72a
B
Revert "Prepend pass for default REPOS_DIR with pkg_rootdir if needed"
Baptiste Daroussin
10 years ago a90f210
B
Prepend pass for default REPOS_DIR with pkg_rootdir if needed Fix reading the default config reading based on rootdir
Baptiste Daroussin
10 years ago 0844626
B
Use the rootfd to open the configuration file
Baptiste Daroussin
10 years ago 2305d4e
B
Add a global rootfd to allow replacing lots of string manipulation on pkg_rootdir by some simple fd manipulations
Baptiste Daroussin
10 years ago f8ca6d1
B
plug resource leaks in case of errors
Baptiste Daroussin
10 years ago e3780c3
B
memory leak
Baptiste Daroussin
10 years ago 885a201
O
Add ip_version to the pkg -vv command
O2 Graphics
10 years ago a7731a4
V
Add WARN_SIZE_LIMIT option
Vsevolod Stakhov
10 years ago 9c3d051
B
Add pkg+ counter parts to valid scheme for ftp and ssh
Baptiste Daroussin
10 years ago 5de814b
B
Relax url validation scheme to allow file:/
Baptiste Daroussin
10 years ago ca7923c
B
Add a preliminaty mechanism to allow at package creation to accept base shlibs
Baptiste Daroussin
10 years ago 6e6d708
T
Fallback to default user agent if HTTP_USER_AGENT is not set
Tobias Kortkamp
10 years ago 05ca859
T
Fix segfault when HTTP_USER_AGENT is empty
Tobias Kortkamp
10 years ago dcf055a
B
Fix validation of scheme with multiple repositories
Baptiste Daroussin
10 years ago 833b65e
B
Allow to limit the number of valid url scheme in pkg.conf
Baptiste Daroussin
10 years ago 9c28967
B
Allow to specify the repo configuration files inline in pkg.conf
Baptiste Daroussin
10 years ago 5d846ac
A
Merge branch 'master' of github.com:freebsd/pkg
Alexandre Perrin
10 years ago d2b8a36
B
Do not prepend pkg_rootdir (-r) if the path for the config is provided via -C
Baptiste Daroussin
10 years ago 7be0341
B
Linux expect the second argument of dlopen to not be 0
Baptiste Daroussin
10 years ago 4998a90
B
Merge pull request #1311 from sbc100/fix_linux_build
Baptiste Daroussin
10 years ago c6b327b
S
Allow glibc/linux to build without libldns
Sam Clegg
10 years ago b462352
V
Add DOT_FILE variable to save dot graph.
Vsevolod Stakhov
10 years ago 011f0c7
B
Implement AUTOCLEAN
Baptiste Daroussin
10 years ago 69205cd
V
Allow ABI variable in the main configuration.
Vsevolod Stakhov
10 years ago 49831fd
B
Merge pull request #1267 from rbgarga/user_agent
Baptiste Daroussin
10 years ago b9ff37d
R
Add a new configuration item to define custom HTTP User-Agent
Renato Botelho
10 years ago 722edcf
B
Fix not loading plugins when compilation has been made static
Baptiste Daroussin
11 years ago efd65a8
B
Activate CONSERVATIVE_UPGRADE per popular demand
Baptiste Daroussin
11 years ago cdf404e