summaryrefslogtreecommitdiff
path: root/app/sessreg/ChangeLog
blob: 1364ac78330acbcff234f0f644247b93b7b20902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
commit 0f904e33d53b0102e53685184bb59005be40fcf7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jan 19 21:00:17 2015 -0800

    sessreg 1.1.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 53ad5afe30a75c27604648912c57e5beeb77cca7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 14 15:22:25 2014 -0800

    Include utmp.h if present, even if we're using utmpx interfaces
    
    For platforms which require type or structure definitions from utmp.h
    when using lastlog or utmpx/wtmpx interfaces.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8fb21bdf15185e18e44b5dab6740720a50b9f0c9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Nov 4 18:32:07 2014 -0800

    Attempt to modernize and better disentangle utmp vs. utmpx in the man page
    
    Also reduces the number of references to BSD vs. System V differences
    from the early 90's which are no longer relevant today.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e9d23df81ae6e5beb79237cb13b555ed689b1a76
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Nov 4 16:31:31 2014 -0800

    Stop disabling utmpx & wtmpx calls when -u & -w arguments are passed
    
    The handling of the -u & -w flags would only set utmp_file & wtmp_file,
    leaving utmpx_file & wtmpx_file set to NULL, disabling the calls to the
    code to update those files.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 929b2f60c36b80b7a8e6237d5e8ccc981a3a1e0d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Nov 4 16:27:57 2014 -0800

    If both utmp & utmpx interfaces are available, just use utmpx
    
    As we already do with wtmp & wtmpx, where only one of the interface sets
    is compiled in at a time, stop building & potentially calling both the
    utmp & utmpx interfaces, which could lead to confusion and corruption,
    especially when xdm passed -u /.../utmpx and sessreg wrote utmp format
    records to the file instead.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0a234ecc502b3e08d8f81d51fb724d97e8045504
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Nov 3 20:04:31 2014 -0800

    Zero initialize struct utmpx, as we already do for struct utmp
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1dacc4b5554f794f8219356a0d2bd2dc6a499160
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Nov 3 18:57:20 2014 -0800

    Print which option was in error along with usage message
    
    In the process, try to make the code a little less painful to read.
    Still, no love to whomever came up with (*++*a) style coding.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e73a94da99c25dc705be814fb18c306e9301a135
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jun 2 21:14:21 2014 -0700

    autogen.sh: Honor NOCONFIGURE=1
    
    See http://people.gnome.org/~walters/docs/build-api.txt
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5f54e23a2adf7342c50a0d910760698b95fd2b97
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jun 2 21:14:21 2014 -0700

    configure: Drop AM_MAINTAINER_MODE
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1d9c8df5bea05c2c4923fd985ce274104b42efeb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Feb 10 18:43:41 2013 -0800

    sessreg 1.0.8
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ec158dea0bdc8bf4767fe048056178a823a2033b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jan 19 16:37:00 2013 -0800

    Add -V option to print version number
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 64db372b4988e4862acb328492b7bbe14851ebe0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jan 19 16:32:15 2013 -0800

    Combine usage message into a single string
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 64e773800f70a4e9ebc0e606150beaff9b839fd9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Dec 16 12:46:50 2012 -0800

    Fix some clang warnings about implicit conversions
    
    sessreg.c:360:43: warning: implicit conversion changes signedness:
          'unsigned long' to 'off_t' (aka 'long') [-Wsign-conversion]
                            sysnerr (lseek(llog, (long) pwd->pw_uid*sizeof(ll), 0)
                                     ~~~~~       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
    sessreg.c:360:25: warning: implicit conversion changes signedness: 'long' to
          'unsigned long' [-Wsign-conversion]
                            sysnerr (lseek(llog, (long) pwd->pw_uid*sizeof(ll), 0)
                                                 ^~~~~~~~~~~~~~~~~~~
    
    sessreg.c:405:7: warning: implicit conversion loses integer precision: 'size_t'
          (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
                    i = strlen (line);
                      ~ ^~~~~~~~~~~~~
    sessreg.c:406:9: warning: comparison of integers of different signs: 'int' and
          'unsigned long' [-Wsign-compare]
                    if (i >= sizeof (u->ut_id))
                        ~ ^  ~~~~~~~~~~~~~~~~~
    
    sessreg.c:494:7: warning: implicit conversion loses integer precision: 'size_t'
          (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
                    i = strlen (line);
                      ~ ^~~~~~~~~~~~~
    sessreg.c:495:9: warning: comparison of integers of different signs: 'int' and
          'unsigned long' [-Wsign-compare]
                    if (i >= sizeof (u->ut_id))
                        ~ ^  ~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 88bf1500095d7aaea9689a6d0367d6ff5c868292
Author: Ed Schouten <ed@80386.nl>
Date:   Sat Sep 15 20:27:57 2012 +0200

    Remove dubious code.
    
    The NO_UTMP definition is set on non-FreeBSD, non-OpenBSD, BSD-based
    systems. When looking at the commonly used BSD-based operating systems,
    they either use utmpx, or I can't think of a reason why the utmp code
    wouldn't work.
    
    If it turns out some obscure operating system breaks because of this
    change, we should replace this by something more accurate, such as an
    Autoconf check or an #ifdef specific to that operating system.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d6570f5188ac8b223a2ae8d1ef596f313938acca
Author: Ed Schouten <ed@80386.nl>
Date:   Sat Sep 15 20:26:57 2012 +0200

    Make the `line' variable local to main().
    
    It is only used within main(). This prevents a compilation failure when
    building with -Wshadow.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8963bc3df6d3e9627c82171c3c931616f27fd528
Author: Ed Schouten <ed@80386.nl>
Date:   Sat Sep 15 20:11:20 2012 +0200

    Place NetBSD specific #defines in the proper place.
    
    For all the other databases (utmp, wtmp, lastlog) we already do it in
    sessreg.h. There's no reason why we should place the utmpx specific ones
    in sessreg.c.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1d609a5daa3fa1553111076561a1f800e462156d
Author: Thomas Klausner <tk@giga.or.at>
Date:   Fri Jun 15 11:36:07 2012 +0200

    Fix compilation on NetBSD - undefined *TMPX paths
    
    Make sure file name defines exist on NetBSD.
    https://bugs.freedesktop.org/show_bug.cgi?id=50940
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7ac51a652bfb8423604bb1a120568d44516c9de9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 21 21:09:43 2011 -0700

    sessreg 1.0.7
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit fbe6fa7019309672c311184dd3bce3c25fb578d3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Sep 26 16:01:40 2011 -0700

    Add const attributes to fix gcc -Wwrite-strings warnings
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 18d68ce74bd810bc09f99a476798b8e4a66ec494
Author: Ed Schouten <ed@80386.nl>
Date:   Sun Jun 26 14:04:20 2011 +0200

    Make lastlog work on BSD systems without <lastlog.h>.
    
    FreeBSD 8.x and lower have struct lastlog in <utmp.h>. Add a specific
    Autoconf check for struct lastlog, where we include both <utmp.h> and
    <lastlog.h>.
    
    Also, change NO_LASTLOG to a definition for the opposite; USE_LASTLOG.
    This is more consistent with USE_UTMP and USE_UTMPX.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9e93c5f65a22824f6b4af7ee68944f2226f7efa7
Author: Ed Schouten <ed@80386.nl>
Date:   Sun Jun 26 13:50:36 2011 +0200

    Simply define LLOG_FILE and TTYS_FILE unconditionally.
    
    It doesn't matter if we define these pathnames, even if we're not going
    to use them in the code itself. It is already done that way for utmp and
    wtmp.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 92d2628e3b1db4b0217d91d532e21018371445bc
Author: Ed Schouten <ed@80386.nl>
Date:   Sun Jun 26 10:15:59 2011 +0200

    Fix whitespace inconsistencies.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 38dd87854f106f6d7a3c8bd8916b65c0d1a87697
Author: Ed Schouten <ed@80386.nl>
Date:   Sun Jun 26 09:51:01 2011 +0200

    Just use time_t directly.
    
    There is no use for this #define (anymore). We can already assume that
    any decent system has time_t defined. It has to, otherwise struct utmp
    and struct utmpx can't even be defined.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6675a07badfb688aacbd8fd12ba55e16854ba0ab
Author: Ed Schouten <ed@80386.nl>
Date:   Sun Jun 26 09:47:40 2011 +0200

    Only expose the sflag variable when needed.
    
    The sflag variable is only used when using BSD-style utmp.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6b9a2f7bfa823a3dc0befd039ee08ec1596a3c64
Author: Ed Schouten <ed@80386.nl>
Date:   Sun Jun 26 09:43:37 2011 +0200

    Get rid of SYSV definition. Just check for pututline().
    
    If the system provides pututline(), we just want to use that, instead of
    specifically checking for certain operating systems.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 578b76086edb834aa447ce9aed60c585e44e6cc1
Author: Ed Schouten <ed@80386.nl>
Date:   Sat Jun 25 10:35:25 2011 +0200

    Don't forget to include <sys/types.h> before <utmp.h>.
    
    Some operating systems (e.g. FreeBSD) require <sys/types.h> to be
    included before <utmp.h>, because they depend on type definitions such
    as int32_t, time_t, etc.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit dd5d4c9721417a21133bb44a0567a041a166bd5e
Author: Ed Schouten <ed@80386.nl>
Date:   Fri Jun 24 15:52:18 2011 +0200

    Get rid of bzero() calls. Replace them by memset().
    
    bzero() is not part of POSIX; memset() is.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 301cbd433bb698147e05e7dbfb4de2ce2e0e9cbb
Author: Ed Schouten <ed@80386.nl>
Date:   Fri Jun 24 15:46:43 2011 +0200

    Use Autoconf to check for utmp field existence.
    
    Don't use the quirky SYSV and __QNX__ definitions to determine whether
    the utmp fields exist.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit eb6eb771ff9f53c56bd60f28c5598eee9e2fb9b2
Author: Ed Schouten <ed@80386.nl>
Date:   Wed Jun 22 00:36:41 2011 +0200

    Only split off /dev/ instead trimming to last /.
    
    This prevents pseudo-terminals with names like /dev/pts/0 from getting
    trimmed to just 0 instead of pts/0.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit aad7bed11410413b186e0d5af1783686405b47e6
Author: Ed Schouten <ed@80386.nl>
Date:   Wed Jun 22 00:10:17 2011 +0200

    Fix typo in function name check.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1e20098384961230c3652078fed09e77b2ba2808
Author: Ed Schouten <ed@80386.nl>
Date:   Wed Jun 22 00:09:59 2011 +0200

    Correct whitespace and indentation.
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ba2ea124ff10cadaf1fc96f7e76372b5400e76d1
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Mon Mar 14 14:25:22 2011 +0000

    Fix non-srcdir builds
    
    Commit 3bb9256b8e3a56b94281ea787c07f080c0a80312 introduces an
    -I.. which should be -I$(top_builddir) -I$(top_srcdir)
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 5a886e2fc5f4b3f062a20f66ee68bad4a0b98ad1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jan 19 11:20:21 2011 -0500

    config: use AC_CHECK_MEMBERS rather than AC_CHECK_MEMBER
    
    Let Autoconf do the work of setting up the #define in config.h.
    Apply and comment standard sections layout.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 4eaaa6a84a52b7c60df964102f0fb8d860b00308
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jan 19 10:52:55 2011 -0500

    config: remove AC_CANONICAL_HOST already included by XORG_DEFAULT_OPTIONS
    
    Fix some quoting and comments, no functional changes.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 3bb9256b8e3a56b94281ea787c07f080c0a80312
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jan 19 10:06:55 2011 -0500

    config: move man pages into their own directory
    
    Use services provided by XORG_MANPAGE_SECTIONS.
    Use standard Makefile for man pages.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit f9d0aa7ca56c68aee0ba53a9ad9c232c544264b0
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jan 13 17:15:36 2011 -0500

    man: replace hard coded man page section with substitution strings
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 3ad465bf134560234e75bf421acbe1481bccfde4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jan 13 11:15:47 2011 -0500

    man: remove trailing spaces and tabs
    
    Using s/[ \t]*$//
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit d3055b5828d5ffd92134de31c44c3d14f6bd283d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Nov 10 21:08:09 2010 -0800

    config: Remove unnecessary calls from configure.ac
    
    AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now
    PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2d33ed0f648314f661aa5e429834a8f886904f94
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Nov 10 21:06:15 2010 -0800

    config: upgrade to util-macros 1.8 for additional man page support
    
    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
    The value of MAN_SUBST is the same for all X.Org packages.
    
    Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
    Enables use of platform appropriate version of sed.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 87666632a0f066cb9df3fb4ae258f89f1edb56cc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Nov 10 21:03:59 2010 -0800

    Sun's copyrights belong to Oracle now
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7f1e17aed0027e4040a1fcc96e6319fca36af233
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jun 3 17:32:57 2010 -0700

    sessreg 1.0.6
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8808c476319fce3e254e3a7df3205ba4205cb13b
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Feb 3 14:12:28 2010 -0500

    Add AC_USE_SYSTEM_EXTENSIONS providing needed WTMPX_FILE define
    
    The WTMPX_FILE is only defined under __USE_GNU conditional
    compilation. Autoconf provides AC_USE_SYSTEM_EXTENSIONS
    to enable platform extensions.
    
    It must be expanded before any other macros that uses the compiler.
    To reduce the risk of being misplaced, the statements have been
    grouped (mostly) as per the GNU standard layout.This macro
    requires Autoconf level 2.60 or later.
    
    The compilation failed under a GNU-Linux OS.
    
    Tested-by (on darwin): Jeremy Huddleston <jeremyhu@apple.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 9792646873ac0e597cc65ef4a056444fd8f9a7fd
Author: Ed Schouten <ed@80386.nl>
Date:   Sat Jan 16 18:33:53 2010 +0000

    Allow sessreg to be built without <utmp.h>.
    
    As of 9.0, FreeBSD will only support <utmpx.h>.  It only implements the
    POSIX interface with minor extensions.  There is no need to write to
    wtmp and lastlog separately, because this is already done by
    pututxline().  Add additional checks to configure.ac to search for the
    presence of utmpxname() and updwtmpx().
    
    Signed-off-by: Ed Schouten <ed@80386.nl>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 9ca078f8ffc5ab0c4d0f58be26e885a7ad0b8f39
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jan 11 21:04:28 2010 -0800

    Update Sun license notices to current X.Org standard form
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 1b12b1dac6fcb0d1665f3272a899d78c76fd2969
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 8 13:30:45 2010 -0500

    COPYING: add missing copyright notice
    
    Refer to sessreg.h file.
    Copyright 2005 Sun Microsystems, Inc.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 067fef75045931b4b5766ee7e55300d16e6dcc9a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Nov 26 09:19:52 2009 -0500

    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
    
    Now that the INSTALL file is generated.
    Allows running make maintainer-clean.

commit 94be0a4794dd9e9d9e7f23737c6ccd2d50985b5d
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Oct 28 14:09:07 2009 -0400

    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
    
    Add missing INSTALL file. Use standard GNU file on building tarball
    README may have been updated
    Remove AUTHORS file as it is empty and no content available yet.
    Remove NEWS file as it is empty and no content available yet.

commit 88252d8bdccbf5dd3ee077345ccd1569fb4f10e6
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Oct 26 22:08:38 2009 -0400

    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
    
    ChangeLog filename is known to Automake and requires no further
    coding in the makefile.

commit 9ea98936be23de9a2d9e27c5f5af93b0eea276d9
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Oct 22 12:34:14 2009 -0400

    .gitignore: use common defaults with custom section # 24239
    
    Using common defaults will reduce errors and maintenance.
    Only the very small or inexistent custom section need periodic maintenance
    when the structure of the component changes. Do not edit defaults.

commit eb6ef63fb284cc91c04dcb68fda2ad8ca6fe0e1a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Oct 12 11:11:42 2009 -0700

    sessreg 1.0.5
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 46646524a74c1834de103a2f469142ab50f6bfd6
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Oct 12 11:03:01 2009 -0700

    Document -L option for lastlog files
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit a594e318996d0e8c02018eef1837135b382076c5
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Oct 12 10:50:51 2009 -0700

    Add utmp/utmpx man page to See Also section of man page
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit be736ebbfc5510997ae227e903a5b9d66ba0ee1a
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Oct 12 10:44:07 2009 -0700

    Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit ebc9f3d2483623dcb2ccca7f12cc2769173eb4a9
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Oct 1 14:54:19 2009 -0700

    Add README with pointers to mailing lists, bugzilla, & git
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit 3ba14d85abede72a40c5ba8fe18d1a2e1625d19e
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Mon Jan 19 15:47:29 2009 -0200

    Ansification and compile warning fixes.
    
      This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects
    make distcheck and all gcc 4.3 and sparse warnings.

commit 3db21d655b0a2988ae0fd47e360d29bb8763cd03
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jun 11 14:46:29 2008 -0700

    Version bump: 1.0.4

commit accc7988851b983d1589d64e32a707c0b44fee0e
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Jun 11 14:44:10 2008 -0700

    X_NOT_POSIX bits for pre-POSIX-1990 systems not needed any more

commit c9973031a696cc00c509d7013145b1116093bf82
Author: David Nusinow <dnusinow@debian.org>
Date:   Sat Mar 1 13:53:21 2008 -0500

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

commit a888e809b4e1c9576e667cb50cc62009a1bf391e
Author: James Cloos <cloos@jhcloos.com>
Date:   Thu Dec 6 15:51:04 2007 -0500

    Add missing PHONY line for automatic ChangeLog generation

commit da1b5f42fcb1bd0bc9b80f6f1ab7ebb9eb506554
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Fri Aug 17 14:30:31 2007 -0700

    Version bump: 1.0.3

commit 12982c07b44c15a621fc548a4448f9a04bf5907e
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Aug 16 17:17:06 2007 -0700

    Change sessreg_CFLAGS to AM_CFLAGS to make automake-1.10 happier

commit 136525f01e4ce8e60e8c78b44654d8f6861233d2
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Mon Jun 11 16:38:00 2007 -0700

    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>

commit 9b2ddf6c779553c2cb5e185d2046e8817a89e03e
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Thu Nov 30 19:44:25 2006 +0200

    bump to 1.0.3

commit 05d36d40bb2018a96cdd1345a390db3fbff0fd65
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Sun Nov 19 17:32:07 2006 +0100

    include <time.h> before <utmp.h>. Required on some systems.

commit 37e89cbf2bc3b6266fa47ff1f956d173658bb9a5
Author: Jürg Billeter <j@bitron.ch>
Date:   Thu Nov 9 13:21:55 2006 +0100

    Fix grep pattern in Makefile.am
    
    Don't escape | in basic regex mode as it breaks build with GNU grep.

commit 6fc58644148039261c21f699a14c839356f501ed
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Nov 8 15:38:21 2006 -0800

    Version bump to 1.0.1

commit 82fbb553114e8d00b6b3886aee4554dfd178cb01
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Nov 8 13:51:50 2006 -0800

    Improve formatting of file names in sessreg.man

commit 02379845b074cb252c0cb42d18c6cb8effcdc9f5
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Wed Nov 8 13:48:05 2006 -0800

    Fix builds when $(srcdir) != $(objdir)

commit c472f5f9257e6dcb9e82042a99ef028e3390e93e
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Nov 7 18:46:11 2006 -0800

    Replace static ChangeLog with dist-hook to generate from git log

commit aa27f60ff70230990bd7351bbfda3d38f95afe3b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Nov 7 18:39:58 2006 -0800

    Add hooks for checking code with lint/sparse/etc.

commit fd251f039f74f2ef8ef8a019566eebf9d22be098
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Nov 7 18:32:54 2006 -0800

    Clear unused variable warnings from lint

commit 21bee0694be43d4be1d93a8bcafbcd0f0ef9a9b4
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Nov 7 18:28:20 2006 -0800

    AC_CHECK_MEMBER needs to include <utmpx.h> when checking for  utmpx.ut_syslen

commit 63f21c67aa6d025d8fa06793dc7f83f37e7c3fb4
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Nov 7 18:27:45 2006 -0800

    Substitute correct pathnames for utmp/wtmp files in man pages
    
    ifdefs to find the paths on each platform have been broken out into a new
    sessreg.h header that is also preprocessed into sed rules applied to the
    man page.    Old ifdefs left for Imake compatibility in the 6.9/7.0 hybrid
    release have been dropped now that autoconf is required to build.

commit 98a651ec2ac289b966e0a09557e81b33e202ee9c
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Nov 7 16:49:53 2006 -0800

    Add *~ to .gitignore to skip emacs/patch droppings

commit 5d7eed376aa9e8e623b0c46790a70b0cb3278207
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Nov 7 16:49:26 2006 -0800

    renamed: .cvsignore -> .gitignore

commit de39e20707b0affebf4c4c0e8485bdf08cf88a82
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Tue Nov 7 16:48:27 2006 -0800

    List default Xservers path as /etc/X11/xdm instead of /usr/X11R6/lib/xdm

commit 8e657d70ef4fe5b4dfa51b506a8adca16b0ca8a0
Author: Kevin E Martin <kem@kem.org>
Date:   Thu Dec 15 00:24:04 2005 +0000

    Update package version number for final X11R7 release candidate.

commit 7a587391f1b18192731e611ff65d74e414b67d60
Author: Kevin E Martin <kem@kem.org>
Date:   Tue Dec 6 22:48:18 2005 +0000

    Change *man_SOURCES ==> *man_PRE to fix autotools warnings.

commit fbfb7cb1e77418310e42cf38fc4faa411c103bec
Author: Kevin E Martin <kem@kem.org>
Date:   Sat Dec 3 05:49:17 2005 +0000

    Update package version number for X11R7 RC3 release.

commit 021e9ec8d71ea9de9fa14743792e7528e0417daf
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date:   Mon Nov 28 22:01:38 2005 +0000

    Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
        update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)

commit 88f5deb277ffdf8253463eb0470f49306ac036de
Author: Eric Anholt <anholt@freebsd.org>
Date:   Mon Nov 21 10:34:57 2005 +0000

    Another pass at .cvsignores for apps.

commit eab9fb30fe89009f7791f4ab502c89d99cb2b84d
Author: Eric Anholt <anholt@freebsd.org>
Date:   Sun Nov 20 22:08:49 2005 +0000

    Add/improve .cvsignore files for apps.

commit e35111966e6d66c176ed0955c1c25942c567632b
Author: Kevin E Martin <kem@kem.org>
Date:   Sat Nov 19 07:15:36 2005 +0000

    Update pkgconfig files to separate library build-time dependencies from
        application build-time dependencies, and update package deps to work
        with separate build roots.

commit d90d5ab54582b04ad93e9cf6182652fdd6d3b4a3
Author: Kevin E Martin <kem@kem.org>
Date:   Wed Oct 19 02:47:50 2005 +0000

    Update package version number for RC1 release.

commit 5e79e3663bf5e14c7ae4f97798ee4430a02687f5
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date:   Mon Oct 17 23:56:20 2005 +0000

    Use @APP_MAN_SUFFIX@ instead of $(APP_MAN_SUFFIX) in macro substitutions to
        work better with BSD make

commit 5ec50a516f66a7a57477dfc1ec51f8215084d29a
Author: Kevin E Martin <kem@kem.org>
Date:   Mon Oct 17 18:08:25 2005 +0000

    Fixed man page processing

commit adbf0a45e0c68512eb46c8bd8e024d5cdfd6b68f
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date:   Fri Oct 14 00:25:42 2005 +0000

    Use sed to fill in variables in man page

commit f7e326bd50466f9197e75b2b71ccf0fb1996f4f8
Author: Kevin E Martin <kem@kem.org>
Date:   Wed Oct 5 04:10:02 2005 +0000

    Add check for utmpx.ut_syslen structure member

commit e33c62dfa7641e8e37a2ef64d98aa5171f2ef705
Author: Kevin E Martin <kem@kem.org>
Date:   Wed Oct 5 04:06:35 2005 +0000

    Get sessreg.man from $(srcdir) to fix make distcheck
    Add check for utmpx.ut_syslen structure member

commit af48c05e4b8639935e8e0738dc0269708c2e929c
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date:   Mon Oct 3 17:50:57 2005 +0000

    Bug #4678 <https://bugs.freedesktop.org/show_bug.cgi?id=4678> Patch #3472
        <https://bugs.freedesktop.org/attachment.cgi?id=3472> Use SysV-style
        utmp on GNU/kFreeBSD (Robert Millan)

commit 5932bb94ffc5c10ab00831b70e703451acdc76b5
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date:   Mon Oct 3 17:18:44 2005 +0000

    Add AC_SYS_LARGEFILE for systems that need it to access large
        wtmpx/lastlogs Set version string in man page

commit 26e33eae6ff593878b1402ef6d5596dc1f7c7fe3
Author: Kristian Høgsberg <krh@redhat.com>
Date:   Tue Sep 27 18:07:40 2005 +0000

    Add ChangeLog so autogen.sh will run.

commit 95c055a072fe0b7b6e6b50b89c5ff7264b25e1a4
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date:   Thu Aug 18 22:40:09 2005 +0000

    Undo regression in checking for lastlog support in monolithic builds
        (reported by Dan McNichol of IBM)

commit defb333b8190b058a437985bedd4bff90ea2d98c
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date:   Wed Aug 10 21:33:09 2005 +0000

    Merge in utmpx code from Solaris sessreg. Add #ifdefs for autoconf defines.

commit 8cd395d3bd86ba74888b7ea8cec2d0228c00c312
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date:   Wed Aug 10 21:20:03 2005 +0000

    AUTHORS: Copy info from comments in sessreg.c configure.ac: Add checks for
        lastlog.h, utmpx.h, & sys/param.h to replace OS-specific #ifdefs

commit c8bfcd300e8da2510c101211db7bffb2955e593d
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date:   Wed Aug 10 20:51:27 2005 +0000

    Add sessreg.man to app/sessreg module

commit a487143d0b4f0183d602346adc7dedcccf158336
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Wed Aug 10 11:17:07 2005 +0000

    Add build system for sessreg, broken out from xdm.

commit e3025b01b3fdd32bde8120dec1b0061e1449c6e9
Author: Adam Jackson <ajax@nwnk.net>
Date:   Wed Oct 13 22:14:22 2004 +0000

    Bug #1627: Zero out struct utmp before writing it to prevent garbage
        fields. (Egmont Koblinger)

commit 922a3ce29d3fe91f57fd41ea87e0e56b72ee9670
Author: Egbert Eich <eich@suse.de>
Date:   Fri Apr 23 19:54:42 2004 +0000

    Merging XORG-CURRENT into trunk

commit 67ee3273cd7cc450e73b0f8a9a9178ae67b17ea3
Author: Egbert Eich <eich@suse.de>
Date:   Sun Mar 14 08:35:12 2004 +0000

    Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004

commit aadb852d2af964c29514d9c345ab91f267223754
Author: Egbert Eich <eich@suse.de>
Date:   Wed Mar 3 12:13:00 2004 +0000

    Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004

commit 730d1970ee78e5f98452d2b6ef28972678522308
Author: Egbert Eich <eich@suse.de>
Date:   Thu Feb 26 13:36:17 2004 +0000

    readding XFree86's cvs IDs

commit 90395833b58cf129800f7372d0dd957fbe277afa
Author: Egbert Eich <eich@suse.de>
Date:   Thu Feb 26 09:24:04 2004 +0000

    Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004

commit 83d734abd26ba5e3cf8c197de581da2379290860
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date:   Fri Nov 14 16:49:22 2003 +0000

    XFree86 4.3.0.1

commit 4a979ad921e2733b8e3e178928240cf8a60ad07b
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date:   Fri Nov 14 15:54:53 2003 +0000

    R6.6 is the Xorg base-line