debian/0000755000000000000000000000000012255611362007171 5ustar debian/cscope.install0000644000000000000000000000102012255611300012016 0ustar src/cscope usr/bin contrib/ocs usr/bin contrib/xcscope/cscope-indexer usr/bin contrib/README usr/share/doc/cscope/contrib contrib/webcscope/cgi-lib.pl usr/share/doc/cscope/contrib/webcscope contrib/webcscope/cscope usr/share/doc/cscope/contrib/webcscope contrib/webcscope/hilite.c usr/share/doc/cscope/contrib/webcscope contrib/webcscope/icons usr/share/doc/cscope/contrib/webcscope contrib/webcscope/INSTALL usr/share/doc/cscope/contrib/webcscope contrib/webcscope/TODO usr/share/doc/cscope/contrib/webcscope debian/watch0000644000000000000000000000006412255611300010212 0ustar version=3 http://sf.net/cscope/cscope-(.*)\.tar\.gz debian/rules0000755000000000000000000000031612255611300010241 0ustar #!/usr/bin/make -f override_dh_auto_install: # Disabled. See debian/*.install files override_dh_clean: dh_clean find -type d -name CVS | xargs --no-run-if-empty rm -rf %: dh $@ --with autotools_dev debian/changelog0000644000000000000000000003347512255611300011047 0ustar cscope (15.8a-2) unstable; urgency=low * Convert cscope-el package to a transitional package for xcscope-el. * Uploading now that xcscope-el has been accepted in the archive. -- tony mancill Sun, 22 Dec 2013 08:21:49 -0800 cscope (15.8a-1) unstable; urgency=low [ Jari Aalto ] * New upstream release (Closes: #717120, #689198). * debian/control - (Homepage): Update to Freecode. - (Standards-Version): 3.9.5. - (Uploaders): Co-maintain package. - (Vcs-*): Update to Alioth (Closes: #653605). * debian/copyright - Update to Format 1.0. [ tony mancill ] * Add myself to Uploaders: * debian/rules now uses "dh --with autotools_dev" - Thanks to Colin Watson (Closes: #726300). -- Jari Aalto Tue, 15 Oct 2013 22:31:40 +0300 cscope (15.7a-3.6) unstable; urgency=low * Non-maintainer upload. * Enable hardened build flags by switching to debhelper compat level 9 (Closes: #653490) -- Moritz Muehlenhoff Fri, 06 Apr 2012 11:24:26 +0200 cscope (15.7a-3.5) unstable; urgency=low * Non-maintainer upload. * debian/control - (Suggests): Remove cbrowser (Closes: #651945). -- Jari Aalto Tue, 13 Dec 2011 18:33:47 +0200 cscope (15.7a-3.4) unstable; urgency=low * Non-maintainer upload. * debian/compat - Update to 8. * debian/control - (Build-Depends): Update to 8. - (Depends): add ed. The search-and-replace function in cscope is implemented using it. Patch thanks to Mark Heily . (Closes: #626728). - (Standards-Version): Update to 3.9.2 -- Jari Aalto Fri, 23 Sep 2011 19:11:57 +0300 cscope (15.7a-3.3) unstable; urgency=low * Non-maintainer upload. * debian/cscope-el.emacsen-remove - (ELCDIR): New variable. Fix removing of *.elc (Closes: #608985). -- Jari Aalto Mon, 10 Jan 2011 18:55:28 +0200 cscope (15.7a-3.2) unstable; urgency=low * Non-maintainer upload. * debian/clean - New file. * debian/control - (Standards-Version): Update to 3.9.1. - (cscope::Suggests): Add cscope-el. * debian/cscope-el.emacsen-install - Move from debian/cscope.emacsen-install (Closes: #582964). - Prefer install(1) to cp(1). * cscope-el.emacsen-remove - Move from cscope.emacsen-remove -- Jari Aalto Sat, 13 Nov 2010 15:51:58 +0200 cscope (15.7a-3.1) unstable; urgency=low [ Jari Aalto ] * Non-maintainer upload. - Move to packaging format "3.0 (quilt)" due to patch. - Move from dpatch to quilt patch system. * debian/copyright - Point to GPL-2. Use FSF URL (Lintian). * debian/control - (Build-Depends): Update to debhelper 7.1. - (cscope::Description): Fix french hyphens. - (cscope-el::Description): Extend description. * debian/{cscope,cscope-el}.preinst - Add "set -e". * debian/cscope-indexer.1 - Fix hyphens. * debian/patches - Convert all dpatch(es) into quilt format. - (Number 04): Refresh patch. Fix also hyphens in manpage. * debian/README.source - Delete; obsoleted by new packaging format. * debian/ocs.1 - Fix hyphens and spelling. * debian/rules - Remove dpatch. Move to dh(1) build system. - (clean): Add rm for config.log. * debian/source/format - New file. [ Hideki Yamane (Debian-JP) ] * debian/control - (Package::cscope-el): New. separete emacs lisp to cscope-el package (Closes: #565727). * debian/cscope-el.{emacsen-install,emacsen-remove,install,preinst} - New files. -- Jari Aalto Sat, 08 May 2010 20:29:08 +0300 cscope (15.7a-3) unstable; urgency=low * Depend on emacsen-common to be able to install xcscope.el correctly (Closes: #562550). * Add ${misc:Depends} to Depends field in control (this fixes a lintian warning). * Fix spelling error in ocs.1 manpage (this fixes a lintian warning). -- Tobias Klauser Wed, 13 Jan 2010 18:08:30 +0100 cscope (15.7a-2) unstable; urgency=low * Correctly install and remove emacs library file (closes: #515164). Thanks to Benoit Izac for the patch. * Update handling of config.{guess,sub} in debian/rules according to the autotools-dev README.Debian. This fixes a lintian warning. * Add README.source file (text taken from /usr/share/doc/dpatch/README.source) * Update to Standards-Version 3.8.3 -- Tobias Klauser Wed, 21 Oct 2009 13:57:34 +0200 cscope (15.7a-1) unstable; urgency=high * New upstream release. - Security update for CVE-2009-0148 to fix multiple buffer overflows (Closes: #528510). - Drop 01-fix-resize-crash-inside-vim.dpatch, merged upstream. * Correctly install xcscope.el via dh_installemacsen (Closes: #515164). * Update to Standards-Version 3.8.1, no changes needed. -- Tobias Klauser Sun, 24 May 2009 12:13:47 +0200 cscope (15.6-7) unstable; urgency=low * Fix lintian warnings. - Do not ignore errors in cscope.preinst. - Remove invalid symbol from manpage. * Replaced obsolete dh_clean -k with dh_prep in rules. * Updated debhelper compatibility level from 5 to 7. * Updated to Standards-Version 3.8.0, no changes needed. * Changed maintainer email address. -- Tobias Klauser Sun, 11 Jan 2009 16:07:42 +0100 cscope (15.6-6) unstable; urgency=low * Fix Bashisms in contrib/ocs (Closes: #480591) * Remove Homepage tag in control in favour of the new control field. * Add Vcs-Git and Vcs-Browser control fields. -- Tobias Klauser Sun, 18 May 2008 19:44:58 +0200 cscope (15.6-5) unstable; urgency=low * Remove left over Emacs startup file (Closes: #454377) * Update to Standards-Version 3.7.3 (no changes needed) -- Tobias Klauser Thu, 06 Dec 2007 20:06:00 +0100 cscope (15.6-4) unstable; urgency=low * Fix a typo in xcscope.el (Closes: #438170) * Update debhelper compatibility level from 4 to 5 * Do not ignore error messages in the clean target of debian/rules -- Tobias Klauser Fri, 17 Aug 2007 15:34:56 +0200 cscope (15.6-3) unstable; urgency=low * Do not install invasive Emacs startup file 50cscope.el (Closes: #427765) -- Tobias Klauser Thu, 07 Jun 2007 00:31:15 +0200 cscope (15.6-2) unstable; urgency=low * Fix crash on resize when used inside vim. Patch taken from upstream BTS (Closes: #374994) * Add watch file again -- Tobias Klauser Sat, 21 Oct 2006 14:46:49 +0200 cscope (15.6-1) unstable; urgency=low * New upstream release - Fixes a segfault when creating an inverted index and thus makes our own patch obsolete (#386595). -- Tobias Klauser Tue, 17 Oct 2006 14:16:17 +0200 cscope (15.5+cvs20060902-3) unstable; urgency=low * Fix a segfault when creating an inverted index (Closes: #386595). Thanks to Mike Stroyan * Replace symlink to the GPL in /usr/share/doc/cscope/contrib/webcscope by a license statement in debian/copyright. This fixes a linda warning. * Mention xcscope license and copyright information in debian/copyright * Remove pointless symlink to xcscope.el from cscope documentation directory. * CVE-2006-4262 was fixed with 15.5+cvs20060902-1 but I forgot to mention in the changelog, sorry! -- Tobias Klauser Fri, 29 Sep 2006 12:03:40 +0200 cscope (15.5+cvs20060902-2) unstable; urgency=low * Restore accidentally removed manpages ocs.1 and cscope-indexer.1 -- Tobias Klauser Sun, 3 Sep 2006 15:38:23 +0200 cscope (15.5+cvs20060902-1) unstable; urgency=low * New snapshot from upstream CVS as of 2006-09-02. Fixes the following bug: - Handle trailing ':' in VPATH envvar correctly, thanks Mattia Dongili (Closes: #353528) * New maintainer (Closes: #378802) * Remove Build-Depends on automake-1.7 as it was only there to shut up a warning which does not show up anymore. * Remove watch file -- Tobias Klauser Sat, 2 Sep 2006 19:25:48 +0200 cscope (15.5+cvs20050816-2) unstable; urgency=low * QA Upload (Ack NMU, Closes: #340177) * Set Maintainer to QA Group, Orphaned: #378802 * Conforms to latest Standards Version 3.7.2 -- Michael Ablassmeier Tue, 1 Aug 2006 11:04:19 +0200 cscope (15.5+cvs20050816-1.1) unstable; urgency=high * Non-maintainer upload. * Apply patch from Alec Berryman to fix CVE-2004-2541.diff (Closes: #340177). -- Julien Cristau Sat, 10 Jun 2006 20:06:36 +0200 cscope (15.5+cvs20050816-1) unstable; urgency=low * New upstream CVS as of 2005-08-16. Fixes the following in Debian BTS: - 2004-06-23 Hans-Bernhard Broeker * src/dir.c (makefilelist): Fix broken movement of point_in_line when parsing quoted names. Simplify structure by moving default handling upward. Closes: Bug#298931 - bug in handling quote-protected filenames in cscope.files - 2004-12-06 Neil Horman * src/main.c: Fix for temp file security bug (sourceforge bug number 1062807 / CAN-2004-0970 [sic, should be CAN-2004-0996]) Acknowledge NMU of 15.5-1.1 (Thanks to Joey Hess, Martin Pitt and Gerardo Di Giacomo). Upstream fixed the same issue in a slightly different way, by creating a temp directory to store the temp files. (Closes: #282815) * xcscope.el: Applied Lasse Kantola's change_let_to_setq.patch so that disabling of fuzzy matching would work correctly. (Closes: Bug#315466) * Adds Build-Depends: automake1.7 to avoid warnings. * Updated Standards-Version: from to 3.6.2. * Updated author list in debian/copyright. -- Anthony Fok Sun, 13 Nov 2005 00:30:02 +0800 cscope (15.5-1.1) unstable; urgency=HIGH * NMU to fix temp file security hole. Closes: #282815 (CAN-2004-0996) * Incorporates a patch by Martin Pitt : * SECURITY UPDATE: insecure temp file creation vulnerability * src/main.c: - modified the temporary file creation procedure * References: - CAN-2004-0996 - http://lists.netsys.com/pipermail/full-disclosure/2004-November/029341.html * Thanks to Gerardo Di Giacomo for his assistance with the patch -- Joey Hess Sun, 5 Dec 2004 12:45:00 -0500 cscope (15.5-1) unstable; urgency=low * New upstream release. (Closes: Bug#236296) * cscope man page line-breaking problem has been fixed upstream. (Closes: Bug#176003, Bug#245705) * Added cscope-index.1 man page, thanks to Robert Lemmen! (Closes: Bug#174689) * Updated to Standards-Version: 3.6.1. * Fixed debian/watch. -- Anthony Fok Thu, 29 Apr 2004 22:35:29 +0800 cscope (15.4-2) unstable; urgency=high * config.guess and config.sub too old. Updated with the ones in /usr/share/misc. Thanks to LaMont Jones for the bug report. Also, the new bison did not like the extraneous "=". Removed them. Thanks to Junichi Uekawa for the added note. (Closes: Bug#163465) * Minor fixes (incremented debhelper dependencies, shortened description) -- Anthony Fok Sun, 3 Nov 2002 00:28:19 +0800 cscope (15.4-1) unstable; urgency=low * New upstream release. Thanks to GOTO Masanori for notifying me. (Closes: Bug#163309) -- Anthony Fok Sun, 6 Oct 2002 03:59:56 +0800 cscope (15.3-1) unstable; urgency=low * New upstream release. (Thanks to GOTO Masanori for the notification). (Closes: Bug#104084) * Upstream seems to have fixed the "cscope hangs on trivial file not ending in newline" problem too. :-) Thanks to Bradley A. Bosch for reporting the problem. (Closes: Bug#98461) * Added manpage for ocs(1) kindly provided by Nick Rusnov . Many thanks! (Closes: Bug#100418) * Upgraded to Standards-Version: 3.5.6. * Added webcscope in /usr/share/doc/cscope/contrib. * Installed xcscope, an (X)Emacs interface for cscope. -- Anthony Fok Mon, 12 Nov 2001 01:48:57 +0800 cscope (15.1-1) unstable; urgency=low * New upstream release. -- Anthony Fok Sat, 2 Dec 2000 03:40:32 -0700 cscope (15.0bl2-1) unstable; urgency=low * New upstream release. According to the upstream maintainer, it should be a lot more stable than 13.0x even though it's still in a pre-alpha stage, * Added contrib files in /usr/share/doc/cscope/contrib. -- Anthony Fok Wed, 17 May 2000 13:51:19 -0600 cscope (13.0.0.20000419-2) unstable; urgency=low * [debian/control]: - Now Suggests: cbrowser, a great Tcl-based front-end to cscope. - Added "Open-Sourced by" and "Maintainer" to the package description. -- Anthony Fok Wed, 17 May 2000 02:02:26 -0600 cscope (13.0.0.20000419-1) unstable; urgency=low * New upstream post-13.0 CVS updates as of 2000-04-19. * [common/library.h]: Added parentheses around `strcpy', `strncpy', `strpbrk' and `strchr' since they are defined as macros in glibc2, and cscope would not compile with CFLAGS="-O2" unless things like `char *strcpy()' is changed to `char *(strcpy)()'. * [debian/rules]: Uses CFLAGS="-O2 -g -Wall". * [debian/control]: Added Build-Depends line. * [debian/copyright]: Added the address to cscope's home page. -- Anthony Fok Thu, 20 Apr 2000 13:15:18 -0600 cscope (13.0-1) unstable; urgency=low * Initial Release. * [common/main.c]: Changed TMPDIR from "/usr/tmp" to "/tmp" as per FHS, otherwise cscope simply doesn't work. /usr/tmp does not exist on Debian. -- Anthony Fok Wed, 19 Apr 2000 15:34:00 -0600 debian/cscope.preinst0000755000000000000000000000047212255611300012051 0ustar #!/bin/sh -e set -e cleanup_sitestart() { if [ -e /etc/emacs/site-start.d/50cscope.el ]; then rm -f /etc/emacs/site-start.d/50cscope.el fi } case "$1" in upgrade) cleanup_sitestart ;; install|abort-upgrade) ;; *) echo "$0 called with unknown argument '$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012255611300010610 5ustar debian/patches/04-fix-manpage-warning.patch0000644000000000000000000001107712255611300015717 0ustar From 270908781fcb34a70d60d036836b8908613606e0 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sat, 8 May 2010 20:16:14 +0300 Subject: [PATCH] doc/cscope.1: Fix hyphens Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- doc/cscope.1 | 33 ++++++++++++++++----------------- 1 files changed, 16 insertions(+), 17 deletions(-) diff --git a/doc/cscope.1 b/doc/cscope.1 index 6a3a86b..26a153e 100644 --- a/doc/cscope.1 +++ b/doc/cscope.1 @@ -1,4 +1,3 @@ -.PU .TH CSCOPE "1" "January 2007" "The Santa Cruz Operation" .SH NAME cscope - interactively examine a C program @@ -106,7 +105,7 @@ below. (The #include files may be specified with either double quotes or angle brackets.) The incdir directory is searched in addition to the current directory (which is searched first) and the standard list -(which is searched last). If more than one occurrence of -I +(which is searched last). If more than one occurrence of \-I appears, the directories are searched in the order they appear on the command line. .TP @@ -129,7 +128,7 @@ source trees generally do not use it. .TP .B -L Do a single search with line-oriented output when used with the --num pattern option. +\-num pattern option. .TP .B -l Line-oriented interface (see ``Line-Oriented Interface'' @@ -146,7 +145,7 @@ Prepend .I path to relative file names in a pre-built cross-reference file so you do not have to change to the directory where the cross-reference file was -built. This option is only valid with the -d option. +built. This option is only valid with the \-d option. .TP .BI -p n Display the last @@ -192,7 +191,7 @@ database building and searches. .I files A list of file names to operate on. .PP -The -I, -c, -k, -p, -q, and -T options can also be in the cscope.files file. +The \-I, \-c, \-k, \-p, \-q, and \-T options can also be in the cscope.files file. .PP .SS Requesting the initial search .PP @@ -261,7 +260,7 @@ Append the displayed list of lines to a file. .TP .B < Read lines from a file that is in symbol reference format -(created by > or >>), just like the -F option. +(created by > or >>), just like the \-F option. .TP .B ^ Filter all lines through a shell command and display the @@ -366,7 +365,7 @@ commands, respectively. .PP .SS Line-Oriented interface .PP -The -l option lets you use cscope where a screen-oriented interface +The \-l option lets you use cscope where a screen-oriented interface would not be useful, for example, from another screen-oriented program. .PP @@ -375,10 +374,10 @@ with the field number (counting from 0) immediately followed by the search pattern, for example, ``lmain'' finds the definition of the main function. .PP -If you just want a single search, instead of the -l option use the -L -and -num pattern options, and you won't get the >> prompt. +If you just want a single search, instead of the \-l option use the \-L +and \-num pattern options, and you won't get the >> prompt. .PP -For -l, cscope outputs the number of reference lines +For \-l, cscope outputs the number of reference lines cscope: 2 lines .PP For each reference found, cscope outputs a line consisting of the file @@ -463,11 +462,11 @@ is not set, cscope searches only in the current directory. .SH FILES .TP .B cscope.files -Default files containing -I, -p, -q, and -T options and the -list of source files (overridden by the -i option). +Default files containing \-I, \-p, \-q, and \-T options and the +list of source files (overridden by the \-i option). .TP .B cscope.out -Symbol cross-reference file (overridden by the -f option), +Symbol cross-reference file (overridden by the \-f option), which is put in the home directory if it cannot be created in the current directory. .TP @@ -477,11 +476,11 @@ the current directory. .B cscope.po.out .PD 1 Default files containing the inverted index used for quick -symbol searching (-q option). If you use the -f option to +symbol searching (\-q option). If you use the \-f option to rename the cross-reference file (so it's not cscope.out), the names for these inverted index files will be created by adding - .in and .po to the name you supply with -f. For example, if you -indicated -f xyz, then these files would be named xyz.in and + .in and .po to the name you supply with \-f. For example, if you +indicated \-f xyz, then these files would be named xyz.in and xyz.po. .TP .B INCDIR @@ -549,7 +548,7 @@ definition, for example, .PP char flag #ifdef ALLOCATE_STORAGE - = -1 + = \-1 #endif ; .PP -- 1.7.0 debian/patches/series0000644000000000000000000000006712255611300012030 0ustar 03-fix-ocs-bashisms.patch 04-fix-manpage-warning.patch debian/patches/03-fix-ocs-bashisms.patch0000644000000000000000000000357212255611300015237 0ustar From 8294f4a6d33b69055623935b9b0969ee61a683a4 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sat, 8 May 2010 20:15:35 +0300 Subject: [PATCH] contrib/ocs: Fix bashims (Closes: #480591) Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- contrib/ocs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/ocs b/contrib/ocs index 736de94..c476ab8 100755 --- a/contrib/ocs +++ b/contrib/ocs @@ -87,7 +87,7 @@ if [ ! -d ${SYSDIR} ]; then fi # Check that cscope is in PATH -type cscope 1>/dev/null 2>&1 +which cscope 1>/dev/null 2>&1 if [ $? -ne 0 ] then @@ -168,8 +168,8 @@ create_list() if [ "${FORCE}" != "Y" ] then - echo "\n${LIST}" - echo "Update the library? <(Y)es, (N)o, (Q)uit> [n] \c" + printf "\n${LIST}\n" + printf "Update the library? <(Y)es, (N)o, (Q)uit> [n] " read x y case $x in [Yy]* ) ;; @@ -177,9 +177,9 @@ create_list() *) return ;; esac fi - echo "Updating library:\n ${LIST} \c" + printf "Updating library:\n ${LIST} " else - echo "Creating library:\n ${LIST} \c" + printf "Creating library:\n ${LIST} " fi ( @@ -197,7 +197,7 @@ create_list() -print ) | grep -v SCCS | sort -u > ${LIST} - echo "\n`cat ${LIST} | wc -l` files listed" + printf "\n`cat ${LIST} | wc -l` files listed\n" } # @@ -211,7 +211,7 @@ exp_inc() then for i in `cat ${theInc}` do - echo "-I $i \c" + printf "-I $i " done fi } @@ -286,7 +286,7 @@ std_libs ${SYSDIR}$PWD DIR=$PWD if [ ! -n "${NOUPDATE}" -o -n "${SPECDEST}" ] ; then -echo "Create new library? <(L)ocal, (H)ome, (S)ystem, (Q)uit> [q] \c" +printf "Create new library? <(L)ocal, (H)ome, (S)ystem, (Q)uit> [q] " read x y case $x in [Ll]* ) DIR=$PWD ;; -- 1.7.0 debian/docs0000644000000000000000000000003112255611300010026 0ustar AUTHORS NEWS README TODO debian/ocs.10000644000000000000000000000267512255611300010041 0ustar .\" .\" This document is free to modify and distribute. .\" .TH ocs 1 "June 2001" "The Debian Project" .SH NAME ocs \- creates and maintains the database for cscope on a recursive directory set .SH SYNOPSIS .B ocs [\-x] [\-f] [\-q] [\-u] .br .SH DESCRIPTION This manual page briefly documents .B ocs , a shell script wrapper that automates the creation and maintenance of a .BR cscope(1) database on a recursive set of directories. Under normal circumstances, .B ocs generates a cscope database on a recursive group of directories starting from the current working directory, before launching .BR cscope(1) in interactive mode. .br .SH OPTIONS .B .IP -x Enable debugging. .br .B .IP -f Force. Do not ask about regenerating 'TMP' lists (lists generated by .B ocs ), just do it; Allow the regeneration of 'CSD' (lists generated by .BR cscope(1) ) lists. .br .B .IP -q Tell cscope to build a fast reverse index. Database disk space usage is doubled, but searching speed is increased. .br .B .IP -u Request that the database be updated or regenerated. .br .SH FILES .IP ./cscope.rc If this is an executable shell script, it will be included in the body of .B ocs in order to override intenal filenames and other options. See the comments at the top of .B /usr/bin/ocs for more information. .SH BUGS None noted. .SH SEE ALSO .BR cscope(1), .BR /usr/bin/ocs. .SH AUTHORS .br This manpage originally prepared by .B Nick Rusnov for the Debian Project. debian/cscope.manpages0000644000000000000000000000006212255611300012150 0ustar debian/ocs.1 debian/cscope-indexer.1 doc/cscope.1 debian/cscope-indexer.10000644000000000000000000000345512255611300012162 0ustar .TH cscope-indexer 1 "30. December 2002" "Script to index files for cscope" .SH NAME cscope-indexer \- Script to index files for cscope .SH SYNOPSIS .B cscope-indexer [\fI-v\fR] [\fI-f database_file\fR] [\fI-i list_file\fR] [\fI-l\fR] [\fI-r\fR] .SH DESCRIPTION This script generates a list of files to index (cscope.out), which is then (optionally) used to generate a cscope database. You can use this script to just build a list of files, or it can be used to build a list and database. This script is not used to just build a database (skipping the list of files step), as this can be simply done by just calling "cscope \-b". Normally, cscope will do its own indexing, but this script can be used to force indexing. This is useful if you need to recurse into subdirectories, or have many files to index (you can run this script from a cron job, during the night). It is especially useful for large projects, which can contstantly have source files added and deleted; by using this script, the changing sources files are automatically handled. Currently, any paths containing "/CVS/" or "/RCS/" are stripped out (ignored). .SH OPTIONS .TP .B \-f database_file Specifies the cscope database file (default: cscope.out). .TP .B \-i list_file Specifies the name of the file into which the list of files to index is placed (default: cscope.files). .TP .B \-l Suppress the generation/updating of the cscope database file. Only a list of files is generated. .TP .B \-r Recurse into subdirectories to locate files to index. Without this option, only the current directory is searched. .TP .B \-v Be verbose. Output simple progress messages. .SH "SEE ALSO" .BR cscope (1) .SH AUTHOR This manual page was written for the Debian GNU/Linux system by Robert Lemmen (but may be used by others, of course) debian/source/0000755000000000000000000000000012255611300010461 5ustar debian/source/format0000644000000000000000000000001412255611300011667 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212255611300010357 0ustar 9 debian/copyright0000644000000000000000000001000012255611300011103 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: cscope Upstream-Contact: Hans-Bernhard Broeker (Maintainer) Source: http://www.sourceforge.net/projects/cscope Comment: See also http://freecode.com/projects/cscope X-Upstream-Vcs: http://sourceforge.net/p/cscope/code X-Upstream-Bugs: http://sourceforge.net/p/cscope/bugs Files: * Copyright: 2003-2012 Hans-Bernhard Broeker (Maintainer) , 2004-2012 Neil Horman , , Petr Sorfa (Initial Maintainer) Joe Steffen (Author) 1998-2000 The Santa Cruz Operation , Inc. (SCO) Comment: Courtesy of The Santa Cruz Operation, Inc. (SCO) who released cscope as Open Source software in April 2000. License: BSD-2-Clause-style Files: webcscope Copyright: 2001 Ragho Mahalingam 1999 Dmitry Obukhov, License: GPL-2+ Files: cgi-lib.pl Copyright: 1993-1999 Steven E. Brenner Comment: Part of webcscope. License: Permission granted to use and modify this library so long as the copyright above is maintained, modifications are documented, and credit is given for any use of the library. Files: xcscope cscope-indexer Copyright: 2000 Darryl Okahata License: GPL-2+ Files: debian/* Copyright: 2010,2011,2013 Jari Aalto 2012 Moritz Muehlenhoff 2006-2010 Tobias Klauser , 2006 Michael Ablassmeier 2006 Julien Cristau 2004 Joey Hess 2000-2005 Anthony Fok License: GPL-2+ License: GPL-2+ This package 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 package 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, see . . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2". License: BSD-2-Clause-style Copyright (c) 1998-2000, The Santa Cruz Operation All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . *Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . *Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . *Neither name of The Santa Cruz Operation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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. debian/control0000644000000000000000000000272512255611300010572 0ustar Source: cscope Section: devel Priority: optional Maintainer: Tobias Klauser Uploaders: Jari Aalto , tony mancill Build-Depends: debhelper (>= 9), autotools-dev, bison, flex, libncurses5-dev Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/cscope.git Vcs-Git: git://anonscm.debian.org/collab-maint/cscope.git Homepage: http://freecode.com/projects/cscope Package: cscope Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ed Suggests: cscope-el Description: interactively examine a C program source Cscope is an interactive text screen based source browsing tool. Although it is primarily designed to search C code (including lex and yacc files), it can also be used for C++ code. . Using cscope, you can easily search for where symbols are used and defined. Cscope is designed to answer questions like: . - Where is this variable used? - What is the value of this preprocessor symbol? - Where is this function in the source files? - What functions call this function? - What functions are called by this function? - Where does the message "out of space" come from? - Where is this source file in the directory structure? - What files include this header file? Package: cscope-el Architecture: all Depends: xcscope-el (>= 1.0-1~), ${misc:Depends} Description: transitional dummy package This is a transitional dummy package. It can safely be removed.