Re: Please update bvi to 1.4.2

2024-02-20 Thread Marco Atzeri via Cygwin-apps

On 21/02/2024 06:46, Takashi Yano via Cygwin-apps wrote:

On Wed, 21 Feb 2024 06:39:18 +0100
Marco Atzeri wrote:



Current cygwin bvi package is 1.3.2 (release date 2004-02-14).
However, the latest stable version is 1.4.2 (release date 2023-03-07).

Could maitainer please update the package?


What can we do for this case? i.e. the maintainer exists but
not active enough?


do you want to join as co-maintainer ?


For bvi package? Yes.



-bvi  Jari Aalto
+bvi  Jari Aalto/Takashi Yano

Thanks
Marco



Re: Please update bvi to 1.4.2

2024-02-20 Thread Takashi Yano via Cygwin-apps
On Wed, 21 Feb 2024 06:39:18 +0100
Marco Atzeri wrote:
> On 21/02/2024 00:26, Takashi Yano via Cygwin-apps wrote:
> > On Thu, 18 Jan 2024 17:24:41 +0900
> > Takashi Yano wrote:
> >> Jari?
> >>
> >> On Sat, 23 Dec 2023 05:01:19 +0100
> >> Marco Atzeri  wrote:
> >>> On 23/12/2023 04:45, Takashi Yano via Cygwin-apps wrote:
> >>> +Jari
> >>> Are you still with us ?
> >>>
>  Jari?
>  Ping.
> 
>  On Thu, 14 Dec 2023 20:50:01 +0900
>  Takashi Yano via Cygwin-apps  wrote:
> > Hi,
> >
> > Current cygwin bvi package is 1.3.2 (release date 2004-02-14).
> > However, the latest stable version is 1.4.2 (release date 2023-03-07).
> >
> > Could maitainer please update the package?
> > 
> > What can we do for this case? i.e. the maintainer exists but
> > not active enough?
> 
> do you want to join as co-maintainer ?

For bvi package? Yes.

-- 
Takashi Yano 


Re: Please update bvi to 1.4.2

2024-02-20 Thread Marco Atzeri via Cygwin-apps

On 21/02/2024 00:26, Takashi Yano via Cygwin-apps wrote:

On Thu, 18 Jan 2024 17:24:41 +0900
Takashi Yano wrote:

Jari?

On Sat, 23 Dec 2023 05:01:19 +0100
Marco Atzeri  wrote:

On 23/12/2023 04:45, Takashi Yano via Cygwin-apps wrote:
+Jari
Are you still with us ?


Jari?
Ping.

On Thu, 14 Dec 2023 20:50:01 +0900
Takashi Yano via Cygwin-apps  wrote:

Hi,

Current cygwin bvi package is 1.3.2 (release date 2004-02-14).
However, the latest stable version is 1.4.2 (release date 2023-03-07).

Could maitainer please update the package?


What can we do for this case? i.e. the maintainer exists but
not active enough?



do you want to join as co-maintainer ?


Re: Please update bvi to 1.4.2

2024-02-20 Thread Takashi Yano via Cygwin-apps
On Thu, 18 Jan 2024 17:24:41 +0900
Takashi Yano wrote:
> Jari?
> 
> On Sat, 23 Dec 2023 05:01:19 +0100
> Marco Atzeri  wrote:
> > On 23/12/2023 04:45, Takashi Yano via Cygwin-apps wrote:
> > +Jari
> > Are you still with us ?
> > 
> > > Jari?
> > > Ping.
> > > 
> > > On Thu, 14 Dec 2023 20:50:01 +0900
> > > Takashi Yano via Cygwin-apps  wrote:
> > >> Hi,
> > >>
> > >> Current cygwin bvi package is 1.3.2 (release date 2004-02-14).
> > >> However, the latest stable version is 1.4.2 (release date 2023-03-07).
> > >>
> > >> Could maitainer please update the package?

What can we do for this case? i.e. the maintainer exists but
not active enough?

-- 
Takashi Yano 


Re: [ITA] tdb

2024-02-20 Thread Marco Atzeri via Cygwin-apps

On 20/02/2024 15:54, Takashi Yano via Cygwin-apps wrote:

