christos
671e251af7
PR/21819: Jeremy Reed: znew and gzexe create/use unsafe tmp files. Replaced
...
with the FreeBSD current version.
2003-07-05 02:34:28 +00:00
wiz
d965c0314d
VAX, not Vax. Igor Sobrado in PR 19678.
2003-03-30 20:55:47 +00:00
wiz
024a7d26ca
Build and install gzip.info.
2003-01-27 09:07:13 +00:00
wiz
42ca888796
Add gzip.texi and gpl.texinfo from gzip-1.2.4a [needed for building
...
gzip.info].
2003-01-27 09:06:55 +00:00
wiz
bbaec56433
Sync with gzip-1.2.4a (typo fixes and email address changes).
2003-01-27 00:44:14 +00:00
wiz
7157d2da1c
ouput -> output, from Igor Sobrado in PR 19667.
2003-01-04 11:05:22 +00:00
lukem
ed401558f2
Implement MKDYNAMICROOT, which currently defaults to "no", but will
...
be changed in the future to "yes".
If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).
If MKDYNAMICROOT == "yes", the following changes occur:
in <bsd.own.mk>:
SHLIBDIR?= /lib
SHLINKDIR?= /lib
in various Makefiles, the following entry is DISABLED.
LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
thorpej
0fc2511716
Make this work with an ISO C preprocessor.
2002-05-30 05:53:38 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
itojun
815ede9ef4
gzip long filename buffer overrun vulnerability. from 1.2.4 -> 1.2.4b fix
...
http://www.securityfocus.com/bid/3712
2002-01-15 09:18:15 +00:00
tv
9f22792e0b
No need for ${CPP}; just compile the .S if m68k || i386.
...
Formatting cleanup.
2001-11-13 17:26:52 +00:00
lukem
03a3aa379d
use off_t instead of long to store sizes which will be displayed with "--list".
...
fixes wacky display problems for files > 2GB in size. tested ok on i386 and
alpha (no change for the latter).
2001-07-07 21:57:41 +00:00
simonb
976bdd3f47
Change to new libbz2 API.
2001-06-03 13:43:01 +00:00
tsutsui
80643c8e30
Add -traditional to MATCHCPPFLAGS so that match.S compiles
...
on cross environment which does not have usr.bin.cpp.sh.
2001-03-04 16:12:36 +00:00
cgd
c586a3a369
strncmp's last argument is of type size_t, not int.
2001-01-16 02:38:52 +00:00
scw
7da3267228
Need to check for __m68k__ with the m68k ELF toolchain...
2000-12-03 17:24:00 +00:00
simonb
da198db71e
Update the output counter so "gzip -dv" show meaningful results for
...
decompressing bzip2 files.
2000-11-17 01:32:27 +00:00
simonb
87db6e6fc9
Recognise .bz2 as a valid suffix.
2000-11-17 01:31:26 +00:00
thorpej
ef9b07e056
Add register prefixes.
1999-11-10 16:54:10 +00:00
simonb
d90538535d
Back out previous change now that "decompress" is not exported by libbz2.
1999-08-20 02:36:28 +00:00
simonb
0678c8d4e5
In test mode, don't print the contents to stdout.
...
Patch from NAKAJIMA Yoshihiro in PR bin/8238.
1999-08-20 00:08:57 +00:00
mycroft
41147083cf
Don't use GNU malloc() any more.
1999-07-30 04:07:23 +00:00
simonb
a8733a30d9
Argh - both gzip.c and libbz have a "decompress" symbol. For now,
...
rename gzip.c's decompress to de_compress. I emailed the author
of libbz back in December about this and haven't heard anything
since...
Thanks to enami tsugutomo for pointing this out.
1999-07-27 00:36:10 +00:00
simonb
b376436feb
Handle decompressing bzip2 files.
1999-07-25 07:06:05 +00:00
thorpej
0febb464c7
Oops, fix the NO_UNDERLINE CPP hack.
1999-02-02 02:04:40 +00:00
kim
d6f02000ee
Added z[ef]grep.
1999-01-31 14:33:33 +00:00
thorpej
00250899d5
Argh, typo in previous.
1999-01-22 22:24:29 +00:00
thorpej
435e3187c6
If the object format is ELF, build match.S with -DNO_UNDERLINE.
1999-01-22 22:18:28 +00:00
frueauf
e57a58a43d
Don't prepend /usr/local/bin to $PATH, our gzip is in /usr/bin. Closes
...
pr 5234 by Jim Bernard.
1998-09-12 20:54:53 +00:00
enami
692962babe
add -Dunix to CPPFLAGS to suppress cpp warning.
1998-09-01 03:16:48 +00:00
tv
a5e6bce521
Do not chmod files to 0777 before unlinking. NetBSD (and POSIX.1) specify
...
that this is unnecessary (only permission on the file's directory is
necessary), and it has security implications (see PR #5094 ). There may be
other race-condition-related implications here that this change fixes, as
well.
1998-03-06 18:17:12 +00:00
cgd
8aaf609a0a
allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
1998-03-02 19:42:25 +00:00
mrg
6be07a674c
add missing .Nm calls and MLINKS. from spz@serpens.swb.de
1997-11-12 00:47:32 +00:00
lukem
da49bfcda7
use CPPFLAGS instead of CFLAGS
1997-10-25 10:10:19 +00:00
christos
0aad9d4378
Makefile cleanups
1997-03-24 22:02:40 +00:00
mikel
a41241b92a
/etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401.
1996-11-12 07:50:11 +00:00
thorpej
46ac224706
Use ${INSTALL}.
1996-10-18 02:52:59 +00:00
jtc
2a60e37a76
Link zcmp to zdiff, zcmp.1 to zdiff.1
1995-10-24 22:18:34 +00:00
cgd
81584a34e6
NetBSD RCS Id format
1995-04-23 07:58:27 +00:00
cgd
c4c01d75b2
specify man pages the new way.
1994-12-22 09:31:26 +00:00
jtc
8d5a180936
Install zgrep manpage too.
1994-12-14 01:50:14 +00:00
cgd
39619ceab9
fine, install as zcat, too, but _NOT_ as compress; man page is incorrect.
1994-10-17 21:37:28 +00:00
cgd
53ba44f2bd
link these static, for safety. tar is going away, eventualy, anyway
1994-06-19 00:03:41 +00:00
cgd
f5ef67b2d1
don't clobber uncompress, zcat, or their man pages
1994-06-13 15:18:46 +00:00
pk
22a4a0d445
match.S is for m68k and i36 archs only.
1993-12-21 20:27:39 +00:00
mycroft
676f96319e
Take 2. Key off __NetBSD__ and -D it from the Makefile.
1993-12-08 21:31:57 +00:00
mycroft
226710e9dd
Key off `m68k' for some instruction format issues. I recall changing this
...
once before...
1993-12-08 21:11:45 +00:00
jtc
79c47ced71
Both compress and gzip installed themselves as "zcat". I've changed the
...
makefiles so only gzip is installed as zcat (and now uncompress) because
gzip is faster than compress and it is able to detect corrupted files.
1993-10-23 01:13:35 +00:00
jtc
0a54cb8182
Change makefile so manpages are installed correctly.
1993-10-15 23:14:16 +00:00
mycroft
3458627ee9
Clean up deleted files.
1993-10-15 23:06:07 +00:00