Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/packing.c  ·  View all commits
137 commits
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
B
compat: .pkg is there for long enough, remove forward compat.
Baptiste Daroussin
6 months ago 99d8a9c
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
7 months ago 7dccd36
M
libpkg: Set numeric uid/gid when adding archive entries
Mark Johnston
10 months ago fd4e745
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 851a6a4
K
libpkg: fail on ARCHIVE_WARN
Kyle Evans
1 year ago 8ac4cc9
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
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
packing: add a debugging namespace
Baptiste Daroussin
2 years ago 659271e
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago adf6f88
K
libpkg: add a packing_append_iovec()
Kyle Evans
2 years ago 2eb688d
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
packing: add more unit test
Baptiste Daroussin
4 years ago ad3f9b4
B
packing: remove never used function
Baptiste Daroussin
4 years ago b1bb805
B
quality: plug plenty of memory leaks
Baptiste Daroussin
4 years ago ff0be3e
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
package extension: switch for .bsd to .pkg
Baptiste Daroussin
5 years ago 1278736
B
Fix bad compression level
Baptiste Daroussin
5 years ago 71a4890
B
format: Make the backward compatibility symlink a config option
Baptiste Daroussin
5 years ago 6772f60
B
tzst: by default compression at the 19 level
Baptiste Daroussin
5 years ago 31000cb
B
configure: Make the default compression format configurable
Baptiste Daroussin
5 years ago 848266c
B
package format: change default extension to ".bsd"
Baptiste Daroussin
5 years ago 020f059
B
zstd: downgrade compression level
Baptiste Daroussin
5 years ago 3372972
B
packing: add a function to determine if an extension is supported
Baptiste Daroussin
5 years ago 6967ed9
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
B
xstring usage: prefer fputs over fprintf where possible
Baptiste Daroussin
5 years ago 720878c
B
Use open_memstream p1
Baptiste Daroussin
5 years ago 383d27c
S
HBSD: Unbreak handling of symlinks
Shawn Webb
5 years ago cec7452
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
5 years ago d871ad5
S
HBSD: Support filesystem extended attributes
Shawn Webb
5 years ago dcf0ba3
A
Allow building with -Werror=implicit-function-declaration
Alex Richardson
5 years ago b9e93e5
B
Bring back pkg create -n but this time consistent
Baptiste Daroussin
6 years ago a8bec72
C
Fix #1566: Add pkg-create(8) -l,--level to set compression level
Conrad Meyer
6 years ago 8991ebd
B
Properly initialise the timestamp to -1
Baptiste Daroussin
6 years ago 01573dd
B
Fix timestamp in packages, when no timestamps are specified
Baptiste Daroussin
6 years ago 4074eb1
B
Allow to set timestamp for pkg create
Baptiste Daroussin
6 years ago fb72299
B
Set compression level to 20 for zstandard
Baptiste Daroussin
6 years ago 379e217
B
Add support for zstd compression format where supported
Baptiste Daroussin
6 years ago d34c8d9
B
"Fix" -Wimplicit-fallthrough warnings
Baptiste Daroussin
7 years ago 330e309
j
Revert "Implement zstandard format"
jrmarino
8 years ago 7224fd4
j
Implement zstandard format
jrmarino
8 years ago 9605c36
V
Merge branch 'master' of github.com:freebsd/pkg
Vsevolod Stakhov
9 years ago d7f6ae8
B
Reduce on level of indentation and add curly brackets around the while
Baptiste Daroussin
9 years ago 8e19491
B
Use stack based read with a 32k buffer instead of mmap
Baptiste Daroussin
9 years ago 2fe54b6
B
abort() in case of memory failure
Baptiste Daroussin
9 years ago 2a1ca66
B
Finish killing passmode
Baptiste Daroussin
9 years ago b050f72
B
Do not rely on libarchive for pkg register,
Baptiste Daroussin
9 years ago b737b18
B
Remove libarchive flags not available on every freebsd version
Baptiste Daroussin
9 years ago e56ff34
B
Handle fflags in pkg register
Baptiste Daroussin
9 years ago 8b3e439
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
Merge pull request #1353 from lamby/environment-typo
Baptiste Daroussin
10 years ago f07171a
C
Correct environement -> environment typo
Chris Lamb
10 years ago 0ea6e35
B
Implement support for SOURCE_DATE_EPOCH in pkg to actually set the timestamp of the files being packages to simplify work on reproducible packages
Baptiste Daroussin
10 years ago 69ee4f6
B
Remove useless sbuf_get()
Baptiste Daroussin
10 years ago 5734f64
B
Use fflags set from plist
Baptiste Daroussin
11 years ago 3804ac3
B
Turn packing_finish into a regular cleanup function
Baptiste Daroussin
11 years ago 8443beb
B
A round at cleaning up headers
Baptiste Daroussin
11 years ago 32cd125
B
Explicitly pass when passmode should be used with libarchive
Baptiste Daroussin
11 years ago bf4a9a6
V
Add utilities to load repo meta.
Vsevolod Stakhov
12 years ago 1c6b438
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago 859bbf1
B
Propagate usage of ucl
Baptiste Daroussin
12 years ago 99f9cd1
B
Merge branch 'master' into fix-autoremove-completion
Brad Davis
12 years ago 5b00ee1
V
Merge branch 'master' into gsoc
Vsevolod Stakhov
12 years ago 8d30157
B
Properly close the archives before freeing them
Baptiste Daroussin
12 years ago e607395
B
Do no accept unknown user/group in pkg register -i
Baptiste Daroussin
12 years ago 4116df7
B
Remove paking_append_file function
Baptiste Daroussin
12 years ago b21d98f
B
Make pass mode respect properly @owner/@group
Baptiste Daroussin
12 years ago b9e6708
B
Add packing debug information
Baptiste Daroussin
12 years ago 12e069d
V
Fix compilation warning.
Vsevolod Stakhov
13 years ago 5c77df9
V
Use old read/write logic for large files.
Vsevolod Stakhov
13 years ago 41df825
V
Use mmap for packing files.
Vsevolod Stakhov
13 years ago d6c9f1d
V
Merge branch 'master' of git://github.com/pkgng/pkgng
Vsevolod Stakhov
13 years ago cfc6d12
B
Readd possibility to pack with epoch timestamp via the UNSET_TIMESTAMP option
Baptiste Daroussin
13 years ago dde1fd5
V
Check for archiving and sign errors in repo cmd.
Vsevolod Stakhov
13 years ago 4d77ca4
A
typos fix.
Alexandre Perrin
13 years ago 9d50586
B
Remove usage of deprecated libarchive function
Baptiste Daroussin
13 years ago c8d0465
M
Style: Add dash to first line of copyright header.
Matthew Seaman
13 years ago bfe0183
R
Merge branch 'master' of git://github.com/pkgng/pkgng
Roman Naumann
13 years ago 838dd4c
B
Whitespace cleanup
Bryan Drewery
13 years ago d579e6a
M
Merge remote-tracking branch 'upstream/master'
Matthew Seaman
13 years ago 6efb836
W
Various style(9) fixes.
Will Andrews
13 years ago 9fd0036
D
Merge branch 'master' of https://github.com/pkgng/pkgng into recursive-lock
David Naylor
13 years ago c3ecd0d
B
Fix sym and had links in copy mode.
Baptiste Daroussin
13 years ago 55a9d0f
B
Fix control statement style
Bryan Drewery
13 years ago 7aa1081
B
Backout the reproducible packages.
Baptiste Daroussin
13 years ago bc45e17
B
Ugly workaround for .py .pyo and .pyc, same for emacs files, for them the timestamp isn't ignored
Baptiste Daroussin
13 years ago f4eb24c
B
pkg create always create packages with the same HASH
Baptiste Daroussin
13 years ago f337969
B
Removed unused headers
Baptiste Daroussin
14 years ago 80ac28f
B
Fix uname/gname settings in packages
Baptiste Daroussin
14 years ago 5a32ac4
B
Adding the copyright to the library
Baptiste Daroussin
14 years ago 8dbe8b5
J
Move private headers to private/ subfolder. Dont use private headers in the frontend.
Julien Laffaye
14 years ago b6d30db
M
Improve error handling
Marco Steinbach
14 years ago bb0d922
B
Use libarchive linkresolver, this *really* hardlink packaging
Baptiste Daroussin
14 years ago d5620f5
j
Tell libarchive when the file is a hardlink.
jlaffaye
14 years ago 3c32e97
j
Replace emit macros by functions.
jlaffaye
14 years ago db27b92
j
Make dirs inside pkg_create().
jlaffaye
14 years ago 112c518
B
Fix trivial errors reporting by clang
Baptiste Daroussin
14 years ago aae0b80
j
Multiple fixes.
jlaffaye
14 years ago 06b2601
B
Package can be created specify user and modes
Baptiste Daroussin
14 years ago 3684d2d
M
Merge branch 'master' into multi-repos
Marin Atanasov Nikolov
14 years ago 70f485e
B
Simple sqlite usage cleanup
Baptiste Daroussin
14 years ago 320ee51
j
Report lstat() errors.
jlaffaye
14 years ago 94bb1b4
j
Simplify symlink case in packing.
jlaffaye
14 years ago ed78e25
j
Replace each call of warn(x) to an event.
jlaffaye
14 years ago 146165a
j
Introduce new events API.
jlaffaye
14 years ago f8a04e8
B
Merge branch 'master' of git://github.com/wca/pkgng into wca
Baptiste Daroussin
14 years ago 7fd834b
W
packing_append_tree(): Handle a few more file type cases.
Will Andrews
14 years ago 726e3ad
W
packing_append_tree(): Add directories, too.
Will Andrews
14 years ago 8297630
W
Rename _FAILED events to _ERROR and remove duplicate PKG_EVENT_DB_OPEN_ERROR.
Will Andrews
14 years ago b091aa0
W
Refactor the I/O error events into a single event.
Will Andrews
14 years ago 3e8242d
W
Initial cut at adding in events, starting with errors.
Will Andrews
14 years ago 653e68c
W
Merge branch 'master' of github.com:wca/pkgng
Will Andrews
14 years ago e27b4ca
W
Sync usage of pkg_emit_event() with varargs version.
Will Andrews
14 years ago 59220f9
W
Merge remote branch 'pkgng/master'
Will Andrews
14 years ago 1447b56
W
Initial cut at pkg_handle & pkg_event mechanism.
Will Andrews
14 years ago eab678d
B
reset buffer when reading link destination (fixes libiconv)
Baptiste Daroussin
14 years ago d4ce33d
W
Merge remote branch 'pkgng/master'
Will Andrews
14 years ago ce2dd24
B
Fix packaging symlinks
Baptiste Daroussin
14 years ago 2c1f664
W
Put packing_append_tree() back.
Will Andrews
14 years ago 9053b85
W
Merge remote branch 'pkgng/master'
Will Andrews
14 years ago adddf5d
W
Fix the last merge.
Will Andrews
14 years ago 81d8507
W
Fix the last merge.
Will Andrews
14 years ago 70b533e
W
Merge remote branch 'pkgng/master'
Will Andrews
14 years ago 2e2b2ad
j
Error codes cleanup.
jlaffaye
14 years ago 6696f33
j
Error reporting in packing.
jlaffaye
14 years ago 0c5434f
W
Reuse the same sbuf for every file, clearing the buffer each time.
Will Andrews
14 years ago 6d3c8c0
W
Initial support for fakeroot creating packages.
Will Andrews
14 years ago fcde051
W
Refactor parts of the pkg create cli to libpkg. Provide the -m argument farther down the line.
Will Andrews
14 years ago b748a6d
W
Reuse the same sbuf for every file, clearing the buffer each time.
Will Andrews
14 years ago a414851
W
Initial support for fakeroot creating packages.
Will Andrews
14 years ago d5dadc1
W
Refactor parts of the pkg create cli to libpkg. Provide the -m argument farther down the line.
Will Andrews
14 years ago ef05e79
B
Fix package building
Baptiste Daroussin
14 years ago a7ff034
B
pkg register support input dir to sync datas from (aka fakeroot) changes in the api: if a directory is given to packing_init then the packing will write datas to that directory instead of creating a package new pkg_copy_tree function changes in userland: new -i option to pkg register to specify a directory to take as a fakeroot
Baptiste Daroussin
15 years ago 7019721
B
new struct packing with packing_ function to have a generic way to build archives convert pkg_create* to the new struct packing while here instanciante to NULL conf in upgrade UI
Baptiste Daroussin
15 years ago 301b43a