SHA256
1
0
forked from pool/autoconf

Accepting request 1147797 from devel:tools:building

OBS-URL: https://build.opensuse.org/request/show/1147797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/autoconf?expand=0&rev=41
This commit is contained in:
Ana Guerrero 2024-03-28 12:51:54 +00:00 committed by Git OBS Bridge
commit 5087af9334
9 changed files with 139 additions and 68 deletions

BIN
autoconf-2.71.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEgvhU885zF0uLYxdAkfzDK2dpqmQFAmATPzIACgkQkfzDK2dp
qmSrUw//Z0ncEs8SD3qn2+QYUzo5dMZ4BJi/8h9LSlRZnp+OhVqtWgCQhiW/cTaa
UXKRca7JMRTreqMhgLkRE12cEvTIUlfl1QiOluNBq1YzNeG1JMIFEVxi8JiBzCqd
s7cEgIUB0ZhhEtBAAF0ABBDJraaTYJGUxLpvzOltdiRODn6ic9XZdUga7ouWgwLM
5o78OzYXbYz2CP6DrOsfntNol4Fx2gH8hOADWOlUEzCc/580twsm2xMTu8q6+win
yIxTC5yDJdXZnP6JIFD2rrg1tfFkTom2sMVC3feFjrgRqyA4Jcyf8WpmRnC21PzD
NhEO4aejgEmkKCIDudT62vzOhPGZrKPlPA+rMcYX3Jx1rCbozAbIcsGj6mD8q75g
7BYtwJQjKLH2b4pJ0Xl6l4bVnN2o82zdWY5cHE9TI+l5ntU9yooNKlh1IAz3WFwR
PCGd0F/JIXNjBbMzqtjyzYYvlSRDvS+aLg8S+PK/wXbZBEjQOjEI+m1YyOL2N7qM
UiM04x5BNCWG672qg38NISIHJvmBdgCHiwnVLpfstQPw+Y4L8YyMZyrbj3Mtmomo
Woa9oXvv1lVT4W2PleJQ71fq8QpuW+xbM9IXdWoMp1lCEZQ0doJcTFvEhwpW3tca
oEzNdgMghMDB9TFsiTpP1YoOyvAVhRtxWgO1j9pSi3JWQZ3AjKs=
=y3Hc
-----END PGP SIGNATURE-----

BIN
autoconf-2.72.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

