Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | control: B-D on patch | Patrick McDermott | 2019-04-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoth ob-applypatches: ob-applypatches: Applying patch "01_properly-support-shared-library.patch"... patching file Makefile ob-applypatches: Applying patch "02_bzip2recover-race-open-output.patch"... patching file bzip2recover.c Possibly reversed hunk 2 at 515 Hunk 2 FAILED 269/271. name[n-1] == '2'); } +/*---------------------------------------------*/ +/* Open an output file safely with O_EXCL and good permissions */ +FILE* fopen_output( Char* name, const char* mode ) +{ + FILE *fp; + int fh; + + fh = open(name, O_WRONLY|O_CREAT|O_EXCL, 0600); + if (fh == -1) return NULL; + fp = fdopen(fh, mode); + if (fp == NULL) close(fh); + return fp; +} /*---------------------------------------------------*/ /*--- ---*/ ob-applypatches: Error: Can't apply patch "02_bzip2recover-race-open-output.patch" | ||||
* | patches: Fix security vulnerabilities | Patrick McDermott | 2019-04-06 | 2 | -0/+61 |
| | |||||
* | changelog: Add 1.0.6-3 section | Patrick McDermott | 2019-04-06 | 1 | -0/+11 |
| | |||||
* | bzip2: Don't "replace" old busybox | Patrick McDermott | 2019-04-06 | 1 | -1/+0 |
| | |||||
* | libbz2-dev: Drop static library | Patrick McDermott | 2019-04-06 | 2 | -1/+1 |
| | |||||
* | Use oh-shlibdeps | Patrick McDermott | 2019-04-06 | 4 | -2/+4 |
| | |||||
* | control: Ensure broken "<<" doesn't happen again | Patrick McDermott | 2019-04-06 | 1 | -1/+1 |
| | |||||
* | control: Update Maintainer | Patrick McDermott | 2019-04-06 | 1 | -1/+1 |
| | |||||
* | source.mk: Remove | Patrick McDermott | 2019-04-06 | 2 | -15/+0 |
| | | | | | | | | | | | The "bzip.org" domain is no longer under the maintainer's control, so do not try to download source archives from it. A new upstream version would be downloaded and verified in a different way and is unlikely to be released in the near future, so for now just remove the "source" target altogether. The ProteanOS package archive has a copy of the bzip2 1.0.6 sources archive, so this target isn't really necessary even if upstream vanishes completely. | ||||
* | control: Update Homepage | Patrick McDermott | 2019-04-06 | 1 | -1/+1 |
| | | | | https://sourceforge.net/p/bzip2/tickets/1/ | ||||
* | changelog: Release bzip2 1.0.6-2 | P. J. McDermott | 2014-07-28 | 1 | -0/+6 |
| | |||||
* | build: Fix library link | P. J. McDermott | 2014-07-28 | 1 | -1/+1 |
| | |||||
* | changelog: Release bzip2 1.0.6-1. | P. J. McDermott | 2014-06-12 | 1 | -1/+1 |
| | |||||
* | bzip2: s/Breaks/Conflicts/. | P. J. McDermott | 2014-06-12 | 1 | -1/+1 |
| | | | | | Conflicts is a stronger restriction than is necessary, but opkg and opkbuild don't support Breaks. | ||||
* | bzip2: Break and replace old busybox versions. | P. J. McDermott | 2014-06-12 | 1 | -0/+2 |
| | |||||
* | Manage some utilities with update-alternatives. | P. J. McDermott | 2014-06-11 | 3 | -3/+18 |
| | |||||
* | Install utilities. | P. J. McDermott | 2014-06-11 | 2 | -1/+24 |
| | |||||
* | Install most of the binary packages' files. | P. J. McDermott | 2014-06-11 | 4 | -1/+13 |
| | |||||
* | Add binary packages. | P. J. McDermott | 2014-06-11 | 6 | -0/+33 |
| | |||||
* | Fix file dates in patch. | P. J. McDermott | 2014-06-11 | 1 | -2/+2 |
| | |||||
* | Use LD_PRELOAD for tests in patch. | P. J. McDermott | 2014-06-11 | 1 | -6/+6 |
| | |||||
* | Fix linking of bzip2 against libbz2.so. | P. J. McDermott | 2014-06-11 | 1 | -1/+2 |
| | |||||
* | Fix blocksort.sho compilation. | P. J. McDermott | 2014-06-11 | 1 | -1/+2 |
| | |||||
* | build: Add build and install targets. | P. J. McDermott | 2014-06-11 | 1 | -0/+13 |
| | |||||
* | Add patch to properly support a shared library. | P. J. McDermott | 2014-06-11 | 2 | -15/+102 |
| | | | | Drop old patch. | ||||
* | Add patch to disable automatic tests. | P. J. McDermott | 2014-06-11 | 1 | -0/+15 |
| | |||||
* | copyright: New file. | P. J. McDermott | 2014-06-10 | 1 | -0/+52 |
| | |||||
* | Initial commit. | P. J. McDermott | 2014-06-10 | 6 | -0/+39 |