Commit graph

14 commits

Author SHA1 Message Date
wiz
380b6ec244 xorgproto: use xorgproto instead of separate *proto packages
Remove now obsolete packages.
2018-03-07 11:57:28 +00:00
wiz
1ffd27f8c3 Updated sessreg to 1.1.1.
Egbert Eich (1):
      Use off_t instead of long to make largefile support work

Emil Velikov (1):
      autogen.sh: use quoted string variables

Matt Turner (1):
      sessreg 1.1.1

Mihail Konev (1):
      autogen: add default patch prefix

Peter Hutterer (1):
      autogen.sh: use exec instead of waiting for configure to finish

Stefan Dirsch (1):
      Pass -P to the preprocessor when generating filenames for the manpage.
2017-02-28 07:34:29 +00:00
tnn
441816bc29 actually, just passing -P to cpp(1) to inhibit linemarkers when using GCC
is sufficient and avoids patch and tool dependency on tradcpp.
Gleaned from FreeBSD ports.
2016-04-07 13:34:12 +00:00
tnn
258e44b3ae Use tradcpp(1) for preprocessing sed script which is not actually C code.
Fixes build with gcc5.
(sed: 3: filenames.sed: unescaped newline inside substitute pattern)
2016-04-07 13:21:38 +00:00
tnn
fad52a1b10 g/c stale comment 2016-04-07 10:18:08 +00:00
wiz
ceb8a10065 Needs xproto-7.0.25 (found in 6.0 bulk build) 2015-05-02 10:27:31 +00:00
wiz
ff1857e285 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
2015-01-20 09:22:06 +00:00
wiz
a6850a7588 Update to 1.0.8:
Alan Coopersmith (4):
      Fix some clang warnings about implicit conversions
      Combine usage message into a single string
      Add -V option to print version number
      sessreg 1.0.8

Ed Schouten (3):
      Place NetBSD specific #defines in the proper place.
      Make the `line' variable local to main().
      Remove dubious code.

Thomas Klausner (1):
      Fix compilation on NetBSD - undefined *TMPX paths
2013-02-11 09:18:46 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
obache
7e656e8d2f As noted in changes in 1.0.4, "require xproto instead of libX11 for building".
Bump PKGREVISION.
2012-06-11 06:09:22 +00:00
wiz
54be9b2a0b Update to 1.0.7.
1.0.7:
This release features a lot of cleanups, portability & build configuration
improvements, and some fixes for building on BSD releases, especially
recent versions of FreeBSD.

1.0.6:
This release mostly covers build fixes, including one needed for building
on FreeBSD 9.0, and minor janitorial cleanups.

1.0.5:
A minor release featuring documentation improvements and janitorial cleanups.
sessreg is used by display managers such as xdm and gdm to record X sessions
in utmp, wtmp, and lastlog files.

1.0.4:
Alan Coopersmith:
      X_NOT_POSIX bits for pre-POSIX-1990 systems not needed any more
      Version bump: 1.0.4

David Nusinow:
      Require xproto instead of libX11 for building (bug #9631)

James Cloos:
      Add missing PHONY line for automatic ChangeLog generation
2012-06-10 16:40:24 +00:00
tnn
9f2a42bc6b Switch master site to MASTER_SITE_XORG. 2008-05-24 21:45:14 +00:00
bjs
c4ba4d9545 Update to sessreg-1.0.3. Remove patch-aa, as the portability fix
is integrated.  Also, replace per-OS preprocessor directives
for #define NO_UTMP in sessreg.h with NO_COLON_ZERO_IN_UTMP.
Please see Makefile and patch-ab for clarification.  While here,
add CONFIGURE_ARGS+=--localstatedir=${VARBASE:Q} and BUILD_DEFS+=VARBASE,
as this package definitely uses it.

Upstream change:

 -  X.Org Bug #9887: sessreg should include sys/types.h on FreeBSD
    X.Org Bugzilla #9887: <https://bugs.freedesktop.org/show_bug.cgi?id=9887>
2007-11-23 12:23:39 +00:00
joerg
043da629a6 Import sessreg-1.0.2 from the modular Xorg project. 2007-08-08 17:35:15 +00:00