Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/pkg_ports.c  ·  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
checksum: use blake2b everywhere we can
Baptiste Daroussin
7 days ago 3ad388e
B
ucl_parse: add 2 helpers on top of ucl to deduplicate code
Baptiste Daroussin
9 days ago b68de0a
B
triggers: fix execution of per packages triggers on pkg add/register
Baptiste Daroussin
21 days ago ee156e7
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
22 days ago abccdd3
B
pkg: messages improvements
Baptiste Daroussin
2 months ago b21ebf9
B
xmalloc: use its functions everywhere
Baptiste Daroussin
2 months ago e5baad4
B
capsicum: finish 3009baa48926cb
Baptiste Daroussin
3 months ago a6e604b
B
@dir: fix permission via @mode
Baptiste Daroussin
4 months ago 80b3e5c
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
B
register: set a sans default value for directory permissions
Baptiste Daroussin
4 months ago 1d3cc9a
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
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
11 months ago ba89bd1
B
vec: simplify vec_init() usage
Baptiste Daroussin
1 year ago 6401b82
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
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
pkg: multiple fixes
Baptiste Daroussin
1 year ago a18ee3e
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 2498431
B
vec: rename pkgvec.h into pkg/vec.h
Baptiste Daroussin
1 year ago 22dddf2
B
hardlinks: use vector instead of linked list
Baptiste Daroussin
1 year ago 49cabe5
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 834d09c
K
Yet more small leaks.
Keve
1 year ago 0d4f404
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
B
STR*EQ: use macros where possible
Baptiste Daroussin
1 year ago 053f4a2
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: fix variable expansion when a line ends with '%'
Baptiste Daroussin
2 years ago 961d455
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 9856def
B
create: implement override_prefix
Baptiste Daroussin
2 years ago bc1137c
M
libpkg: Fix database transaction leaks
Mark Johnston
2 years ago 65f6aba
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago 5768655
B
ports: remove dead code
Baptiste Daroussin
2 years ago a6530ba
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
ports: remove post_patterns which are not used anymore
Baptiste Daroussin
3 years ago 870f806
B
messages: convert to tllist
Baptiste Daroussin
3 years ago 0b8ce04
B
plist: remove PLIST_ACCEPT_DIRECTORIES
Baptiste Daroussin
4 years ago 6192cd4
B
plist: add test case for @name
Baptiste Daroussin
4 years ago 09eab81
B
more conversions from utlist to tllist
Baptiste Daroussin
4 years ago 2fd3368
B
hardlinks: rework handling of hardlinks
Baptiste Daroussin
4 years ago 70b98f1
E
config: Also always error for @config keyword
Emmanuel Vadot
4 years ago dca434b
B
triggers: run triggers when running pkg register
Baptiste Daroussin
4 years ago ef02a8c
B
Use pkghash_get_value
Baptiste Daroussin
4 years ago ff7a207
B
pkg_manifest: eliminate another useless uthash use
Baptiste Daroussin
4 years ago 88a7190
B
pkg_ports: fix trivials warnings
Baptiste Daroussin
4 years ago 2d9dbb6
B
scripts: fix logic inversion which worked fine by accident
Baptiste Daroussin
4 years ago f9fc9f1
B
convert from uthash to pkghash
Baptiste Daroussin
4 years ago 7dc30d2
B
plist: plug memory leak
Baptiste Daroussin
4 years ago 6f31703
B
register: implement -N to disable registration in the database
Baptiste Daroussin
4 years ago b7e41c1
S
Merge branch 'upstream-master'
Shawn Webb
4 years ago 9b9eef5
B
Don't run lua triggers in a sandbox, we do want os.execute
Baptiste Daroussin
5 years ago 82747e3
B
plist: remove support for ancient pkg tools time
Baptiste Daroussin
5 years ago 4cbe6a4
B
plist: remove now dead code
Baptiste Daroussin
5 years ago 12d7f45
B
plist: remove support for @ignore
Baptiste Daroussin
5 years ago e4bdf3d
B
fix building
Baptiste Daroussin
5 years ago 81f3bc4
B
plist: fix the schema about the prepackaging scripts
Baptiste Daroussin
5 years ago 576f4c7
B
plist: remove @*exec
Baptiste Daroussin
5 years ago a0bb0f8
A
Avoid an out-of-bounds array access
Alex Richardson
5 years ago 0032563
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
plist: tolerate spaces in keywords arguments
Baptiste Daroussin
5 years ago 2cdf7ca
B
Mark closeexec all stream
Baptiste Daroussin
5 years ago c14825a
B
Merge actions_script and validation for keywords
Baptiste Daroussin
5 years ago b3b2224
B
Validate new keywords possibilities and add a deprecated entry
Baptiste Daroussin
5 years ago f6bd336
B
Allow actions to be written as lua scripts in keywords
Baptiste Daroussin
5 years ago 256b8b1
B
scripts: prepend the lines that serves as arguments when formating the scripts from plist
Baptiste Daroussin
5 years ago 7193046
B
New lua validation script for Keywords
Baptiste Daroussin
5 years ago ebeeab1
B
Use open_memstream p1
Baptiste Daroussin
5 years ago 383d27c
B
Fix issue with compiler pre clang11
Baptiste Daroussin
5 years ago 8515247
B
Implement @include for plist
Baptiste Daroussin
5 years ago 01b4ca5
B
Ensure a plist parsing error is properly reported in the exit number
Baptiste Daroussin
5 years ago 1cca123
B
plist: Isolate the function parse the plist file
Baptiste Daroussin
5 years ago ef6860d
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
5 years ago d871ad5
B
Run lua scripts before shell scripts
Baptiste Daroussin
5 years ago 5db007b
B
Remove an unused string
Baptiste Daroussin
6 years ago 2304209
B
allow to pass a savepoint name when registring a package
Baptiste Daroussin
6 years ago 87e8073
B
Fix bad path in error message
Baptiste Daroussin
6 years ago f7e1a3f
B
Add a variable to notify scripts when they are running for an upgrade
Baptiste Daroussin
6 years ago 5f91af0
B
Remove never used upgrade scripts
Baptiste Daroussin
6 years ago 5278d0b
B
Add bits forgotten in previous commits
Baptiste Daroussin
6 years ago 7db52cf
B
Save files that are not tracked and will be overwritten by a new package
Baptiste Daroussin
6 years ago bbdeecd
B
Convert the handling of the stage in plist parsing to *at functions, this reduces the code complexity and avoid useless memory manipulations
Baptiste Daroussin
6 years ago ff3f708
B
Fix error message
Baptiste Daroussin
6 years ago fad0a4a
B
Warn about the fact @unexec is deprecated in pkg-plist
Baptiste Daroussin
6 years ago 4c1e214
B
Factorize handling of shell script in keywords
Baptiste Daroussin
6 years ago 4f277a8
B
Complete lua support for keywords
Baptiste Daroussin
6 years ago 17ae0fc
B
Add support for scripts in lua
Baptiste Daroussin
6 years ago 485bdd9
B
Import lua 5.3.5
Baptiste Daroussin
6 years ago 4521cfb
G
Fix typo and missing word in comment.
Guido Falsi
7 years ago 3498600
B
Remove this check since it means no matter what we fail to pkg a config file if it has a hardlink.
Brad Davis
7 years ago 60666a1
B
Fix -Wformat-truncation warnings
Baptiste Daroussin
7 years ago 18cf338
B
"Fix" -Wimplicit-fallthrough warnings
Baptiste Daroussin
7 years ago 330e309
B
Merge branch 'autosetup'
Baptiste Daroussin
7 years ago b9c18cf
B
Mark some unused parameter as such
Baptiste Daroussin
8 years ago 2931715
B
Fix duplicate pkg registration overwriting the existing pkg
Brad Davis
8 years ago ebd5b30
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
V
Avoid getcwd calls
Vsevolod Stakhov
9 years ago f5a8e74
B
Fail if a keyword file cannot be open
Baptiste Daroussin
9 years ago 3ef1269
V
Avoid getcwd usage when parsing manifests
Vsevolod Stakhov
9 years ago ef1b2d0
B
Prefer double linked list when appending data
Baptiste Daroussin
9 years ago bf4c200
B
abort() in case of memory failure
Baptiste Daroussin
9 years ago 2a1ca66
B
Add 2 new macros: pkg_errno and pkg_fatal_errno
Baptiste Daroussin
9 years ago 305ccf2
B
Do not rely on libarchive for pkg register,
Baptiste Daroussin
9 years ago b737b18
B
Add a warning about using "@exec " which is deprecated
Baptiste Daroussin
9 years ago 78415c6
B
Always warn about @dirrm not only in developer mode
Baptiste Daroussin
9 years ago b9a3a80
B
Simplify cleaning up and fix a potential double free with @config
Baptiste Daroussin
9 years ago 10b7550
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
Remove freebsdism not needed due to setting _BSD_SOURCE
Baptiste Daroussin
9 years ago 39ac3d6
B
Fix double free
Baptiste Daroussin
10 years ago f155466
B
Fix logic error
Baptiste Daroussin
10 years ago 5d5f556
B
Plug a memory leak, check the return of a malloc
Baptiste Daroussin
10 years ago e1d2e29
B
Move upgrade atomicity to per package including during upgrades
Baptiste Daroussin
10 years ago a3e90c4
B
plug resource leaks in case of errors
Baptiste Daroussin
10 years ago e3780c3
B
Plug some memory leaks
Baptiste Daroussin
10 years ago c0ea706
B
Fix a warning on arm
Baptiste Daroussin
10 years ago 239a32f
B
Add new messages entries to keywords Add regression tests about messages
Baptiste Daroussin
10 years ago 311b7a0
B
Remove unused variables
Baptiste Daroussin
10 years ago df7ebf9
B
Rework messages to be fully context aware
Baptiste Daroussin
10 years ago 9ec411c
V
Merge branch 'message-rework'
Vsevolod Stakhov
10 years ago 631ae91
V
Added logic to conditionally show messages.
Vsevolod Stakhov
10 years ago d2a08f9
B
Use new checksum when parsing ports
Baptiste Daroussin
10 years ago 24c20f6
B
Remove useless sbuf_get()
Baptiste Daroussin
10 years ago 5734f64
B
Initialize buf to NULL for safety
Baptiste Daroussin
10 years ago d13232d
B
Complete pkg_checksum API and reduce duplicated code
Baptiste Daroussin
10 years ago 8f01347
B
Better triming empty space
Baptiste Daroussin
11 years ago 5d52470
B
Early support for pkg -r <rootdir> (no chroot involved)
Baptiste Daroussin
11 years ago 4f6eb5b
B
Convert UTHASH to khash for hardlinks checking
Baptiste Daroussin
11 years ago c68e105
B
Better check actions arguments, and ensure in case of failure it returns the failure
Baptiste Daroussin
11 years ago 823379d
B
Properly test the return for format_exec_cmd
Baptiste Daroussin
11 years ago 21e85f0
B
Use fflags set from plist
Baptiste Daroussin
11 years ago 3804ac3
B
Linux does not support fflags
Baptiste Daroussin
11 years ago c52e77f
B
Add more flexibility to keyword arguments
Baptiste Daroussin
11 years ago 91871d9
B
Mark @ignore as deprecated add a unit test about it
Baptiste Daroussin
11 years ago 6e0310c
B
Merge pull request #1170 from Rolinh/fix-unused-param
Baptiste Daroussin
11 years ago 82be7f2
R
libpkg: remove some more unused function parameters
Robin Hahling
11 years ago 38b097d
B
Fix over memory cleanup
Baptiste Daroussin
11 years ago 606b9e0
B
Plug more memory leaks
Baptiste Daroussin
11 years ago 9920a37
M
Merge branch 'master' of github.com:freebsd/pkg
Matthew Seaman
11 years ago 23b4ab6
V
Eliminate some more FreeBSD'sms
Vsevolod Stakhov
11 years ago 32d7ad1
B
Improve error message, plug memory leak and simplify code
Baptiste Daroussin
11 years ago 45511a0
B
Plug memory leaks
Baptiste Daroussin
11 years ago 3d2ef13
B
Remove the ability to generate MD5 sums it is not needed anymore
Baptiste Daroussin
11 years ago fd3b7a1
B
Remove the ability to generate pkg_* packages
Baptiste Daroussin
11 years ago a177614
B
Cache developer_mode
Baptiste Daroussin
11 years ago f9dfaa7
B
Finish converting struct pkg into a proper structure
Baptiste Daroussin
11 years ago eab4f94
B
Make struct pkg a proper structure
Baptiste Daroussin
11 years ago 99c2768
B
Add preliminary support for @config
Baptiste Daroussin
11 years ago e6cd406
B
Add @{pre,post}[un]exec counter parts to @[un]exec
Baptiste Daroussin
11 years ago 9ffb1c5
B
Fix a regression where plist error can be non fatal
Baptiste Daroussin
11 years ago 320d012
B
Remove garbage
Baptiste Daroussin
11 years ago fba771d
B
Only show the @dirrm warning once.
Bryan Drewery
11 years ago fb304fd
M
Merge branch 'master' of github.com:freebsd/pkg
Matthew Seaman
11 years ago ac5412b
B
Fix a regression breaking pkg convert
Baptiste Daroussin
11 years ago a26a473
A
Fix cosmetic typo
Andrej Zverev
11 years ago d7e9e4f
B
Remove invalid free and assign toFree to NULL to free only cleans it if needed
Baptiste Daroussin
11 years ago 0c63be2
B
Use the same mecanism for pkg register as for pkg to register a package
Baptiste Daroussin
11 years ago 9da0002
B
Plist need stage
Baptiste Daroussin
11 years ago f1772d8
B
Remove dead code
Baptiste Daroussin
11 years ago 074fdee
B
Make the default owner/group: root/wheel
Baptiste Daroussin
11 years ago bdff471
B
Make unkown keyword fatal
Baptiste Daroussin
11 years ago f8f93b3
B
Refactor plist parsing a bit to make it easier for regression testing
Baptiste Daroussin
11 years ago 44d3488
B
Rename meta_dirrm into meta_dir
Baptiste Daroussin
11 years ago 910fb50
B
Add @dir keyword and mark @dirrm and @dirrmtry as deprecated
Baptiste Daroussin
11 years ago 7305c8f
B
Add an option off by default to allow plist to accept regular directory without prepending with a keyword
Baptiste Daroussin
11 years ago 0b7aa4a
B
Allow arguments in ucl keywords
Baptiste Daroussin
11 years ago 20a3a82
B
Fix indentation and catchup some missed in previous commit
Baptiste Daroussin
11 years ago f085c1c
B
Remove useless comparison to NULL before freeing variables
Baptiste Daroussin
11 years ago aed2ce7
B
Declare parse_mode in utils.h to allow testing it
Baptiste Daroussin
11 years ago 64d0416
A
Factor out free of previous owner/group
Antoine Brodin
11 years ago 7da83f5
A
Make @owner/@group without an arg set back to default root/wheel as previously documented
Antoine Brodin
11 years ago 727a52f
B
Filter out a+ and a- modes
Baptiste Daroussin
11 years ago 69744f4
B
Do not accept modes adding or removing rights (make it fatal when parsing plist)
Baptiste Daroussin
11 years ago 1790d40
M
Fix check_for_hardlink.
Maxim Ignatenko
11 years ago 58bcb25
B
Fix error with @keyword(user,group,mode)
Baptiste Daroussin
11 years ago d882071
B
Fix parsing keyword(user,group,mode)
Baptiste Daroussin
11 years ago 8c1d7ae
B
Handle gracefully directories like files
Baptiste Daroussin
11 years ago 2f1a6b4
B
Fix dirrmtry action in keyword being properly mapped to dirrmty function
Baptiste Daroussin
11 years ago fc62bb5
M
Merge branch 'master' of github.com:freebsd/pkg
Matthew Seaman
11 years ago 08e8c60
B
Fix error with @keyword(user,group,mode)
Baptiste Daroussin
11 years ago 390409b
B
Fix parsing keyword(user,group,mode)
Baptiste Daroussin
11 years ago 8c488e0
B
Only parse keywords with libucl
Baptiste Daroussin
11 years ago 8cb2239
B
Properly trim end spaces in plist for files and directories
Baptiste Daroussin
11 years ago 9b7aa82
V
Fix symlinks checksums.
Vsevolod Stakhov
11 years ago 4f56f4b
V
Rename `is_hardlink` to `check_for_hardlink`.
Vsevolod Stakhov
11 years ago 04ab399
V
Fix is_hardlink definition.
Vsevolod Stakhov
11 years ago f27bcfa
B
Convert struct pkg to mostly be a ucl_object_t and chase libucl changes
Baptiste Daroussin
12 years ago 3a72e6b
B
Rename parse_and_apply_keyword_file into apply_keyword_file
Baptiste Daroussin
12 years ago afb400d
B
Simplify keywords handling
Baptiste Daroussin
12 years ago bb0dba3
B
Fix
Baptiste Daroussin
12 years ago 195315e