1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Pipe output of tar to "gzip --best" to ensure we get the exact same

tar.gz file every time.
This commit is contained in:
Satoshi Asami 1995-04-01 14:54:57 +00:00
parent 29bedd2ceb
commit 67f2972939
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1271

View File

@ -3,7 +3,7 @@
# Date created: 7 December 1994
# Whom: asami
#
# $Id: Makefile,v 1.5 1995/03/24 11:11:58 asami Exp $
# $Id: Makefile,v 1.6 1995/04/01 12:51:21 jkh Exp $
#
USE_IMAKE= yes
@ -33,7 +33,8 @@ fetch: pre-fetch
${NCFTP} ${NCFTPFLAGS} ${SOURCESITE}\{$$file\}); \
done; \
echo ">> Now creating a tarball ${DISTDIR}/${TARFILE}..."; \
tar -C ${.CURDIR}/src -czf ${DISTDIR}/${TARFILE} xfed; \
tar -C ${.CURDIR}/src -cf - xfed | \
gzip --best > ${DISTDIR}/${TARFILE}; \
rm -rf ${.CURDIR}/src; \
fi
.endif