summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ustar: Treat octets as unsigned in chksumPatrick McDermott2023-05-031-6/+6
| | | | | | Per POSIX. Complement of commit 619f09be066777b8296acf93bd6b51771ca64bd2.
* ustar: Document assumptions and improve safetyPatrick McDermott2023-05-031-3/+14
|
* opk/read: Separate error handlingPatrick McDermott2023-05-031-8/+20
| | | | Only free member if opkg_opk_ustar_list() succeeds.
* build: Use mailing list for bug reporting URIPatrick McDermott2023-05-031-1/+1
|
* TODO: Add tasksPatrick McDermott2023-05-031-0/+14
|
* ustar: Improve compatibility of written headersPatrick McDermott2023-05-021-10/+40
|
* ustar: Treat octets as unsigned in chksumPatrick McDermott2023-05-021-4/+4
| | | | Per POSIX.
* ustar: Fill header with zeroes before populatingPatrick McDermott2023-05-021-9/+4
|
* gzip: Fix flushingPatrick McDermott2023-05-023-8/+20
| | | | | | deflate() apparently must be called with avail_in=0 and Z_FINISH after processing all input, not with Z_FINISH on the last non-empty input buffer.
* Revert "gzip: Test code"Patrick McDermott2023-05-021-103/+0
| | | | This reverts commit 12277cad55c6d3910dbc24ab32baf405f8970d64.
* gzip: Test codePatrick McDermott2023-05-021-0/+103
|
* gzip: Preserve gzip headerPatrick McDermott2023-05-021-9/+9
| | | | | | zlib doesn't copy it anywhere between deflateSetHeader() and deflate(), so we need to make sure it doesn't get corrupted on the stack in the meantime.
* ustar: Move SOURCE_DATE_EPOCH code to opk/writePatrick McDermott2023-04-303-26/+30
| | | | | | This way it runs only once (without resorting to static variables) across all headers in all ustar archives. Also, opk/write now prints an informative error message.
* ustar: Set mtime in written headerPatrick McDermott2023-04-301-0/+23
|
* ustar: Set magic+version+chksum in written headerPatrick McDermott2023-04-301-1/+17
|
* ustar: Fix trailer writingPatrick McDermott2023-04-301-1/+2
|
* opk/write: Fix fwrite()Patrick McDermott2023-04-301-2/+1
|
* gzip: Fix write bufferPatrick McDermott2023-04-301-2/+2
|
* opk/write: Build mode (WIP)Patrick McDermott2023-04-306-9/+197
|
* uname: Fix written linknamePatrick McDermott2023-04-301-3/+8
|
* ustar: Add function to write trailerPatrick McDermott2023-04-302-0/+16
|
* dirent: Don't add leading "/"Patrick McDermott2023-04-301-12/+29
|
* gzip: Get write buffer after initPatrick McDermott2023-04-302-15/+24
|
* ustar: Add functions to write dataPatrick McDermott2023-04-302-5/+43
| | | | And rename record buffer.
* ustar: Add function to write headerPatrick McDermott2023-04-292-0/+63
|
* dirent: Remove test codePatrick McDermott2023-04-291-34/+0
|
* dirent: ImplementPatrick McDermott2023-04-293-0/+189
|
* cli.txt: Add ownership override optionPatrick McDermott2023-04-291-0/+2
|
* opk/read: Rename static functionsPatrick McDermott2023-04-291-23/+23
|
* opk: Split reading out into opk/readPatrick McDermott2023-04-295-556/+613
|
* opk: Strip leading "/" when checking names to printPatrick McDermott2023-04-291-0/+4
|
* opk: Ensure data file names begin with "/"Patrick McDermott2023-04-291-6/+19
|
* opk: Extract control filesPatrick McDermott2023-04-294-23/+131
|
* main: Implement new -f, -F, -l, and -L optionsPatrick McDermott2023-04-291-40/+103
|
* cli.txt: Add more help textPatrick McDermott2023-04-291-1/+14
|
* opk: Print data filesPatrick McDermott2023-04-292-21/+99
|
* opk: List control filesPatrick McDermott2023-04-292-3/+37
|
* opk: Restore list error checkPatrick McDermott2023-04-291-2/+9
|
* main: Free opk on -h and -VPatrick McDermott2023-04-281-0/+2
|
* cli.txt: Add constraintsPatrick McDermott2023-04-281-0/+5
|
* opk: List missing control filesPatrick McDermott2023-04-281-5/+12
|
* opk: Merge most of seek func into read funcPatrick McDermott2023-04-281-67/+34
|
* opk: Remove found members from listPatrick McDermott2023-04-281-31/+62
|
* opk: Improve loop controlPatrick McDermott2023-04-281-10/+6
|
* opk: Ignore leading "./" in requested member namesPatrick McDermott2023-04-281-1/+5
|
* opk: Make version variables localPatrick McDermott2023-04-281-4/+4
|
* opk: Absorb seek list management from ustarPatrick McDermott2023-04-283-209/+126
|
* opk: Manage control file list and listing flagPatrick McDermott2023-04-283-161/+184
| | | | Instead of main() doing so.
* cli.txt: Another proposalPatrick McDermott2023-04-281-0/+16
| | | | This one can list control files and print contents of data files.
* ustar: Don't read data after finding named headerPatrick McDermott2023-04-281-16/+7
|