pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/sessreg Update to 1.1.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6b6e93ecc42
branches:  trunk
changeset: 644946:a6b6e93ecc42
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 20 09:22:06 2015 +0000

description:
Update to 1.1.0:

sessreg is used by display managers such as xdm and gdm to record X sessions
in utmp, wtmp, and lastlog files.

This release attempts to clean up some inconsistencies around the handling
of the various files.

Long long ago, Unix systems had a utmp file to record who was currently
logged in, and a wtmp file to record login history.

Long ago, extended versions of the files & APIs for them were standardized
as utmpx and wtmpx.

sessreg attempted to deal with all of the variants, including several other
BSD vs. SysV differences beyond those listed above.

Previously, sessreg 1.0.x would check for both the original and extended
API's.  If the extended API's were available, sessreg would compile in
support for utmp, utmpx, & wtmpx, but not wtmp.  Now it compiles in only
utmpx & wtmpx support -- or, on ancient systems, only utmp & wtmp support.

Previously, sessreg 1.0.x would allow callers to specify the paths to the
utmp & wtmp files via -u & -w flags, and xdm defaulted to passing them
until very recently.  If these flags were passed, sessreg would use them
as paths to the original API's and disable the extended API's.  Due to the
above, this would completely disable wtmp entries, since that code was not
compiled in if wtmpx support was available.  If a utmpx file path was
passed to -u, sessreg would write to it with utmp API's, which could
corrupt it.  This especially screwed up Solaris, which has dropped the old
files, but maps the old API's to write the new format to the new files.
Now if -u & -w are passed to sessreg build with extended file support,
they are used with the extended file API's.

Alan Coopersmith (9):
      configure: Drop AM_MAINTAINER_MODE
      autogen.sh: Honor NOCONFIGURE=1
      Print which option was in error along with usage message
      Zero initialize struct utmpx, as we already do for struct utmp
      If both utmp & utmpx interfaces are available, just use utmpx
      Stop disabling utmpx & wtmpx calls when -u & -w arguments are passed
      Attempt to modernize and better disentangle utmp vs. utmpx in the man page
      Include utmp.h if present, even if we're using utmpx interfaces
      sessreg 1.1.0

diffstat:

 x11/sessreg/Makefile |  4 ++--
 x11/sessreg/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 0182228a496d -r a6b6e93ecc42 x11/sessreg/Makefile
--- a/x11/sessreg/Makefile      Tue Jan 20 08:29:22 2015 +0000
+++ b/x11/sessreg/Makefile      Tue Jan 20 09:22:06 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2013/02/11 09:18:46 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2015/01/20 09:22:06 wiz Exp $
 
-DISTNAME=      sessreg-1.0.8
+DISTNAME=      sessreg-1.1.0
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_XORG:=app/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 0182228a496d -r a6b6e93ecc42 x11/sessreg/distinfo
--- a/x11/sessreg/distinfo      Tue Jan 20 08:29:22 2015 +0000
+++ b/x11/sessreg/distinfo      Tue Jan 20 09:22:06 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2013/02/11 09:18:46 wiz Exp $
+$NetBSD: distinfo,v 1.7 2015/01/20 09:22:06 wiz Exp $
 
-SHA1 (sessreg-1.0.8.tar.bz2) = dc4fa8b804e7cb4cfbadbef3708c3b97076ddb65
-RMD160 (sessreg-1.0.8.tar.bz2) = f74a47dc735365093ce6152f0b035a7964830214
-Size (sessreg-1.0.8.tar.bz2) = 126979 bytes
+SHA1 (sessreg-1.1.0.tar.bz2) = a27a476f7f39ae30a16dfa25ca07c12378cff7f0
+RMD160 (sessreg-1.1.0.tar.bz2) = b5779a4f4bf7214fd186e41a81d4cf906f6b4443
+Size (sessreg-1.1.0.tar.bz2) = 134484 bytes



Home | Main Index | Thread Index | Old Index