Accepting request 1097971 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1097971 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=6
This commit is contained in:
commit
c450f85a84
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a94084bf5c7b4aced8e5f21f909e4f2961d632c7bcbcb5a2ec055115413f4108
|
||||
size 19232
|
3
wtmpdb-0.7.1.tar.xz
Normal file
3
wtmpdb-0.7.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c3c1038b2169e787b3fcaf8c52770833e64f588ecb3b3d48ffdadc56cc711c7
|
||||
size 19404
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 1 23:43:32 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- https://en.opensuse.org/SourceUrls
|
||||
- Use noun phrase for Summary.
|
||||
- Wrap descriptions at 70 (for yast2 textmode).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 29 12:09:19 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to ersion 0.7.1
|
||||
- wtmpdb last: Support "YYYY-MM-DD", "today" and "yesterday" as
|
||||
time option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 27 06:30:33 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Add last compat symlink and manual page
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 06:52:21 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
29
wtmpdb.spec
29
wtmpdb.spec
@ -18,12 +18,12 @@
|
||||
|
||||
%define lname libwtmpdb0
|
||||
Name: wtmpdb
|
||||
Version: 0.7.0
|
||||
Version: 0.7.1
|
||||
Release: 0
|
||||
Summary: Reports last logged in users and system reboots
|
||||
Summary: Database for recording the last logged in users and system reboots
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/thkukuk/wtmpdb
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Source: https://github.com/thkukuk/wtmpdb/releases/download/v0.7.1/%{name}-%{version}.tar.xz
|
||||
BuildRequires: docbook5-xsl-stylesheets
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
@ -32,33 +32,42 @@ BuildRequires: pkgconfig(pam)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
Requires(post): pam-config
|
||||
Requires(postun):pam-config
|
||||
# Split provide for last
|
||||
Provides: util-linux:/usr/bin/last
|
||||
|
||||
%description
|
||||
pam_wtmpdb and wtmpdb are Y2038 safe versions of wtmp and the last utility. pam_wtmpdb collects all data in a sqlite3 database and wtmpdb creates boot and shutdown entries or formats and prints the contents of the wtmp database.
|
||||
pam_wtmpdb and wtmpdb are Y2038-safe versions of wtmp and the last
|
||||
utility. pam_wtmpdb collects all data in a sqlite3 database and the
|
||||
wtmpdb utility creates boot and shutdown entries or formats and
|
||||
prints the contents of the wtmp database.
|
||||
|
||||
%package -n %{lname}
|
||||
Summary: PAM module to store login and logout of users
|
||||
|
||||
%description -n %{lname}
|
||||
The libwtmpdb provides various interfaces to read, write or modify the wtmpdb database.
|
||||
The libwtmpdb provides various interfaces to read, write or modify
|
||||
the wtmpdb database.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libwtmpdb
|
||||
Requires: %{lname} = %{version}
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
to develop applications that needs to read, write or modify the wtmpdb database.
|
||||
This package contains all necessary include files and libraries
|
||||
needed to develop applications that needs to read, write or modify
|
||||
the wtmpdb database.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%meson -Dman=true
|
||||
%meson -Dman=true -Dcompat-symlink=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
echo ".so wtmpdb.8" > %{buildroot}%{_mandir}/man1/last.1
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
@ -86,6 +95,7 @@ fi
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_bindir}/last
|
||||
%{_bindir}/wtmpdb
|
||||
%{_unitdir}/wtmpdb-update-boot.service
|
||||
%{_unitdir}/wtmpdb-rotate.service
|
||||
@ -93,6 +103,7 @@ fi
|
||||
%{_tmpfilesdir}/wtmpdb.conf
|
||||
%{_pam_moduledir}/pam_wtmpdb.so
|
||||
%ghost %{_localstatedir}/lib/wtmpdb
|
||||
%{_mandir}/man1/last.1%{?ext_man}
|
||||
%{_mandir}/man8/wtmpdb.8%{?ext_man}
|
||||
%{_mandir}/man8/pam_wtmpdb.8%{?ext_man}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user