73 Commits

Author SHA1 Message Date
jasper
c119dbd446 Fix for CVE-2016-3189; proposed patch from RH 2016-06-28 09:56:23 +00:00
naddy
407f17974c remove various instances of NO_SHARED_LIBS and PROPERTIES:Mno_shared,
fold PFRAG.shared into PLIST
2016-03-10 21:58:51 +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
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
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
naddy
2c06f77743 landry@ ran into a bashism; lift portable replacement code from GNU gzip 1.6
ok landry@
2014-05-24 20:51:54 +00:00
jasper
3ea3febc52 remove m68k-related workarounds 2014-03-19 13:40:59 +00:00
brad
ffe6844fac sync distinfo and merge in PFRAG.shared.
ok sthen@
2013-04-04 16:03:55 +00:00
espie
c80849c13c regress -> test
PERMIT_* cleanup
2013-03-10 22:28:04 +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
espie
3ed7d907a5 USE_GROFF=Yes 2010-10-18 16:47:00 +00:00
naddy
4c9983c6be SECURITY update to 1.0.6, which fixes an integer overflow, CVE-2010-0405.
ok jasper@
2010-09-20 18:21:10 +00:00
naddy
6c7c3d9d2b SECURITY:
Update to 1.0.5, which includes integer overflow checks.
Fixes CERT-FI 20469.
2008-03-18 18:44:31 +00:00
espie
17d70806a3 tweak FAKE_FLAGS semantics to saner defaults. 2008-01-04 17:48:33 +00:00
espie
01eeb5f64b zap all quotes in COMMENT/PERMIT_* 2007-09-15 10:14:32 +00:00
naddy
4ec1f15ebe SECURITY update to 1.0.4:
* Fix file permissions race problem (CVE-2005-0953).
* Avoid possible segfault in BZ2_bzclose.
* Sanitise file names more carefully in bzgrep.  Fixes CVE-2005-0758
  to the extent that applies to bzgrep.
* Use 'mktemp' rather than 'tempfile' in bzdiff.
* Tighten up a couple of assertions in blocksort.c following automated
  analysis.
2007-01-25 21:08:22 +00:00
steven
91da0dbeab pass shared library version in REGRESS_FLAGS, otherwise regress target
rebuilds it without version number.

ok sturm@
2006-02-03 20:00:33 +00:00
espie
dd5426312f use SHARED_LIBS
USE_LIBTOOL where appropriate (and bump PKGNAME)
tweak a few FAKE_FLAGS to be more uniform.
2005-12-23 13:57:21 +00:00
fgsch
c5b44fec6e after querying brad@ he decided to drop maintainership for these. 2005-10-30 00:10:39 +00:00
naddy
c559108d7d Maintenance update to 1.0.3.
- minor bug fixes only
- no more .info manual

ok brad@
2005-05-16 23:00:59 +00:00
espie
740a24fcf5 @endfake marker 2005-04-17 19:42:38 +00:00
espie
056bf5d790 Mark all system libs in WANTLIB, result of running newlib-depends-check 2004-11-21 12:50:32 +00:00
brad
764c258b0b remove another sparc64/2.95 workaround. 2004-04-06 06:33:29 +00:00
jolan
12e8cc8408 allow optimization on sparc64 again. tested by naddy, sturm, & myself. 2003-06-23 03:30:24 +00:00
jolan
ef89960546 # BSD 2003-05-24 01:01:24 +00:00
fgsch
94e3dd2101 sayonara NEED_VERSION. 2002-12-29 15:15:18 +00:00
brad
825a780ff1 bye MASTER_SITE_SUBDIR 2002-05-12 21:37:03 +00:00
brad
01e6245554 upgrade to bzip2 1.0.2 2002-02-03 06:16:09 +00:00
pvalchev
3eff50408a sparc64 gcc optimization bug temporary workaround with -O0; ok brad 2002-01-27 20:00:16 +00:00
brad
98c19ba74d simplify regression test support. 2001-10-31 16:49:46 +00:00
pvalchev
59347a0dde workaround a bug that prevented bzip2 from working on m68k; ok brad, naddy, espie 2001-10-15 14:16:34 +00:00
brad
7383c2ce52 workaround for sparc64 with regard to the CFLAGS passed on.
--
Based on patch from: wilfried@
2001-10-09 02:05:29 +00:00
espie
e18d889949 Note existing regression tests for archivers. No need to update
NEED_VERSION, this won't break anything otherwise.
2001-10-04 22:26:48 +00:00
heko
a79a0f47dd o Fix a few oddities in the bzip2 texinfo source
o Install texinfo and HTML manuals (which include programmer
  resources) for bzip2
ok maintainer: brad@
2001-09-26 18:38:43 +00:00
heko
3d75eb7220 o Add MASTER_SITE_SOURCEWARE to network.conf.template (mirrors
of sourceware.cygnus.com (also known as sources.redhat.com))
 o Modify bzip2 and gsl ports to use this new master_site (gnats
   remains to be fixed: no reply from maintainer)
 o Bump NEED_VERSION on those ports
maintainers of the ports ok: brad@, rohee@
2001-08-26 21:23:42 +00:00
naddy
49afc89ea6 MASTER_SITES fix by Heikki Korpela <heko@saitti.net>:
- Add ftp.funet.fi and ftp.sunet.se mirrors where available.
- Remove broken ftp.funet.fi references.
2001-07-13 11:23:37 +00:00
brad
1953a9ae7f bump NEED_VERSION 2001-04-20 17:35:31 +00:00
espie
a96934ec48 Fix bzip2 2001-04-20 15:09:11 +00:00
brad
3ae2d1aa7a - integrate COMMENT
- bump NEED_VERSION
2001-03-29 15:01:53 +00:00
brad
570c7519c0 - integrate COMMENT
- bump NEED_VERSION
- WRKSRC -> WRKBUILD
- ${MAKE} -> ${MAKE_PROGRAM}
2001-03-24 22:37:58 +00:00
brad
1bd29ccc68 some ports which I've been maintaining 2000-09-24 01:23:42 +00:00
brad
107abfb98e revert switch to libtool, use "cc -shared" to create shared libraries 2000-09-16 11:44:22 +00:00
brad
3cf2a928b1 @exec /sbin/ldconfig -> DYNLIBDIR 2000-07-01 02:00:52 +00:00
brad
eb70f907e9 upgrade to bzip2 1.0.1
- add HOMEPAGE
- switch to libtool for shared library creation
- use better filename for patch
2000-06-25 03:56:58 +00:00
brad
b5db9fde5d - remove FAKE=Yes
- use new framework for PLISTs
- add @comment with RCS id
2000-06-10 18:51:44 +00:00
brad
c18b0836f7 bump NEED_VERSION 2000-06-02 13:44:53 +00:00