aboutsummaryrefslogtreecommitdiff
path: root/security/steghide
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-08-13 09:26:49 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-08-13 09:26:49 +0000
commitc7a66420669a9076fa199fd2706efb537ecbc950 (patch)
tree9d8c2608fe78caf4f559466116a2e3b12f70898f /security/steghide
parenta614c6ffd2713106f61110794e837806a9534e05 (diff)
downloadports-c7a66420669a9076fa199fd2706efb537ecbc950.tar.gz
ports-c7a66420669a9076fa199fd2706efb537ecbc950.zip
Notes
Diffstat (limited to 'security/steghide')
-rw-r--r--security/steghide/files/patch-src-arguments.cc59
-rw-r--r--security/steghide/files/patch-src-jpegfile.cc5
-rw-r--r--security/steghide/files/patch-src-jpegframe.cc15
-rw-r--r--security/steghide/files/patch-src-jpegscan.cc9
-rw-r--r--security/steghide/files/patch-src-jpegscanhdr.cc7
5 files changed, 50 insertions, 45 deletions
diff --git a/security/steghide/files/patch-src-arguments.cc b/security/steghide/files/patch-src-arguments.cc
index 3d25f2f5183c..eb0ae08138a3 100644
--- a/security/steghide/files/patch-src-arguments.cc
+++ b/security/steghide/files/patch-src-arguments.cc
@@ -1,14 +1,15 @@
---- src/arguments.cc.orig Thu Sep 26 21:38:44 2002
-+++ src/arguments.cc Thu Sep 26 21:44:01 2002
-@@ -19,6 +19,7 @@
+--- src/arguments.cc.orig Tue May 14 07:48:06 2002
++++ src/arguments.cc Wed Aug 13 10:40:26 2003
+@@ -19,6 +19,8 @@
*/
#include <iostream>
+#include <string>
++#include <assert.h>
#include <libintl.h>
#define _(S) gettext (S)
-@@ -53,15 +54,15 @@
+@@ -53,15 +55,15 @@
command.setValue (SHOWHELP) ;
return ;
}
@@ -27,7 +28,7 @@
command.setValue (SHOWVERSION) ;
if (argc > 2) {
Warning w (_("you cannot use arguments with the \"version\" command")) ;
-@@ -69,7 +70,7 @@
+@@ -69,7 +71,7 @@
}
return ;
}
@@ -36,7 +37,7 @@
command.setValue (SHOWLICENSE) ;
if (argc > 2) {
Warning w (_("you cannot use arguments with the \"license\" command")) ;
-@@ -77,7 +78,7 @@
+@@ -77,7 +79,7 @@
}
return ;
}
@@ -45,7 +46,7 @@
command.setValue (SHOWHELP) ;
if (argc > 2) {
Warning w (_("you cannot use arguments with the \"help\" command")) ;
-@@ -86,7 +87,7 @@
+@@ -86,7 +88,7 @@
return ;
}
#ifdef DEBUG
@@ -54,7 +55,7 @@
steghide_test_all () ;
exit (EXIT_SUCCESS) ;
}
-@@ -97,7 +98,7 @@
+@@ -97,7 +99,7 @@
// parse rest of arguments
for (int i = 2; i < argc; i++) {
@@ -63,7 +64,7 @@
unsigned int tmp = 0 ;
if (command.getValue() != EMBED) {
-@@ -112,7 +113,7 @@
+@@ -112,7 +114,7 @@
throw SteghideError (_("the argument \"%s\" is incomplete. type \"%s --help\" for help."), argv[i - 1], PROGNAME) ;
}
@@ -72,7 +73,7 @@
dmtd.setValue (DMTD_CNSTI) ;
if ((i + 1 < argc) && (argv[i + 1][0] != '-')) {
-@@ -127,7 +128,7 @@
+@@ -127,7 +129,7 @@
dmtdinfo.setValue (di) ;
}
}
@@ -81,7 +82,7 @@
dmtd.setValue (DMTD_PRNDI) ;
if ((i + 1 < argc) && (argv[i + 1][0] != '-')) {
-@@ -147,7 +148,7 @@
+@@ -147,7 +149,7 @@
}
}
@@ -90,7 +91,7 @@
if (command.getValue() != EMBED) {
throw SteghideError (_("the argument \"%s\" can only be used with the \"embed\" command. type \"%s --help\" for help."), argv[i], PROGNAME) ;
}
-@@ -159,7 +160,7 @@
+@@ -159,7 +161,7 @@
encryption.setValue (true) ;
}
@@ -99,7 +100,7 @@
if (command.getValue () != EMBED) {
throw SteghideError (_("argument \"%s\" can only be used with the \"embed\" command. type \"%s --help\" for help."), argv[i], PROGNAME) ;
}
-@@ -171,7 +172,7 @@
+@@ -171,7 +173,7 @@
encryption.setValue (false) ;
}
@@ -108,7 +109,7 @@
if (sthdrencryption.is_set()) {
throw SteghideError (_("the stego header encryption argument can be used only once. type \"%s --help\" for help."), PROGNAME) ;
}
-@@ -179,7 +180,7 @@
+@@ -179,7 +181,7 @@
sthdrencryption.setValue (true) ;
}
@@ -117,7 +118,7 @@
if (sthdrencryption.is_set()) {
throw SteghideError (_("the stego header encryption argument can be used only once. type \"%s --help\" for help."), PROGNAME) ;
}
-@@ -187,7 +188,7 @@
+@@ -187,7 +189,7 @@
sthdrencryption.setValue (false) ;
}
@@ -126,7 +127,7 @@
if (command.getValue() != EMBED) {
throw SteghideError (_("argument \"%s\" can only be used with the \"embed\" command. type \"%s --help\" for help."), argv[i], PROGNAME) ;
}
-@@ -199,7 +200,7 @@
+@@ -199,7 +201,7 @@
checksum.setValue (true) ;
}
@@ -135,7 +136,7 @@
if (command.getValue() != EMBED) {
throw SteghideError (_("argument \"%s\" can only be used with the \"embed\" command. type \"%s --help\" for help."), argv[i], PROGNAME) ;
}
-@@ -211,7 +212,7 @@
+@@ -211,7 +213,7 @@
checksum.setValue (false) ;
}
@@ -144,7 +145,7 @@
if (command.getValue() != EMBED) {
throw SteghideError (_("argument \"%s\" can only be used with the \"embed\" command. type \"%s --help\" for help."), argv[i], PROGNAME) ;
}
-@@ -223,7 +224,7 @@
+@@ -223,7 +225,7 @@
embedplnfn.setValue (true) ;
}
@@ -153,7 +154,7 @@
if (command.getValue() != EMBED) {
throw SteghideError (_("argument \"%s\" can only be used with the \"embed\" command. type \"%s --help\" for help."), argv[i], PROGNAME) ;
}
-@@ -235,7 +236,7 @@
+@@ -235,7 +237,7 @@
embedplnfn.setValue (false) ;
}
@@ -162,7 +163,7 @@
if (compatibility.is_set()) {
throw SteghideError (_("the compatibility argument can be used only once. type \"%s --help\" for help."), PROGNAME) ;
}
-@@ -243,7 +244,7 @@
+@@ -243,7 +245,7 @@
compatibility.setValue (true) ;
}
@@ -171,7 +172,7 @@
if (passphrase.is_set()) {
throw SteghideError (_("the passphrase argument can be used only once. type \"%s --help\" for help."), PROGNAME) ;
}
-@@ -263,7 +264,7 @@
+@@ -263,7 +265,7 @@
}
}
@@ -180,7 +181,7 @@
if (command.getValue() != EMBED) {
throw SteghideError (_("argument \"%s\" can only be used with the \"embed\" command. type \"%s --help\" for help."), argv[i], PROGNAME) ;
}
-@@ -276,7 +277,7 @@
+@@ -276,7 +278,7 @@
throw SteghideError (_("the \"%s\" argument must be followed by the cover file name. type \"%s --help\" for help."), argv[i - 1], PROGNAME) ;
}
@@ -189,7 +190,7 @@
cvrfn.setValue ("") ;
}
else {
-@@ -284,7 +285,7 @@
+@@ -284,7 +286,7 @@
}
}
@@ -198,7 +199,7 @@
if (stgfn.is_set()) {
throw SteghideError (_("the stego file name argument can be used only once. type \"%s --help\" for help."), PROGNAME) ;
}
-@@ -293,7 +294,7 @@
+@@ -293,7 +295,7 @@
throw SteghideError (_("the \"%s\" argument must be followed by the stego file name. type \"%s --help\" for help."), argv[i - 1], PROGNAME) ;
}
@@ -207,7 +208,7 @@
stgfn.setValue ("") ;
}
else {
-@@ -301,7 +302,7 @@
+@@ -301,7 +303,7 @@
}
}
@@ -216,7 +217,7 @@
if (plnfn.is_set()) {
throw SteghideError (_("the plain file name argument can be used only once. type \"%s --help\" for help."), PROGNAME) ;
}
-@@ -310,7 +311,7 @@
+@@ -310,7 +312,7 @@
throw SteghideError (_("the \"%s\" argument must be followed by the plain file name. type \"%s --help\" for help."), argv[i - 1], PROGNAME) ;
}
@@ -225,7 +226,7 @@
plnfn.setValue ("") ;
}
else {
-@@ -318,7 +319,7 @@
+@@ -318,7 +320,7 @@
}
}
@@ -234,7 +235,7 @@
if (force.is_set()) {
throw SteghideError (_("the force argument can be used only once. type \"%s --help\" for help."), PROGNAME) ;
}
-@@ -326,7 +327,7 @@
+@@ -326,7 +328,7 @@
force.setValue (true);
}
@@ -243,7 +244,7 @@
if (verbosity.is_set()) {
throw SteghideError (_("the \"%s\" argument cannot be used here because the verbosity has already been set."), argv[i]) ;
}
-@@ -334,7 +335,7 @@
+@@ -334,7 +336,7 @@
verbosity.setValue (QUIET) ;
}
diff --git a/security/steghide/files/patch-src-jpegfile.cc b/security/steghide/files/patch-src-jpegfile.cc
index 6d25498b17d9..8c35e8b69384 100644
--- a/security/steghide/files/patch-src-jpegfile.cc
+++ b/security/steghide/files/patch-src-jpegfile.cc
@@ -1,11 +1,12 @@
--- src/jpegfile.cc.orig Tue May 14 07:48:06 2002
-+++ src/jpegfile.cc Mon Sep 23 18:37:37 2002
-@@ -19,6 +19,8 @@
++++ src/jpegfile.cc Wed Aug 13 10:22:19 2003
+@@ -19,6 +19,9 @@
*/
#include <iostream>
+#include <vector>
+#include <string>
++#include <assert.h>
#include "cvrstgfile.h"
#include "jpegbase.h"
diff --git a/security/steghide/files/patch-src-jpegframe.cc b/security/steghide/files/patch-src-jpegframe.cc
index c2675757334d..2a64d910f5cb 100644
--- a/security/steghide/files/patch-src-jpegframe.cc
+++ b/security/steghide/files/patch-src-jpegframe.cc
@@ -1,15 +1,16 @@
---- src/jpegframe.cc.orig Thu Sep 26 23:59:23 2002
-+++ src/jpegframe.cc Fri Sep 27 00:04:28 2002
-@@ -19,6 +19,8 @@
+--- src/jpegframe.cc.orig Tue May 14 07:48:06 2002
++++ src/jpegframe.cc Wed Aug 13 11:12:33 2003
+@@ -19,6 +19,9 @@
*/
#include <limits.h>
+#include <string>
+#include <vector>
++#include <assert.h>
#include <libintl.h>
#define _(S) gettext (S)
-@@ -34,16 +36,16 @@
+@@ -34,16 +37,16 @@
: JpegContainer()
{
framehdr = NULL ;
@@ -30,7 +31,7 @@
read (io) ;
}
-@@ -164,24 +166,24 @@
+@@ -164,24 +167,24 @@
JpegContainer::write (io) ;
}
@@ -64,7 +65,7 @@
*j = -1 ;
}
-@@ -230,9 +232,9 @@
+@@ -230,9 +233,9 @@
return codesize ;
}
@@ -76,7 +77,7 @@
for (unsigned int i = 0 ; i < 257 ; i++) {
if (codesize[i] > 0) {
-@@ -275,9 +277,9 @@
+@@ -275,9 +278,9 @@
return bits ;
}
diff --git a/security/steghide/files/patch-src-jpegscan.cc b/security/steghide/files/patch-src-jpegscan.cc
index c7c2c1245690..8f2124cfbf79 100644
--- a/security/steghide/files/patch-src-jpegscan.cc
+++ b/security/steghide/files/patch-src-jpegscan.cc
@@ -1,14 +1,15 @@
---- src/jpegscan.cc.orig Thu Sep 26 21:26:56 2002
-+++ src/jpegscan.cc Thu Sep 26 21:30:37 2002
-@@ -20,6 +20,7 @@
+--- src/jpegscan.cc.orig Tue May 14 07:48:06 2002
++++ src/jpegscan.cc Wed Aug 13 10:27:45 2003
+@@ -20,6 +20,8 @@
#include <vector>
#include <limits.h>
+#include <string>
++#include <assert.h>
#include <libintl.h>
#define _(S) gettext (S)
-@@ -141,11 +142,11 @@
+@@ -141,11 +143,11 @@
}
}
diff --git a/security/steghide/files/patch-src-jpegscanhdr.cc b/security/steghide/files/patch-src-jpegscanhdr.cc
index 50bb450ac8f0..491a7b82b40d 100644
--- a/security/steghide/files/patch-src-jpegscanhdr.cc
+++ b/security/steghide/files/patch-src-jpegscanhdr.cc
@@ -1,11 +1,12 @@
---- src/jpegscanhdr.cc.orig Fri Sep 27 00:08:50 2002
-+++ src/jpegscanhdr.cc Fri Sep 27 00:09:36 2002
-@@ -18,6 +18,9 @@
+--- src/jpegscanhdr.cc.orig Tue May 14 07:48:06 2002
++++ src/jpegscanhdr.cc Wed Aug 13 10:51:43 2003
+@@ -18,6 +18,10 @@
*
*/
+#include <string>
+#include <vector>
++#include <assert.h>
+
#include "jpegbase.h"
#include "jpegscanhdr.h"