1185 Commits

Author SHA1 Message Date
sthen
3ed9d74707 update to ripole-0.2.2, and while there fix an attempt at freeing a static
constant if the -d flag was not used. ok william@ (maintainer)
2016-03-02 13:34:32 +00:00
tb
dcd1484562 Further pledge(2) fallout due to password protected archives.
Listing or checking the integrity may call readpassphrase(3)
and thus requires a "tty" promise.

Report and fix by provided by Andre S, thanks!

ok czarkoff@, Josh Grosse (MAINTAINER)
2016-02-04 10:38:26 +00:00
sthen
65893c92de Bump pecl-* and a couple of other ports which have now lost their
MESSAGE/UNMESSAGE. Add @extra lines in place of UNMESSAGE. Docs about
activating these have been rolled into the general PHP pkg-readmes file.
OK/feedback aja@ jasper@
2016-02-01 21:55:38 +00:00
sthen
a6fea3759d p7zip needs to pledge tty as well (in standard and SFX archives), it's needed
for password entry. Reported by Andre S, debugging tb@, fix from Josh Grosse.
ok tb@
2016-01-31 22:29:37 +00:00
naddy
e2dd70eb66 Apply patches for multiple security vulnerablities;
- CVE-2013-0211: denial of service via unspecified vectors
- CVE-2015-2304: directory traveral via absolute paths
- crash/infinite loop on malformed CPIO archives

From upstream git (commits 2253154, 5935715, 3865cf2, e6c9668, 24f5de6)
via FreeBSD.

Minor bump for the new ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS option.
2016-01-30 23:34:44 +00:00
kili
d7def8066d Let portroach ignore ports on which meta/haskell-platform depends.
Except lang/ghc for now (in case someone doesn't like my diff on ports@).
2016-01-29 20:28:07 +00:00
jasper
627e22cd71 Security fix for CVE-2016-1925; from upstream git 2016-01-27 13:36:35 +00:00
jasper
15f7df17a9 - extend pledge to handle self-extracting archives and the remaining main binaries
from Josh Grosse (MAINTAINER) and brynet@
ok brynet@ sthen@
2016-01-27 10:36:00 +00:00
jasper
b1c1f5b376 Unbreak build on 'mips64' where 'mips' is a CPP define 2016-01-25 19:42:46 +00:00
sthen
93122bf94b add a "# uses pledge()" marker for ease of finding it again 2016-01-22 13:39:08 +00:00
sthen
fbfba5c9a7 pledge p7zip, from maintainer Josh Grosse (thanks for digging into this Josh!). 2016-01-22 13:38:37 +00:00
kili
8cd2335a46 Bump after ghc change. 2016-01-20 16:15:45 +00:00
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