[Forensics-changes] [outguess] 03/06: Imported Debian patch 1:0.2-5

Joao Eriberto Mota Filho eriberto at moszumanska.debian.org
Sun Dec 4 19:55:31 UTC 2016


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

eriberto pushed a commit to branch debian
in repository outguess.

commit 4406732895e082061a763705e73e2f9b99b122be
Author: Samuele Giovanni Tonon <samu at debian.org>
Date:   Mon Oct 14 14:06:18 2002 +0200

    Imported Debian patch 1:0.2-5
---
 Makefile.in          |   2 -
 debian/changelog     |  30 +++++++++--
 debian/control       |   8 +--
 debian/copyright     |  34 +++++++++++--
 debian/dirs          |   1 +
 debian/docs          |   1 -
 debian/links         |   3 ++
 debian/outguess.1    | 140 ---------------------------------------------------
 debian/rules         |  19 ++++---
 debian/seek_script.1 |  45 +++++++++++++++++
 debian/undocumented  |   1 +
 outguess.c           |   2 +-
 12 files changed, 124 insertions(+), 162 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index ee90e2b..c911a5a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -48,8 +48,6 @@ $(JPEGDEP):
 	cd $(JPEGDIR); $(MAKE) libjpeg.a
 
 install: all
-	$(INSTALL_PROG) -m 755 -d $(install_prefix)$(bindir)
-	$(INSTALL_PROG) -m 755 -d $(install_prefix)$(mandir)
 	$(INSTALL_PROG) -m 755 outguess $(install_prefix)$(bindir)
 	$(INSTALL_DATA) outguess.1 $(install_prefix)$(mandir)
 
