ports/182830: [maintainer update] devel/cssc: major update + stage support

Oliver Fromme oliver.fromme at secnetix.de
Tue Oct 8 14:40:01 UTC 2013


>Number:         182830
>Category:       ports
>Synopsis:       [maintainer update] devel/cssc: major update + stage support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 08 14:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Fromme
>Release:        n/a
>Organization:
secnetix GmbH & Co. KG
		http://www.secnetix.de/bsd
>Environment:

>Description:

The patch included with this PR does the following:

 - Update devel/cssc to version 1.3.0.
 - Add stage support to the port.
 - Add option for Solaris interoperability.
 - Add LICENSE=GPLv3.
 - Fix MASTER_SITES (the version on SF is outdated).
 - Complete rewrite of pkg-descr to make it more useful.

Tested with portlint.  "make package" as user works.
(Not tested with poudriere, though, because my small
test machine doesn't have enough resources to run
poudriere reasonably.)

Note that the following files are REMOVED:

 - files/patch-sf-delta.cc
 - files/patch-sf-prs.cc

>How-To-Repeat:

>Fix:

Note that the following files are REMOVED:

 - files/patch-sf-delta.cc
 - files/patch-sf-prs.cc

Index: Makefile
===================================================================
--- Makefile	(revision 329785)
+++ Makefile	(working copy)
@@ -2,21 +2,23 @@
 # $FreeBSD$
 
 PORTNAME=	cssc
-PORTVERSION=	0.15a.0
-PORTREVISION=	1
+PORTVERSION=	1.3.0
 CATEGORIES=	devel
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.15alpha.pl0
-DISTNAME=	CSSC-0.15alpha.pl0
+MASTER_SITES=	${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR=	${PORTNAME}
+DISTNAME=	CSSC-${PORTVERSION}
 
-MAINTAINER=	olli at fromme.com
+MAINTAINER=	oliver at fromme.com
 COMMENT=	A workalike for the source code control system SCCS
 
+LICENSE=	GPLv3
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--enable-binary
-MAN1=		sccs.1
 INFO=		cssc
 
-WRKSRC=		${WRKDIR}/CSSC-0.15alpha.pl0
+OPTIONS_DEFINE=	BINARY
+OPTIONS_DEFAULT=	BINARY
+BINARY_DESC=	Support binary SCCS files (Solaris interoperability)
+BINARY_CONFIGURE_ENABLE=	binary
 
-NO_STAGE=	yes
 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 329785)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (CSSC-0.15alpha.pl0.tar.gz) = 475464be84352b41bb423a2956e74ef616b541eb7737c8bef22b8c8a0bbb6074
