chiark / gitweb /
Update copyright dates.
authorian <ian>
Wed, 7 Apr 1999 22:43:42 +0000 (22:43 +0000)
committerian <ian>
Wed, 7 Apr 1999 22:43:42 +0000 (22:43 +0000)
INSTALL
README
client.c
configure
configure.in
debian/changelog
debian/control
debian/copyright
lexer.l.m4
spec.sgml.in

diff --git a/INSTALL b/INSTALL
index 3fe90525d356feeb0f13211556cbcd460e79dcc1..c7940ed8f62304002e7dec74702f40f13735db6f 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -221,3 +221,26 @@ single request and exit.
 There may be other changes.  Consult the code for details.  Making the
 debugging version of the client or daemon setuid root is probably a
 bad idea.  They may not work if they are run as different users.
+
+
+COPYRIGHT
+
+This file, INSTALL, contains installation instructions and other
+details for userv.
+
+userv is Copyright (C)1996-9 Ian Jackson <ian@davenant.greenend.org.uk>.
+
+userv is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with userv as the file COPYING; if not, email me at the address
+above or write to the Free Software Foundation, 59 Temple Place -
+Suite 330, Boston, MA 02111-1307, USA.
diff --git a/README b/README
index 33d4a03cc48a4074257a997ddab47ef65a60cb37..763901ed3e61c5d03d256d4a6cafe2d52c1864e3 100644 (file)
--- a/README
+++ b/README
@@ -20,7 +20,8 @@ Please send bug reports and suggestions to
 userv-maint@chiark.greenend.org.uk, or to the userv-discuss mailing
 list if you are subscribed to it.
 
-userv is Copyright (C)1996-7 Ian Jackson <ian@chiark.greenend.org.uk>.
+
+userv is Copyright (C)1996-9 Ian Jackson <ian@davenant.greenend.org.uk>.
 
 userv is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
index ff9de734848c9f62670365dc18526fc9cd16678f..57b3f219c42e3d9153ed2a90d8ac461b84d7dd36 100644 (file)
--- a/client.c
+++ b/client.c
@@ -437,7 +437,7 @@ static void usage(void) {
     "         --spoof-user <username>         }  or same user\n"
     "fdmodifiers:            read    write  overwrite    trunc[ate]\n"
     "(separate with commas)  append  sync   excl[usive]  creat[e]  fd\n\n"
-    "userv and uservd version " VERSION VEREXT "; copyright (C)1996-1997 Ian Jackson.\n"
+    "userv and uservd version " VERSION VEREXT "; copyright (C)1996-1999 Ian Jackson.\n"
     "there is NO WARRANTY; type `userv --copyright' for details.\n",
             stderr) < 0)
     syscallerror("write usage to stderr");
