mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-25 23:12:57 +02:00
tzutils: update to 2023d.
This commit is contained in:
parent
d989670185
commit
8aa70a684a
3 changed files with 18 additions and 16 deletions
|
@ -1,11 +1,11 @@
|
|||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -768,7 +768,7 @@ tzselect: tzselect.ksh version
|
||||
|
||||
check: check_character_set check_white_space check_links \
|
||||
check_name_lengths check_slashed_abbrs check_sorted \
|
||||
@@ -827,7 +827,7 @@ check: check_back check_mild
|
||||
check_mild: check_character_set check_white_space check_links \
|
||||
check_name_lengths check_now \
|
||||
check_slashed_abbrs check_sorted \
|
||||
- check_tables check_web check_ziguard check_zishrink check_tzs
|
||||
+ check_tables check_ziguard check_zishrink check_tzs
|
||||
|
||||
check_character_set: $(ENCHILADA)
|
||||
test ! '$(UTF8_LOCALE)' || \
|
||||
# True if UTF8_LOCALE does not work;
|
||||
# otherwise, false but with LC_ALL set to $(UTF8_LOCALE).
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
Avoid dependencies to bash, in order to reduce the bootstrap chain,
|
||||
However, this utility works better with bash because of select builtin
|
||||
Index: tzutils-2021b/tzselect.ksh
|
||||
===================================================================
|
||||
--- tzutils-2021b.orig/tzselect.ksh
|
||||
+++ tzutils-2021b/tzselect.ksh
|
||||
@@ -2,6 +2,10 @@
|
||||
--- a/tzselect.ksh
|
||||
+++ b/tzselect.ksh
|
||||
@@ -2,6 +2,14 @@
|
||||
# Ask the user about the time zone, and output the resulting TZ value to stdout.
|
||||
# Interact with the user via stderr and stdin.
|
||||
|
||||
+if [ -z "$BASH_VERSION" ] && [ -x /bin/bash ]; then
|
||||
+ exec /bin/bash "$0" "$@"
|
||||
+if [ -z "$BASH_VERSION$KSH_VERSION" ]; then
|
||||
+ if [ -x /bin/ksh ]; then
|
||||
+ exec /bin/ksh "$0" "$@"
|
||||
+ elif [ -x /bin/bash ]; then
|
||||
+ exec /bin/bash "$0" "$@"
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
PKGVERSION='(tzcode) '
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'tzutils'
|
||||
pkgname=tzutils
|
||||
version=2023c
|
||||
revision=2
|
||||
version=2023d
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
short_desc="Time zone and daylight-saving time utilities"
|
||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||
license="Public Domain"
|
||||
homepage="https://www.iana.org/time-zones"
|
||||
distfiles="https://www.iana.org/time-zones/repository/releases/tzdb-${version}.tar.lz"
|
||||
checksum=08fd090f1a16d522ae4e9247445056f4155002239e5be760b31ba0376d2e632c
|
||||
checksum=696849b454176ea8f52dd7e9001999d01f5bb594344190a0c4084aeaf7f86bd8
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends="tzutils"
|
||||
|
|
Loading…
Add table
Reference in a new issue