Bug 182830 - [maintainer update] devel/cssc: major update + stage support
Summary: [maintainer update] devel/cssc: major update + stage support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason E. Hale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-08 15:40 UTC by Oliver Fromme
Modified: 2013-10-10 06:50 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (5.67 KB, patch)
2013-10-08 15:40 UTC, Oliver Fromme
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Fromme 2013-10-08 15:40:00 UTC
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

Fix: Note that the following files are REMOVED:

 - files/patch-sf-delta.cc
 - files/patch-sf-prs.cc
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-08 15:40:09 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-08 15:40:10 UTC
Maintainer of devel/cssc,

Please note that PR ports/182830 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182830

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-08 15:40:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 oliver 2013-10-08 16:04:20 UTC
Yes, I approve this patch.  It's a great patch.  Interestingly I was just about to submit a very similar patch ...  ;-)
Comment 5 Oliver Fromme 2013-10-08 17:12:40 UTC
*sigh*  Still the wrong sender address.  I hope it works this time.

YES, I approve the stupid thing!  :-)
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2013-10-09 02:26:05 UTC
State Changed
From-To: feedback->open

Submitter is maintainer from another address.
Comment 7 Jason E. Hale freebsd_committer freebsd_triage 2013-10-10 04:58:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jhale

I'll take it.
Comment 8 dfilter service freebsd_committer freebsd_triage 2013-10-10 06:49:40 UTC
Author: jhale
Date: Thu Oct 10 05:49:31 2013
New Revision: 329964
URL: http://svnweb.freebsd.org/changeset/ports/329964

Log:
  - Update to 1.3.0
  - Update MAINTAINER email address
  - Support staging
  - Add LICENSE (GPLv3)
  - Add option for Solaris interoperability
  - Remove indefinite article from COMMENT
  - Update pkg-descr
  
  PR:		ports/182830
  Submitted by:	Oliver Fromme <oliver@fromme.com> (maintainer)

Added:
  head/devel/cssc/files/patch-bsd__sccs.1   (contents, props changed)
  head/devel/cssc/files/patch-docs__cssc.texi   (contents, props changed)
     - copied, changed from r329953, head/devel/cssc/files/patch-aa
Deleted:
  head/devel/cssc/files/patch-aa
  head/devel/cssc/files/patch-sf-delta.cc
  head/devel/cssc/files/patch-sf-prs.cc
Modified:
  head/devel/cssc/Makefile   (contents, props changed)
  head/devel/cssc/distinfo   (contents, props changed)
  head/devel/cssc/pkg-descr   (contents, props changed)
  head/devel/cssc/pkg-plist   (contents, props changed)

Modified: head/devel/cssc/Makefile
==============================================================================
--- head/devel/cssc/Makefile	Thu Oct 10 04:09:43 2013	(r329963)
+++ head/devel/cssc/Makefile	Thu Oct 10 05:49:31 2013	(r329964)
@@ -2,21 +2,22 @@
 # $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=	GNU
+DISTNAME=	CSSC-${PORTVERSION}
 
-MAINTAINER=	olli@fromme.com
-COMMENT=	A workalike for the source code control system SCCS
+MAINTAINER=	oliver@fromme.com
+COMMENT=	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>

Modified: head/devel/cssc/distinfo
==============================================================================
--- head/devel/cssc/distinfo	Thu Oct 10 04:09:43 2013	(r329963)
+++ head/devel/cssc/distinfo	Thu Oct 10 05:49:31 2013	(r329964)
@@ -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

Added: head/devel/cssc/files/patch-bsd__sccs.1
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cssc/files/patch-bsd__sccs.1	Thu Oct 10 05:49:31 2013	(r329964)
@@ -0,0 +1,26 @@
+--- ./bsd/sccs.1.orig	2013-10-10 00:25:57.000000000 -0400
++++ ./bsd/sccs.1	2013-10-10 00:26:42.000000000 -0400
+@@ -523,7 +523,6 @@
+ Copyright \(co 1983, 1990, 1993
+ .br
+ The Regents of the University of California.  All rights reserved.
+-
+ .Pp
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+@@ -548,7 +547,6 @@
+ Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+-
+ .El
+ .Pp
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+@@ -562,7 +560,6 @@
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+-
+ .Sh HISTORY
+ The
+ .Nm sccs

Copied and modified: head/devel/cssc/files/patch-docs__cssc.texi (from r329953, head/devel/cssc/files/patch-aa)
==============================================================================
--- head/devel/cssc/files/patch-aa	Thu Oct 10 00:58:16 2013	(r329953, copy source)
+++ head/devel/cssc/files/patch-docs__cssc.texi	Thu Oct 10 05:49:31 2013	(r329964)
@@ -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 13:52:32.000000000 -0400
++++ ./docs/cssc.texi	2013-10-10 00:25:34.000000000 -0400
+@@ -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

Modified: head/devel/cssc/pkg-descr
==============================================================================
--- head/devel/cssc/pkg-descr	Thu Oct 10 04:09:43 2013	(r329963)
+++ head/devel/cssc/pkg-descr	Thu Oct 10 05:49:31 2013	(r329964)
@@ -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@fromme.com>
+WWW: http://www.gnu.org/software/cssc/

Modified: head/devel/cssc/pkg-plist
==============================================================================
--- head/devel/cssc/pkg-plist	Thu Oct 10 04:09:43 2013	(r329963)
+++ head/devel/cssc/pkg-plist	Thu Oct 10 05:49:31 2013	(r329964)
@@ -11,4 +11,5 @@ libexec/cssc/sccsdiff
 libexec/cssc/unget
 libexec/cssc/val
 libexec/cssc/what
+man/man1/sccs.1.gz
 @dirrm libexec/cssc
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 9 Jason E. Hale freebsd_committer freebsd_triage 2013-10-10 06:50:24 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!