Sync from SUSE:SLFO:Main sessreg revision 13dfe400485e34d8df4cba70644204e0

This commit is contained in:
Adrian Schröter 2024-05-04 00:34:49 +02:00
commit e405799c3c
4 changed files with 189 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
sessreg-1.1.3.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

104
sessreg.changes Normal file
View File

@ -0,0 +1,104 @@
-------------------------------------------------------------------
Sat Oct 29 20:36:21 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.1.3
* Fix spelling/wording issues
* gitlab CI: add a basic build test
* gitlab CI: stop requiring Signed-off-by in commits
* Fix -Wstringop-truncation warnings in safe_strncpy()
-------------------------------------------------------------------
Tue Jun 11 09:37:50 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.1.2
* Update README for gitlab migration
* Update configure.ac bug URL for gitlab migration
* Add comment about why safe_strncpy isn't replaced with strlcpy
* Fix missing defines _PATH_WTMPX/_PATH_UTMPX in musl
* Replace strncpy calls with a sane version that always terminates
-------------------------------------------------------------------
Wed Mar 1 13:57:12 UTC 2017 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.1.1:
+ Use off_t instead of long to make largefile support work
+ autogen.sh: use quoted string variables
+ autogen: add default patch prefix
+ autogen.sh: use exec instead of waiting for configure to finish
+ Pass -P to the preprocessor when generating filenames for the manpage.
- supersedes patches:
+ U_Pass-P-to-the-preprocessor-when-generating-filenames.patch
+ u_use-off_t-instead-of-long-to-make-largefile-support-work.patch
-------------------------------------------------------------------
Sun May 29 21:53:51 UTC 2016 - eich@suse.com
- u_use-off_t-instead-of-long-to-make-largefile-support-work.patch
Make largefile support work (boo#981522).
-------------------------------------------------------------------
Thu Apr 21 14:35:20 UTC 2016 - sndirsch@suse.com
- replaced formerly to be upstreamed patch
u_Pass-P-to-the-preprocessor-when-generating-filenames.patch
by upstream patch
U_Pass-P-to-the-preprocessor-when-generating-filenames.patch
-------------------------------------------------------------------
Mon Feb 23 10:52:56 UTC 2015 - sndirsch@suse.com
- u_Pass-P-to-the-preprocessor-when-generating-filenames.patch
* Pass -P to the preprocessor when generating filenames for the
manpage. Fixes build with GCC 5. Patch by Richard Biener
<rguenther@suse.com>
-------------------------------------------------------------------
Fri Jan 30 15:18:48 UTC 2015 - zaitor@opensuse.org
- Update to version 1.1.0:
+ Include utmp.h if present, even if we're using utmpx
interfaces.
+ Attempt to modernize and better disentangle utmp vs. utmpx in
the man page.
+ Stop disabling utmpx & wtmpx calls when -u & -w arguments are
passed.
+ If both utmp & utmpx interfaces are available, just use utmpx.
+ Zero initialize struct utmpx, as we already do for struct utmp.
+ Print which option was in error along with usage message.
+ autogen.sh: Honor NOCONFIGURE=1.
+ configure: Drop AM_MAINTAINER_MODE.
-------------------------------------------------------------------
Tue Feb 26 19:25:31 UTC 2013 - zaitor@opensuse.org
- Update to version 1.0.8:
+ Add -V option to print version number.
+ Combine usage message into a single string.
+ Fix some clang warnings about implicit conversions.
+ Remove dubious code.
+ Make the `line' variable local to main().
+ Place NetBSD specific #defines in the proper place.
+ Fix compilation on NetBSD - undefined *TMPX paths (fdo#50940).
-------------------------------------------------------------------
Sat Apr 14 20:14:19 UTC 2012 - dimstar@opensuse.org
- Update to version 1.0.7:
+ Add const attributes to fix gcc -Wwrite-strings warnings
+ Make lastlog work on BSD systems without <lastlog.h>.
+ Simply define LLOG_FILE and TTYS_FILE unconditionally.
+ Fix whitespace inconsistencies.
+ Just use time_t directly.
+ Only expose the sflag variable when needed.
+ Get rid of SYSV definition. Just check for pututline().
+ Don't forget to include <sys/types.h> before <utmp.h>.
+ Get rid of bzero() calls. Replace them by memset().
+ Only split off /dev/ instead trimming to last /.
+ Fix typo in function name check.
+ Build system fixes.
-------------------------------------------------------------------
Fri Apr 13 08:46:08 UTC 2012 - vuntz@opensuse.org
- Split sessreg from xorg-x11. Initial version: 1.0.6.

59
sessreg.spec Normal file
View File

@ -0,0 +1,59 @@
#
# spec file for package sessreg
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: sessreg
Version: 1.1.3
Release: 0
Summary: Utility to manage utmp/wtmp entries for X sessions
License: MIT
Group: System/X11/Utilities
URL: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkg-config
BuildRequires: pkgconfig(xorg-macros) >= 1.4
BuildRequires: pkgconfig(xproto) >= 7.0.25
# This was part of the xorg-x11 package up to version 7.6
Conflicts: xorg-x11 <= 7.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Sessreg is a simple program for managing utmp/wtmp entries for X sessions.
It was originally written for use with xdm, but may also be used with
other display managers such as gdm or kdm.
%prep
%setup -q
%build
autoreconf -fi
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README.md
%license COPYING
%{_bindir}/sessreg
%{_mandir}/man1/sessreg.1%{?ext_man}
%changelog