On Tue, 20 Feb 2024 19:41:00 +0900
Takashi Yano wrote:

I would like to adopt tdb package.


cygport file revised.



$ git diff |grep "^+"
+++ b/cygwin-pkg-maint
+db   Takashi Yano
+tdb  Takashi Yano





Re: [cygport] enabling a replacement for "objdump -d -l"

2024-02-20 Thread ASSI via Cygwin-apps
Marco Atzeri via Cygwin-apps writes:
> if works should not be the default ?

Let's start with interested parties giving it a spin, shall we?  ONce
configured into your .cygportrc it essentially is the default for all
your builds.

> Reducing that time is very interesting for the big stuff

That's the raison d'être…

Anyway, I still hope to wrap my head around how libbfd works and either
produce a standalone executable or objdump sub-command that implements
the same functionality (probably sans the filtering).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


Re: [ITA] tdb

2024-02-20 Thread Takashi Yano via Cygwin-apps
On Tue, 20 Feb 2024 19:41:00 +0900
Takashi Yano wrote:
> I would like to adopt tdb package.

cygport file revised.

-- 
Takashi Yano 
--- origsrc/tdb-1.2.9/buildtools/wafsamba/samba_conftests.py2010-12-15 
04:46:16.0 -0600
+++ src/tdb-1.2.9/buildtools/wafsamba/samba_conftests.py2011-12-12 
01:30:34.239867900 -0600
@@ -247,7 +247,10 @@ def CHECK_LIBRARY_SUPPORT(conf, rpath=Fa
 # path for execution
 lastprog = o.link_task.outputs[0].abspath(env)
 
-if not rpath:
+if sys.platform == 'cygwin':
+os.putenv('PATH', os.path.join(bdir, 'default/libdir') + ':' + 
os.environ['PATH'])
+old_ld_library_path = None
+elif not rpath:
 if 'LD_LIBRARY_PATH' in os.environ:
 old_ld_library_path = os.environ['LD_LIBRARY_PATH']
 else:
--- origsrc/tdb-1.2.9/buildtools/wafsamba/samba_install.py  2010-12-20 
19:00:02.0 -0600
+++ src/tdb-1.2.9/buildtools/wafsamba/samba_install.py  2011-12-12 
04:54:36.377078100 -0600
@@ -159,6 +159,12 @@ def apply_vscript(self):
 self.version_script)
 self.version_script = None
 
+@feature('cshlib')
+def apply_implib(self):
+if self.env.DEST_BINFMT == 'pe':
+self.env.append_value('LINKFLAGS', "-Wl,--out-implib,lib%s.dll.a" %
+os.path.split(self.target)[1])
+
 
 ##
 # handle the creation of links for libraries and binaries in the build tree
inherit python3

NAME="tdb"
VERSION=1.4.10
RELEASE=1
LICENSE="LGPL-3.0-or-later"
CATEGORY="Database"
SUMMARY="Trivial Database"
DESCRIPTION="TDB is a Trivial Database. In concept, it is very much like GDBM,
and BSD's DB except that it allows multiple simultaneous writers and uses
locking internally to keep writers from trampling on each other. TDB is also
extremely small."
HOMEPAGE="http://tdb.samba.org/";
SRC_URI="http://www.samba.org/ftp/${NAME}/${NAME}-${VERSION}.tar.gz";
PATCH_URI="1.2.9-cygwin.patch"

PKG_NAMES="tdb libtdb1 libtdb-devel python39-tdb"
tdb_SUMMARY="${SUMMARY} utilities"
tdb_CONTENTS="usr/bin/tdb* usr/share/"
libtdb1_SUMMARY="${SUMMARY} library (runtime)"
libtdb1_CONTENTS="usr/bin/cygtdb-1.dll"
libtdb_devel_SUMMARY="${SUMMARY} library (development)"
libtdb_devel_CONTENTS="usr/include/ usr/lib/lib* usr/lib/pkgconfig/"
python39_tdb_CATEGORY="Python"
python39_tdb_SUMMARY="${SUMMARY} library (Python bindings)"
python39_tdb_CONTENTS="usr/lib/python3.9/site-packages/tdb.*"

src_compile() {
lndirs
cd ${B}
./configure --prefix=/usr \
--bundled-libraries=NONE --builtin-libraries=replace
cygmake
}