diff --git a/debian/changelog b/debian/changelog
index 0ab9741..f07d6e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,30 @@
+outguess (1:0.2-5) unstable; urgency=low
+
+  * changed description as suggested by Martin Schulze (Closes: #163715)
+
+ -- Samuele Giovanni Tonon <samu at debian.org>  Mon, 14 Oct 2002 14:06:18 +0200
+
+outguess (1:0.2-4) unstable; urgency=low
+
+  * The "All the program has the same name" Release
+  * changed outguess.c to match outguess-extract for the extract only
+    option
+  * changed link to point to outguess-extract and outguess-extract.1
+    as suggested by "Aaron M. Ucko" (thanks) (Closes: Bug#162928)
+  * changed histogram to outguess-histogram (thanks to "Laurent Bonnaud")
+    (Closes: Bug#162958)
+
+ -- Samuele Giovanni Tonon <samu at debian.org>  Tue,  1 Oct 2002 16:27:37 +0200
+
+outguess (1:0.2-3) unstable; urgency=low
+
+  * New Mantainer (thank Chris for your work) (Closes: Bug#162470)
+  * Modified debian copyright file (Closes: Bug#162425)
+  * Putted seek_script and histogram in /usr/bin
+  * Wrote manual page for seek_script
+
+ -- Samuele Giovanni Tonon <samu at debian.org>  Thu, 26 Sep 2002 23:07:33 +0200
+
 outguess (1:0.2-2) unstable; urgency=low
 
   * Added Build-Depends for debhelper (closes: Bug#103505)
@@ -17,6 +44,3 @@ outguess (0.13b-1) unstable; urgency=low
 
  -- Chris Leishman <masklin at debian.org>  Fri,  8 Sep 2000 23:43:53 +1100
 
-Local variables:
-mode: debian-changelog
-End:
diff --git a/debian/control b/debian/control
index 3b31ce9..69d67a4 100644
--- a/debian/control
+++ b/debian/control
@@ -1,14 +1,14 @@
 Source: outguess
-Section: non-US/main
+Section: utils
 Priority: optional
-Maintainer: Chris Leishman <masklin at debian.org>
-Standards-Version: 3.1.1
+Maintainer: Samuele Giovanni Tonon <samu at debian.org>
+Standards-Version: 3.5.2
 Build-Depends: debhelper
 
 Package: outguess
 Architecture: any
 Depends: ${shlibs:Depends}
-Description: A universal steganographic tool
+Description: Universal Steganographic tool
  OutGuess is a universal steganographic tool that allows the insertion of
  hidden information into the redundant bits of data sources. The nature of the
  data source is irrelevant to the core of OutGuess. The program relies on data
diff --git a/debian/copyright b/debian/copyright
index babf635..ab65078 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -7,9 +7,37 @@ Upstream Author(s): Niels Provos <provos at citi.umich.edu>
 
 Copyright:
 
-OutGuess is available under the BSD software license.  Please see each
-source file for its respective license.  OutGuess was written in Germany, and
-CONTAINS CRYPTOGRAPHIC FUNCTIONS.
+ Copyright 2001 Niels Provos <provos at citi.umich.edu>
+ All rights reserved.
+ 
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. All advertising materials mentioning features or use of this software
+    must display the following acknowledgement:
+      This product includes software developed by Niels Provos.
+ 4. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+ 
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+
+
+
+OutGuess was written in Germany, and CONTAINS CRYPTOGRAPHIC FUNCTIONS.
 
 The source file golay.c originally contained a non-comercial requirement.
 This has been removed with permission from the author, Robert Morelos-Zaragoza
diff --git a/debian/dirs b/debian/dirs
index e772481..98d1583 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -1 +1,2 @@
 usr/bin
+usr/share/man/man1
diff --git a/debian/docs b/debian/docs
index 2e9fd57..9058156 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,3 +1,2 @@
 README
-TODO
 STIRMARK-README
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..7d7a467
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,3 @@
+usr/bin/outguess usr/bin/outguess-extract
+usr/share/man/man1/outguess.1 usr/share/man/man1/outguess-extract.1
+
diff --git a/debian/outguess.1 b/debian/outguess.1
deleted file mode 100644
index ddf72df..0000000
--- a/debian/outguess.1
+++ /dev/null
@@ -1,140 +0,0 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH OUTGUESS SECTION "September  8, 2000"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh        disable hyphenation
-.\" .hy        enable hyphenation
-.\" .ad l      left justify
-.\" .ad b      justify to both left and right margins
-.\" .nf        disable filling
-.\" .fi        enable filling
-.\" .br        insert line break
-.\" .sp <n>    insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-OutGuess 0.13b \- Universal Stego (c) 1999 Niels Provos
-.SH SYNOPSIS
-.B outguess
-[ options ] [<inputfile> [<outputfile>]]
-.br
-.SH DESCRIPTION
-This manual page documents briefly the
-.B outguess
-program.
-.PP
-.\" TeX users may be more comfortable with the \fB<whatever>\fP and
-.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
-.\" respectively.
-\fBOutGuess\fP is a universal steganographic tool that allows the insertion
-of hidden information into the redundant bits of data sources.  The
-nature of the data source is irrelevant to the core of OutGuess.  The
-program relies on data specific handlers that will extract redundant
-bits and write them back after modification.  In this version the PNM
-and JPEG image formats are supported.  In the next paragraphs, images
-will be used as concrete example of data objects, though OutGuess can
-use any kind of data, as long as a handler is provided.
-
-Steganography is the art of hiding the fact that communication is
-happening. Classical steganography systems depend on keeping the
-encoding system secret, but modern steganography should only be
-detectable if a secret information, e.g. a secret key is known.  But
-because of their invasive nature they leave detectable traces within
-an image's characteristics, e.g. its Fourier signature, and hence
-allow an eavesdropper to detect images which have been modified, and
-thus giving away the fact that secret communication is happening.  The
-secret of the information is not degraded, its hidden nature is
-revealed, defeating the whole purpose of Steganography.
-
-OutGuess uses a generic iterator object to select which bits in the
-data should be modified.  A seed can be used to modify the behavior
-of the iterator. It is embedded in the data along with the rest of the
-message.  By altering the seed, OutGuess tries to find a sequence of
-bits that minimizes the number of changes in the data that have to be
-made.
-
-A bias is introduced that favors the modification of bits that were
-extracted from a high value, and tries to avoid the modification of
-bits that were extracted from a low value.
-
-
-.SH OPTIONS
-.TP
-.B \-k <key>
-The secret key used to encrypt and hide the message in the provided data.
-.TP
-.B \-d <filename>
-The filename specifying the message to be hidden in the data.
-.TP
-.B \-i <n>
-The upper limit in finding an optimal iterator seed. The maximum value for the
-limit is 65536.
-.TP
-.B \-s <n>
-The initial seed the iterator object uses for selecting bits in the redundant
-data. If no upper limit is specified, the iterator will use this seed without
-searching for a more optimal embedding.
-.TP
-.B \-e
-Use error correction for data encoding and decoding.
-.TP
-.B \-r
-Retrieve a message from a data object.  If this option is not specified,
-OutGuess will embed messages.
-.TP
-.B \-x <n>
-If the second key does not create an iterator object that is successful in
-embedding the data, the program will derive up to <n> new keys.
-.TP
-.B \-p \fIparam\fP
-Passes a string as parameter to the destination data handler. For the JPEG
-image format, this is the compression quality, it can take values between 75
-and 100.  The higher the quality the more bits to hide a message in the data
-are available.
-.TP
-.B \-t
-Collect statistics about redundant bit usage. Repeated 't's increase output
-level.  Probably meaningless to most.
-.PP
-For embedding messages, you need to specify a source and a destination
-filename.  OutGuess determines the data format by the filename extension.
-If no filenames are specified OutGuess operates as filter and assumes
-the PPM data format.
-.SH EXAMPLE
-To embed the message 'hidden.txt' info the 'monkey.jpg' image:
-.PP
-outguess -k "my secret pass phrase" -d hidden.txt \\
-.br
-	monkey.jpg out.jpg
-.PP
-To retrieve the hidden message from the image:
-.PP
-outguess -k "my secret pass phrase" -r out.jpg message.txt
-.PP
-To embedd a second message:
-.PP
-outguess -k "secret1" -d hide1.txt -E -K "secret2" \\
-.br
-	-D hide2.txt monkey.jpg out.jpg
-.PP
-Outguess will first embed "hide1.txt" and then "hide2.txt" on top of it, using
-error correcting codes.  The second message "hide2.txt" can be retrieved with:
-.PP
-outguess -k "secret2" -e -r out.jpg message.txt
-.PP
-.SH BUGS
-Not all the redundant data available in the JPEG encoding is used, this is due
-to a problem when reconstructing the Huffman coefficients.  I have seen cases
-when two MCU blocks have only the first coefficient assigned, that the
-coefficents are the same and do not represent the Huffman coefficients that
-were used when the image was created, and thus getting the bit stream out of
-sync.  So I just ignore the first coefficent always.
-.br
-.SH SEE ALSO
-/usr/share/doc/outguess/README
-.SH AUTHOR
-This manual page was written by Chris Leishman <masklin at debian.org>,
-for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/rules b/debian/rules
index ee0a5a6..53a7799 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,8 +43,10 @@ install: build
 	dh_installdirs
 
 	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install prefix=`pwd`/debian/tmp/usr
-
+	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
+	cp histogram $(CURDIR)/debian/tmp/usr/bin/outguess-histogram
+	cp seek_script $(CURDIR)/debian/tmp/usr/bin/
+ 
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -57,14 +59,15 @@ binary-arch: build install
 	dh_testroot
 #	dh_installdebconf	
 	dh_installdocs
-	dh_installexamples
-	dh_installmenu
+#	dh_installexamples
+#	dh_installmenu
 #	dh_installemacsen
 #	dh_installpam
 #	dh_installinit
-	dh_installcron
-	dh_installmanpages cjpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1 ansi2knr.1 djpeg.1
-	dh_installinfo
+#	dh_installcron
+	dh_installmanpages rdjpgcom.1 djpeg.1 ansi2knr.1 wrjpgcom.1 jpegtran.1 cjpeg.1
+
+#	dh_installinfo
 #	dh_undocumented
 	dh_installchangelogs ChangeLog
 	dh_link
@@ -72,7 +75,7 @@ binary-arch: build install
 	dh_compress
 	dh_fixperms
 	# You may want to make some executables suid here.
-	dh_suidregister
+#	dh_suidregister
 #	dh_makeshlibs
 	dh_installdeb
 #	dh_perl
diff --git a/debian/seek_script.1 b/debian/seek_script.1
new file mode 100644
index 0000000..14fad88
--- /dev/null
+++ b/debian/seek_script.1
@@ -0,0 +1,45 @@
+.\"
+.\"
+.\" The following requests are required for all man pages.
+.Dd September 26, 2002
+.Dt seek_script 1
+.Os
+.Sh NAME
+.Nm seek_script
+.Nd A very simple script using OutGuess to find an image that yields the best embedding.
+.Pp
+.Pp
+.Sh SYNOPSIS
+.Nm seek_script [param for outguess]
+.Pp
+.Pp
+.Sh DESCRIPTION
+The
+.Nm
+ script scans the current directory to find the best JPEG file in which hide
+ the message that resides in /tmp/fortune. At the end the script will print 
+ the best and the worst JPEG file in which to put the message.
+.Pp
+.Pp
+.Sh ERRORS
+.Nm
+works only for
+.Tn JPEG
+images.
+.Pp
+.Pp
+.Sh SEE ALSO
+.Xr /usr/share/doc/outguess/README
+.Xr outguess 1
+.Pp
+.Pp
+.Sh ACKNOWLEDGEMENTS
+This product includes software developed by Ian F. Darwin and others.
+.Pp
+.Sh AUTHORS
+The
+.Nm
+utility has been developed by Niels Provos.
+.Sh AUTHOR
+This manual page was written by Samuele Giovanni Tonon <samu at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/undocumented b/debian/undocumented
new file mode 100644
index 0000000..182a57f
--- /dev/null
+++ b/debian/undocumented
@@ -0,0 +1 @@
+histogram
diff --git a/outguess.c b/outguess.c
index 557be9e..4b4e687 100644
--- a/outguess.c
+++ b/outguess.c
@@ -818,7 +818,7 @@ main(int argc, char **argv)
                 cp = strrchr(argv[0], '/') + 1;
         else
                 cp = argv[0];
-	if (!strcmp("extract", cp)) {
+	if (!strcmp("outguess-extract", cp)) {
 		extractonly = 1;
 		doretrieve = 1;
 		argv++;

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



More information about the forensics-changes mailing list