summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1997-12-10 00:05:43 +0000
committerhubertf <hubertf@pkgsrc.org>1997-12-10 00:05:43 +0000
commitabee3df169a9c4d0fb9a1d798c2cc825df1cd65e (patch)
tree604da6c933393d9801cbc33faa570c70a797af57
parent9a0c83503e1f23bd31157e8857e9f8ba3cea7827 (diff)
downloadpkgsrc-abee3df169a9c4d0fb9a1d798c2cc825df1cd65e.tar.gz
cvs package as submitted by Johnny Lam <lamj@stat.cmu.edu> in
private email.
-rw-r--r--devel/cvs/Makefile30
-rw-r--r--devel/cvs/files/md51
-rw-r--r--devel/cvs/patches/patch-aa61
-rw-r--r--devel/cvs/patches/patch-ab31
-rw-r--r--devel/cvs/patches/patch-ac45
-rw-r--r--devel/cvs/pkg/COMMENT1
-rw-r--r--devel/cvs/pkg/DESCR5
-rw-r--r--devel/cvs/pkg/INSTALL35
-rw-r--r--devel/cvs/pkg/PLIST35
9 files changed, 244 insertions, 0 deletions
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile
new file mode 100644
index 00000000000..8d31a5a5212
--- /dev/null
+++ b/devel/cvs/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: cvs
+# Version required: 1.9
+# Date created: 15 November 1997
+# Whom: lamj@stat.cmu.edu
+#
+
+DISTNAME= cvs-1.9
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU}
+
+MAINTAINER= lamj@stat.cmu.edu
+
+GNU_CONFIGURE= yes
+
+.if exists(/usr/lib/libkrb.a)
+CONFIGURE_ARGS= --with-krb4=/usr --enable-encryption
+.endif
+
+MAN1= cvs.1
+MAN5= cvs.5
+MAN8= cvsbug.8
+
+
+post-install:
+ strip ${PREFIX}/bin/cvs
+ install-info --info-dir=${PREFIX}/info ${PREFIX}/info/cvs.info
+ install-info --info-dir=${PREFIX}/info ${PREFIX}/info/cvsclient.info
+ ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
+
+.include <bsd.port.mk>
diff --git a/devel/cvs/files/md5 b/devel/cvs/files/md5
new file mode 100644
index 00000000000..3ff0a887d14
--- /dev/null
+++ b/devel/cvs/files/md5
@@ -0,0 +1 @@
+MD5 (cvs-1.9.tar.gz) = 2f797c25321f050fd701522d4dcd4c36
diff --git a/devel/cvs/patches/patch-aa b/devel/cvs/patches/patch-aa
new file mode 100644
index 00000000000..794c5de0937
--- /dev/null
+++ b/devel/cvs/patches/patch-aa
@@ -0,0 +1,61 @@
+*** Makefile.in.orig Fri Sep 27 16:46:41 1996
+--- Makefile.in Sat Nov 15 22:29:33 1997
+***************
+*** 100,106 ****
+
+ ### Subdirectories to run make in for the primary targets.
+ # Unix source subdirs, where we'll want to run lint and etags:
+! USOURCE_SUBDIRS = lib zlib src
+ # All other subdirs:
+ SUBDIRS = ${USOURCE_SUBDIRS} man doc contrib tools \
+ windows-NT os2 macintosh vms
+--- 100,107 ----
+
+ ### Subdirectories to run make in for the primary targets.
+ # Unix source subdirs, where we'll want to run lint and etags:
+! #USOURCE_SUBDIRS = lib zlib src
+! USOURCE_SUBDIRS = lib src
+ # All other subdirs:
+ SUBDIRS = ${USOURCE_SUBDIRS} man doc contrib tools \
+ windows-NT os2 macintosh vms
+***************
+*** 193,211 ****
+ .PHONY: check
+ check:
+ cd lib ; $(MAKE) $(FLAGS_TO_PASS)
+! cd zlib ; $(MAKE) $(FLAGS_TO_PASS)
+ cd src ; $(MAKE) $(FLAGS_TO_PASS) check
+
+ .PHONY: remotecheck
+ remotecheck:
+ cd lib ; $(MAKE) $(FLAGS_TO_PASS)
+! cd zlib ; $(MAKE) $(FLAGS_TO_PASS)
+ cd src ; $(MAKE) $(FLAGS_TO_PASS) remotecheck
+
+ .PHONY: installcheck
+ installcheck:
+ cd lib ; $(MAKE) $(FLAGS_TO_PASS)
+! cd zlib ; $(MAKE) $(FLAGS_TO_PASS)
+ cd src ; $(MAKE) $(FLAGS_TO_PASS) installcheck
+
+ .PHONY: lint
+--- 194,212 ----
+ .PHONY: check
+ check:
+ cd lib ; $(MAKE) $(FLAGS_TO_PASS)
+! # cd zlib ; $(MAKE) $(FLAGS_TO_PASS)
+ cd src ; $(MAKE) $(FLAGS_TO_PASS) check
+
+ .PHONY: remotecheck
+ remotecheck:
+ cd lib ; $(MAKE) $(FLAGS_TO_PASS)
+! # cd zlib ; $(MAKE) $(FLAGS_TO_PASS)
+ cd src ; $(MAKE) $(FLAGS_TO_PASS) remotecheck
+
+ .PHONY: installcheck
+ installcheck:
+ cd lib ; $(MAKE) $(FLAGS_TO_PASS)
+! # cd zlib ; $(MAKE) $(FLAGS_TO_PASS)
+ cd src ; $(MAKE) $(FLAGS_TO_PASS) installcheck
+
+ .PHONY: lint
diff --git a/devel/cvs/patches/patch-ab b/devel/cvs/patches/patch-ab
new file mode 100644
index 00000000000..96ed311a299
--- /dev/null
+++ b/devel/cvs/patches/patch-ab
@@ -0,0 +1,31 @@
+*** doc/cvs.texinfo.orig Wed Oct 2 02:03:43 1996
+--- doc/cvs.texinfo Sun Nov 16 23:08:07 1997
+***************
+*** 24,29 ****
+--- 24,33 ----
+ @setfilename cvs.info
+ @include CVSvn.texi
+ @settitle CVS---Concurrent Versions System
++ @dircategory Programming & development tools
++ @direntry
++ * CVS: (cvs) CVS Reference Manual.
++ @end direntry
+ @setchapternewpage odd
+
+ @c -- TODO list:
+*** doc/cvsclient.texi.orig Mon Sep 30 12:35:33 1996
+--- doc/cvsclient.texi Sun Nov 16 23:21:00 1997
+***************
+*** 3,8 ****
+--- 3,13 ----
+ @setfilename cvsclient.info
+ @include CVSvn.texi
+
++ @dircategory Programming & development tools
++ @direntry
++ * CVS-CLIENT: (cvsclient). CVS client/server Reference Manual.
++ @end direntry
++
+ @node Top
+ @top CVS Client/Server
+
diff --git a/devel/cvs/patches/patch-ac b/devel/cvs/patches/patch-ac
new file mode 100644
index 00000000000..8e335c083c5
--- /dev/null
+++ b/devel/cvs/patches/patch-ac
@@ -0,0 +1,45 @@
+*** src/Makefile.in.orig Fri Sep 27 05:32:45 1996
+--- src/Makefile.in Mon Nov 17 01:49:22 1997
+***************
+*** 151,160 ****
+
+ # Linking rules.
+
+! $(PROGS): ../lib/libcvs.a ../zlib/libz.a
+
+ cvs: $(OBJECTS)
+! $(CC) $(OBJECTS) ../lib/libcvs.a ../zlib/libz.a $(LIBS) $(LDFLAGS) -o $@
+
+ xlint: $(SOURCES)
+ files= ; \
+--- 151,162 ----
+
+ # Linking rules.
+
+! #$(PROGS): ../lib/libcvs.a ../zlib/libz.a
+! $(PROGS): ../lib/libcvs.a
+
+ cvs: $(OBJECTS)
+! # $(CC) $(OBJECTS) ../lib/libcvs.a ../zlib/libz.a $(LIBS) $(LDFLAGS) -o $@
+! $(CC) $(OBJECTS) ../lib/libcvs.a -lz $(LIBS) $(LDFLAGS) -o $@
+
+ xlint: $(SOURCES)
+ files= ; \
+***************
+*** 185,191 ****
+ $(OBJECTS): $(HEADERS) options.h
+
+ zlib.o: zlib.c
+! $(CC) $(CPPFLAGS) $(INCLUDES) -I$(top_srcdir)/zlib $(DEFS) $(CFLAGS) -c $(srcdir)/zlib.c
+
+ subdir = src
+ Makefile: ../config.status Makefile.in
+--- 187,194 ----
+ $(OBJECTS): $(HEADERS) options.h
+
+ zlib.o: zlib.c
+! # $(CC) $(CPPFLAGS) $(INCLUDES) -I$(top_srcdir)/zlib $(DEFS) $(CFLAGS) -c $(srcdir)/zlib.c
+! $(CC) $(CPPFLAGS) $(INCLUDES) -I/usr/include $(DEFS) $(CFLAGS) -c $(srcdir)/zlib.c
+
+ subdir = src
+ Makefile: ../config.status Makefile.in
diff --git a/devel/cvs/pkg/COMMENT b/devel/cvs/pkg/COMMENT
new file mode 100644
index 00000000000..80d66b30361
--- /dev/null
+++ b/devel/cvs/pkg/COMMENT
@@ -0,0 +1 @@
+Concurrent Versions System.
diff --git a/devel/cvs/pkg/DESCR b/devel/cvs/pkg/DESCR
new file mode 100644
index 00000000000..31f933361aa
--- /dev/null
+++ b/devel/cvs/pkg/DESCR
@@ -0,0 +1,5 @@
+CVS is a version control system, which allows you to keep old versions
+of files (usually source code), keep a log of who, when, and why
+changes occurred, etc., like RCS or SCCS. It handles multiple
+developers, multiple directories, triggers to enable/log/control
+various operations, and can work over a wide area network.
diff --git a/devel/cvs/pkg/INSTALL b/devel/cvs/pkg/INSTALL
new file mode 100644
index 00000000000..b91f479367f
--- /dev/null
+++ b/devel/cvs/pkg/INSTALL
@@ -0,0 +1,35 @@
+#! /bin/sh
+#
+# Installation script for cvs
+#
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+cat << EOF
+=============================================================================
+
+ Set up the master source repository. See the "Setting up the repository"
+ section of cvs.info for details; the one-line summary is (if you are
+ putting the repository in /src/master):
+ $ cvs -d /src/master init
+
+ Have all users of the CVS system set the CVSROOT environment
+ variable appropriately to reflect the placement of your source
+ repository. If the above example is used, the following commands
+ can be placed in user's ~/.profile, ~/.bash_profile file; or in the
+ site-wide /etc/profile:
+
+ CVSROOT=/src/master; export CVSROOT
+
+ for sh/bash/ksh users, or place the following commands in the user's
+ ~/.cshrc, ~/.login, or /etc/chsrc file:
+
+ setenv CVSROOT /src/master
+
+ for csh/tcsh users. If these environment variables are not already set
+ in your current shell, set them now (or source the login script you
+ just edited).
+
+=============================================================================
+EOF
diff --git a/devel/cvs/pkg/PLIST b/devel/cvs/pkg/PLIST
new file mode 100644
index 00000000000..548df6405e6
--- /dev/null
+++ b/devel/cvs/pkg/PLIST
@@ -0,0 +1,35 @@
+bin/cvs
+bin/cvsbug
+bin/rcs2log
+@unexec %D/bin/install-info --delete --info-dir=%D/info %D/info/cvs.info
+@unexec %D/bin/install-info --delete --info-dir=%D/info %D/info/cvsclient.info
+info/cvs.info
+info/cvs.info-1
+info/cvs.info-2
+info/cvs.info-3
+info/cvs.info-4
+info/cvs.info-5
+info/cvs.info-6
+info/cvsclient.info
+@exec %D/bin/install-info --info-dir=%D/info %D/info/cvs.info
+@exec %D/bin/install-info --info-dir=%D/info %D/info/cvsclient.info
+lib/cvs/contrib/README
+lib/cvs/contrib/clmerge
+lib/cvs/contrib/cln_hist
+lib/cvs/contrib/commit_prep
+lib/cvs/contrib/cvs_acls
+lib/cvs/contrib/cvscheck
+lib/cvs/contrib/cvscheck.man
+lib/cvs/contrib/intro.doc
+lib/cvs/contrib/log
+lib/cvs/contrib/log_accum
+lib/cvs/contrib/mfpipe
+lib/cvs/contrib/rcs-to-cvs
+lib/cvs/contrib/rcs2log
+lib/cvs/contrib/rcslock
+lib/cvs/contrib/sccs2rcs
+@dirrm lib/cvs/contrib
+@dirrm lib/cvs
+man/man1/cvs.1.gz
+man/man5/cvs.5.gz
+man/man8/cvsbug.8.gz