initial commit of file from CVS for tai64nunix on Fri 14 Jul 22:33:21 BST 2023
This commit is contained in:
parent
2e2da5b958
commit
b20f27b981
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*.rpm
|
||||
*.log
|
||||
*spec-20*
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Makefile for source rpm: tai64nunix
|
||||
# $Id: Makefile,v 1.1 2016/02/04 18:09:33 vip-ire Exp $
|
||||
NAME := tai64nunix
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
10
README.md
10
README.md
@ -1,3 +1,11 @@
|
||||
# tai64nunix
|
||||
|
||||
3rd Party (Maintained by Koozali) git repo for tai64nunix smeserver
|
||||
3rd Party (Maintained by Koozali) git repo for tai64nunix smeserver
|
||||
|
||||
## Description
|
||||
|
||||
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||
*Once it has been checked, then this comment will be deleted*
|
||||
<br />
|
||||
|
||||
Tai64nunix is a command-line utility that converts TAI64 timestamps to readable dates and vice versa. It is useful for decoding log files that contain timestamps in TAI64 format. It can also be used to convert between TAI64 timestamps and common system times.
|
||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
||||
sme10
|
12
tai64nunix-0.70.patch.2001020600
Normal file
12
tai64nunix-0.70.patch.2001020600
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN tai64nunix-0.70-02/Makefile tai64nunix-0.70-03/Makefile
|
||||
--- tai64nunix-0.70-02/Makefile Mon Apr 3 00:15:33 2000
|
||||
+++ tai64nunix-0.70-03/Makefile Tue Feb 6 12:40:14 2001
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
auto_home.c: \
|
||||
auto-str conf-home
|
||||
- ./auto-str auto_home `head -1 conf-home` > auto_home.c
|
||||
+ ./auto-str auto_home `pwd`/root`head -1 conf-home` > auto_home.c
|
||||
|
||||
auto_home.o: \
|
||||
compile auto_home.c
|
BIN
tai64nunix-0.70.tar.gz
(Stored with Git LFS)
Normal file
BIN
tai64nunix-0.70.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
81
tai64nunix.spec
Normal file
81
tai64nunix.spec
Normal file
@ -0,0 +1,81 @@
|
||||
# $Id: tai64nunix.spec,v 1.1 2016/02/04 18:09:33 vip-ire Exp $
|
||||
|
||||
#
|
||||
# RPM spec file for Peter Samuel's tai64nunix package. based on Dan
|
||||
# Bernstein's daemontools package.
|
||||
#
|
||||
# $Id: tai64nunix.spec,v 1.1 2016/02/04 18:09:33 vip-ire Exp $
|
||||
#
|
||||
Summary: Converts tai64n timestamps to Unix epoch timestamps
|
||||
%define name tai64nunix
|
||||
Name: %{name}
|
||||
%define version 0.70
|
||||
%define release 5
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: Peter Samuel - based on code by Daniel J. Bernstein
|
||||
Group: Networking/Daemons
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
URL: http://cr.yp.to/daemontools.html
|
||||
Patch0: %{name}-%{version}.patch.2001020600
|
||||
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
||||
Provides: tai64nunix
|
||||
AutoReqProv: no
|
||||
|
||||
%description
|
||||
The multilog program shipped with daemontools uses tai64n timestamps.
|
||||
qmailanalog expects timestamps in Unix epoch format. tai64nunix
|
||||
converts tai64n timestamps to Unix epoch timestamps.
|
||||
|
||||
%changelog
|
||||
* Fri Jul 14 2023 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
|
||||
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
|
||||
- Clean up spec so package can be built by koji/plague
|
||||
|
||||
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
|
||||
- Update to new release naming. No functional changes.
|
||||
- Make Packager generic
|
||||
|
||||
* Mon Sep 27 2004 Charlie Brady <charlieb@e-smith.com>
|
||||
- [0.70-04]
|
||||
- Configure conf-cc to work around problem with later glibc.
|
||||
|
||||
* Tue Feb 6 2001 Peter Samuel <peters@e-smith.com>
|
||||
- [0.70-03]
|
||||
- Now installs in its own root area prior to creating binary RPM.
|
||||
|
||||
* Thu Aug 17 2000 Peter Samuel <peters@e-smith.com>
|
||||
- [0.70-2]
|
||||
- added patch to change default install location
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
# This patch allows files to be installed in a relative directory prior
|
||||
# to creating the binary RPM. It does not change the installed files or
|
||||
# their final installed locations.
|
||||
|
||||
%patch0 -p1
|
||||
|
||||
# Create the relative installation directory.
|
||||
|
||||
mkdir -p ./root/usr
|
||||
|
||||
%build
|
||||
echo 'gcc -O2 --include /usr/include/errno.h' > conf-cc
|
||||
make
|
||||
|
||||
%install
|
||||
make setup
|
||||
make check
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%attr(755,root,root) /usr/local/bin/tai64nunix
|
Loading…
Reference in New Issue
Block a user