Просмотр исходного кода

upgrade to CVS 1.11.4; upgrade cvs2cl to 2.44

Ralf S. Engelschall 23 лет назад
Родитель
Сommit
fb438cc8ab
2 измененных файлов с 40 добавлено и 39 удалено
  1. 38 38
      cvs/cvs.patches.rse
  2. 2 1
      cvs/cvs.spec

+ 38 - 38
cvs/cvs.patches.rse

@@ -363,10 +363,10 @@ diff -u -d -r1.1.1.5 add.c
 Index: src/admin.c
 Index: src/admin.c
 ===================================================================
 ===================================================================
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/admin.c,v
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/admin.c,v
-retrieving revision 1.1.1.6
-diff -u -d -r1.1.1.6 admin.c
---- src/admin.c	16 Dec 2002 17:51:02 -0000	1.1.1.6
-+++ src/admin.c	28 Dec 2002 10:48:11 -0000
+retrieving revision 1.1.1.7
+diff -u -d -r1.1.1.7 admin.c
+--- src/admin.c	28 Dec 2002 18:01:30 -0000	1.1.1.7
++++ src/admin.c	28 Dec 2002 20:14:05 -0000
 @@ -139,6 +139,161 @@
 @@ -139,6 +139,161 @@
      dat->av[dat->ac++] = newelt;
      dat->av[dat->ac++] = newelt;
  }
  }
@@ -655,10 +655,10 @@ diff -u -d -r1.1.1.6 checkout.c
 Index: src/client.c
 Index: src/client.c
 ===================================================================
 ===================================================================
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/client.c,v
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/client.c,v
-retrieving revision 1.1.1.6
-diff -u -d -r1.1.1.6 client.c
---- src/client.c	24 Dec 2002 04:34:59 -0000	1.1.1.6
-+++ src/client.c	28 Dec 2002 10:48:12 -0000
+retrieving revision 1.1.1.7
+diff -u -d -r1.1.1.7 client.c
+--- src/client.c	28 Dec 2002 18:01:30 -0000	1.1.1.7
++++ src/client.c	28 Dec 2002 20:14:06 -0000
 @@ -104,6 +104,9 @@
 @@ -104,6 +104,9 @@
  int status PROTO((int argc, char **argv));
  int status PROTO((int argc, char **argv));
  int tag PROTO((int argc, char **argv));
  int tag PROTO((int argc, char **argv));
@@ -736,10 +736,10 @@ diff -u -d -r1.1.1.6 client.c
 Index: src/commit.c
 Index: src/commit.c
 ===================================================================
 ===================================================================
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/commit.c,v
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/commit.c,v
-retrieving revision 1.1.1.6
-diff -u -d -r1.1.1.6 commit.c
---- src/commit.c	4 Dec 2002 19:10:20 -0000	1.1.1.6
-+++ src/commit.c	28 Dec 2002 10:48:12 -0000
+retrieving revision 1.1.1.7
+diff -u -d -r1.1.1.7 commit.c
+--- src/commit.c	28 Dec 2002 18:01:30 -0000	1.1.1.7
++++ src/commit.c	28 Dec 2002 20:14:06 -0000
 @@ -308,6 +308,9 @@
 @@ -308,6 +308,9 @@
      data->type = status;
      data->type = status;
      data->tag = xstrdup (vers->tag);
      data->tag = xstrdup (vers->tag);
@@ -851,10 +851,10 @@ diff -u -d -r1.1.1.5 create_adm.c
 Index: src/cvs.h
 Index: src/cvs.h
 ===================================================================
 ===================================================================
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/cvs.h,v
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/cvs.h,v
-retrieving revision 1.1.1.6
-diff -u -d -r1.1.1.6 cvs.h
---- src/cvs.h	19 Dec 2002 15:50:07 -0000	1.1.1.6
-+++ src/cvs.h	28 Dec 2002 10:52:52 -0000
+retrieving revision 1.1.1.7
+diff -u -d -r1.1.1.7 cvs.h
+--- src/cvs.h	28 Dec 2002 18:01:30 -0000	1.1.1.7
++++ src/cvs.h	28 Dec 2002 20:14:06 -0000
 @@ -7,6 +7,48 @@
 @@ -7,6 +7,48 @@
   */
   */
  
  
@@ -1359,10 +1359,10 @@ diff -u -d -r1.1.1.3 cvsrc.c
 Index: src/diff.c
 Index: src/diff.c
 ===================================================================
 ===================================================================
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/diff.c,v
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/diff.c,v
-retrieving revision 1.1.1.5
-diff -u -d -r1.1.1.5 diff.c
---- src/diff.c	24 Oct 2002 18:38:37 -0000	1.1.1.5
-+++ src/diff.c	28 Dec 2002 10:48:13 -0000
+retrieving revision 1.1.1.6
+diff -u -d -r1.1.1.6 diff.c
+--- src/diff.c	28 Dec 2002 18:01:30 -0000	1.1.1.6
++++ src/diff.c	28 Dec 2002 20:14:06 -0000
 @@ -271,7 +271,11 @@
 @@ -271,7 +271,11 @@
  
  
      optind = 0;
      optind = 0;
