Commit Graph

1173 Commits

Author SHA1 Message Date
naddy
a3dab8196f add pledge to xz, xzdec, lzmadec; ok sthen@ 2016-01-17 20:28:36 +00:00
sthen
c3bd7f9864 add an easily-greppable marker for ports known to use pledge().
it's not so important while they're only in patches in the ports tree,
but for any which get upstreamed it saves a ~100GB grep to find them.
2016-01-15 19:57:23 +00:00
jasper
d6e85d6790 DISTNAME is set by bsd.port.mk for these ports now 2015-12-29 19:49:39 +00:00
jasper
db644a787e use GH_PROJECT to construct DISTNAME 2015-12-29 12:54:10 +00:00
kili
f7181a1505 Hook new hs- ports. 2015-12-29 12:52:12 +00:00
kili
e92fb37f16 Import archivers/hs-zip-archive.
The zip-archive library provides functions for creating, modifying,
and extracting files from zip archives.

ok sthen@
2015-12-29 12:43:19 +00:00
kili
3dd951da05 Adjust MODGHC_PACKAGE_KEY. 2015-12-20 11:15:21 +00:00
benoit
d0be7f9c36 Update to p5-Archive-Zip-1.56. 2015-12-18 10:26:57 +00:00
jasper
9e642bed6a update to p5-Archive-Zip-1.55 2015-12-12 19:40:05 +00:00
benoit
6030a5ed5d Update to p5-Compress-Bzip2-2.24. 2015-12-09 10:45:32 +00:00
sthen
97889e162c switch my distfiles mirror to https 2015-12-03 21:24:29 +00:00
sthen
28f6bfa972 add portroach marker, skipv:552 2015-11-30 15:16:29 +00:00
jasper
dd11ff3185 switch distfiles.nl to SSL, setup with security/letsencrypt/client 2015-11-24 09:11:02 +00:00
ajacoutot
5afd92cd6c Update to p5-Archive-Zip-1.53. 2015-11-20 15:15:21 +00:00
ajacoutot
1bedf00f2f Update to makeself-2.2.0. 2015-11-18 09:21:30 +00:00
jca
3df428f2a9 Expand ifdefs to build on most if not all OpenBSD architectures.
The solution isn't very nice but is the least intrusive right now; and
you can only find portability bugs in programs that do build.  As
suggested by naddy@, something based on endian.h would probably be
nicer.

ok sthen@, Josh Grosse (maintainer)
2015-11-16 22:52:08 +00:00
jca
0c0894d89e Unlink archivers/unace 2015-11-11 18:06:45 +00:00
jca
999d171825 Remove unace
Removal proposed by Andre Smagin for the following reasons:
* cannot extract ACE archives from version 2.0 or newer of WinAce;
* very dated code (1998), has issues as shown by the compilers;
* dumps core on armv7/BeagleBone Black (at the least);
* unclear / non-existing license - no package;
* obsolete proprietary format, dead piece of software.

