Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | opk: Manage control file list and listing flag | Patrick McDermott | 2023-04-28 | 3 | -161/+184 |
| | | | | Instead of main() doing so. | ||||
* | ustar: Don't read data after finding named header | Patrick McDermott | 2023-04-28 | 1 | -16/+7 |
| | |||||
* | Revert "main: Test gzip writing" | Patrick McDermott | 2023-04-28 | 1 | -58/+222 |
| | | | | This reverts commit 261d5be6b02e73fc0c7973b7319e89af7e574fb0. | ||||
* | main: Test gzip writing | Patrick McDermott | 2023-04-28 | 1 | -222/+58 |
| | |||||
* | gzip: Add write direction | Patrick McDermott | 2023-04-28 | 3 | -19/+150 |
| | |||||
* | opk: Print linkname | Patrick McDermott | 2023-04-25 | 1 | -4/+11 |
| | |||||
* | ustar: Ensure listed linkname is NUL-terminated | Patrick McDermott | 2023-04-25 | 2 | -6/+6 |
| | | | | Also simplify uname and gname copying. | ||||
* | ustar: Eliminate static variables | Patrick McDermott | 2023-04-25 | 1 | -50/+53 |
| | |||||
* | opk: Ignore -Wformat-nonliteral | Patrick McDermott | 2023-04-20 | 1 | -0/+3 |
| | |||||
* | opk: Fix column width calculation | Patrick McDermott | 2023-04-20 | 1 | -3/+6 |
| | | | | Also fix possibly uninitialized list tail. | ||||
* | main: Set text domain and locale | Patrick McDermott | 2023-04-20 | 1 | -2/+14 |
| | |||||
* | src/i18n.h: Handle !ENABLE_NLS | Patrick McDermott | 2023-04-20 | 1 | -0/+8 |
| | |||||
* | main, opk: Translate strings | Patrick McDermott | 2023-04-20 | 2 | -30/+38 |
| | |||||
* | main: Print options help in one puts() call | Patrick McDermott | 2023-04-20 | 1 | -37/+31 |
| | |||||
* | build: gettextize | Patrick McDermott | 2023-04-20 | 2 | -0/+4 |
| | |||||
* | main: Check for at least one option | Patrick McDermott | 2023-04-20 | 1 | -0/+6 |
| | |||||
* | main: Disable getopt's error output | Patrick McDermott | 2023-04-20 | 1 | -0/+1 |
| | |||||
* | main: Add help output and check for operand | Patrick McDermott | 2023-04-20 | 1 | -4/+78 |
| | |||||
* | main: Add version output | Patrick McDermott | 2023-04-20 | 1 | -2/+19 |
| | |||||
* | main: Handle options | Patrick McDermott | 2023-04-20 | 1 | -14/+99 |
| | | | | Missing: -h, -V, and -? | ||||
* | ustar: Add a couple small comments | Patrick McDermott | 2023-04-19 | 1 | -0/+4 |
| | |||||
* | opk: Automatically initialize inner gzip and ustar | Patrick McDermott | 2023-04-19 | 3 | -57/+36 |
| | | | | Simplifies interface to main(). | ||||
* | opk: Fix a leak on error | Patrick McDermott | 2023-04-19 | 1 | -9/+11 |
| | |||||
* | ustar: Make seek names struct opaque | Patrick McDermott | 2023-04-19 | 4 | -52/+80 |
| | | | | Simplify main() a little and fix memory leak on success. | ||||
* | opk: Initialize seek_name.found | Patrick McDermott | 2023-04-19 | 1 | -2/+3 |
| | |||||
* | main: Fix list free loop | Patrick McDermott | 2023-04-19 | 1 | -4/+4 |
| | |||||
* | opk: Document functions | Patrick McDermott | 2023-04-19 | 1 | -0/+55 |
| | |||||
* | opk: Return error if unable to write to stdout | Patrick McDermott | 2023-04-19 | 1 | -6/+17 |
| | |||||
* | ustar: Shorten macro name | Patrick McDermott | 2023-04-18 | 2 | -5/+5 |
| | |||||
* | opk: Print multiple control files | Patrick McDermott | 2023-04-18 | 2 | -15/+26 |
| | |||||
* | ustar: Use linked list instead of varargs in seek | Patrick McDermott | 2023-04-18 | 5 | -31/+131 |
| | | | | Also indicate when all sought member files are found. | ||||
* | opk: Separate output with newline, so main needn't | Patrick McDermott | 2023-04-18 | 2 | -3/+15 |
| | |||||
* | ustar: Document arguments that may be NULL | Patrick McDermott | 2023-04-18 | 1 | -2/+3 |
| | |||||
* | opk: Split from main | Patrick McDermott | 2023-04-18 | 4 | -251/+338 |
| | |||||
* | main: Drop a macro | Patrick McDermott | 2023-04-18 | 1 | -4/+2 |
| | |||||
* | main: Split outer and inner archive initialization | Patrick McDermott | 2023-04-18 | 1 | -67/+103 |
| | | | | | | Thus, we can both read the control file and list data files in one pass through the outer archive. Unlike dpkg-deb, opkg-opk will allow both -I and -c options (commands in dpkg-deb syntax) to be used together. | ||||
* | gzip, ustar: Document functions | Patrick McDermott | 2023-04-18 | 2 | -0/+79 |
| | |||||
* | main, ustar: Add comments | Patrick McDermott | 2023-04-18 | 2 | -0/+28 |
| | |||||
* | main: Check debian-version | Patrick McDermott | 2023-04-18 | 1 | -0/+18 |
| | |||||
* | gzip: Cast to avoid warnings | Patrick McDermott | 2023-04-18 | 1 | -2/+3 |
| | |||||
* | ustar: Use char type | Patrick McDermott | 2023-04-18 | 1 | -32/+32 |
| | | | | | | POSIX requires header characters to be encoded in ISO/IEC 646, a 7-bit code, so the extra bit in (unsigned char) is unnecessary. So fix a bunch of warnings and get rid of casts. | ||||
* | ustar: Fix a couple warnings | Patrick McDermott | 2023-04-18 | 1 | -2/+2 |
| | |||||
* | ustar: Make size unsigned | Patrick McDermott | 2023-04-18 | 2 | -2/+2 |
| | |||||
* | main: Set max column widths and free members | Patrick McDermott | 2023-04-18 | 1 | -5/+46 |
| | |||||
* | ustar, main: Dynamically allocate member structs | Patrick McDermott | 2023-04-18 | 3 | -42/+53 |
| | | | | | TODO: Save max strlen()s in first loop and printf() and free() in second loop. | ||||
* | ustar, main: Show mode and mtime | Patrick McDermott | 2023-04-17 | 3 | -10/+40 |
| | |||||
* | ustar, main: Show type, uname, and gname | Patrick McDermott | 2023-04-17 | 3 | -1/+36 |
| | |||||
* | ustar: Verify typeflag | Patrick McDermott | 2023-04-17 | 1 | -4/+20 |
| | |||||
* | Revert "ustar: Verify full magic field" | Patrick McDermott | 2023-04-17 | 1 | -1/+1 |
| | | | | | | | This reverts commit 1203f44aa85a88cfdc3008e7f14818c85bfe46c3. POSIX requires "ustar\0" but BusyBox tar creates "ustar ". Again, standard? What standard? | ||||
* | ustar: Verify full magic field | Patrick McDermott | 2023-04-17 | 1 | -1/+1 |
| |