src_install() {
cd ${B}/bin/default
# tdbtorture is a test program not meant to be installed
dobin cygtdb-1.dll tdb{backup,dump,restore,tool}.exe
dolib libtdb.dll.a
doman man/*.8
doinclude ${B}/include/*.h
dopkgconfig tdb.pc
dopython3 python/tdb.cpython-3*.dll
}

DOCS="docs/README"


Re: [ITA] db

2024-02-20 Thread Takashi Yano via Cygwin-apps
On Tue, 20 Feb 2024 19:42:14 +0900
Takashi Yano via Cygwin-apps  wrote:
> I would like to adopt db package.

cygport file has been revised.

-- 
Takashi Yano 
--- origsrc/db-5.3.21/dist/aclocal/tcl.m4   2012-05-11 12:57:48.0 
-0500
+++ src/db-5.3.21/dist/aclocal/tcl.m4   2013-03-08 00:21:33.268494500 -0600
@@ -107,7 +107,7 @@ AC_DEFUN(SC_LOAD_TCLCONFIG, [
# given by the Tcl spec are insufficient for our use.  [#5779],[#17109]
#
case "$host_os" in
-   aix*)
+   aix*|cygwin*)
LIBTSO_LIBS="$LIBTSO_LIBS $TCL_LIB_SPEC $TCL_LIB_FLAG"
LIBTSO_LIBS="$LIBTSO_LIBS -L$TCL_EXEC_PREFIX/lib 
-ltcl$TCL_VERSION";;
esac
--- origsrc/db-18.1.40/dist/Makefile.in 2020-05-30 02:58:22.0 +0900
+++ src/db-18.1.40/dist/Makefile.in 2024-02-20 15:53:03.023929400 +0900
@@ -1299,8 +1299,8 @@ uninstall_utilities:
 
 # We install csharp docs even on UNIX so we don't have a 
 # broken link on the landing page.
-DOCLIST=api_reference articles bdb-sql collections csharp gsg \
-   gsg_db_rep gsg_db_server gsg_txn index.html installation \
+DOCLIST=api_reference articles collections csharp gsg \
+   gsg_db_rep gsg_txn index.html installation \
java license porting programmer_reference upgrading
 
 install_docs:
inherit tcl

NAME="db"
VERSION=18.1.40
RELEASE=1
LICENSE="AGPL-3.0-only"
CATEGORY="Database"
SUMMARY="Oracle Berkeley DB"
DESCRIPTION="Oracle Berkeley DB is the industry-leading open source, embeddable
database engine that provides developers with fast, reliable, local persistence
with zero administration. Oracle Berkeley DB is a library that links directly
into your application. Your application makes simple function calls, rather
than sending messages to a remote server, eliminating the performance penalty
of client-server architectures."
HOMEPAGE="https://www.oracle.com/database/technologies/related/berkeleydb.html";
SRC_URI="http://download.oracle.com/otn/berkeley-db/db-${VERSION}.tar.gz";
PATCH_URI="5.3-tcl.patch 18.1.40-doc.patch"

PKG_NAMES="db libdb18.1 libdb-devel db-doc tcl-db" # java-db
db_CONTENTS="--exclude=html usr/bin/db*.exe usr/share/doc/"
libdb18_1_CONTENTS="--exclude=*java* usr/bin/*-18.1.dll"
libdb_devel_CONTENTS="usr/include/ usr/lib/lib*"
db_doc_CONTENTS="usr/share/doc/${NAME}/html/"
java_db_CONTENTS="usr/bin/cygdb_java-*.dll ${JAVA_DIR#/}/db.jar"
tcl_db_CONTENTS="${TCL_LIBDIR#/}/"

DIFF_EXCLUDES="config.* configure db.jar install-sh ltmain.sh libtool.m4 lt*.m4"

src_compile() {
local slot=${PV[1]}.${PV[2]}

check_prog_req libtoolize libtool

cd ${S}/dist

ac_macrodir=aclocal libtoolize --copy --force --install || error 
"berkdb: libtoolize failed"
./s_config || error "s_config failed"

cd ${B}
CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 
-DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 
-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1"
CYGCONF_SOURCE=${S}/dist \
cygconf \
--with-mutex=${ARCH_i686+x86}${ARCH_x86_64+x86_64}/gcc-assembly 
\
--enable-compat185 \
--enable-cxx \
--enable-dynamic \
--disable-java \
--enable-tcl \
--enable-test

cygmake libdb-${slot}.la
cygmake C_OBJS="libdb-${slot}.la"
}

src_test() {
cd ${B}
PATH=${B}/.libs:$PATH ${TCLSH} <<-_EOF
load [file join ${B}/.libs cygdb_tcl-${PV[1]}.${PV[2]}.dll]
source ${S}/test/tcl/test.tcl
log001
test001 btree
run_test test001
_EOF
# Use this target for running standard tests (takes very long)
# run_std
# Use this target for running ALL tests (takes even longer)
# run_all
}

src_install() {
local slot=${PV[1]}.${PV[2]}

cd ${B}
cyginstall docdir=/usr/share/doc/${NAME}/html emode=755 fmode=644

# replace unslotted libs with symlinks
rm -f ${D}/usr/lib/libdb{_cxx,}.a
dosym libdb-${slot}.dll.a /usr/lib/libdb.dll.a
dosym libdb_cxx-${slot}.dll.a /usr/lib/libdb_cxx.dll.a

# these implibs aren't needed
rm -f ${D}/usr/lib/libdb_tcl-${slot}.*

# relocate and install Tcl module
dodir ${TCL_LIBDIR}/db${slot}
mv ${D}/usr/lib/cygdb_tcl-${slot}.dll ${D}${TCL_LIBDIR}/db${slot}/
echo pkg_mkIndex ${D}${TCL_LIBDIR}/db${slot} cygdb_tcl-${slot}.dll | 
PATH=${D}/usr/bin:$PATH ${TCLSH}
sed -i -e "s#${D}##g" ${D}${TCL_LIBDIR}/db${slot}/pkgIndex.tcl
}


[ITA] db

2024-02-20 Thread Takashi Yano via Cygwin-apps
I would like to adopt db package.

-- 
Takashi Yano 
--- origsrc/db-5.3.21/dist/aclocal/tcl.m4   2012-05-11 12:57:48.0 
-0500
+++ src/db-5.3.21/dist/aclocal/tcl.m4   2013-03-08 00:21:33.268494500 -0600
@@ -107,7 +107,7 @@ AC_DEFUN(SC_LOAD_TCLCONFIG, [
# given by the Tcl spec are insufficient for our use.  [#5779],[#17109]
#
case "$host_os" in
-   aix*)
+   aix*|cygwin*)
LIBTSO_LIBS="$LIBTSO_LIBS $TCL_LIB_SPEC $TCL_LIB_FLAG"
LIBTSO_LIBS="$LIBTSO_LIBS -L$TCL_EXEC_PREFIX/lib 
-ltcl$TCL_VERSION";;
esac
--- origsrc/db-18.1.40/dist/Makefile.in 2020-05-30 02:58:22.0 +0900
+++ src/db-18.1.40/dist/Makefile.in 2024-02-20 15:53:03.023929400 +0900
@@ -1299,8 +1299,8 @@ uninstall_utilities:
 
 # We install csharp docs even on UNIX so we don't have a 
 # broken link on the landing page.
-DOCLIST=api_reference articles bdb-sql collections csharp gsg \
-   gsg_db_rep gsg_db_server gsg_txn index.html installation \
+DOCLIST=api_reference articles collections csharp gsg \
+   gsg_db_rep gsg_txn index.html installation \
java license porting programmer_reference upgrading
 
 install_docs:
inherit tcl

NAME="db"
VERSION=18.1.40
RELEASE=1
LICENSE="AGPL-3.0-only"
CATEGORY="Database"
SUMMARY="Oracle Berkeley DB"
DESCRIPTION="Oracle Berkeley DB is the industry-leading open source, embeddable
database engine that provides developers with fast, reliable, local persistence
with zero administration. Oracle Berkeley DB is a library that links directly
into your application. Your application makes simple function calls, rather
than sending messages to a remote server, eliminating the performance penalty
of client-server architectures."
HOMEPAGE="https://www.oracle.com/database/technologies/related/berkeleydb.html";
SRC_URI="http://download.oracle.com/otn/berkeley-db/db-${VERSION}.tar.gz";
PATCH_URI="5.3-tcl.patch 18.1.40-doc.patch"

PKG_NAMES="db libdb18.1 libdb-devel db-doc tcl-db" # java-db
db_CONTENTS="--exclude=html usr/bin/db*.exe usr/share/doc/"
libdb18_1_CONTENTS="--exclude=*java* usr/bin/*-18.1.dll"
libdb_devel_CONTENTS="usr/include/ usr/lib/lib*"
db_doc_CONTENTS="usr/share/doc/${NAME}/html/"
java_db_CONTENTS="usr/bin/cygdb_java-*.dll ${JAVA_DIR#/}/db.jar"
tcl_db_CONTENTS="${TCL_LIBDIR#/}/"

DIFF_EXCLUDES="config.* configure db.jar install-sh ltmain.sh libtool.m4 lt*.m4"

src_compile() {
local slot=${PV[1]}.${PV[2]}

check_prog_req libtoolize libtool

cd ${S}/dist

ac_macrodir=aclocal libtoolize --copy --force --install || error 
"berkdb: libtoolize failed"
./s_config || error "s_config failed"

cd ${B}
CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 
-DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 
-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1"
CYGCONF_SOURCE=${S}/dist \
cygconf \
--with-mutex=${ARCH_i686+x86}${ARCH_x86_64+x86_64}/gcc-assembly 
\
--enable-compat185 \
--enable-cxx \
--enable-dynamic \
--disable-java \
--enable-tcl \
--enable-test

cygmake libdb-${slot}.la
cygmake C_OBJS="libdb-${slot}.la"
}

src_test() {
cd ${B}
PATH=${B}/.libs:$PATH ${TCLSH} <<-_EOF
load [file join ${B}/.libs cygdb_tcl-${PV[1]}.${PV[2]}.dll]
source ${S}/test/tcl/test.tcl
log001
test001 btree
run_test test001
_EOF
# Use this target for running standard tests (takes very long)
# run_std
# Use this target for running ALL tests (takes even longer)
# run_all
}

src_install() {
local slot=${PV[1]}.${PV[2]}

cd ${B}
cyginstall docdir=/usr/share/doc/${NAME}/html emode=755 fmode=644

# these implibs aren't needed
rm -f ${D}/usr/lib/libdb{_cxx,}.a
rm -f ${D}/usr/lib/libdb_tcl-${slot}.*

# relocate and install Tcl module
dodir ${TCL_LIBDIR}/db${slot}
mv ${D}/usr/lib/cygdb_tcl-${slot}.dll ${D}${TCL_LIBDIR}/db${slot}/
echo pkg_mkIndex ${D}${TCL_LIBDIR}/db${slot} cygdb_tcl-${slot}.dll | 
PATH=${D}/usr/bin:$PATH ${TCLSH}
sed -i -e "s#${D}##g" ${D}${TCL_LIBDIR}/db${slot}/pkgIndex.tcl
}


[ITA] tdb

2024-02-20 Thread Takashi Yano via Cygwin-apps
I would like to adopt tdb package.

-- 
Takashi Yano 
--- origsrc/tdb-1.2.9/buildtools/wafsamba/samba_conftests.py2010-12-15 
04:46:16.0 -0600
+++ src/tdb-1.2.9/buildtools/wafsamba/samba_conftests.py2011-12-12 
01:30:34.239867900 -0600
@@ -247,7 +247,10 @@ def CHECK_LIBRARY_SUPPORT(conf, rpath=Fa
 # path for execution
 lastprog = o.link_task.outputs[0].abspath(env)
 
-if not rpath:
+if sys.platform == 'cygwin':
+os.putenv('PATH', os.path.join(bdir, 'default/libdir') + ':' + 
os.environ['PATH'])
+old_ld_library_path = None
+elif not rpath:
 if 'LD_LIBRARY_PATH' in os.environ:
 old_ld_library_path = os.environ['LD_LIBRARY_PATH']
 else:
--- origsrc/tdb-1.2.9/buildtools/wafsamba/samba_install.py  2010-12-20 
19:00:02.0 -0600
+++ src/tdb-1.2.9/buildtools/wafsamba/samba_install.py  2011-12-12 
04:54:36.377078100 -0600
@@ -159,6 +159,12 @@ def apply_vscript(self):
 self.version_script)
 self.version_script = None
 
+@feature('cshlib')
+def apply_implib(self):
+if self.env.DEST_BINFMT == 'pe':
+self.env.append_value('LINKFLAGS', "-Wl,--out-implib,lib%s.dll.a" %
+os.path.split(self.target)[1])
+
 
 ##
 # handle the creation of links for libraries and binaries in the build tree
inherit python3

NAME="tdb"
VERSION=1.4.10
RELEASE=1
CATEGORY="Database"
SUMMARY="Trivial Database"
DESCRIPTION="TDB is a Trivial Database. In concept, it is very much like GDBM,
and BSD's DB except that it allows multiple simultaneous writers and uses
locking internally to keep writers from trampling on each other. TDB is also
extremely small."
HOMEPAGE="http://tdb.samba.org/";
SRC_URI="http://www.samba.org/ftp/${NAME}/${NAME}-${VERSION}.tar.gz";
PATCH_URI="1.2.9-cygwin.patch"

PKG_NAMES="tdb libtdb1 libtdb-devel python39-tdb"
tdb_SUMMARY="${SUMMARY} utilities"
tdb_CONTENTS="usr/bin/tdb* usr/share/"
libtdb1_SUMMARY="${SUMMARY} library (runtime)"
libtdb1_CONTENTS="usr/bin/cygtdb-1.dll"
libtdb_devel_SUMMARY="${SUMMARY} library (development)"
libtdb_devel_CONTENTS="usr/include/ usr/lib/lib* usr/lib/pkgconfig/"
python39_tdb_CATEGORY="Python"
python39_tdb_SUMMARY="${SUMMARY} library (Python bindings)"
python39_tdb_CONTENTS="usr/lib/python3.9/site-packages/tdb.*"

src_compile() {
lndirs
cd ${B}
./configure --prefix=/usr \
--bundled-libraries=NONE --builtin-libraries=replace
cygmake
}

src_install() {
cd ${B}/bin/default
# tdbtorture is a test program not meant to be installed
dobin cygtdb-1.dll tdb{backup,dump,restore,tool}.exe
dolib libtdb.dll.a
doman man/*.8
doinclude ${B}/include/*.h
dopkgconfig tdb.pc
dopython2 python/tdb.dll
dopython3 python/tdb.cpython-3*.dll
}

DOCS="docs/README"


[PATCH cygport] Set TZ=UTC if SOURCE_DATE_EPOCH is used

2024-02-20 Thread Christian Franke via Cygwin-apps
Further tests of 'repro-check' patch revealed that the "origsrc/*" 
timestamps in patch files contain the local timezone offset.


The attached patch is on top of the "Add more checks of 
SOURCE_DATE_EPOCH" patch. It could also be applied independently but 
then requires conflict resolution due to the then missing 'else' branch.


--
Regards,
Christian

From e9553d8541f9fb2fd4a4e49a488dfc8511fb9c8e Mon Sep 17 00:00:00 2001
From: Christian Franke 
Date: Tue, 20 Feb 2024 10:32:52 +0100
Subject: [PATCH] Set TZ=UTC if SOURCE_DATE_EPOCH is used

---
 bin/cygport.in | 4 
 1 file changed, 4 insertions(+)

diff --git a/bin/cygport.in b/bin/cygport.in
index 3fe8a52e..2261a5bd 100755
--- a/bin/cygport.in
+++ b/bin/cygport.in
@@ -517,6 +517,10 @@ then
4.6.[6-9]|4.[7-9]*|[5-9]*) ;;
*) error "SOURCE_DATE_EPOCH requires peflags 4.6.6 or later"
esac
+
+   # Ensure that date and time formatting (e.g. in patch files) is 
reproducible
+   [ "${TZ}" = "UTC" ] || inform "Using TZ='UTC' instead of 
TZ='${TZ-(unset)}'"
+   export TZ=UTC
 else
inform "SOURCE_DATE_EPOCH is not set"
 fi
-- 
2.43.0