ok sthen@ giovanni@ naddy@
2015-11-11 18:04:43 +00:00
zhuk
bdd46d1bd3 Maintainer update of innoextract to 1.5 from Donovan Watteau. 2015-10-24 13:26:27 +00:00
sthen
d0a70fdd69 update to p7zip-15.09, from maintainer Josh Grosse 2015-10-21 10:45:08 +00:00
ajacoutot
ef9c4107f3 tame -> pledge
ok sthen@
2015-10-20 13:13:52 +00:00
naddy
bdeb09ddda maintenance update to 5.2.2 2015-10-18 19:45:13 +00:00
naddy
da1b8dfc14 revert incomplete pledge support; there are problems with signals and
with multi-threading
2015-10-17 22:57:56 +00:00
sthen
1fc2763705 unzip can pledge to use the following: stdio rpath wpath cpath fattr tty.
This is possible now that pledge(2) treats TIOCGWINSZ like TIOCGETA, allowing
it to return ENOTTY rather than killing the process for a non-terminal device.
2015-10-16 16:22:16 +00:00
sthen
d09ecdc9fe If bzip2 is used to compress or decompress a single file to stdout,
or if it's used in a pipeline, then it can further pledge to only use
stdio-related system calls while doing the actual de/compression.
Since ports uses 'bzip2 -dc [file] | tar xf -', it can benefit from
this added protection during file extraction.
2015-10-15 20:14:36 +00:00
sthen
25f49bb35d use standard "local" error handling (sprintf+exit/message_fatal) rather than
err() to avoid the need to pull in err.h, idea from deraadt
2015-10-15 00:17:48 +00:00
sthen
4bbcb29979 err.h for bzip2 as well, pointed out by jca@ 2015-10-15 00:08:58 +00:00
sthen
7317f836db oops, missed err.h 2015-10-14 23:16:15 +00:00
sthen
7dc023e899 Initial pledge() for xz, after initial setup (which looks at a few sysctls)
it's easy to drop to only allowing stdio and file operations. There's scope to
push this further (e.g. when used in a simple pipeline, no more than stdio
should be necessary).  ok naddy@ (maintainer).
2015-10-14 21:18:51 +00:00
sthen
f9e7aa16ff bzip2 now also needs rpath 2015-10-11 21:07:32 +00:00
jasper
8245965df6 tame -> pledge 2015-10-09 06:50:19 +00:00
sthen
53befa2741 bzip2 only needs stdio and some file operations, so it can be tame()'d early
in main().
2015-10-07 11:06:49 +00:00
sthen
f53015ea44 Update to par2cmdline-0.6.14, and add a patch to fix a byte order issue
(__BYTE_ORDER not being defined) causing 'repair' to fail on files from other
par2 implementations or from pre-5.6 OpenBSD. ok jca@

From Mikolaj Kucharski, taking maintainer.
2015-10-05 16:50:14 +00:00
kili
8673fc4b39 Remove hs-zlib-enum. Not used by anything. 2015-09-24 18:37:54 +00:00
kili
31e098f71f Unhook hs-zlib-enum. 2015-09-24 18:37:23 +00:00
sthen
31c427011b drop USE_GROFF, from Jan Stary. reformat Makefile according to usual
ordering while there.
2015-09-21 10:39:47 +00:00
kili
a94f3bd2c7 Set MODGHC_PACKAGE_KEY and adjust plist. 2015-09-20 18:29:20 +00:00
kili
c9ed2a55c6 Update to hs-zlib-0.5.4.2. 2015-09-19 07:48:41 +00:00
naddy
ba4e7019aa Update to 2.12, but retain local fix for CVE-2015-1197.
Grab maintainer.
2015-09-17 20:16:49 +00:00
jasper
30da4e4ea2 update to sharutils-4.15.2 2015-09-07 17:57:07 +00:00
sthen
6f5a2d59fc Fix lz4's installed .pc file to avoid using the fake prefix. From Brad. 2015-08-30 13:17:31 +00:00
sthen
b0afd3bc40 remove bcallah as maintainer of his ports, at his request 2015-08-25 13:18:24 +00:00
bentley
4f2c5e0b03 Update homepage/master_sites after migration to github. 2015-08-24 04:01:04 +00:00
benoit
5eb792a1ea Update to p5-Archive-Extract-0.76. 2015-08-13 07:11:39 +00:00
juanfra
dc0d0a5b1f Update to lzip 1.17. 2015-08-11 20:57:15 +00:00
juanfra
0fd4fe0214 Update to plzip 1.4. 2015-07-22 22:23:52 +00:00
juanfra
a483dec4a3 Update to lzlib 1.7. 2015-07-21 00:41:08 +00:00
sthen
45cf31de01 update to LZ4 r131 2015-07-18 21:25:12 +00:00
jasper
0cfe5a2805 use sed -i 2015-07-17 21:13:14 +00:00
juanfra
a0912f7a1e Update to clzip 1.7. 2015-07-17 18:06:05 +00:00