From 86dd13e9f523e827269eed612e571f4eca387120 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Thu, 15 Mar 2007 18:23:20 -0400 Subject: [PATCH] Added 'version' Makefile target. Added ChangeLog.old to the archive. Version updates. --- ChangeLog.old | 179 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.am | 15 ++--- NEWS | 15 +++++ configure.ac | 2 +- src/ui.h | 2 +- 5 files changed, 202 insertions(+), 11 deletions(-) create mode 100644 ChangeLog.old diff --git a/ChangeLog.old b/ChangeLog.old new file mode 100644 index 0000000..6bcd8a2 --- /dev/null +++ b/ChangeLog.old @@ -0,0 +1,179 @@ +2005-07-30 Ben Kibbey + + * NEWS: + + Release version 2.1. + +2005-07-30 Ben Kibbey + + * src/modules/login.c: + + Fix for utmp hostname corruption on NetBSD. + +2005-07-30 Ben Kibbey + + * src/modules/login.c, src/modules/mail.c, src/modules/passwd.c: + + Solaris doesn't have strsep() or warn[x]() or err[x](). Include + "../.c". + +2005-07-30 Ben Kibbey + + * src/ui.c: + + Update usage for verbosity. + +2005-07-30 Ben Kibbey + + * NEWS: + + More updates. + +2005-07-30 Ben Kibbey + + * doc/README.modules: + + printf()'s not fprintf(stderr, ...)'s. + +2005-07-30 Ben Kibbey + + * contrib/kill.c: + + Show which option the module requires from login.so in the module + help. + +2005-07-30 Ben Kibbey + + * src/ui.c: + + Fix for '-d'. + +2005-07-30 Ben Kibbey + + * doc/ui.1: + + Update verbosity. + +2005-07-30 Ben Kibbey + + * src/ui.c, src/ui.h: + + Fix for modules which take no options at all. Getopt() was + terminating the options list and treating other options as + arguments. + + Verbosity (-v) is done per-module unless specified twice (-vv). + +2005-07-30 Ben Kibbey + + * src/modules/mail.c: + + Fix for a segfault when munmap()'ing the alias file. + +2005-07-30 Ben Kibbey + + * src/ui.c: + + Really fix the dup warning. + +2005-07-30 Ben Kibbey + + * src/ui.c: + + Don't ouput the module duplicate warning more than once for each + dup. + +2005-07-30 Ben Kibbey + + * src/modules/Makefile.am, src/modules/login.c, + src/modules/login.h, src/modules/mail.c, src/modules/mail.h, + src/modules/passwd.c, src/modules/passwd.h: + + Updates for 2.1. + + Fixed memory leak in login.c. + +2005-07-30 Ben Kibbey + + * src/Makefile.am, src/login.c, src/login.h, src/mail.c, + src/mail.h, src/passwd.c, src/passwd.h, src/ui.c, src/ui.h: + + Fixed module chaining of more than two modules. + + Miscellaneous cleanups. + + Output the module name when showing help. + + Skip duplicate modules help. + +2005-07-30 Ben Kibbey + + * contrib/kill.c, doc/README.modules, doc/ui.1: + + Update for 2.1. + +2005-07-30 Ben Kibbey + + * README: + + Refer to INSTALL for details on configure. + +2005-07-30 Ben Kibbey + + * NEWS: + + Update for version 2.1. + +2005-07-30 Ben Kibbey + + * configure.ac: + + Modules are located in src/modules. + +2005-07-24 Ben Kibbey + + * INSTALL: + + Initial commit. + +2005-07-24 Ben Kibbey + + * src/login.c, src/login.h, src/mail.c, src/mail.h, src/passwd.c, + src/passwd.h, src/ui.c, src/ui.h: + + Removed configurable strings UNKNOWN, NONE, YES and NO. These are + more hardcoded now. Module writers should look at the 'Output Key' + when running 'ui -h'. + + The -x and -X switches now require a module name like -O so there + is no need to specify both -O with -x or -X. + +2005-07-24 Ben Kibbey + + * doc/README.modules, doc/ui.1: + + Removed configurable strings UNKNOWN, NONE, YES and NO. These are + more hardcoded now. Module writers should look at the 'Output Key' + when running 'ui -h'. + + Update manual page to reflect changes in the -X and -x switches. + +2005-07-24 Ben Kibbey + + * configure.ac, contrib/kill.c: + + Removed configurable strings UNKNOWN, NONE, YES and NO. These are + more hardcoded now. Module writers should look at the 'Output Key' + when running 'ui -h'. + +2004-12-05 Ben Kibbey + + * ChangeLog, KnownBugs, Makefile.am, NEWS, README, configure.ac, + contrib/Makefile.am, contrib/kill.c, contrib/lastusers.sh, + doc/Makefile.am, doc/README.modules, doc/ui.1, doc/uirc, + src/Makefile.am, src/err.c, src/login.c, src/login.h, src/mail.c, + src/mail.h, src/passwd.c, src/passwd.h, src/strsep.c, src/ui.c, + src/ui.h: + + Initial revision + diff --git a/Makefile.am b/Makefile.am index ee198bd..0e95ce0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,8 @@ -EXTRA_DIST = KnownBugs NEWS +EXTRA_DIST = KnownBugs NEWS ChangeLog ChangeLog.old SUBDIRS = src doc contrib -dist-hook: - for f in NEWS; do \ - sed 's/\^^DATE^^/'"`date '+%B %d, %Y'`"'/' $(distdir)/$$f \ - >$(distdir)/$$f.tmp \ - && mv -f $(distdir)/$$f.tmp $(distdir)/$$f; \ - done; \ - \ - rm -f *.gmon; +changelog: + git-log --no-color > ChangeLog || exit 1 + +version: changelog + $(MAKE) $(AM_MAKEFLAGS) distcheck diff --git a/NEWS b/NEWS index b587916..f3f33eb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,18 @@ +userinfo 2.2 released March 17, 2007 + The compile farm at sourceforge.net is no longer available so I don't have + access to OS's other than FreeBSD (4.1) and Linux (2.6) for build testing. + If you have a machine other than the above and would like to test + compilation on, please let me know of build failures so we can fix them. + + Updated my email address. + + Changed the follow symbolic links option -l to -L. + + The users idle time (login.so) is shown in seconds rather than minutes. + + Added contrib/fexists.c. + + userinfo 2.1 released July 30, 2005 This release includes some major fixes and code cleanups. Module writers should have another look at doc/README.modules as all of the function diff --git a/configure.ac b/configure.ac index 83f533e..2a34b55 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl $Id: configure.ac,v 2.2 2005-07-30 12:57:04 bjk Exp $ dnl dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(userinfo, 2.1, [Ben Kibbey ]) +AC_INIT(userinfo, 2.2, [Ben Kibbey ]) AC_CONFIG_AUX_DIR(build) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([foreign]) diff --git a/src/ui.h b/src/ui.h index 735b6d1..e1a64db 100644 --- a/src/ui.h +++ b/src/ui.h @@ -46,7 +46,7 @@ #endif #endif -#define COPYRIGHT "Copyright (c) 2001-2006 " PACKAGE_BUGREPORT +#define COPYRIGHT "Copyright (c) 2001-2007 " PACKAGE_BUGREPORT #define STAT(file, sstat) ((followsymlinks) ? stat(file, sstat) : lstat(file, sstat)) #define TIMEBUFSIZE 64 #define UNKNOWN "!" -- 2.11.4.GIT