~rattab/autoconf-upstream

775048747092fe28196d7b0e12d6cf3a995ef54c — Zack Weinberg 3 years ago d2a29bb
Add pull logic for Alpine and CentOS.
3 files changed, 36 insertions(+), 8 deletions(-)

M .gitignore
M list.log
M pull.sh
M .gitignore => .gitignore +2 -0
@@ 9,3 9,5 @@ openbsd/
freebsd/
netbsd/
gentoo/
alpine/
centos/

M list.log => list.log +10 -7
@@ 1,9 1,12 @@
./alpine/autoconf-2.69-backport-runstatedir.patch
./alpine/autoconf-2.69-fix-perl-regex.patch
./arch/0001-autoconf-2.69-perl-5.22-autoscan.patch
./arch/0002-autoconf-2.69-perl-5.28.patch
./arch/0003-autoconf-2.69-libtool-compatibility.patch
./arch/0004-Port-tests-to-Bash-5.patch
./debian/add-runstatedir.patch
./centos/autoconf-2.69-perl-5.22-autoscan.patch
./debian/AM_PROG_LIBTOOL.patch
./debian/add-runstatedir.patch
./debian/atomic.patch
./debian/avoid-undefined-behavior-for-32bit-off_t.patch
./debian/mmap-leak-fix.patch


@@ 14,8 17,8 @@
./fedora/autoconf-2.69-perl-5.22-autoscan.patch
./freebsd/patch-bin-autoscan.in
./freebsd/patch-bison
./freebsd/patch-doc_autoconf.texi
./freebsd/patch-doc-Makefile.in
./freebsd/patch-doc_autoconf.texi
./gentoo/autoconf-2.13-destdir.patch
./gentoo/autoconf-2.13-gentoo.patch
./gentoo/autoconf-2.13-perl-5.26.patch


@@ 40,22 43,22 @@
./oe/preferbash.patch
./oe/program_prefix.patch
./oe/remove-usr-local-lib-from-m4.patch
./openbsd/patch-Makefile_in
./openbsd/patch-bin_autom4te_in
./openbsd/patch-bin_autoupdate_in
./openbsd/patch-configure
./openbsd/patch-doc_autoconf_texi
./openbsd/patch-doc_Makefile_in
./openbsd/patch-doc_autoconf_texi
./openbsd/patch-lib_autoconf_Makefile_in
./openbsd/patch-lib_autotest_Makefile_in
./openbsd/patch-lib_m4sugar_m4sugar_m4
./openbsd/patch-lib_m4sugar_Makefile_in
./openbsd/patch-Makefile_in
./openbsd/patch-lib_m4sugar_m4sugar_m4
./openbsd/patch-tests_Makefile_in
./openbsd/patch-tests_c_at
./openbsd/patch-tests_local_at
./openbsd/patch-tests_Makefile_in
./openbsd/patch-tests_tools_at
./ubuntu/add-runstatedir.patch
./ubuntu/AM_PROG_LIBTOOL.patch
./ubuntu/add-runstatedir.patch
./ubuntu/atomic.patch
./ubuntu/avoid-undefined-behavior-for-32bit-off_t.patch
./ubuntu/mmap-leak-fix.patch

M pull.sh => pull.sh +24 -1
@@ 14,6 14,8 @@ repos=(
    freebsd
    netbsd
    gentoo
    centos
    alpine
)

# Debian


@@ 167,6 169,27 @@ function gentoo() {
    cp gentoo/git/sys-devel/autoconf/files/*.patch gentoo/
}

# CentOS
#
# URL:
# - https://git.centos.org/rpms/autoconf.git
function centos() {
    mkdir centos
    git clone https://git.centos.org/rpms/autoconf.git \
        --depth=1 --branch c8 centos/git
    cp centos/git/SOURCES/*.patch centos/
}

# Alpine
#
# URL:
# - https://git.alpinelinux.org/aports/
function alpine() {
    mkdir alpine
    git clone https://git.alpinelinux.org/aports --depth=1 alpine/git
    cp alpine/git/main/autoconf/*.patch alpine/
}


# GNU
#


@@ 184,7 207,7 @@ function main() {
        fi
    done

    ls ./*/*.patch ./*/patch-* > list.log
    LC_ALL=C ls -1 ./*/*.patch ./*/patch-* > list.log
}

main