Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 22:19:25 +0200 (CEST)
From:      Cyrille Lefevre <cyrille.lefevre@laposte.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Ruslan Ermilov <ru@FreeBSD.org>
Subject:   bin/41060: ready to import gzip 1.3.3
Message-ID:  <200207272019.g6RKJPTp089182@gits.gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         41060
>Category:       bin
>Synopsis:       ready to import gzip 1.3.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 27 13:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
ACME
>Environment:
System: FreeBSD gits 4.6-STABLE FreeBSD 4.6-STABLE #17: Tue Jul 23 08:29:49 CEST 2002 root@gits:/disk2/freebsd/stable/src/sys/compile/CUSTOM i386
>Description:
	this patch updates the base system gzip 1.2.4 to 1.3.3.

	* gzip sources have to be imported in src/contrib/gzip.
	  (FREEBSD-* have been copied from ../tar and adapted to gzip)
	* everything except the Makefile should be deleted from
	  src/gnu/usr.bin/gzip
>How-To-Repeat:
	n/a
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	src/contrib/gzip
#	src/contrib/gzip/FREEBSD-Xlist
#	src/contrib/gzip/FREEBSD-upgrade
#	src/gnu/usr.bin/gzip
#	src/gnu/usr.bin/gzip/Makefile
#	src/gnu/usr.bin/gzip/config.h
#	src/gnu/usr.bin/gzip/doc
#	src/gnu/usr.bin/gzip/doc/Makefile
#
echo c - src/contrib/gzip
mkdir -p src/contrib/gzip > /dev/null 2>&1
echo x - src/contrib/gzip/FREEBSD-Xlist
sed 's/^X//' >src/contrib/gzip/FREEBSD-Xlist << 'END-of-src/contrib/gzip/FREEBSD-Xlist'
X*/Makefile*
X*/aclocal.m4
X*/config*
X*/depcomp
X*/install-sh
X*/amiga/*
X*/atari/*.y
X*/m4/*
X*/missing
X*/mkinstalldirs
X*/msdos/*
X*/nt/*
X*/os2/*
X*/primos/*
X*/stamp-h*
X*/vms/*
X*/gzip.doc
X*/gzip.info
X*/texinfo.tex
END-of-src/contrib/gzip/FREEBSD-Xlist
echo x - src/contrib/gzip/FREEBSD-upgrade
sed 's/^X//' >src/contrib/gzip/FREEBSD-upgrade << 'END-of-src/contrib/gzip/FREEBSD-upgrade'
X$FreeBSD$
X
XGNU Gzip
X	originals can be found at: 	ftp://alpha.gnu.org/gnu/gzip/
X	and are mirrored at:	ftp://ftp.funet.fi/pub/gnu/alpha/gnu/gzip/
X
XImported by:
X
X	 cvs import -m "Virgin import (trimmed) of GNU Gzip version 1.3.3." \
X		src/contrib/gzip FSF TAR_v1_3_3
X
XNotes:
X	1. The following log shows details of trimming:
X
X	$ tar --exclude-from FREEBSD-Xlist -xvzf gzip-1.3.3.tar.gz
X	$ mv match.c match.S
X
Xsobomax@FreeBSD.org
X4 June 2002
END-of-src/contrib/gzip/FREEBSD-upgrade
echo c - src/gnu/usr.bin/gzip
mkdir -p src/gnu/usr.bin/gzip > /dev/null 2>&1
echo x - src/gnu/usr.bin/gzip/Makefile
sed 's/^X//' >src/gnu/usr.bin/gzip/Makefile << 'END-of-src/gnu/usr.bin/gzip/Makefile'
X#       @(#)Makefile    5.3 (Berkeley) 5/12/90
X# $FreeBSD: src/gnu/usr.bin/gzip/Makefile,v 1.21.2.2 2001/04/25 14:04:12 ru Exp $
X
XGZIPDIR=	${.CURDIR}/../../../contrib/gzip
X.PATH:	${GZIPDIR}
X
XSUBDIR=	doc
X
XPROG=	gzip
XSRCS=	gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \
X	crypt.c lzw.c unlzw.c unlzh.c unpack.c getopt.c
XSRCS+=	getopt1.c yesno.c rpmatch.c
XCFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${GZIPDIR}
X.if ${MACHINE_ARCH} == "i386"
XSRCS+=	match.S
XCFLAGS+=-DASMV
X.if ${OBJFORMAT} == "elf"
XASFLAGS+=-DNO_UNDERLINE
X.endif
X.endif
XSCRIPTS=gzexe zdiff zforce zmore znew
XSCRIPTS+= zless
XMAN=	gzexe.1 gzip.1 zdiff.1 zforce.1 zmore.1 znew.1
XMAN+=	zless.1
X
XNO_SHARED?=yes
X
XLINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip
XLINKS+= ${BINDIR}/gzip ${BINDIR}/gzcat
XLINKS+= ${BINDIR}/gzip ${BINDIR}/zcat
XLINKS+= ${BINDIR}/zdiff ${BINDIR}/zcmp
XMLINKS= gzip.1 gunzip.1 gzip.1 zcat.1 gzip.1 gzcat.1
XMLINKS+= zdiff.1 zcmp.1
X
XGREP_LIBZ?=	YES
X.if defined(GREP_LIBZ) && empty(GREP_LIBZ)
XSCRIPTS+=zgrep
XMAN+=	zgrep.1
XLINKS+= ${BINDIR}/zgrep ${BINDIR}/zegrep
XLINKS+= ${BINDIR}/zgrep ${BINDIR}/zfgrep
XMLINKS+= zgrep.1 zfgrep.1 zgrep.1 zegrep.1
X.endif
X
Xmatch.o: match.S
X	${CC} ${ASFLAGS} -E -traditional ${.IMPSRC} > _match.s
X	$(CC) -c _match.s
X	mv -f _match.o ${.TARGET}
X	rm -f _match.s
X
X.SUFFIXES: .in
X
X.in:
X	sed -e 1d -e 's|BINDIR|${BINDIR}|g' ${.IMPSRC} > ${.TARGET}
X
X.include <bsd.prog.mk>
END-of-src/gnu/usr.bin/gzip/Makefile
echo x - src/gnu/usr.bin/gzip/config.h
sed 's/^X//' >src/gnu/usr.bin/gzip/config.h << 'END-of-src/gnu/usr.bin/gzip/config.h'
X/* config.h.  Generated by configure.  */
X/* config.h.in.  Generated from configure.in by autoheader.  */
X
X/* Define if an assembler version of longest_match is available. */
X/* #undef ASMV */
X
X/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
X   */
X#define HAVE_DIRENT_H 1
X
X/* Define to 1 if you have the <fcntl.h> header file. */
X#define HAVE_FCNTL_H 1
X
X/* Define to 1 if you have the <inttypes.h> header file. */
X#define HAVE_INTTYPES_H 1
X
X/* Define to 1 if you have the <limits.h> header file. */
X#define HAVE_LIMITS_H 1
X
X/* Define to 1 if you have the `lstat' function. */
X#define HAVE_LSTAT 1
X
X/* Define to 1 if you have the <memory.h> header file. */
X#define HAVE_MEMORY_H 1
X
X/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
X/* #undef HAVE_NDIR_H */
X
X/* Define to 1 if you have the `rpmatch' function. */
X/* #undef HAVE_RPMATCH */
X
X/* Define to 1 if you have the <stdint.h> header file. */
X/* #undef HAVE_STDINT_H */
X
X/* Define to 1 if you have the <stdlib.h> header file. */
X#define HAVE_STDLIB_H 1
X
X/* Define to 1 if you have the <strings.h> header file. */
X#define HAVE_STRINGS_H 1
X
X/* Define to 1 if you have the <string.h> header file. */
X#define HAVE_STRING_H 1
X
X/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
X   */
X/* #undef HAVE_SYS_DIR_H */
X
X/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
X   */
X/* #undef HAVE_SYS_NDIR_H */
X
X/* Define to 1 if you have the <sys/stat.h> header file. */
X#define HAVE_SYS_STAT_H 1
X
X/* Define to 1 if you have the <sys/types.h> header file. */
X#define HAVE_SYS_TYPES_H 1
X
X/* Define to 1 if you have the <sys/utime.h> header file. */
X/* #undef HAVE_SYS_UTIME_H */
X
X/* Define to 1 if you have the <time.h> header file. */
X#define HAVE_TIME_H 1
X
X/* Define to 1 if you have the <unistd.h> header file. */
X#define HAVE_UNISTD_H 1
X
X/* Define to 1 if you have the `utime' function. */
X#define HAVE_UTIME 1
X
X/* Define to 1 if you have the <utime.h> header file. */
X#define HAVE_UTIME_H 1
X
X/* Name of package */
X#define PACKAGE "gzip"
X
X/* Define to the address where bug reports for this package should be sent. */
X#define PACKAGE_BUGREPORT ""
X
X/* Define to the full name of this package. */
X#define PACKAGE_NAME ""
X
X/* Define to the full name and version of this package. */
X#define PACKAGE_STRING ""
X
X/* Define to the one symbol short name of this package. */
X#define PACKAGE_TARNAME ""
X
X/* Define to the version of this package. */
X#define PACKAGE_VERSION ""
X
X/* Define as the return type of signal handlers (`int' or `void'). */
X#define RETSIGTYPE void
X
X/* Define to 1 if you have the ANSI C header files. */
X#define STDC_HEADERS 1
X
X/* Version number of package */
X#define VERSION "1.3.3"
X
X/* Define to 1 if on AIX 3.
X   System headers sometimes define this.
X   We just want to avoid a redefinition error message.  */
X#ifndef _ALL_SOURCE
X/* # undef _ALL_SOURCE */
X#endif
X
X/* Number of bits in a file offset, on hosts where this is settable. */
X/* #undef _FILE_OFFSET_BITS */
X
X/* Define for large files, on AIX-style hosts. */
X/* #undef _LARGE_FILES */
X
X/* Define to 1 if on MINIX. */
X/* #undef _MINIX */
X
X/* Define to 2 if the system does not provide POSIX.1 features except with
X   this defined. */
X/* #undef _POSIX_1_SOURCE */
X
X/* Define to 1 if you need to in order for `stat' and other things to work. */
X/* #undef _POSIX_SOURCE */
X
X/* Define to empty if `const' does not conform to ANSI C. */
X/* #undef const */
X
X/* Define to `long' if <sys/types.h> does not define. */
X/* #undef off_t */
X
X/* Define to `unsigned' if <sys/types.h> does not define. */
X/* #undef size_t */
END-of-src/gnu/usr.bin/gzip/config.h
echo c - src/gnu/usr.bin/gzip/doc
mkdir -p src/gnu/usr.bin/gzip/doc > /dev/null 2>&1
echo x - src/gnu/usr.bin/gzip/doc/Makefile
sed 's/^X//' >src/gnu/usr.bin/gzip/doc/Makefile << 'END-of-src/gnu/usr.bin/gzip/doc/Makefile'
X# $FreeBSD$
X
XINFO=	gzip
XSRCDIR=	${.CURDIR}/../../../../contrib/gzip
X
X.include <bsd.info.mk>
END-of-src/gnu/usr.bin/gzip/doc/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207272019.g6RKJPTp089182>