16
autoconf-2.72.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEgvhU885zF0uLYxdAkfzDK2dpqmQFAmWF39EACgkQkfzDK2dp
qmRSsQ//aJeoMyBhRHJxL42L3TGh/eDKHdXXdKRthaKcqMIMCUBqbSWFZy8FKSmN
U1FMpHp45EzLeurZtfQo3673bfYB1EUz/KOZSGFOJO6sPTLQ95Utkbmf0i+pGevp
xCGiDz1E3smTV41TD98rrF6t/GYUI+zTFh2NfkE1zbInQlFpNeXPvFOlmd7IJBAY
rSmqpHeCM7JB3MRZuwij9X6A293RGIzWcHbqY2BVRjWAe7osm/RXvm1yHokPAtdP
Y6o8wcImYtBItDAa9nDVkEP5fSOfB67ojtZnuz3Kk8k5nRRkFy/kEy3Y+zlfcQiO
nH8NtyGlrpMRwi9aQgD/m0b39N4Jc+Pbo4WU/ap8J2bjul6yduhAp6HkCW9iZX2z
xL0cuvMBjyonWRUEt53nhBjJ7YANhLTI0A4Lh4PgvRq6Y5/4Br/wrEitI9wtKJbR
LjtUYAY0CPNt8oHUQ29OBKdhO4lfi4KKYe3m4Q74v0xScQlVBNF0lLKddIgT4NyB
4QhwG7spGCvGD79NfQHKKeVSyWckNv+0GSSPKEMgBu1z1G2EnYPixJzrlo5w2mHm
LTCdj/ol7eiO2PZHQ9LRq+U9fYql4VBSCiBOLucOd5aciOaYwTQg+nvOPv+RWfSC
MXlf1nypXonF/xFaVfDkKrpDrA9Aft+bjgerWn+7mvj2FRIimu4=
=y9ft
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Tue Feb 20 10:21:03 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Tue Feb 13 09:22:52 UTC 2024 - Valentin Lefebvre <valentin.lefebvre@suse.com>
- Re-add patch (bsc#1219035)
* [autoreconf-ltdl.diff]
- Remove test with macro LARGEFILE and YEAR2038, broken for i586 arch. see
https://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS#n194 (bsc#1219035)
* [remove-largefile-test.patch]
-------------------------------------------------------------------
Sun Dec 24 08:49:46 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Use autosetup
-------------------------------------------------------------------
Sat Dec 23 12:42:24 UTC 2023 - Christoph G <foss@grueninger.de>
- update to version 2.72
* Support for ensuring time_t is Y2038-safe
configure can now ensure that time_t can represent moments in time
after 18 January 2038, i.e. 2**31 - 1 seconds after the Unix epoch.
On most 64-bit systems this is true by default; the new feature
is detection of systems where time_t is a 32-bit signed integer by
default, *and* there is an alternative mode in which it is larger,
in which case that mode will be enabled.
* AC_USE_SYSTEM_EXTENSIONS now enables C23 Annex F extensions
by defining __STDC_WANT_IEC_60559_EXT__.
* Configure scripts no longer support pre-1989 C compilers.
* Autoconf developers now need Perl 5.10 (2007) or later.
* Autoconf users now need GNU M4 1.4.8 (2006) or later.
* Some m4sh diversions have been renumbered.
* AC_FUNC_GETGROUPS and AC_TYPE_GETGROUPS no longer run test programs.
* All internal uses of AC_EGREP_CPP and AC_EGREP_HEADER have been removed.
- Update dependencies as recommendd to m4 1.4.16, Perl 5.10
- Drop patch autoreconf-ltdl.diff as similar code is part of upstream
- Drop patch fix-testsuite-failures-with-bash-5.2.patch, it is
part of upstream
-------------------------------------------------------------------
Thu Oct 27 15:25:30 UTC 2022 - Valentin Lefebvre <valentin.lefebvre@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
# spec file for package autoconf
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@
%global psuffix %{nil}
%endif
Name: autoconf%{?psuffix}
Version: 2.71
Version: 2.72
Release: 0
Summary: A GNU Tool for Automatically Configuring Source Code
License: GPL-3.0-or-later
@ -34,14 +34,15 @@ Source0: https://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz
Source1: https://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz.sig
Source9: autoconf.keyring
Patch0: autoreconf-ltdl.diff
Patch1: fix-testsuite-failures-with-bash-5.2.patch
# Upstream's Known bug: see https://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS#n194
Patch1: remove-largefile-test.patch
BuildRequires: help2man
BuildRequires: m4 >= 1.4.6
BuildRequires: m4 >= 1.4.16
BuildArch: noarch
%if "%{name}" == "autoconf"
Requires: info
Requires: m4 >= 1.4.6
Requires: perl-base >= 5.6
Requires: m4 >= 1.4.16
Requires: perl-base >= 5.10
%endif
%if "%{name}" == "autoconf-testsuite"
BuildRequires: gcc-c++
@ -68,8 +69,10 @@ only required for the generation of the scripts, not their use.
%prep
%setup -q -n autoconf-%{version}
%patch0
%patch1 -p1
%patch -P 0 -p1
%if "%_arch" == "i386"
%patch -P 1 -p1
%endif
%build
%configure

View File

@ -1,7 +1,6 @@
Index: bin/autoreconf.in
===================================================================
--- bin/autoreconf.in.orig
+++ bin/autoreconf.in
diff -Pdpru autoconf-2.72/bin/autoreconf.in autoconf-2.72-new/bin/autoreconf.in
--- autoconf-2.72/bin/autoreconf.in 2023-12-19 22:13:19.000000000 +0100
+++ autoconf-2.72-new/bin/autoreconf.in 2024-02-19 11:01:32.513106786 +0100
@@ -595,6 +595,8 @@ sub autoreconf_current_directory ($)
'AC_CONFIG_AUX_DIR',
'AC_CONFIG_HEADERS',

View File

@ -1,36 +0,0 @@
--- autoconf-2.71/tests/local.at 2021-01-28 21:46:48.000000000 +0100
+++ autoconf-2.71-new/tests/local.at 2022-10-27 16:36:24.604217375 +0200
@@ -352,7 +352,7 @@ m4_define([AT_CHECK_CONFIGURE],
# - AC_SUBST'ed variables
# (FIXME: Generate a list of these automatically.)
# - _|@|.[*#?$].|argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS
-# |START_TIME|ToD|_AST_FEATURES
+# |SHLVL|START_TIME|ToD|_AST_FEATURES
# Some variables some shells use and change.
# `.[*#?$].' catches `$#' etc. which are displayed like this:
# | '!'=18186
@@ -403,7 +403,7 @@ if test -f state-env.before && test -f s
[GREP|[EF]GREP|SED],
[[_@]|.[*@%:@?$].],
[argv|ARGC|LINENO|BASH_ARGC|BASH_ARGV|OLDPWD|PIPESTATUS|RANDOM],
- [SECONDS|START_TIME|ToD|_AST_FEATURES]))=' \
+ [SECONDS|SHLVL|START_TIME|ToD|_AST_FEATURES]))=' \
$act_file ||
test $? -eq 1 || echo failed >&2
) 2>stderr-$act_file |
@@ -434,6 +434,7 @@ fi
# - PPID [bash, zsh]
# - RANDOM [bash, zsh]
# - SECONDS [bash, zsh]
+# - SHLVL [bash]
# - START_TIME [NetBSD sh]
# - ToD [NetBSD sh]
# - '$' [zsh]
@@ -481,6 +482,7 @@ do
/^PPID=/ d
/^RANDOM=/ d
/^SECONDS=/ d
+ /^SHLVL=/ d
/^START_TIME=/ d
/^ToD=/ d
/'\'\\\$\''=/ d

