From bb6a33e080e919dafb5d51592dfc04cf9436b445 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 21 Jan 1998 05:50:58 +0000 Subject: [PATCH] updated version --- BUGS | 2 +- INSTALL | 2 +- Makefile.in | 28 ++++++++++++++-------------- README | 2 +- check.c | 4 ++-- compat.h | 2 +- config.h.in | 2 +- dce_pwent.c | 2 +- emul/utime.h | 2 +- find_path.c | 2 +- getspwuid.c | 2 +- getwd.c | 2 +- goodpath.c | 2 +- ins_2001.h | 2 +- ins_classic.h | 2 +- ins_csops.h | 2 +- ins_goons.h | 2 +- insults.h | 2 +- interfaces.c | 2 +- logging.c | 2 +- options.h | 2 +- parse.c | 2 +- parse.lex | 2 +- parse.yacc | 2 +- pathnames.h.in | 2 +- putenv.c | 2 +- strdup.c | 2 +- sudo.c | 2 +- sudo.h | 2 +- sudo_setenv.c | 2 +- testsudoers.c | 2 +- tgetpass.c | 2 +- utime.c | 2 +- version.h | 4 ++-- visudo.c | 2 +- 35 files changed, 50 insertions(+), 50 deletions(-) diff --git a/BUGS b/BUGS index ab0e154f6..f81660856 100644 --- a/BUGS +++ b/BUGS @@ -1,4 +1,4 @@ -Known bugs in sudo version 1.5.4 +Known bugs in sudo version 1.5.5 ================================ 1) "make install-man" should substitute correct paths into the diff --git a/INSTALL b/INSTALL index 598bd5bdf..b91ae4dda 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -Installation instructions for CU sudo 1.5.4 +Installation instructions for CU sudo 1.5.5 =========================================== Sudo uses a `configure' script to probe the capabilities and type diff --git a/Makefile.in b/Makefile.in index 52b829f87..6ab2f414f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,5 +1,5 @@ #* -#* CU sudo version 1.5.4 (based on Root Group sudo version 1.1) +#* CU sudo version 1.5.5 (based on Root Group sudo version 1.1) #* #* This software comes with no waranty whatsoever, use at your own risk. #* @@ -112,7 +112,7 @@ LIBOBJS = @LIBOBJS@ @ALLOCA@ HDRS = sudo.h pathnames.h options.h compat.h version.h insults.h \ ins_2001.h ins_classic.h ins_goons.h ins_csops.h -VERSION = 1.5.4 +VERSION = 1.5.5 DISTFILES = $(SRCS) $(HDRS) BUGS CHANGES COPYING HISTORY INSTALL OPTIONS TODO \ PORTING README RUNSON FAQ TROUBLESHOOTING Makefile.in acsite.m4 \ @@ -145,18 +145,6 @@ visudo: $(PARSEOBJS) $(VISUDOBJS) $(LIBOBJS) testsudoers: $(PARSEOBJS) $(TESTOBJS) $(CC) -o $@ $(PARSEOBJS) $(TESTOBJS) $(VISUDO_LDFLAGS) $(VISUDO_LIBS) -# Update version strings based on version specified in version.h -update_version: Makefile.in emul/utime.h check.c check.c compat.h config.h.in dce_pwent.c find_path.c getspwuid.c getwd.c goodpath.c ins_2001.h ins_classic.h ins_csops.h ins_goons.h insults.h interfaces.c lex.yy.c logging.c options.h parse.c parse.lex parse.yacc pathnames.h putenv.c strdup.c sudo-lex.yy.c sudo.c sudo.h sudo_setenv.c testsudoers.c tgetpass.c utime.c visudo.c - : - -Makefile.in : version.h - co -l -q $@ - ( VERSION=`sed -n 's/static char version\[\] = "\([^"]*\)".*$$/\1/p' < version.h` ; sed -e 's/\(VERSION =\) [0-9]\.[0-9][0-9]*\.[0-9][0-9]*/\1 '$$VERSION'/' -e 's/\(CU sudo version\) [0-9]\.[0-9][0-9]*\.[0-9][0-9]*/\1 '$$VERSION'/' < $@ > $@.$$$$ ; mv -f $@.$$$$ $@ ; chmod 644 $@ ) - -emul/utime.h check.c check.c compat.h config.h.in dce_pwent.c find_path.c getspwuid.c getwd.c goodpath.c ins_2001.h ins_classic.h ins_csops.h ins_goons.h insults.h interfaces.c lex.yy.c logging.c options.h parse.c parse.lex parse.yacc pathnames.h putenv.c strdup.c sudo-lex.yy.c sudo.c sudo.h sudo_setenv.c testsudoers.c tgetpass.c utime.c visudo.c: version.h - co -l -q $@ - ( VERSION=`sed -n 's/static char version\[\] = "\([^"]*\)".*$$/\1/p' < version.h` ; sed 's/\(CU sudo version\) [0-9]\.[0-9][0-9]*\.[0-9][0-9]*/\1 '$$VERSION'/' < $@ > $@.$$$$ ; mv -f $@.$$$$ $@ ; chmod 644 $@ ) - y.tab.c y.tab.h: parse.yacc $(YACC) -d $(srcdir)/parse.yacc @@ -259,3 +247,15 @@ dist: $(DISTFILES) tar Ocf cu-sudo.v$(VERSION).tar \ `cat $$TF` && compress cu-sudo.v$(VERSION).tar && rm -f $$TF) ls -l ../cu-sudo.v$(VERSION).tar.Z + +# Update version strings based on version specified in version.h +# This is ugly but it works... +update_version: Makefile.in emul/utime.h check.c check.c compat.h config.h.in dce_pwent.c find_path.c getspwuid.c getwd.c goodpath.c ins_2001.h ins_classic.h ins_csops.h ins_goons.h insults.h interfaces.c lex.yy.c logging.c options.h parse.c parse.lex parse.yacc pathnames.h putenv.c strdup.c sudo-lex.yy.c sudo.c sudo.h sudo_setenv.c testsudoers.c tgetpass.c utime.c visudo.c + : + +Makefile.in : version.h + ( if `co -l -q $@` ; then CHECKIN=1; else CHECKIN=0 ; fi ; VERSION=`sed -n 's/static char version\[\] = "\([^"]*\)".*$$/\1/p' < version.h` ; sed -e 's/\(VERSION =\) [0-9]\.[0-9][0-9]*\.[0-9][0-9]*/\1 '$$VERSION'/' -e 's/\(CU sudo version\) [0-9]\.[0-9][0-9]*\.[0-9][0-9]*/\1 '$$VERSION'/' < $@ > $@.$$$$ ; mv -f $@.$$$$ $@ ; chmod 644 $@ ; if test $$CHECKIN -eq 1 ; then ci -u -m"updated version" $@ ; fi ) + +emul/utime.h check.c check.c compat.h config.h.in dce_pwent.c find_path.c getspwuid.c getwd.c goodpath.c ins_2001.h ins_classic.h ins_csops.h ins_goons.h insults.h interfaces.c lex.yy.c logging.c options.h parse.c parse.lex parse.yacc pathnames.h putenv.c strdup.c sudo-lex.yy.c sudo.c sudo.h sudo_setenv.c testsudoers.c tgetpass.c utime.c visudo.c: version.h + co -l -q $@ || true + ( if `co -l -q $@` ; then CHECKIN=1; else CHECKIN=0 ; fi ; VERSION=`sed -n 's/static char version\[\] = "\([^"]*\)".*$$/\1/p' < version.h` ; sed 's/\(CU sudo version\) [0-9]\.[0-9][0-9]*\.[0-9][0-9]*/\1 '$$VERSION'/' < $@ > $@.$$$$ ; mv -f $@.$$$$ $@ ; chmod 644 $@ ; if test $$CHECKIN -eq 1 ; then ci -u -m"updated version" $@ ; fi ) diff --git a/README b/README index c63e114a1..c8fdf5400 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -This is the CU version of sudo, release 1.5.4 +This is the CU version of sudo, release 1.5.5 The sudo philosophy =================== diff --git a/check.c b/check.c index e3cc0b9b0..c19b09b0d 100644 --- a/check.c +++ b/check.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 (based on Root Group sudo version 1.1) + * CU sudo version 1.5.5 (based on Root Group sudo version 1.1) * * This software comes with no waranty whatsoever, use at your own risk. * @@ -868,7 +868,7 @@ static void reminder() (void) fprintf(stderr, "\n%s\n%s\n\n%s\n%s\n\n", #else (void) fprintf(stderr, "\n%s\n%s\n%s\n%s\n\n%s\n%s\n\n%s\n%s\n\n", - " CU sudo version 1.5.4, based on Root Group sudo version 1.1", + " CU sudo version 1.5.5, based on Root Group sudo version 1.1", " sudo version 1.1, Copyright (C) 1991 The Root Group, Inc.", " sudo comes with ABSOLUTELY NO WARRANTY. This is free software,", " and you are welcome to redistribute it under certain conditions.", diff --git a/compat.h b/compat.h index a2f297e9c..657ae65a3 100644 --- a/compat.h +++ b/compat.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/config.h.in b/config.h.in index a6ddefb1f..9297d8b3d 100644 --- a/config.h.in +++ b/config.h.in @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/dce_pwent.c b/dce_pwent.c index 4915a8062..8084f197c 100644 --- a/dce_pwent.c +++ b/dce_pwent.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/emul/utime.h b/emul/utime.h index 4d73b433f..9f4b59934 100644 --- a/emul/utime.h +++ b/emul/utime.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.3 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/find_path.c b/find_path.c index 14e7fae89..1d5fb098c 100644 --- a/find_path.c +++ b/find_path.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/getspwuid.c b/getspwuid.c index d620f1ddf..87843829c 100644 --- a/getspwuid.c +++ b/getspwuid.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/getwd.c b/getwd.c index 933e3c24c..3e2550cde 100644 --- a/getwd.c +++ b/getwd.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/goodpath.c b/goodpath.c index 89131837c..16d6bd140 100644 --- a/goodpath.c +++ b/goodpath.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/ins_2001.h b/ins_2001.h index 7bfb6408e..c995c5925 100644 --- a/ins_2001.h +++ b/ins_2001.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/ins_classic.h b/ins_classic.h index ae51be822..db8ab181e 100644 --- a/ins_classic.h +++ b/ins_classic.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/ins_csops.h b/ins_csops.h index 945583b67..d82c67b80 100644 --- a/ins_csops.h +++ b/ins_csops.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/ins_goons.h b/ins_goons.h index f80842b8e..e3fa68da2 100644 --- a/ins_goons.h +++ b/ins_goons.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/insults.h b/insults.h index ad633111d..1d1f96e45 100644 --- a/insults.h +++ b/insults.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/interfaces.c b/interfaces.c index 78e249fd5..c2ef3bf8e 100644 --- a/interfaces.c +++ b/interfaces.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/logging.c b/logging.c index 9c0b7a3fe..c6cf94b19 100644 --- a/logging.c +++ b/logging.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 (based on Root Group sudo version 1.1) + * CU sudo version 1.5.5 (based on Root Group sudo version 1.1) * * This software comes with no waranty whatsoever, use at your own risk. * diff --git a/options.h b/options.h index 4319fc8ac..ffe169c49 100644 --- a/options.h +++ b/options.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/parse.c b/parse.c index fff6bb981..9313cc50b 100644 --- a/parse.c +++ b/parse.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/parse.lex b/parse.lex index fa530224a..f630369d6 100644 --- a/parse.lex +++ b/parse.lex @@ -1,6 +1,6 @@ %{ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/parse.yacc b/parse.yacc index a0353ad71..1027c2cf2 100644 --- a/parse.yacc +++ b/parse.yacc @@ -1,7 +1,7 @@ %{ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/pathnames.h.in b/pathnames.h.in index 11ffe243e..63570312f 100644 --- a/pathnames.h.in +++ b/pathnames.h.in @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/putenv.c b/putenv.c index a959037de..2a46994dd 100644 --- a/putenv.c +++ b/putenv.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/strdup.c b/strdup.c index 9e8799467..b55f8e355 100644 --- a/strdup.c +++ b/strdup.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 (based on Root Group sudo version 1.1) + * CU sudo version 1.5.5 (based on Root Group sudo version 1.1) * * This software comes with no waranty whatsoever, use at your own risk. * diff --git a/sudo.c b/sudo.c index 3445bd56c..e57206400 100644 --- a/sudo.c +++ b/sudo.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 (based on Root Group sudo version 1.1) + * CU sudo version 1.5.5 (based on Root Group sudo version 1.1) * * This software comes with no waranty whatsoever, use at your own risk. * diff --git a/sudo.h b/sudo.h index 34660f699..3bcae1827 100644 --- a/sudo.h +++ b/sudo.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 (based on Root Group sudo version 1.1) + * CU sudo version 1.5.5 (based on Root Group sudo version 1.1) * * This software comes with no waranty whatsoever, use at your own risk. * diff --git a/sudo_setenv.c b/sudo_setenv.c index a5cc93a86..667c13d64 100644 --- a/sudo_setenv.c +++ b/sudo_setenv.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/testsudoers.c b/testsudoers.c index 5a0f6b656..2e9e68ec6 100644 --- a/testsudoers.c +++ b/testsudoers.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/tgetpass.c b/tgetpass.c index 8f8abe190..4da93aafc 100644 --- a/tgetpass.c +++ b/tgetpass.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/utime.c b/utime.c index b088395b7..a38486753 100644 --- a/utime.c +++ b/utime.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/version.h b/version.h index 58580f824..4aaa8716b 100644 --- a/version.h +++ b/version.h @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,6 +23,6 @@ #ifndef _SUDO_VERSION_H #define _SUDO_VERSION_H -static char version[] = "1.5.4"; +static char version[] = "1.5.5"; #endif /* _SUDO_VERSION_H */ diff --git a/visudo.c b/visudo.c index 4d5bccc7c..814d11460 100644 --- a/visudo.c +++ b/visudo.c @@ -1,5 +1,5 @@ /* - * CU sudo version 1.5.4 + * CU sudo version 1.5.5 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -- 2.50.1