Initialize for adjtimex

This commit is contained in:
zyppe 2024-02-06 18:13:24 +08:00
commit 31729dd0e3
4 changed files with 74 additions and 0 deletions

1
.adjtimex.metadata Normal file
View file

@ -0,0 +1 @@
8ff9093cc620d566fe10b446a2a8930989734bd6f814f683b0d0a6a96904ba66 adjtimex_1.29.orig.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
adjtimex_1.29.orig.tar.gz

26
adjtimex.changes Normal file
View file

@ -0,0 +1,26 @@
* Wed May 28 2014 sbrabec@suse.cz
- Simplify spec file.
- Remove UsrMerge compatibility symlink.
* Wed May 14 2014 ro@suse.de
- add COPYING and COPYRIGHT as doc files
* Mon Jan 21 2013 jengelh@inai.de
- Split "adjtimex" off util-linux
* Tue Mar 6 2012 rschweikert@suse.com
- keep binaries in /usr tree (UsrMerge project)
* Tue Feb 21 2012 puzel@suse.com
- update to adjtimex-1.29
* Fri Jul 9 2010 puzel@novell.com
- update to adjtimex-1.28
- drop adjtimex-1.20-nosyscall.diff (fixed upstream)
* Thu Apr 16 2009 werner@suse.de
- Move /usr/sbin/adjtimex to /sbin/adjtimex to be able to check the
kernel time variables even without /usr mounted
* Mon Jan 10 2005 mmj@suse.de
- Update adjtimex to 1.20
* Mon Apr 14 2003 pthomas@suse.de
- Get rid of the syscall for adjtimex in selective cases and
just call the glibc wrapper. Fixes build on s390.
* Tue Nov 19 2002 mmj@suse.de
- Fix multistring assignment in adjtimex
* Tue Dec 18 2001 bjacke@suse.de
- add adjtimex

46
adjtimex.spec Normal file
View file

@ -0,0 +1,46 @@
#
# spec file for package adjtimex
#
# Copyright (c) 2022-2023 ZhuningOS
#
Name: adjtimex
Version: 1.29
Release: 1.26
Summary: Kernel time variables configuration utility
License: GPL-2.0+
Group: System/Base
Source: http://ftp.debian.org/debian/pool/main/a/adjtimex/%{name}_%{version}.orig.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: util-linux:/usr/sbin/adjtimex
%description
This program gives you raw access to the kernel time variables. For
a machine connected to the Internet, or equipped with a precision
oscillator or radio clock, the best way to keep the system clock
correct is with ntpd. However, for a standalone or intermittently
connected machine, you may use adjtimex instead to at least correct
for systematic drift. adjtimex can optionally adjust the system clock
using the CMOS clock as a reference, and can log times for long-term
estimation of drift rates.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
install -d %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man8
install adjtimex %{buildroot}%{_sbindir}/
install -m0644 adjtimex.8 %{buildroot}%{_mandir}/man8/
%files
%defattr(-,root,root)
%doc COPYING COPYRIGHT
%{_sbindir}/adjtimex
%{_mandir}/man8/adjtimex.8*
%changelog