@@ -2032,10 +2032,10 @@ diff -N src/list.c
 Index: src/lock.c
 Index: src/lock.c
 ===================================================================
 ===================================================================
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/lock.c,v
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/lock.c,v
-retrieving revision 1.1.1.6
-diff -u -d -r1.1.1.6 lock.c
---- src/lock.c	24 Oct 2002 18:38:37 -0000	1.1.1.6
-+++ src/lock.c	28 Dec 2002 10:48:13 -0000
+retrieving revision 1.1.1.7
+diff -u -d -r1.1.1.7 lock.c
+--- src/lock.c	28 Dec 2002 18:01:30 -0000	1.1.1.7
++++ src/lock.c	28 Dec 2002 20:14:06 -0000
 @@ -403,7 +403,11 @@
 @@ -403,7 +403,11 @@
  	(void) fprintf (stderr, "%s-> Reader_Lock(%s)\n", CLIENT_SERVER_STR,
  	(void) fprintf (stderr, "%s-> Reader_Lock(%s)\n", CLIENT_SERVER_STR,
                          xrepository);
                          xrepository);
@@ -3214,18 +3214,18 @@ diff -u -d -r1.1.1.6 rcs.c
 Index: src/recurse.c
 Index: src/recurse.c
 ===================================================================
 ===================================================================
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/recurse.c,v
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/recurse.c,v
-retrieving revision 1.1.1.6
-diff -u -d -r1.1.1.6 recurse.c
---- src/recurse.c	24 Oct 2002 18:38:37 -0000	1.1.1.6
-+++ src/recurse.c	28 Dec 2002 11:01:31 -0000
+retrieving revision 1.1.1.7
+diff -u -d -r1.1.1.7 recurse.c
+--- src/recurse.c	28 Dec 2002 18:01:30 -0000	1.1.1.7
++++ src/recurse.c	28 Dec 2002 20:14:37 -0000
 @@ -511,7 +511,11 @@
 @@ -511,7 +511,11 @@
      if (frame->flags == R_SKIP_ALL)
      if (frame->flags == R_SKIP_ALL)
  	return (0);
  	return (0);
  
  
 +#ifdef RSE_PATCH_NOLOCK
 +#ifdef RSE_PATCH_NOLOCK
-+    locktype = nolock ? LOCK_NONE : frame->locktype;
++    locktype = nolock ? CVS_LOCK_NONE : frame->locktype;
 +#else
 +#else
-     locktype = noexec ? LOCK_NONE : frame->locktype;
+     locktype = noexec ? CVS_LOCK_NONE : frame->locktype;
 +#endif
 +#endif
  
  
      /* The fact that locks are not active here is what makes us fail to have
      /* The fact that locks are not active here is what makes us fail to have
@@ -4749,10 +4749,10 @@ diff -u -d -r1.1.1.6 subr.c
 Index: src/tag.c
 Index: src/tag.c
 ===================================================================
 ===================================================================
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/tag.c,v
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/tag.c,v
-retrieving revision 1.1.1.6
-diff -u -d -r1.1.1.6 tag.c
---- src/tag.c	25 Oct 2002 14:44:37 -0000	1.1.1.6
-+++ src/tag.c	28 Dec 2002 10:48:17 -0000
+retrieving revision 1.1.1.7
+diff -u -d -r1.1.1.7 tag.c
+--- src/tag.c	28 Dec 2002 18:01:30 -0000	1.1.1.7
++++ src/tag.c	28 Dec 2002 20:14:07 -0000
 @@ -1300,7 +1300,11 @@
 @@ -1300,7 +1300,11 @@
  	/* The tags is valid but not mentioned in val-tags.  Add it.  */
  	/* The tags is valid but not mentioned in val-tags.  Add it.  */
  	datum value;
  	datum value;
@@ -4768,10 +4768,10 @@ diff -u -d -r1.1.1.6 tag.c
 Index: src/update.c
 Index: src/update.c
 ===================================================================
 ===================================================================
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/update.c,v
 RCS file: /e/ossp/pkg/tool/cvs/cvs/cvs/src/update.c,v
-retrieving revision 1.1.1.6
-diff -u -d -r1.1.1.6 update.c
---- src/update.c	24 Oct 2002 18:38:37 -0000	1.1.1.6
-+++ src/update.c	28 Dec 2002 11:05:29 -0000
+retrieving revision 1.1.1.7
+diff -u -d -r1.1.1.7 update.c
+--- src/update.c	28 Dec 2002 18:01:30 -0000	1.1.1.7
++++ src/update.c	28 Dec 2002 20:14:07 -0000
 @@ -203,7 +203,11 @@
 @@ -203,7 +203,11 @@
  		break;
  		break;
  	    case 'p':
  	    case 'p':

+ 2 - 1
cvs/cvs.spec

@@ -24,7 +24,7 @@
 ##
 ##
 
 
 #   the involved versions
 #   the involved versions
-%define       V_cvs       1.11.3
+%define       V_cvs       1.11.4
 %define       V_cvslock   0.2
 %define       V_cvslock   0.2
 
 
 #   optional support for applying the RSE patches
 #   optional support for applying the RSE patches
@@ -147,6 +147,7 @@ AutoReqProv:  no
       %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
       %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
     )
     )
     %{l_shtool} install -c -m 755 \
     %{l_shtool} install -c -m 755 \
+        -e 's;#!/usr/bin/perl;#!%{l_prefix}/bin/perl;' \
         %{SOURCE cvs2cl.pl} $RPM_BUILD_ROOT%{l_prefix}/bin/cvs2cl
         %{SOURCE cvs2cl.pl} $RPM_BUILD_ROOT%{l_prefix}/bin/cvs2cl
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
 %if "%{with_rse_patches}" == "yes"
 %if "%{with_rse_patches}" == "yes"