]> granicus.if.org Git - sudo/commitdiff
updated version
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 21 Jan 1998 05:50:58 +0000 (05:50 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 21 Jan 1998 05:50:58 +0000 (05:50 +0000)
35 files changed:
BUGS
INSTALL
Makefile.in
README
check.c
compat.h
config.h.in
dce_pwent.c
emul/utime.h
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
logging.c
options.h
parse.c
parse.lex
parse.yacc
pathnames.h.in
putenv.c
strdup.c
sudo.c
sudo.h
sudo_setenv.c
testsudoers.c
tgetpass.c
utime.c
version.h
visudo.c

diff --git a/BUGS b/BUGS
index ab0e154f683c57df40921549db410e67075cd14d..f81660856d60586149eed3f7b523a1a94c2d2976 100644 (file)
--- 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 598bd5bdf97f79cf182a7767555b0a576a31c01d..b91ae4dda11b172f649f4ca7edf1032d9a86a9e8 100644 (file)
--- 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
index 52b829f87d7c98b83c21c1fe6b932203003eb851..6ab2f414f0847b4c4891e7e84de426308ccfcc57 100644 (file)
@@ -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 c63e114a10010e313f2a4d1f056e65f49824ad15..c8fdf5400019b6b7a9a406ea99db6f6f44617cc2 100644 (file)
--- 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 e3cc0b9b0e40970be74dc52ccb1d1e1ddf770e51..c19b09b0d76a497483b589b5ce204c3378ec189f 100644 (file)
--- 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.",
index a2f297e9cd7d805426c63431960259cfb86a1faf..657ae65a3c2dd08b2dd89f29b07534e0e074e5ab 100644 (file)
--- 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
index a6ddefb1f1b74b1573ee87e1e441f59095e69f31..9297d8b3d1ddfb06605547aa71549fc69afd5345 100644 (file)
@@ -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
index 4915a806261a32f0b275022145d8a634918f5cb6..8084f197c10679d43af32f0c008956737a2f49c3 100644 (file)
@@ -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
index 4d73b433ffd6d4ed6fe58f75c174f2e1a8e7ede9..9f4b599346f204727778ee0608d57fa8bc5eab4e 100644 (file)
@@ -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
index 14e7fae89fdbc7b289e785cd3dd44aa3318ffcdd..1d5fb098c3160ff3be24fbd1da3b707bc089a638 100644 (file)
@@ -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
index d620f1ddffff6aedcd469173640e8dc7eaf006b1..87843829ce4f7d5efd2819df5942013cd360f8c1 100644 (file)
@@ -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 933e3c24c3a65eed1fb5ba3859d05dafec9129b9..3e2550cde1f5e32f7ff8ed020a847a47fa655c29 100644 (file)
--- 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
index 89131837c5e4f8b8071e8f31e276b98ce42c7728..16d6bd1407584a60a3e4887c9ed010f6e532ed03 100644 (file)
@@ -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
index 7bfb6408e2e938e061c0ea6036684a7d27569269..c995c592527a23d2e63f81d72ed0fe76a8624125 100644 (file)
@@ -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
index ae51be82217ece3b8f27b4c8e7023f7bc4b0a66b..db8ab181e782135a4e85145622d0e8cf175689ea 100644 (file)
@@ -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
index 945583b6712aecb8609b62f0daf5eb68cee7b332..d82c67b80749e86ab68504ce789a8b75c861f73f 100644 (file)
@@ -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
index f80842b8e082b0692c30bf9de86975606dec17a9..e3fa68da2e6642a80eab2ff53298e6eda5707173 100644 (file)
@@ -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
index ad633111d93372451b17fee2f5c369c35f80a506..1d1f96e45b75cbd386b9f79d47117c4106945651 100644 (file)
--- 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
index 78e249fd573d026f3bb22dd34a978aa7c45649ee..c2ef3bf8efe3ae1dd8814ab5d751f47295e9e24e 100644 (file)
@@ -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
index 9c0b7a3fea2503d949b0d6425fae1d80707bd95b..c6cf94b1978e974dc3cf2d1e0032f7fcab9ffdac 100644 (file)
--- 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.
  *
index 4319fc8ac43a16d5c797734d40c8afcfcefd6af7..ffe169c49e37de4a6fe38523a5bae842309a839f 100644 (file)
--- 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 fff6bb9811ecbea7960e7033ad179084fb1c5b73..9313cc50b175b3fafc089c088e4ce00df0ca1458 100644 (file)
--- 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
index fa530224aeb261340968514a1c500dcaae7d9077..f630369d61c992d11ccf8cb8fb1fb88b4aa0bd5c 100644 (file)
--- 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
index a0353ad71397e0d6d98b224898b41941754a13c6..1027c2cf21cc6dfaeaf0ccfc9e826d62c8c7ffe0 100644 (file)
@@ -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
index 11ffe243e96e5513256917709364acfe1c0ad64a..63570312f0a5e615a5110a881f34fdd21c85f721 100644 (file)
@@ -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
index a959037de5d09ced7d714b7ff763409142eb197b..2a46994ddbda0e0d8b815132d4751c3d03e6669b 100644 (file)
--- 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
index 9e8799467c3fa1c8f5f328a4a4e407d4bbc781ab..b55f8e355a3b3ac6ee13a2a805d16f85225d5ee5 100644 (file)
--- 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 3445bd56cfd6bb522448ca3bccc236b8e11c5f79..e572064002815b1a54a9c52b85352ce3374b867d 100644 (file)
--- 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 34660f6992a2f187bb33c8cf9f4ca424323c4daa..3bcae1827f3551d3cda745d2adc04f36f7f4bc37 100644 (file)
--- 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.
  *
index a5cc93a86e4d9cae4511f5ce7f4fa0e705d42316..667c13d6403e170b52426812604c7814165431e1 100644 (file)
@@ -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
index 5a0f6b65665346ac703b9060dd079f806dc2d460..2e9e68ec64ed643a6f2d2a7b9531fb2ae38e3d3e 100644 (file)
@@ -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
index 8f8abe19009edd7abc62f922ad698df2fb6547d2..4da93aafcd92dcf4bf1c1cc4091a42fabd72b95f 100644 (file)
@@ -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 b088395b75e65ccf5aacc3ac393b00bd40d83c2a..a384867536911dc14a5d1fbaa5881ef155062aea 100644 (file)
--- 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
index 58580f82494a1c39e159debf28e458c7031e8254..4aaa8716ba7aff054df5f29f07ae8c8de3623bec 100644 (file)
--- 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 */
index 4d5bccc7cb997963a4ccc8d4797705fba87e77a2..814d114600b4460a296ce4c3c55065b90cada79f 100644 (file)
--- 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