-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from sarnold/ci-version
ci updates
- Loading branch information
Showing
16 changed files
with
368 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// This version built on at Fri 01/06/2006 | ||
#define CCCC_VERSION 3.1.1 | ||
#define CCCC_VERSION_STRING "3.1.1" | ||
// This version built on kepler at 20210219-220832 | ||
#define CCCC_VERSION 3.1.6 | ||
#define CCCC_VERSION_STRING "3.1.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# see git-dpm(1) from git-dpm package | ||
b0b4e8fd4a71654c41e462670555dc0fc4a55109 | ||
b0b4e8fd4a71654c41e462670555dc0fc4a55109 | ||
ca38c154169eb001b5352a1105b307c35817c88e | ||
ca38c154169eb001b5352a1105b307c35817c88e | ||
cccc_3.1.4.orig.tar.gz | ||
2b39667bf1f6ea6accddd8245cac0e8c19bc28e7 | ||
632007 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
.TH CCCC 1 | ||
.SH NAME | ||
cccc \- C and C++ Code Counter, a software metrics tool | ||
.SH SYNOPSIS | ||
.B cccc | ||
.RB [ options ] | ||
.I file1.c | ||
\&... | ||
.SH DESCRIPTION | ||
CCCC analyses and reports measurements of source code in C, C++, and Java. | ||
The metrics supported include lines of code, McCabe's Cyclomatic Complexity, | ||
and measures of module fan-out/fan-in. | ||
.PP | ||
CCCC processes the files listed on its command line. | ||
If the filenames include \(oq-\(cq, read a list of files from standard input. | ||
.PP | ||
This program is work in progress and is not well documented. | ||
Please be prepared to refer to the source code for the | ||
meaning of some options. | ||
.SH OPTIONS | ||
.TP | ||
.B \-\-help | ||
Generate this help message. | ||
.TP | ||
\fB\-\-outdir\fP=\fIdname\fP | ||
Directory for generated files (default=.cccc). | ||
.TP | ||
\fB\-\-html_outfile\fP=\fIfname\fP | ||
Name of primary HTML report generated (default=\fIoutdir\fP/cccc.html). | ||
.TP | ||
\fB\-\-xml_outfile\fP=\fIfname\fP | ||
Name of primary XML report generated (default=\fIoutdir\fP/cccc.xml). | ||
.TP | ||
\fB\-\-db_infile\fP=\fIfname\fP | ||
Preload internal database from named file (default=no initial content). | ||
.TP | ||
\fB\-\-db_outfile\fP=\fIfname\fP | ||
Save internal database to named file (default=\fIoutdir\fP/cccc.db). | ||
.TP | ||
\fB\-\-opt_infile\fP=\fIfname\fP | ||
Load options from named file (default=use compiled-in option values, | ||
refer to cccc_opt.cc for option information). | ||
.TP | ||
\fB\-\-opt_outfile\fP=\fIfname\fP | ||
Save options to named file (default=\fIoutdir\fP/cccc.opt). | ||
.TP | ||
\fB\-\-lang\fP=\fIstring\fP | ||
Use language specified for files specified after this option. | ||
Languages supported are c, c++, ada, and java (default=use language/extension | ||
mapping controlled by options). | ||
.TP | ||
\fB\-\-report_mask\fP=\fIhex\fP | ||
Control report content (refer to ccccmain.cc for mask values). | ||
.TP | ||
\fB\-\-debug_mask\fP=\fIhex\fP | ||
Control debug output content (refer to ccccmain.cc for mask values). | ||
.SH AUTHOR | ||
CCCC was written by Tim Littlefair <tim_littlefair@hotmail.com>. | ||
.PP | ||
This manual page was written by Colin Watson <cjwatson@debian.org> | ||
for the Debian system (but may be used by others). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
cccc (1:3.1.6-1ubuntu1) focal; urgency=medium | ||
|
||
* new upstream release | ||
|
||
-- Stephen L Arnold <nerdboy@gentoo.org> Sat, 20 Feb 2021 13:06:18 -0800 | ||
|
||
cccc (1:3.1.4-12build1) focal; urgency=medium | ||
|
||
* No-change rebuild for libgcc-s1 package name change. | ||
|
||
-- Matthias Klose <doko@ubuntu.com> Sun, 22 Mar 2020 16:35:51 +0100 | ||
|
||
cccc (1:3.1.4-12) unstable; urgency=medium | ||
|
||
[ Ondřej Nový ] | ||
* d/watch: Use https protocol | ||
|
||
[ Colin Watson ] | ||
* Use debhelper-compat instead of debian/compat. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Fri, 23 Aug 2019 14:40:10 +0100 | ||
|
||
cccc (1:3.1.4-11) unstable; urgency=medium | ||
|
||
* Policy version 4.2.1: | ||
- Use HTTPS form of copyright-format URL. | ||
- Set Rules-Requires-Root: no. | ||
* Fix implicit integer cast when parsing filenames (thanks, Erwan Legrand; | ||
LP: #376859). | ||
|
||
-- Colin Watson <cjwatson@debian.org> Fri, 07 Sep 2018 10:35:41 +0100 | ||
|
||
cccc (1:3.1.4-10) unstable; urgency=medium | ||
|
||
* Move VCS to salsa.debian.org. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Sat, 14 Apr 2018 18:44:39 +0100 | ||
|
||
cccc (1:3.1.4-9) unstable; urgency=medium | ||
|
||
* Use HTTPS for Vcs-* URLs. | ||
* Build with all hardening options. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Wed, 27 Jan 2016 10:52:18 +0000 | ||
|
||
cccc (1:3.1.4-8) unstable; urgency=medium | ||
|
||
* Simplify debian/rules using /usr/share/dpkg/buildflags.mk. | ||
* Build with large file support. | ||
* Upgrade to debhelper v9. | ||
* Policy version 3.9.6: no changes required. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Sat, 02 Jan 2016 16:58:05 +0000 | ||
|
||
cccc (1:3.1.4-7) unstable; urgency=medium | ||
|
||
* Update Vcs-Browser URL for alioth cgit. | ||
* Adjust package description and cccc(1) to stop implying that metrics are | ||
direct measures of quality (closes: #643799). | ||
|
||
-- Colin Watson <cjwatson@debian.org> Sat, 27 Sep 2014 23:40:07 +0100 | ||
|
||
cccc (1:3.1.4-6) unstable; urgency=medium | ||
|
||
* Switch to git; add Vcs-* fields. | ||
* Policy version 3.9.5: no changes required. | ||
* Add a reference to /usr/share/common-licenses/GPL-2 to debian/copyright, | ||
and remove outdated Lintian override. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Sun, 19 Jan 2014 12:48:40 +0000 | ||
|
||
cccc (1:3.1.4-5) unstable; urgency=low | ||
|
||
* Adjust debian/watch to remove epoch from Debian version. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Tue, 18 Sep 2012 01:54:52 +0100 | ||
|
||
cccc (1:3.1.4-4) unstable; urgency=low | ||
|
||
* Convert debian/copyright to copyright-format 1.0. | ||
* Use dpkg-buildflags to enable hardening options. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Tue, 26 Jun 2012 01:04:39 +0100 | ||
|
||
cccc (1:3.1.4-3) unstable; urgency=low | ||
|
||
* Avoid dependent base class scope lookups, which no longer work in G++ | ||
4.7 (closes: #667133). | ||
|
||
-- Colin Watson <cjwatson@debian.org> Wed, 04 Apr 2012 01:42:33 +0100 | ||
|
||
cccc (1:3.1.4-2) unstable; urgency=low | ||
|
||
* Add cross-compiling support. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Wed, 09 Nov 2011 13:01:30 +0000 | ||
|
||
cccc (1:3.1.4-1) unstable; urgency=low | ||
|
||
* New upstream release. | ||
- Released under GPL v2 or later. | ||
* Upgrade to debhelper v7. | ||
* Use ${misc:Depends}. | ||
* Convert to source format 3.0 (quilt). | ||
* All patches are now maintained separately and tagged according to DEP-3. | ||
* Add a Homepage field. | ||
* Add a watch file. | ||
* Switch to machine-readable copyright format (current DEP-5 draft). | ||
|
||
-- Colin Watson <cjwatson@debian.org> Tue, 02 Mar 2010 02:34:31 +0000 | ||
|
||
cccc (3.pre84-2) unstable; urgency=low | ||
|
||
* Fix build with g++ 4.1 (thanks, Martin Michlmayr; closes: #356161). | ||
|
||
-- Colin Watson <cjwatson@debian.org> Mon, 22 May 2006 10:20:03 +0100 | ||
|
||
cccc (3.pre84-1) unstable; urgency=low | ||
|
||
* New upstream release. | ||
- Works around previous prn14 test problems, so I've removed my | ||
temporary hack (closes: #202797). | ||
* Fix various compiler errors when using g++ 4.0 (thanks, Andreas Jochens; | ||
closes: #258560, #315117). | ||
* Upgrade to debhelper v4. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Sun, 7 Aug 2005 15:12:12 +0100 | ||
|
||
cccc (3.pre81-2) unstable; urgency=low | ||
|
||
* Ignore errors from prn14 test for now, following upstream's advice | ||
(downgrades #202797 to normal). | ||
* Use 'diff -u' in tests to get more context. | ||
* Remove test/*.xml in 'debian/rules clean'. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Sat, 23 Aug 2003 04:34:05 +0100 | ||
|
||
cccc (3.pre81-1) unstable; urgency=low | ||
|
||
* New upstream release. May fix test problems on hppa and s390. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Tue, 19 Aug 2003 00:10:40 +0100 | ||
|
||
cccc (3.pre63-3) unstable; urgency=low | ||
|
||
* Compile with -Wno-deprecated. These warnings are currently unimportant | ||
for Debian. | ||
* Set DEBUG=true so that we compile with -g. | ||
* Fix implicit typenames in cccc_tbl.cc and cccc_tbl.h (closes: #196782). | ||
|
||
-- Colin Watson <cjwatson@debian.org> Sun, 13 Jul 2003 14:19:13 +0100 | ||
|
||
cccc (3.pre63-2) unstable; urgency=low | ||
|
||
* Build with g++ 3.2. | ||
* Override bogus lintian error (cccc isn't licensed under the GPL, the | ||
copyright file merely mentions it). | ||
|
||
-- Colin Watson <cjwatson@debian.org> Wed, 8 Jan 2003 20:27:20 +0000 | ||
|
||
cccc (3.pre63-1) unstable; urgency=low | ||
|
||
* Initial release (closes: #130632). | ||
* Build with the Debian pccts package rather than the included pccts. | ||
* Avoid linking statically. | ||
* Add a cccc(1) man page. | ||
|
||
-- Colin Watson <cjwatson@debian.org> Sun, 15 Sep 2002 17:36:19 +0100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
test/*.db | ||
test/*.html | ||
test/*.xml | ||
test/.cccc/cccc.opt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Source: cccc | ||
Section: devel | ||
Priority: optional | ||
Maintainer: Colin Watson <cjwatson@debian.org> | ||
Standards-Version: 4.2.1 | ||
Build-Depends: dpkg-dev (>= 1.16.1~), debhelper-compat (= 9), pccts | ||
Homepage: https://github.com/sarnold/cccc | ||
Vcs-Git: https://salsa.debian.org/debian/cccc.git | ||
Vcs-Browser: https://salsa.debian.org/debian/cccc | ||
Rules-Requires-Root: no | ||
|
||
Package: cccc | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: C and C++ Code Counter, a software metrics tool | ||
CCCC analyses and reports measurements of source code in C, C++, and Java. | ||
The metrics supported include lines of code, McCabe's Cyclomatic | ||
Complexity, and measures of module fan-out/fan-in. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: CCCC | ||
Upstream-Contact: Tim Littlefair <tim_littlefair@hotmail.com> | ||
Source: http://cccc.sourceforge.net/ | ||
|
||
Files: * | ||
Copyright: 1994-2005, Tim Littlefair <tim_littlefair@hotmail.com> | ||
License: GPL-2+ | ||
|
||
Files: debian/* | ||
Copyright: 2002, 2003, 2005, 2006, 2010 Colin Watson <cjwatson@debian.org> | ||
License: GPL-2+ | ||
|
||
License: GPL-2+ | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
. | ||
On Debian and Debian-based systems, a copy of the GNU General Public | ||
License version 2 is available in /usr/share/common-licenses/GPL-2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cccc/cccc usr/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
debian/cccc.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#! /usr/bin/make -f | ||
%: | ||
dh $@ | ||
|
||
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) | ||
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) | ||
|
||
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) | ||
CROSS := | ||
else | ||
CROSS := CCC=$(DEB_HOST_GNU_TYPE)-g++ LD=$(DEB_HOST_GNU_TYPE)-g++ | ||
endif | ||
|
||
# We have to duplicate a little from the upstream build system. See | ||
# cccc/posixgcc.mak. | ||
export DEB_BUILD_MAINT_OPTIONS := hardening=+all | ||
export DEB_CPPFLAGS_MAINT_APPEND := -D_FILE_OFFSET_BITS=64 | ||
export DEB_CFLAGS_MAINT_APPEND := -Wno-deprecated -Wall | ||
include /usr/share/dpkg/buildflags.mk | ||
CFLAGS := $(CPPFLAGS) $(CFLAGS) | ||
CFLAGS += -c -I/usr/include/pccts -x c++ | ||
buildflags := CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" | ||
|
||
override_dh_auto_build: | ||
$(MAKE) -C cccc -f posixgcc.mak $(buildflags) \ | ||
PCCTS_H=/usr/include/pccts PCCTS_BIN=/usr/bin $(CROSS) | ||
|
||
override_dh_auto_test: | ||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) | ||
$(MAKE) -C test -f posix.mak | ||
endif | ||
|
||
override_dh_auto_clean: | ||
$(MAKE) -C cccc -f posixgcc.mak clean | ||
-rm cccc/CLexer.h cccc/CParser.h cccc/Ctokens.h cccc/JLexer.h \ | ||
cccc/JParser.h cccc/Jtokens.h cccc/parser.dlg | ||
-rm -rf test/.cccc | ||
|
||
override_dh_auto_install: | ||
# The default 'make install' uses su! | ||
|
||
override_dh_installdocs: | ||
dh_installdocs 'cccc/CCCC User Guide.html' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
version=3 | ||
opts=uversionmangle=s/pre/~pre/,dversionmangle=s/^\d+:// \ | ||
https://sf.net/cccc/cccc-(.+)\.tar\.gz |
Oops, something went wrong.