@@ -682,7 +682,7 @@ static void of_help(const struct optioninfo *oip, const char *value, char *key)
 
 static void of_copyright(const struct optioninfo *oip, const char *value, char *key) {
   if (fputs(
-" userv - user service daemon and client; copyright (C)1996-1997 Ian Jackson\n\n"
+" userv - user service daemon and client; copyright (C)1996-1999 Ian Jackson\n\n"
 " This is free software; you can redistribute it and/or modify it under the\n"
 " terms of the GNU General Public License as published by the Free Software\n"
 " Foundation; either version 2 of the License, or (at your option) any\n"
index 013782f86c8cfe80ba0da56024d027f9d01fd147..914f61280d69e5d355f832a80e804196a6305152 100755 (executable)
--- a/configure
+++ b/configure
@@ -858,13 +858,116 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 CFLAGS="$CFLAGS -D_GNU_SOURCE"
 
+echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
+echo "configure:863: checking for socket in -lsocket" >&5
+ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  ac_save_LIBS="$LIBS"
+LIBS="-lsocket  $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 871 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error.  */
+/* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+char socket();
+
+int main() {
+socket()
+; return 0; }
+EOF
+if { (eval echo configure:882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_lib_$ac_lib_var=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+  cat >> confdefs.h <<EOF
+#define $ac_tr_lib 1
+EOF
+
+  LIBS="-lsocket $LIBS"
+
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+for ac_func in setenv
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:912: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 917 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char $ac_func(); below.  */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error.  */
+/* We use char because int might match the return type of a gcc2
+    builtin and then its argument prototype would still apply.  */
+char $ac_func();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+    to always fail with ENOSYS.  Some functions are actually named
+    something starting with __ and the normal name is an alias.  */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+  rm -rf conftest*
+  eval "ac_cv_func_$ac_func=yes"
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_func_$ac_func=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+  cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
+EOF
+else
+  echo "$ac_t""no" 1>&6
+fi
+done
+
+
 echo $ac_n "checking for EPROTO""... $ac_c" 1>&6
-echo "configure:863: checking for EPROTO" >&5
+echo "configure:966: checking for EPROTO" >&5
 if eval "test \"`echo '$''{'userv_cv_hdr_eproto'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 868 "configure"
+#line 971 "configure"
 #include "confdefs.h"
 
 #include <errno.h>
@@ -894,6 +997,42 @@ EOF
 
 fi
 
+echo $ac_n "checking for LOG_AUTHPRIV""... $ac_c" 1>&6
+echo "configure:1002: checking for LOG_AUTHPRIV" >&5
+if eval "test \"`echo '$''{'userv_cv_hdr_logauthpriv'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 1007 "configure"
+#include "confdefs.h"
+
+#include <syslog.h>
+#ifdef LOG_AUTHPRIV
+ yes
+#endif
+
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  egrep "yes" >/dev/null 2>&1; then
+  rm -rf conftest*
+  userv_cv_hdr_logauthpriv=yes
+else
+  rm -rf conftest*
+  userv_cv_hdr_logauthpriv=no
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$userv_cv_hdr_logauthpriv" 1>&6
+if test $userv_cv_hdr_logauthpriv = yes
+then
+       cat >> confdefs.h <<\EOF
+#define HAVE_LOG_AUTHPRIV 1
+EOF
+
+fi
+
 
 if test "${GCC-no}" = yes; then
  OPTIMISE=-O2
@@ -905,20 +1044,20 @@ fi
 
 
  echo $ac_n "checking your C compiler""... $ac_c" 1>&6
-echo "configure:909: checking your C compiler" >&5
+echo "configure:1048: checking your C compiler" >&5
  if eval "test \"`echo '$''{'dpkg_cv_c_works'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 915 "configure"
+#line 1054 "configure"
 #include "confdefs.h"
 #include <string.h>
 int main() {
 strcmp("a","b")
 ; return 0; }
 EOF
-if { (eval echo configure:922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_works=yes
 else
@@ -943,20 +1082,20 @@ fi
 
 
  echo $ac_n "checking __attribute__((,,))""... $ac_c" 1>&6
-echo "configure:947: checking __attribute__((,,))" >&5
+echo "configure:1086: checking __attribute__((,,))" >&5
  if eval "test \"`echo '$''{'dpkg_cv_c_attribute_supported'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 953 "configure"
+#line 1092 "configure"
 #include "confdefs.h"
 
 int main() {
 extern int testfunction(int x) __attribute__((,,))
 ; return 0; }
 EOF
-if { (eval echo configure:960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_attribute_supported=yes
 else
@@ -978,20 +1117,20 @@ EOF
 
   
  echo $ac_n "checking __attribute__((noreturn))""... $ac_c" 1>&6
-echo "configure:982: checking __attribute__((noreturn))" >&5
+echo "configure:1121: checking __attribute__((noreturn))" >&5
  if eval "test \"`echo '$''{'dpkg_cv_c_attribute_noreturn'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 988 "configure"
+#line 1127 "configure"
 #include "confdefs.h"
 
 int main() {
 extern int testfunction(int x) __attribute__((noreturn))
 ; return 0; }
 EOF
-if { (eval echo configure:995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_attribute_noreturn=yes
 else
@@ -1018,20 +1157,20 @@ EOF
 
   
  echo $ac_n "checking __attribute__((unused))""... $ac_c" 1>&6
-echo "configure:1022: checking __attribute__((unused))" >&5
+echo "configure:1161: checking __attribute__((unused))" >&5
  if eval "test \"`echo '$''{'dpkg_cv_c_attribute_unused'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 1028 "configure"
+#line 1167 "configure"
 #include "confdefs.h"
 
 int main() {
 extern int testfunction(int x) __attribute__((unused))
 ; return 0; }
 EOF
-if { (eval echo configure:1035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_attribute_unused=yes
 else
@@ -1058,20 +1197,20 @@ EOF
 
   
  echo $ac_n "checking __attribute__((format...))""... $ac_c" 1>&6
-echo "configure:1062: checking __attribute__((format...))" >&5
+echo "configure:1201: checking __attribute__((format...))" >&5
  if eval "test \"`echo '$''{'dpkg_cv_attribute_format'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 1068 "configure"
+#line 1207 "configure"
 #include "confdefs.h"
 
 int main() {
 extern int testfunction(char *y, ...) __attribute__((format(printf,1,2)))
 ; return 0; }
 EOF
-if { (eval echo configure:1075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_attribute_format=yes
 else
@@ -1109,7 +1248,7 @@ CWARNS=""
 
 
  echo $ac_n "checking GCC warning flag(s) -Wall -Wno-implicit""... $ac_c" 1>&6
-echo "configure:1113: checking GCC warning flag(s) -Wall -Wno-implicit" >&5
+echo "configure:1252: checking GCC warning flag(s) -Wall -Wno-implicit" >&5
  if test "${GCC-no}" = yes
  then
   if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_all'+set}'`\" = set"; then
@@ -1119,7 +1258,7 @@ else
    oldcflags="${CFLAGS-}"
    CFLAGS="${CFLAGS-} ${CWARNS} -Wall -Wno-implicit -Werror"
    cat > conftest.$ac_ext <<EOF
-#line 1123 "configure"
+#line 1262 "configure"
 #include "confdefs.h"
 
 #include <string.h>
@@ -1131,7 +1270,7 @@ int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_gcc_warn_all=yes
 else
@@ -1157,7 +1296,7 @@ fi
 
 
  echo $ac_n "checking GCC warning flag(s) -Wwrite-strings""... $ac_c" 1>&6
-echo "configure:1161: checking GCC warning flag(s) -Wwrite-strings" >&5
+echo "configure:1300: checking GCC warning flag(s) -Wwrite-strings" >&5
  if test "${GCC-no}" = yes
  then
   if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_writestrings'+set}'`\" = set"; then
@@ -1167,7 +1306,7 @@ else
    oldcflags="${CFLAGS-}"
    CFLAGS="${CFLAGS-} ${CWARNS} -Wwrite-strings -Werror"
    cat > conftest.$ac_ext <<EOF
-#line 1171 "configure"
+#line 1310 "configure"
 #include "confdefs.h"
 
 #include <string.h>
@@ -1179,7 +1318,7 @@ int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_gcc_warn_writestrings=yes
 else
@@ -1205,7 +1344,7 @@ fi
 
 
  echo $ac_n "checking GCC warning flag(s) -Wpointer-arith""... $ac_c" 1>&6
-echo "configure:1209: checking GCC warning flag(s) -Wpointer-arith" >&5
+echo "configure:1348: checking GCC warning flag(s) -Wpointer-arith" >&5
  if test "${GCC-no}" = yes
  then
   if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_pointerarith'+set}'`\" = set"; then
@@ -1215,7 +1354,7 @@ else
    oldcflags="${CFLAGS-}"
    CFLAGS="${CFLAGS-} ${CWARNS} -Wpointer-arith -Werror"
    cat > conftest.$ac_ext <<EOF
-#line 1219 "configure"
+#line 1358 "configure"
 #include "confdefs.h"
 
 #include <string.h>
@@ -1227,7 +1366,7 @@ int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_gcc_warn_pointerarith=yes
 else
@@ -1253,7 +1392,7 @@ fi
 
 
  echo $ac_n "checking GCC warning flag(s) -Wimplicit -Wnested-externs""... $ac_c" 1>&6
-echo "configure:1257: checking GCC warning flag(s) -Wimplicit -Wnested-externs" >&5
+echo "configure:1396: checking GCC warning flag(s) -Wimplicit -Wnested-externs" >&5
  if test "${GCC-no}" = yes
  then
   if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_implicit'+set}'`\" = set"; then
@@ -1263,7 +1402,7 @@ else
    oldcflags="${CFLAGS-}"
    CFLAGS="${CFLAGS-} ${CWARNS} -Wimplicit -Wnested-externs -Werror"
    cat > conftest.$ac_ext <<EOF
-#line 1267 "configure"
+#line 1406 "configure"
 #include "confdefs.h"
 
 #include <string.h>
@@ -1275,7 +1414,7 @@ int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_gcc_warn_implicit=yes
 else
@@ -1301,7 +1440,7 @@ fi
 
 
 if test "${GCC-no}" = yes; then
- CWARNS="${CWARNS} -Wmissing-prototypes -Wstrict-prototypes -Werror"
+ CWARNS="${CWARNS} -Wmissing-prototypes -Wstrict-prototypes"
 fi
 CFLAGS="`echo $CFLAGS $CWARNS | sed -e 's/-O[0-9]*/$(OPTIMISE)/'`"
 
index ae8f041942d3644874d53aff31c0a96801cc533c..f58fcb4bfe7ba95733cedcfef7a4866ffbbee6a2 100644 (file)
@@ -1,5 +1,5 @@
 #  userv - configure.in
-# 
+#
 #  Copyright (C)1996-1997,1999 Ian Jackson
 #   
 #  This is free software; you can redistribute it and/or modify it
index 02fd2e3a1c11c9a571e10e7f640b4621fe1f93a5..95f4611392b0797c5bd8f155e1c0b304737930fc 100644 (file)
@@ -13,7 +13,9 @@ userv (0.61.0) unreleased; urgency=low
   * various required #include's were omitted.
   * install rule in Makefile `if ! test ...' changed to `if test ! ...'
 
- -- Ian Jackson <ian@davenant.greenend.org.uk>  Wed,  7 Apr 1999 23:32:45 +0100
+  * Reran autoconf, latest version.
+
+ -- 
 
 userv (0.60.3) frozen unstable; urgency=medium
 
index 32505453544de6ccbbc37ecb0606d15d18b4e35c..aa6e396bf4fd3acdaae543f033a86473bef7288c 100644 (file)
@@ -1,7 +1,7 @@
 Source: userv
 Section: admin
 Priority: extra
-Maintainer: Ian Jackson <ian@chiark.greenend.org.uk>
+Maintainer: Ian Jackson <ian@davenant.greenend.org.uk>
 Standards-Version: 2.1.1.0
 
 Package: userv
index fbbf9759340cfea00ef64cb2e0d2bbac4b1f3987..8f6ef1c81fa37cb900f280f21239423efda4f6ed 100644 (file)
@@ -12,7 +12,7 @@ scheme, by adding various debian/* files and arranging for the uservd
 daemon to be started automatically.
 
 
-userv is Copyright (C)1996-7 Ian Jackson <ian@chiark.greenend.org.uk>.
+userv is Copyright (C)1996-9 Ian Jackson <ian@chiark.greenend.org.uk>.
 
 userv is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
index 5aaeff088b312349b22732ce2ce0bca3738731a4..20a5e9f44698a9cc7a91fa5710dc5172f2eefce9 100644 (file)
@@ -1,7 +1,7 @@
 dnl  userv - lexer.l.m4
 dnl  lexer, passed through m4 with defs from langauge.i4
 /*
- *   Copyright (C)1996-1997 Ian Jackson
+ *   Copyright (C)1996-1997,9 Ian Jackson
  *  
  *   This is free software; you can redistribute it and/or modify it
  *   under the terms of the GNU General Public License as published by
index 6d018ebe06546482f8f1026568ef0c48c053dab9..ee04f9cb2f3caa6fa843ce0e1adbb45e506aa2cb 100644 (file)
@@ -11,7 +11,7 @@ program to invoke another when only limited trust exists
 between them.
 
 <copyright>
-Copyright 1996-1997 Ian Jackson.
+<prgn/userv/ is Copyright 1996-1999 Ian Jackson.
 <p>
 
 <prgn/userv/ is free software; you can redistribute it and/or modify