40 Commits

Author SHA1 Message Date
bluhm
5d33bb2328 On OpenBSD fchown(2) may deny changing the group of a file even if
the new group is the same as the old one.  Test of devel/p5-Alien-Base
fails due to xz failure.  Not calling fchown(2) in cases where the
group would not change anyway, fixes both.  Patch discussed with
upstream and cerry-picked from there.
OK naddy@
2021-11-02 15:47:53 +00:00
naddy
219b83082e Maintenance update to 5.2.5, which has some minor bug fixes.
Additional sparc64 testing by jca@
2020-03-26 20:44:51 +00:00
sthen
441f56ffbb xz: change from sysctl hw.ncpu to sysconf(_SC_NPROCESSORS_ONLN), ok naddy@
This is used for -T0 which auto-detects the number of cores for parallel
compression. xz prefers sysctl over sysconf (see m4/tuklib_cpucores.m4
and src/common/tuklib_cpucores.c for reasons) but this doesn't work for
us; just set an autoconf cache variable to force sysconf which works
better for us.
2020-02-27 12:31:10 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
naddy
afb7269ffe maintenance update to 5.2.4 2018-05-01 10:30:25 +00:00
naddy
8c0ba4ae6d switch home page and master site to https 2017-04-25 15:09:53 +00:00
naddy
7661695f40 maintenance update to 5.2.3 2017-01-18 21:28:35 +00:00
naddy
5b68f955ce remove __OpenBSD__ guard from pledge() patches 2016-08-12 20:52:26 +00:00
naddy
ce859edcb4 garbage collect CONFIGURE_SHARED 2016-03-11 20:28:21 +00:00
naddy
a3dab8196f add pledge to xz, xzdec, lzmadec; ok sthen@ 2016-01-17 20:28:36 +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
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
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
naddy
b522e1f179 maintenance update to 5.2.1 and enable multi-threading; mostly from brad@ 2015-03-31 18:00:23 +00:00
brad
757220d9ce Update to xz 5.2.0.
ok naddy@
2015-01-12 22:07:17 +00:00
naddy
59c5a87682 update to 5.0.7: fix invalid Libs.private value in liblzma.pc 2014-09-21 12:18:29 +00:00
naddy
f7137a89d7 maintenance update to 5.0.6 2014-09-19 20:58:39 +00:00
naddy
c7e055641a kill direct and indirect references to GCC2_ARCHS 2013-08-07 15:37:07 +00:00
espie
388c2d3974 zap nls, so that it doesn't depend on gettext
should tweak build order somewhat, and make it easier to put on the CD
if we want to.

okay naddy@
2013-08-07 11:50:26 +00:00
naddy
3b4d17ce53 maintenance update to 5.0.5 2013-07-04 18:37:32 +00:00
brad
ffe6844fac sync distinfo and merge in PFRAG.shared.
ok sthen@
2013-04-04 16:03:55 +00:00
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
espie
c80849c13c regress -> test
PERMIT_* cleanup
2013-03-10 22:28:04 +00:00
sthen
a26a1170e9 add DPB_PROPERTIES=Parallel for some things high in the dependency tree
which benefit from it.
2012-09-26 15:04:09 +00:00
naddy
0a069e2305 maintenance update to 5.0.4 2012-06-25 11:07:22 +00:00
sthen
88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00
ajacoutot
3ce024a242 Remove USE_GROFF from ports where mandoc doesn't have any ERRORs and
formatting looks Ok.

from Brad
2011-12-18 09:01:19 +00:00
naddy
b953234538 requires C99 2011-11-20 12:33:13 +00:00
naddy
743fe2104c disable unaligned access optimization on all __STRICT_ALIGNMENT archs 2011-07-27 19:06:45 +00:00
jasper
4b58a16831 - no need to use the gcc3 module anymore on sparc
from brad
2011-07-11 12:13:03 +00:00
naddy
7c7df81147 minor bugfix update to 5.0.3; from Antti Harri 2011-05-27 19:08:20 +00:00
naddy
86003c5464 update to 5.0.2; prodded by Wim Lewis 2011-05-03 19:48:08 +00:00
sthen
d580cde0ab fix various typos, from Anthony J. Bentley with a few tweaks by myself 2011-03-14 09:15:33 +00:00
naddy
3ff738f4dd Update to 5.0.1:
* xz --force now (de)compresses files that have setuid, setgid,
  or sticky bit set and files that have multiple hard links.
  The man page had it documented this way already, but the code
  had a bug.
* gzip and bzip2 support in xzdiff was fixed.
2011-03-02 20:53:36 +00:00
naddy
9ef62d28db update to first non-beta release 5.0.0; mostly from steven@ 2010-11-08 20:11:13 +00:00
espie
3ed7d907a5 USE_GROFF=Yes 2010-10-18 16:47:00 +00:00
sebastia
9422359321 Use gcc3 module to build on sparc.
OK naddy@, landry@, steven@
2010-07-19 12:04:12 +00:00
naddy
dfad51d695 Import XZ Utils 4.999.9beta, which replaces LZMA Utils.
LZMA is a general purporse compression algorithm designed by Igor
Pavlov as part of 7-Zip. It provides high compression ratio while
keeping the decompression speed fast.

XZ Utils are an attempt to make LZMA compression easy to use on
free (as in freedom) operating systems. This is achieved by providing
tools and libraries which are similar to use than the equivalents
of the most popular existing compression algorithms.
2009-09-10 15:27:26 +00:00