sysutils/tzupdate 3.1.0
Set the system timezone based on IP geolocation
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
556706265e- License
- MIT
- Categories
- sysutils
Description
tzupdate looks up the geographical location of the current public IP address using IP geolocation services, and sets the system timezone to match by pointing /etc/localtime at the corresponding zoneinfo file and recording the zone name in /var/db/zoneinfo, as tzsetup(8) does.
It can also print the detected timezone without changing anything.
Install
As a binary package — by origin, or by package name:
pkg install sysutils/tzupdate
pkg install tzupdate
From the ports tree:
cd /usr/ports/sysutils/tzupdate/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= tzupdate>0:sysutils/tzupdate
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | - | - | - | - |
| FreeBSD:14:quarterly | - | - | n/a | - | - |
| FreeBSD:15:latest | - | - | n/a | - | - |
| FreeBSD:15:quarterly | - | - | n/a | n/a | n/a |
| FreeBSD:16:latest | - | - | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All build dependencies 11
No port depends on this one.
Configuration
No options to configure.
- USES
- cargo
- Service scripts
- none
Files
distinfo 69
| File | Size | SHA256 |
|---|---|---|
| rust/crates/anstyle-1.0.0.crate | 13972 | 41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d |
| rust/crates/anyhow-1.0.75.crate | 43901 | a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6 |
| rust/crates/base64-0.21.2.crate | 76389 | 604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d |
| rust/crates/bitflags-1.3.2.crate | 23021 | bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a |
| rust/crates/bitflags-2.4.0.crate | 36954 | b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635 |
| rust/crates/bumpalo-3.12.2.crate | 81706 | 3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b |
| rust/crates/cc-1.0.79.crate | 62624 | 50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f |
| rust/crates/cfg-if-1.0.0.crate | 7934 | baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd |
| rust/crates/clap-4.4.2.crate | 54441 | 6a13b88d2c62ff462f88e4a121f17a82c1af05693a2f192b5c38d14de73c19f6 |
| rust/crates/clap_builder-4.4.2.crate | 162358 | 2bb9faaa7c2ef94b2743a21f5a29e6f0010dff4caa69ac8e9d6cf8b6fa74da08 |
| rust/crates/clap_derive-4.4.2.crate | 29019 | 0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873 |
| rust/crates/clap_lex-0.5.0.crate | 11792 | 2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b |
| rust/crates/env_logger-0.10.0.crate | 36574 | 85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0 |
| rust/crates/errno-0.3.1.crate | 10348 | 4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a |
| rust/crates/errno-dragonfly-0.1.2.crate | 1810 | aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf |
| rust/crates/fastrand-2.0.0.crate | 14402 | 6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764 |
| rust/crates/form_urlencoded-1.1.0.crate | 8734 | a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8 |
| rust/crates/heck-0.4.1.crate | 11567 | 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8 |
| rust/crates/humantime-2.1.0.crate | 16749 | 9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4 |
| rust/crates/idna-0.3.0.crate | 271128 | e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6 |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
556706265e |
Jordan Hubbard | sysutils/tzupdate: New port: Set the system timezone based on IP geolocation tzupdate looks up the geographical location of the current public IP
address using IP geolocation services, and sets the system timezone to
match by pointing /etc/localtime at the corresponding zoneinfo file and
recording the zone name in /var/db/zoneinfo, as tzsetup(8) does.
WWW: https://github.com/cdown/tzupdate
Reported by: jkh (new maintainer)
Pull Request: https://github.com/freebsd/freebsd-ports/pull/630
Co-authored-by: Claude Opus 5.5 <[email protected]> |