Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2002 15:04:54 +0000
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35405: Upgrade misc/sloccount to 2.10
Message-ID:  <E16gS74-0004U1-00@voi.aagh.net>

next in thread | raw e-mail | index | archive | help

>Number:         35405
>Category:       ports
>Synopsis:       Upgrade misc/sloccount to 2.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 28 07:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Hurst
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
Very little
>Environment:
System: FreeBSD voi.freak.lan 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Thu Dec 20 13:56:19 GMT 2001 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386


>Description:
	2.10 adds, um, COBOL support.  Exciting :)
>How-To-Repeat:
>Fix:

Apply the following patch:

diff -ru /usr/ports/misc/sloccount/Makefile sloccount/Makefile
--- /usr/ports/misc/sloccount/Makefile	Sat Jan 19 17:31:03 2002
+++ sloccount/Makefile	Thu Feb 28 14:48:29 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	sloccount
-PORTVERSION=	2.09
+PORTVERSION=	2.10
 CATEGORIES=	misc
 MASTER_SITES=	http://www.dwheeler.com/sloccount/
 
diff -ru /usr/ports/misc/sloccount/distinfo sloccount/distinfo
--- /usr/ports/misc/sloccount/distinfo	Sat Jan 19 17:31:03 2002
+++ sloccount/distinfo	Thu Feb 28 14:48:59 2002
@@ -1 +1 @@
-MD5 (sloccount-2.09.tar.gz) = fe915e1eda358983e4b2d65bbaf7cf5a
+MD5 (sloccount-2.10.tar.gz) = 1326a0a013fd36497cb44870627963ad
diff -ru /usr/ports/misc/sloccount/files/patch-break_filelist sloccount/files/patch-break_filelist
--- /usr/ports/misc/sloccount/files/patch-break_filelist	Sat Jan 19 17:31:03 2002
+++ sloccount/files/patch-break_filelist	Thu Feb 28 14:51:32 2002
@@ -1,6 +1,6 @@
---- break_filelist.org	Sat Jan 19 22:42:44 2002
-+++ break_filelist	Sat Jan 19 22:42:20 2002
-@@ -558,7 +558,7 @@
+--- break_filelist.orig	Wed Feb 27 00:39:24 2002
++++ break_filelist	Thu Feb 28 14:42:14 2002
+@@ -562,7 +562,7 @@
     return $cached_digest;  # We did, so here's what it was.
   }
  
diff -ru /usr/ports/misc/sloccount/files/patch-makefile sloccount/files/patch-makefile
--- /usr/ports/misc/sloccount/files/patch-makefile	Sat Jan 19 17:31:04 2002
+++ sloccount/files/patch-makefile	Thu Feb 28 15:01:39 2002
@@ -1,5 +1,5 @@
---- makefile.orig	Wed Jan  9 21:38:33 2002
-+++ makefile	Sat Jan 19 22:40:15 2002
+--- makefile.orig	Wed Feb 27 17:58:44 2002
++++ makefile	Thu Feb 28 14:45:44 2002
 @@ -10,14 +10,12 @@
  # Set this for where to store the man pages and executables.
  # If you want to store this as part of an official distribution,
@@ -24,7 +24,7 @@
  MAN_DIR_MAN1=$(MAN_DIR)/man1
  DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
  POSTED_DIR=/home/dwheeler/dwheeler.com/sloccount
-@@ -84,7 +82,7 @@
+@@ -85,7 +83,7 @@
     sql_count \
     tcl_count
  
@@ -33,7 +33,7 @@
  
  MYDOCS=sloccount.html README TODO ChangeLog
  
-@@ -92,13 +90,13 @@
+@@ -93,13 +91,13 @@
  all: lexcount1$(EXE_SUFFIX) c_count$(EXE_SUFFIX) java_count$(EXE_SUFFIX) php_count$(EXE_SUFFIX)
  
  lexcount1$(EXE_SUFFIX): lexcount1.c
@@ -50,7 +50,7 @@
  
  sloccount.1.gz: sloccount.1
  	gzip -c sloccount.1 > sloccount.1.gz
-@@ -109,18 +107,17 @@
+@@ -110,18 +108,17 @@
  
  # This is USC's code counter, not built by default:
  c_lines: C_LINES.C
diff -ru /usr/ports/misc/sloccount/pkg-plist sloccount/pkg-plist
--- /usr/ports/misc/sloccount/pkg-plist	Sat Jan 19 17:31:04 2002
+++ sloccount/pkg-plist	Thu Feb 28 14:57:55 2002
@@ -3,6 +3,7 @@
 bin/awk_count
 bin/break_filelist
 bin/c_count
+bin/cobol_count
 bin/compute_all
 bin/compute_sloc_lang
 bin/count_extensions
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16gS74-0004U1-00>