-SIZE (CSSC-0.15alpha.pl0.tar.gz) = 625766
+SHA256 (CSSC-1.3.0.tar.gz) = 95053aab534c111648ea5b096037673b541a0c2960574d8addf70201a5337c2e
+SIZE (CSSC-1.3.0.tar.gz) = 1608481
Index: files/patch-aa
===================================================================
--- files/patch-aa	(revision 329785)
+++ files/patch-aa	(working copy)
@@ -1,19 +1,11 @@
-*** docs/cssc.texi.orig	Sun Mar 21 11:11:21 1999
---- docs/cssc.texi	Wed Mar 31 01:05:22 1999
-***************
-*** 5,11 ****
-  
-  @dircategory Miscellaneous
-  @direntry
-! * cssc: (cssc).		The GNU work-alike replacement for SCCS.
-  @end direntry
-  
-  @finalout
---- 5,11 ----
-  
-  @dircategory Miscellaneous
-  @direntry
-! * cssc: (cssc).			The GNU work-alike replacement for SCCS.
-  @end direntry
-  
-  @finalout
+--- docs/cssc.texi.orig	2010-05-16 19:52:32.000000000 +0200
++++ docs/cssc.texi	2013-10-08 13:03:28.000000000 +0200
+@@ -5,7 +5,7 @@
+ 
+ @dircategory Miscellaneous
+ @direntry
+-* cssc: (cssc).		The GNU work-alike replacement for SCCS.
++* cssc: (cssc).			The GNU work-alike replacement for SCCS.
+ @end direntry
+ 
+ @copying
Index: files/patch-sf-delta.cc
===================================================================
--- files/patch-sf-delta.cc	(revision 329785)
+++ files/patch-sf-delta.cc	(working copy)
@@ -1,14 +0,0 @@
---- sf-delta.cc.orig	Fri Oct  1 18:10:43 2004
-+++ sf-delta.cc	Fri Oct  1 18:31:01 2004
-@@ -533,8 +533,10 @@
-       return false;
-     }
-   FileDeleter another_cleaner(dname, false);
-+
-+  delta d;
-   
--  struct subst_parms parms(get_out, NULL, delta(), 
-+  struct subst_parms parms(get_out, NULL, d,
-                            0, sccs_date()); // XXX: was sccs_date(NULL) (bad!)
-   seq_state gsstate(sstate);
- 
Index: files/patch-sf-prs.cc
===================================================================
--- files/patch-sf-prs.cc	(revision 329785)
+++ files/patch-sf-prs.cc	(working copy)
@@ -1,14 +0,0 @@
---- sf-prs.cc.orig	Fri Oct  1 18:32:28 2004
-+++ sf-prs.cc	Fri Oct  1 18:32:50 2004
-@@ -43,8 +43,10 @@
- {
-   sid_list no_includes, no_excludes;
-   sccs_date no_cutoff;
-+
-+  delta d;
-   
--  struct subst_parms parms(out, NULL, delta(), 0,
-+  struct subst_parms parms(out, NULL, d, 0,
-                            sccs_date());  // XXX: was sccs_date(NULL) (bad!)
-   class seq_state state(highest_delta_seqno());
-   
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 329785)
+++ pkg-descr	(working copy)
@@ -1,15 +1,18 @@
-This is GNU CSSC, a workalike for the source code control system SCCS.
-It is based on the MySC package by Ross Ridge.
+CSSC is the GNU Project's replacement for SCCS. SCCS is a proprietary suite
+of tools which is provided with most commercial versions of Unix. The purpose
+behind CSSC is to provide a work-alike for SCCS which can be used on the
+various Free versions of Unix.
 
-SCCS commands implemented this package are: admin, cdc, delta, get,
-prs, prt, sccsdiff, rmdel, sact, unget and what.  Not all options and
-capabilities of the commands have been implemented yet, and the comb,
-val and vc commands are not provided at all.
+SCCS was the only major form of source code control on Unix platforms for many
+years, until RCS came along. SCCS was an effective method for small projects,
+but these days it is less popular, particularly for projects involving large
+numbers of files. A certain amount of old software is still in SCCS form, and
+CSSC is designed to retrieve that software. Once retrieved, it is recommended
+to bring the source under the control of a more modern source code control
+system, such as git or Apache Subversion.
 
-Unimplemented features include consistency checking (admin -h),
-ignored deltas (delta -g), printing the differences after a delta
-(delta -p), l-files (get -l), and getting a delta by sequence number
-(get -a).  Some features like including and excluding deltas (get -i
--x) have been implemented but not extensively tested.
+However, SCCS (and CSSC) is still perfectly adequate for small projects.  For
+example, if you are familiar with SCCS, it is not unreasonable to control the
+files in /etc and /usr/local/etc on your private FreeBSD machine with CSSC.
 
-FreeBSD port made by Oliver Fromme <olli at fromme.com>
+WWW: http://www.gnu.org/software/cssc/
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 329785)
+++ pkg-plist	(working copy)
@@ -11,4 +11,5 @@
 libexec/cssc/unget
 libexec/cssc/val
 libexec/cssc/what
- at dirrm libexec/cssc
+man/man1/sccs.1.gz
+ at dirrmtry libexec/cssc
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list