Commit 4f0fd03d authored by Andrey V.Kosteltsev's avatar Andrey V.Kosteltsev

findutils-4.7.0, sed-4.7

parent edad8fc2
COMPONENT_TARGETS = $(HARDWARE_PC32)
COMPONENT_TARGETS += $(HARDWARE_PC64)
COMPONENT_TARGETS += $(HARDWARE_CB1X)
COMPONENT_TARGETS += $(HARDWARE_CB2X)
COMPONENT_TARGETS += $(HARDWARE_CB3X)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
COMPONENT_TARGETS += $(HARDWARE_M201)
COMPONENT_TARGETS += $(HARDWARE_MXV)
COMPONENT_TARGETS += $(HARDWARE_P201)
COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
COMPONENT_TARGETS += $(HARDWARE_P212)
COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
COMPONENT_TARGETS += $(HARDWARE_Q201)
COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
COMPONENT_TARGETS += $(HARDWARE_CI20)
COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
COMPONENT_TARGETS += $(HARDWARE_MBC4_PC)
COMPONENT_TARGETS += $(HARDWARE_S824L)
COMPONENT_TARGETS += $(HARDWARE_VESNIN)
COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
NEED_ABS_PATH = true
COMPONENT_IS_3PP = true
include ../../../build-system/constants.mk
SOURCE_REQUIRES = sources/GNU/findutils
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
REQUIRES = dev/gcc/5.3.0
else
REQUIRES = libs/glibc/2.24
endif
# ======= __END_OF_REQUIRES__ =======
version = 4.4.2
tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/findutils/findutils-$(version).tar.gz
SRC_ARCHIVE = $(tar_gz_archive)
SRC_DIR = $(TARGET_BUILD_DIR)/findutils-$(version)
src_dir_name = findutils-$(version)
src_done = $(TARGET_BUILD_DIR)/.source_done
PATCHES = PATCHES
build_dir = $(TARGET_BUILD_DIR)/build
build_target = $(TARGET_BUILD_DIR)/.build_done
install_target = $(TARGET_BUILD_DIR)/.install_done
####### Targets
PKG_GROUP = app
#
# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
#
FINDUTILS_PKG_NAME = findutils
FINDUTILS_PKG_VERSION = 4.4.2
FINDUTILS_PKG_ARCH = $(TOOLCHAIN)
FINDUTILS_PKG_DISTRO_NAME = $(DISTRO_NAME)
FINDUTILS_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
FINDUTILS_PKG_GROUP = $(PKG_GROUP)
### |---handy-ruler-------------------------------|
FINDUTILS_PKG_SHORT_DESCRIPTION = utilities to locate files
FINDUTILS_PKG_URL = $(BUG_URL)
FINDUTILS_PKG_LICENSE = GPLv2
FINDUTILS_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(FINDUTILS_PKG_NAME)-pkg-description
FINDUTILS_PKG_DESCRIPTION_FILE_IN = $(FINDUTILS_PKG_NAME)-pkg-description.in
FINDUTILS_PKG_INSTALL_SCRIPT = $(FINDUTILS_PKG_NAME)-pkg-install.sh
FINDUTILS_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(FINDUTILS_PKG_NAME)-package
pkg_basename = $(FINDUTILS_PKG_NAME)-$(FINDUTILS_PKG_VERSION)-$(FINDUTILS_PKG_ARCH)-$(FINDUTILS_PKG_DISTRO_NAME)-$(FINDUTILS_PKG_DISTRO_VERSION)
pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
pkg_certificate = $(call cert-name,$(pkg_archive))
pkg_signature = $(call sign-name,$(pkg_archive))
pkg_description = $(call desc-name,$(pkg_archive))
products = $(call pkg-files,$(pkg_archive))
BUILD_TARGETS = $(build_target)
BUILD_TARGETS += $(install_target)
PRODUCT_TARGETS = $(products)
ROOTFS_TARGETS = $(pkg_archive)
include ../../../build-system/core.mk
env_sysroot = DESTDIR=$(FINDUTILS_PKG)
extra_configure_switches = --libdir=/lib$(LIBSUFFIX)
extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
extra_configure_switches += --infodir=/usr/share/info
extra_configure_switches += --mandir=/usr/share/man
extra_configure_switches += --disable-dependency-tracking
extra_configure_switches += --disable-rpath
extra_configure_switches += --disable-locate
extra_configure_switches += --without-fts
# http://savannah.gnu.org/bugs/?27299
extra_configure_switches += gl_cv_func_wcwidth_works=yes
####### Dependencies
$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
$(UNPACK_SRC_ARCHIVE)
$(APPLY_PATCHES)
@touch $@
$(build_target): $(src_done)
@mkdir -p $(build_dir)
@cd $(build_dir) && \
$(BUILD_ENVIRONMENT) $(environment) ../$(src_dir_name)/configure \
--prefix=/usr \
--build=$(BUILD) \
--host=$(TARGET) \
$(extra_configure_switches)
@cd $(build_dir) && $(BUILD_ENVIRONMENT) $(environment) $(MAKE)
@touch $@
$(install_target): $(build_target)
@mkdir -p $(FINDUTILS_PKG)
@cd $(build_dir) && $(BUILD_ENVIRONMENT) $(environment) $(MAKE) -j1 install $(env_sysroot)
# ======= Install Documentation =======
@rm -f $(FINDUTILS_PKG)/usr/share/info/dir
@gzip -9 $(FINDUTILS_PKG)/usr/share/info/*
@if [ -d $(FINDUTILS_PKG)/usr/share/man ]; then \
( cd $(FINDUTILS_PKG)/usr/share/man ; \
for manpagedir in `find . -type d -name "man*"` ; do \
( cd $$manpagedir ; \
for eachpage in `find . -type l -maxdepth 1` ; do \
ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
rm $$eachpage ; \
done ; \
gzip -9 *.? ; \
) \
done \
) \
fi
@mkdir -p $(FINDUTILS_PKG)/usr/doc/$(src_dir_name)
@cp -a $(SRC_DIR)/AUTHORS $(SRC_DIR)/COPYING* \
$(FINDUTILS_PKG)/usr/doc/$(src_dir_name)
@mkdir -p $(FINDUTILS_PKG)/usr/share/doc/$(src_dir_name)
@( cd $(SRC_DIR) ; \
cp -a AUTHORS COPYING* NEWS README* THANKS TODO \
$(FINDUTILS_PKG)/usr/share/doc/$(src_dir_name) \
)
@( cd $(SRC_DIR) ; \
if [ -r ChangeLog ]; then \
DOCSDIR=`echo $(FINDUTILS_PKG)/usr/share/doc/$(src_dir_name)` ; \
cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
fi \
)
# ======= Install the same to $(TARGET_DEST_DIR) =======
$(call install-into-devenv, $(FINDUTILS_PKG))
# ======= Strip binaries =======
@( cd $(FINDUTILS_PKG) ; \
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
)
@touch $@
$(FINDUTILS_PKG_DESCRIPTION_FILE): $(FINDUTILS_PKG_DESCRIPTION_FILE_IN)
@cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
$(pkg_certificate) : $(pkg_archive) ;
$(pkg_signature) : $(pkg_archive) ;
$(pkg_description) : $(pkg_archive) ;
$(pkg_archive): $(install_target) $(FINDUTILS_PKG_DESCRIPTION_FILE) $(FINDUTILS_PKG_INSTALL_SCRIPT)
@cp $(FINDUTILS_PKG_DESCRIPTION_FILE) $(FINDUTILS_PKG)/.DESCRIPTION
@cp $(FINDUTILS_PKG_INSTALL_SCRIPT) $(FINDUTILS_PKG)/.INSTALL
@$(BUILD_PKG_REQUIRES) $(FINDUTILS_PKG)/.REQUIRES
@echo "pkgname=$(FINDUTILS_PKG_NAME)" > $(FINDUTILS_PKG)/.PKGINFO ; \
echo "pkgver=$(FINDUTILS_PKG_VERSION)" >> $(FINDUTILS_PKG)/.PKGINFO ; \
echo "arch=$(FINDUTILS_PKG_ARCH)" >> $(FINDUTILS_PKG)/.PKGINFO ; \
echo "distroname=$(FINDUTILS_PKG_DISTRO_NAME)" >> $(FINDUTILS_PKG)/.PKGINFO ; \
echo "distrover=$(FINDUTILS_PKG_DISTRO_VERSION)" >> $(FINDUTILS_PKG)/.PKGINFO ; \
echo "group=$(FINDUTILS_PKG_GROUP)" >> $(FINDUTILS_PKG)/.PKGINFO ; \
echo "short_description=\"$(FINDUTILS_PKG_SHORT_DESCRIPTION)\"" >> $(FINDUTILS_PKG)/.PKGINFO ; \
echo "url=$(FINDUTILS_PKG_URL)" >> $(FINDUTILS_PKG)/.PKGINFO ; \
echo "license=$(FINDUTILS_PKG_LICENSE)" >> $(FINDUTILS_PKG)/.PKGINFO
@$(PSEUDO) sh -c "cd $(FINDUTILS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
../../../sources/GNU/findutils/patches/findutils-4.4.2-no-locate.patch -p0
../../../sources/GNU/findutils/patches/findutils-4.4.2-no-defopt-warn.patch -p0
../../../sources/GNU/findutils/patches/findutils-4.6.0-no-locate.patch -p0
../../../sources/GNU/findutils/patches/findutils-4.6.0-no-defopt-warn.patch -p0
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
findutils: findutils @VERSION@ (utilities to locate files)
findutils:
findutils: This package contains the GNU find and xargs programs. The find
findutils: and xargs implementations comply with POSIX 1003.2. They also
findutils: support some additional options, some borrowed from Unix and some
findutils: unique to GNU.
findutils:
findutils:
findutils:
findutils:
findutils:
......@@ -59,9 +59,9 @@ endif
# ======= __END_OF_REQUIRES__ =======
version = 4.6.0
tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/findutils/findutils-$(version).tar.gz
SRC_ARCHIVE = $(tar_gz_archive)
version = 4.7.0
tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/findutils/findutils-$(version).tar.xz
SRC_ARCHIVE = $(tar_xz_archive)
SRC_DIR = $(TARGET_BUILD_DIR)/findutils-$(version)
src_dir_name = findutils-$(version)
src_done = $(TARGET_BUILD_DIR)/.source_done
......@@ -81,7 +81,7 @@ PKG_GROUP = app
# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
#
FINDUTILS_PKG_NAME = findutils
FINDUTILS_PKG_VERSION = 4.6.0
FINDUTILS_PKG_VERSION = 4.7.0
FINDUTILS_PKG_ARCH = $(TOOLCHAIN)
FINDUTILS_PKG_DISTRO_NAME = $(DISTRO_NAME)
FINDUTILS_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
......@@ -125,15 +125,13 @@ extra_configure_switches += --mandir=/usr/share/man
extra_configure_switches += --disable-dependency-tracking
extra_configure_switches += --disable-rpath
# http://savannah.gnu.org/bugs/?27299
extra_configure_switches += gl_cv_func_wcwidth_works=yes
####### Dependencies
$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
$(UNPACK_SRC_ARCHIVE)
$(APPLY_PATCHES)
@( cd $(SRC_DIR) ; autoreconf -vif )
@touch $@
$(build_target): $(src_done)
......@@ -144,8 +142,6 @@ $(build_target): $(src_done)
--build=$(BUILD) \
--host=$(TARGET) \
$(extra_configure_switches)
# ======= don't build locate, but the docs want a file in there: =======
@cd $(build_dir) && $(MAKE) -C locate dblocation.texi
@cd $(build_dir) && $(BUILD_ENVIRONMENT) $(environment) $(MAKE)
@touch $@
......
../../../sources/GNU/findutils/patches/findutils-4.7.0-no-locate.patch -p0
../../../sources/GNU/findutils/patches/findutils-4.7.0-no-defopt-warn.patch -p0
#!/bin/sh
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
pre_update() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_update() {
post_install
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
/bin/true
}
operation=$1
shift
$operation $*
......@@ -50,18 +50,14 @@ include ../../../build-system/constants.mk
SOURCE_REQUIRES = sources/GNU/sed
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
REQUIRES = dev/gcc/6.5.0
else
REQUIRES = libs/glibc/2.28
endif
REQUIRES = app/acl/2.2.53
# ======= __END_OF_REQUIRES__ =======
version = 4.2.2
tar_bz2_archive = $(SRC_PACKAGE_PATH)/GNU/sed/sed-$(version).tar.bz2
SRC_ARCHIVE = $(tar_bz2_archive)
version = 4.7
tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/sed/sed-$(version).tar.xz
SRC_ARCHIVE = $(tar_xz_archive)
SRC_DIR = $(TARGET_BUILD_DIR)/sed-$(version)
src_dir_name = sed-$(version)
src_done = $(TARGET_BUILD_DIR)/.source_done
......@@ -81,7 +77,7 @@ PKG_GROUP = app
# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
#
SED_PKG_NAME = sed
SED_PKG_VERSION = 4.2.2
SED_PKG_VERSION = 4.7
SED_PKG_ARCH = $(TOOLCHAIN)
SED_PKG_DISTRO_NAME = $(DISTRO_NAME)
SED_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
......
......@@ -21,7 +21,21 @@ pre_install() {
# arg 1: the new package version
post_install() {
/bin/true
#
# NOTE:
# 'install-info' can work using relative paths and we can make use build machine
# utility during installation to the some partition and use target 'install-info'
# during installation directly on the running target machine.
#
if [ -x /usr/bin/install-info ] ; then
install-info --info-dir=usr/share/info usr/share/info/sed.info.gz 2>/dev/null
elif ! grep "(sed)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
cat << EOF >> usr/share/info/dir
Text creation and manipulation
* sed: (sed). Stream EDitor.
EOF
fi
}
# arg 1: the new package version
......@@ -38,7 +52,9 @@ post_update() {
# arg 1: the old package version
pre_remove() {
/bin/true
if [ -x /usr/bin/install-info ] ; then
install-info --delete --info-file=usr/share/info/sed.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
fi
}
# arg 1: the old package version
......
......@@ -52,9 +52,9 @@ SOURCE_REQUIRES = sources/GNU/texinfo
REQUIRES = libs/ncurses/6.1
REQUIRES += app/gzip/1.10
REQUIRES += app/findutils/4.6.0
REQUIRES += app/findutils/4.7.0
REQUIRES += app/bash/4.3
REQUIRES += app/sed/4.2.2
REQUIRES += app/sed/4.7
REQUIRES += dev/perl/5.22.1
# ======= __END_OF_REQUIRES__ =======
......
......@@ -52,7 +52,7 @@ SOURCE_REQUIRES = sources/packages/a/linuxdoc-tools/sgml-common
REQUIRES = app/bash/4.3
REQUIRES += app/grep/2.18
REQUIRES += app/sed/4.2.2
REQUIRES += app/sed/4.7
# ======= __END_OF_REQUIRES__ =======
......
......@@ -7,17 +7,15 @@ include ../../../build-system/constants.mk
url = $(DOWNLOAD_SERVER)/sources/GNU/findutils
versions = 4.4.2 4.6.0
versions = 4.7.0
pkgname = findutils
suffix = tar.gz
suffix = tar.xz
tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
sha1s = $(addsuffix .sha1sum, $(tarballs))
patches = $(CURDIR)/patches/findutils-4.4.2-no-defopt-warn.patch
patches += $(CURDIR)/patches/findutils-4.4.2-no-locate.patch
patches += $(CURDIR)/patches/findutils-4.6.0-no-defopt-warn.patch
patches += $(CURDIR)/patches/findutils-4.6.0-no-locate.patch
patches = $(CURDIR)/patches/findutils-4.7.0-no-defopt-warn.patch
patches += $(CURDIR)/patches/findutils-4.7.0-no-locate.patch
.NOTPARALLEL: $(patches)
......@@ -52,10 +50,8 @@ $(sha1s): $(tarballs)
$(patches): $(sha1s)
@echo -e "\n======= Create Patches =======\n" ; \
( cd create-4.4.2-no-defopt-warn-patch ; ./create.patch.sh ) ; \
( cd create-4.4.2-no-locate-patch ; ./create.patch.sh ) ; \
( cd create-4.6.0-no-defopt-warn-patch ; ./create.patch.sh ) ; \
( cd create-4.6.0-no-locate-patch ; ./create.patch.sh ) ; \
( cd create-4.7.0-no-defopt-warn-patch ; ./create.patch.sh ) ; \
( cd create-4.7.0-no-locate-patch ; ./create.patch.sh ) ; \
echo -e "\n"
download_clean:
......
findutils-4.4.2/Makefile.am
findutils-4.4.2/Makefile.in
AUTOMAKE_OPTIONS=gnits
# readme-alpha
EXTRA_DIST = COPYING ChangeLog TODO config.h.in stamp-h.in \
THANKS import-gnulib.sh import-gnulib.config \
tool-versions.txt README-hacking
DISTCLEANFILES = tool-versions.txt
# "tests" is the gnulib unit test dir.
SUBDIRS = gnulib tests build-aux lib find xargs doc po m4
ACLOCAL_AMFLAGS = -I gnulib/m4 -I m4
TESTFILE_SUFFIXES = .exp .xo .xe .xi
# CONFIG_CLEAN_FILES = gnulib/lib/regex.c
tool-versions.txt: Makefile
( automake --version ; echo ; \
autoconf --version ; echo ; \
$(CC) --version ; echo ; \
m4 --version ; echo ; \
gettext --version ; echo ; \
runtest --version ; echo ; \
makeinfo --version ) > $@
dist-hook: jy-regex-fix findutils-check-pofiles findutils-check-testfiles
## regex.c seems to get left out if I use automake-1.9 but not
## if I use automake-1.7. Hence dist-hook has to be able to
## copy regex.c into the relevant (read-only) directory if it
## is not already there, but needs to avoid doing so if the
## file is already in place. Ugh.
##
## This problem appears not to apply to Automake-1.10, but since
## gnulib only requires Automake-1.9.6, we should support that.
## Therefore we probably can't remove this kludge yet.
##
## -- James Youngman <jay@gnu.org>
##
jy-regex-fix:
if test -f $(distdir)/gnulib/lib/regex.c ; then \
echo regex.c is already in place. Great. ; \
else \
echo Making $(distdir)/gnulib/lib writable ... ; \
chmod +w $(distdir)/gnulib/lib ; \
echo Copying $(srcdir)/gnulib/lib/regex.c to $(distdir)/gnulib/lib ; \
cp $(srcdir)/gnulib/lib/regex.c $(distdir)/gnulib/lib/regex.c ; \
fi
# ls -ld $(srcdir)/gnulib/lib/regex.c $(distdir)/gnulib/lib
## Check that we actually shipped all the .po files. If this rule fails,
## check ALL_LINGUAS in configure.in against the po files in the source
## directory (their names, not their contents)
findutils-check-pofiles:
@echo ; echo Checking to see if we distributed the full set of .po files
distcount=`ls $(distdir)/po/*.po | wc -l` ; srccount=`ls $(srcdir)/po/*.po | wc -l` ; test $$distcount -eq $$srccount || ( echo FAILED: Please check the value of ALL_LINGUAS in configure.in against the actual set of ".po" files >&2 ; false )
@echo All .po files distributed OK.
## Check that we actually shipped all the test files that exist in the source.
## runtest will run all the .exp files it finds, and so if we don't ship all
## of them, there will be some tests which people using the CVS code will be
## running, but people using the source distribution will not.
findutils-check-testfiles:
@echo
$(AUXDIR)/check-testfiles.sh "$(distdir)" "$(srcdir)" $(TESTFILE_SUFFIXES)
findutils-check-smells:
find $(srcdir) \( -path $(srcdir)/autom4te.cache -o \
-path $(srcdir)/gnulib-git -o \
-name .git -o \
\( -type d -name CVS \) \
\) -prune -o \
\( -type f -o -type l \) \
\! \( -name '*~' -o -name '*.xo' -o -name '*.xi' \) \
-print0 | \
xargs -0 python $(AUXDIR)/src-sniff.py
#!/bin/sh
VERSION=4.6.0
tar --files-from=file.list -xzvf ../findutils-$VERSION.tar.gz
mv findutils-$VERSION findutils-$VERSION-orig
cp -rf ./findutils-$VERSION-new ./findutils-$VERSION
diff -b --unified -Nr findutils-$VERSION-orig findutils-$VERSION > findutils-$VERSION-no-defopt-warn.patch
mv findutils-$VERSION-no-defopt-warn.patch ../patches
rm -rf ./findutils-$VERSION
rm -rf ./findutils-$VERSION-orig
#!/bin/sh
VERSION=4.6.0
tar --files-from=file.list -xzvf ../findutils-$VERSION.tar.gz
mv findutils-$VERSION findutils-$VERSION-orig
cp -rf ./findutils-$VERSION-new ./findutils-$VERSION
diff -b --unified -Nr findutils-$VERSION-orig findutils-$VERSION > findutils-$VERSION-no-locate.patch
mv findutils-$VERSION-no-locate.patch ../patches
rm -rf ./findutils-$VERSION
rm -rf ./findutils-$VERSION-orig
findutils-4.6.0/Makefile.am
findutils-4.6.0/Makefile.in
#!/bin/sh
VERSION=4.4.2
VERSION=4.7.0
tar --files-from=file.list -xzvf ../findutils-$VERSION.tar.gz
tar --files-from=file.list -xJvf ../findutils-$VERSION.tar.xz
mv findutils-$VERSION findutils-$VERSION-orig
cp -rf ./findutils-$VERSION-new ./findutils-$VERSION
......
#!/bin/sh
VERSION=4.4.2
VERSION=4.7.0
tar --files-from=file.list -xzvf ../findutils-$VERSION.tar.gz
tar --files-from=file.list -xJvf ../findutils-$VERSION.tar.xz
mv findutils-$VERSION findutils-$VERSION-orig
cp -rf ./findutils-$VERSION-new ./findutils-$VERSION
......
findutils-4.7.0/Makefile.am
findutils-4.7.0/Makefile.in
findutils-4.7.0/configure.ac
findutils-4.7.0/doc/Makefile.am
findutils-4.7.0/doc/find.texi
AUTOMAKE_OPTIONS=gnits
# readme-alpha
# Make findutils.
# Copyright (C) 1996-2019 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
AUTOMAKE_OPTIONS = gnu std-options readme-alpha
AM_CFLAGS = $(WARN_CFLAGS)
EXTRA_DIST = COPYING ChangeLog ChangeLog-2013 TODO config.h.in stamp-h.in \
THANKS bootstrap \
tool-versions.txt README-hacking
EXTRA_DIST = \
COPYING \
ChangeLog \
README-hacking \
THANKS \
TODO \
build-aux/git-version-gen \
config.h.in \
stamp-h.in \
tests/GNUmakefile \
tool-versions.txt
DISTCLEANFILES = tool-versions.txt
# "tests" is the gnulib unit test dir.
SUBDIRS = gl tests build-aux lib find xargs doc po m4
# "gnulib-tests" is the gnulib unit test dir.
SUBDIRS = gl build-aux lib find xargs doc po m4 gnulib-tests
ALL_RECURSIVE_TARGETS =
ACLOCAL_AMFLAGS = -I gl/m4 -I m4
......@@ -24,8 +52,9 @@ tool-versions.txt: Makefile
runtest --version ; echo ; \
makeinfo --version ) > $@
dist-hook: gen-ChangeLog findutils-check-pofiles findutils-check-testfiles
# Have .tarball-version based versions only in tarball builds.
dist-hook: gen-ChangeLog findutils-check-testfiles
$(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
# gen-Changelog must still work when $(top_srcdir)/.git does not exist
# because "make distcheck" verifies that you can "make dist" from the
......@@ -33,16 +62,7 @@ dist-hook: gen-ChangeLog findutils-check-pofiles findutils-check-testfiles
.PHONY: gen-ChangeLog
gen-ChangeLog:
$(AM_V_GEN)if test -d $(top_srcdir)/.git; then \
gen_start_date='2014-01-01' ; \
log_fix="$(top_srcdir)/build-aux/git-log-fix" ; \
test -e "$$log_fix" \
&& amend_git_log="--amend=$$log_fix" \
|| amend_git_log=; \
{ $(top_srcdir)/build-aux/gitlog-to-changelog \
--srcdir=$(top_srcdir) \
$$amend_git_log --since=$$gen_start_date \
&& cat $(top_srcdir)/ChangeLog-2013 ; \
} > $(distdir)/cl-t \
$(AUXDIR)/gen-changelog.sh $(top_srcdir) > $(distdir)/cl-t \
&& { rm -f $(distdir)/ChangeLog \
&& mv $(distdir)/cl-t $(distdir)/ChangeLog; } \
else \
......@@ -50,14 +70,6 @@ gen-ChangeLog:
echo "$(top_srcdir) has no .git subdirectory" >&2 ; \
fi
## Check that we actually shipped all the .po files. If this rule fails,
## check ALL_LINGUAS in configure.in against the po files in the source
## directory (their names, not their contents)
findutils-check-pofiles: