[Forensics-changes] [chaosreader] 01/01: * Bumped Standards-Version to 3.9.6. * Renamed from debian/chaosreader.manpages to debian/manpages. * debian/man/: - Changed the generator script from genman.sh to genallman.sh. - Renamed header.txt to chaosreader.header.

Joao Eriberto Mota Filho eriberto at moszumanska.debian.org
Tue Oct 28 13:06:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

eriberto pushed a commit to branch debian
in repository chaosreader.

commit be40001bc06b4828cf5d3dcaa0d0e9f168e18478
Author: Joao Eriberto Mota Filho <eriberto at debian.org>
Date:   Tue Oct 28 11:05:43 2014 -0200

      * Bumped Standards-Version to 3.9.6.
      * Renamed from debian/chaosreader.manpages to debian/manpages.
      * debian/man/:
          - Changed the generator script from genman.sh to genallman.sh.
          - Renamed header.txt to chaosreader.header.
---
 debian/changelog                              | 10 ++++++++++
 debian/control                                |  2 +-
 debian/man/chaosreader.1                      |  4 ++--
 debian/man/{header.txt => chaosreader.header} |  0
 debian/man/chaosreader.txt                    |  2 +-
 debian/man/genallman.sh                       | 27 +++++++++++++++++++++++++++
 debian/man/genman.sh                          | 10 ----------
 debian/{chaosreader.manpages => manpages}     |  0
 8 files changed, 41 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 66cda01..d726e26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+chaosreader (0.94-7) unstable; urgency=medium
+
+  * Bumped Standards-Version to 3.9.6.
+  * Renamed from debian/chaosreader.manpages to debian/manpages.
+  * debian/man/:
+      - Changed the generator script from genman.sh to genallman.sh.
+      - Renamed header.txt to chaosreader.header.
+
+ -- Joao Eriberto Mota Filho <eriberto at debian.org>  Sun, 26 Oct 2014 17:30:01 -0200
+
 chaosreader (0.94-6) unstable; urgency=medium
 
   * New maintainer email address.
diff --git a/debian/control b/debian/control
index df422fb..4163407 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
 Uploaders: Joao Eriberto Mota Filho <eriberto at debian.org>
 Build-Depends: debhelper (>= 9)
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
 Homepage: http://chaosreader.sf.net
 Vcs-Browser: http://anonscm.debian.org/cgit/forensics/chaosreader.git
 Vcs-Git: git://anonscm.debian.org/forensics/chaosreader.git
diff --git a/debian/man/chaosreader.1 b/debian/man/chaosreader.1
index 7252ee7..bf9e86f 100644
--- a/debian/man/chaosreader.1
+++ b/debian/man/chaosreader.1
@@ -1,5 +1,5 @@
-.\"Text automatically generated by txt2man
 .TH CHAOSREADER "1"  "Dec 2013" "CHAOSREADER 0.94" "trace network sessions and export it to html format"
+.\"Text automatically generated by txt2man
 .SH NAME
 \fBchaosreader \fP- trace network sessions and export it to html format
 .SH SYNOPSIS
@@ -484,4 +484,4 @@ Example 4:
 .SH AUTHORS
 \fBchaosreader\fP was written by Brendan Gregg.
 .PP
-This manual page was written by Joao Eriberto Mota Filho <eriberto at debian.org>, using txt2man, for the Debian project (but may be used by others). The base of this text was caught off \fBchaosreader\fP source code.
+This manual page was written by Joao Eriberto Mota Filho <eriberto at debian.org> for the Debian project (but may be used by others). The base of this text was caught off \fBchaosreader\fP source code.
diff --git a/debian/man/header.txt b/debian/man/chaosreader.header
similarity index 100%
rename from debian/man/header.txt
rename to debian/man/chaosreader.header
diff --git a/debian/man/chaosreader.txt b/debian/man/chaosreader.txt
index 32b04e8..37f33a7 100644
--- a/debian/man/chaosreader.txt
+++ b/debian/man/chaosreader.txt
@@ -197,5 +197,5 @@ SEE ALSO
 AUTHORS
   chaosreader was written by Brendan Gregg.
 
-  This manual page was written by Joao Eriberto Mota Filho <eriberto at debian.org>, using txt2man, for the Debian project (but may be used by others). The base of this text was caught off chaosreader source code.
+  This manual page was written by Joao Eriberto Mota Filho <eriberto at debian.org> for the Debian project (but may be used by others). The base of this text was caught off chaosreader source code.
 
diff --git a/debian/man/genallman.sh b/debian/man/genallman.sh
new file mode 100755
index 0000000..130ecf8
--- /dev/null
+++ b/debian/man/genallman.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# Generate several manpages at the same time.
+# C 2014 Joao Eriberto Mota Filho <eriberto at debian.org>
+#
+# You can use this code in the same terms of the BSD-3-clause license or,
+# optionally, in the same terms of the license used in debian/ directory
+# in this Debian package. Please, to the last option, refer the package
+# name when using.
+#
+# This script uses txt2man. You need 2 files: program_name.txt and
+# program_name.header.
+#
+# The program_name.header must be use this structure:
+#
+# .TH <program_name> "<manpage_level>"  "<date>" "<program_name_upper_case> <program_version>" "<program_description>"
+#
+# Example:
+#
+# .TH mac-robber "1"  "May 2013" "MAC-ROBBER 1.02" "collects data about allocated files in mounted filesystems"
+
+for NAME in $(ls | grep header | cut -d'.' -f1)
+do
+    LEVEL=$(cat $NAME.header | cut -d" " -f3 | tr -d '"')
+    cat $NAME.header > $NAME.$LEVEL
+    txt2man $NAME.txt | grep -v '^.TH ' >> $NAME.$LEVEL
+done
diff --git a/debian/man/genman.sh b/debian/man/genman.sh
deleted file mode 100755
index ecd8bdf..0000000
--- a/debian/man/genman.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-# Generate manpage
-# C 2014 Eriberto
-
-NAME=$(cat header.txt | cut -d" " -f2 | tr [A-Z] [a-z])
-LEVEL=$(cat header.txt | cut -d" " -f3 | tr -d '"')
-
-cat header.txt > $NAME.$LEVEL
-txt2man $NAME.txt | grep -v '^.TH ' >> $NAME.$LEVEL
diff --git a/debian/chaosreader.manpages b/debian/manpages
similarity index 100%
rename from debian/chaosreader.manpages
rename to debian/manpages

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/chaosreader.git



More information about the forensics-changes mailing list