View File

@ -0,0 +1,62 @@
diff -Ppdru autoconf-2.72/tests/semantics.at autoconf-2.72-new/tests/semantics.at
--- autoconf-2.72/tests/semantics.at 2024-02-19 11:10:24.680204892 +0100
+++ autoconf-2.72-new/tests/semantics.at 2024-02-19 18:30:59.290253324 +0100
@@ -901,58 +901,6 @@ AT_CHECK_DEFINES(
AT_CLEANUP
-## -------------------------------------------------------------------- ##
-## AC_SYS_LARGEFILE, AC_SYS_YEAR2038, and AC_SYS_YEAR2038_RECOMMENDED. ##
-## -------------------------------------------------------------------- ##
-
-AT_CHECK_MACRO([AC_SYS_LARGEFILE], [],
-[AT_CHECK([./configure --help |
- $EGREP -e '-(dis|en)able-(largefile|year2038)\>'],
- [0],
-[ --disable-largefile omit support for large files
- --enable-year2038 support timestamps after 2038
-],
-[])])
-
-AT_CHECK_MACRO([AC_SYS_YEAR2038], [],
-[AT_CHECK([./configure --help |
- $EGREP -e '-(dis|en)able-(largefile|year2038)\>'],
- [0],
-[ --disable-largefile omit support for large files
- --disable-year2038 don't support timestamps after 2038
-],
-[])])
-
-AT_CHECK_MACRO([AC_SYS_YEAR2038_RECOMMENDED], [],
-[AT_CHECK([./configure --help |
- $EGREP -e '-(dis|en)able-(largefile|year2038)\>'],
- [0],
-[ --disable-largefile omit support for large files
- --disable-year2038 don't support timestamps after 2038
-],
-[])],
-[], [],
-[dnl Skip this test on systems that do not support 64-bit time_t at
-dnl all. AC_SYS_YEAR2038_RECOMMENDED will make configure fail on
-dnl those systems. I'd like to make this be a test that it *does*
-dnl make configure fail on those systems, but that would require
-dnl adding features to AT_CHECK_MACRO.
-AT_DATA([configure.ac],
-[[AC_INIT
-AC_PROG_CC
-AC_SYS_YEAR2038
-AC_COMPUTE_INT([sizeof_time_t], [sizeof(time_t)],
- [@%:@include <time.h>],
- [sizeof_time_t=0])
-AS@&t@_IF([test $sizeof_time_t -lt 8],
- [AC_MSG_FAILURE([could not widen time_t])])
-AC_OUTPUT
-]])
-AT_CHECK_AUTOCONF
-AT_CAPTURE_FILE([config.log])
-AT_CHECK([./configure $configure_options || exit 77], [0], [ignore], [])
-])
-
## ------------------------------- ##
## Obsolete non-updatable macros. ##
## ------------------------------- ##