Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/xz Update xz import script to reflect...



details:   https://anonhg.NetBSD.org/src/rev/5604dc18f549
branches:  trunk
changeset: 836071:5604dc18f549
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Sep 25 05:38:10 2018 +0000

description:
Update xz import script to reflect inclusion of configure.

diffstat:

 external/public-domain/xz/prepare-import.sh |  27 +++++++++------------------
 1 files changed, 9 insertions(+), 18 deletions(-)

diffs (55 lines):

diff -r 85c386df7d66 -r 5604dc18f549 external/public-domain/xz/prepare-import.sh
--- a/external/public-domain/xz/prepare-import.sh       Tue Sep 25 03:50:58 2018 +0000
+++ b/external/public-domain/xz/prepare-import.sh       Tue Sep 25 05:38:10 2018 +0000
@@ -1,25 +1,27 @@
 #!/bin/sh
-# $NetBSD: prepare-import.sh,v 1.4 2015/04/17 18:49:23 christos Exp $
+# $NetBSD: prepare-import.sh,v 1.5 2018/09/25 05:38:10 joerg Exp $
 
 set -e
 
 rm -rf dist tmp
-tar xzf xz-5.2.1.tar.gz
-mv xz-5.2.1 dist
+tar xf xz-5.2.4.tar.xz
+mv xz-5.2.4 dist
 
 cd dist
 # Binary files derived from distribution files
 rm -rf doc/man
 # Files under GPL
-rm -rf build-aux extra lib m4/[a-s]* m4/[u-z]* src/scripts/xz* Doxyfile.in
+rm -rf extra lib m4/[a-s]* m4/[u-z]* src/scripts/xz* Doxyfile.in
 # Files not of relevance
-rm -rf ABOUT-NLS aclocal.m4 autogen.sh configure COPYING.*GPL* INSTALL.generic
+rm -rf ABOUT-NLS aclocal.m4 autogen.sh COPYING.*GPL* INSTALL.generic
 mkdir po.tmp
 mv po/*.po po/*.gmo po.tmp/
 rm -rf po
 mv po.tmp po
 rm -rf debug dos windows
 rm -rf Makefile* */Makefile* */*/Makefile* */*/*/Makefile*
+# Files under GPL/LGPL kept:
+# build-aux/* from autoconf
 # Binary files to be encoded
 for f in tests/compress_prepared_bcj_sparc tests/compress_prepared_bcj_x86 \
         tests/files/*.xz; do
@@ -27,16 +29,5 @@
        rm $f
 done
 
-# Files under GPL/LGPL kept:
-# build-aux/* from autoconf
-# lib/*
-# m4/*
-
-# Changes to config.h
-echo Add build-time endian test to include/config.h:
-cat << EOE
-#include <sys/endian.h>
-#if BYTE_ORDER == BIG_ENDIAN
-#  define WORDS_BIGENDIAN 1
-#endif
-EOE
+grep -v '^ac_config_files=' configure > configure.new
+mv configure.new ../configure



Home | Main Index | Thread Index | Old Index