[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RFS: [QA upload] snowdrop



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I'm seeking a sponsor for a QA upload of the package snowdrop. Snowdrop
is orphaned since over two years but in rather good shape and still
usable. I updated it to more recent Debian improvements (dh 8, quilt 3.0
package, ...), fixed some minor bugs and brought it up to date in general.

Upstream development stopped long time ago, but as it is still useful
I'd love to see this package well-kept.

I did:

* Switch to 3.0 (quilt) format, moved all changes to the upstream source
to a quilt patch
* Pushed debhelper to v8
* Switched debian/copyright to DEP-5
* Fixed some minor bugs (see changelog)
* Moved (Debian) man page out of the upstream source to debian/
* Made Lintian (mostly) happy, I didn't bother about a watch file, since
this makes no sense.

The full list of changes is attached in diff below. Joey, if you care
enough I can push you my changes to your git repository (or rather
export it somehow to you, since I have no write permissions to your
repository)

Finally I hope I didn't bother debian-qa@ too much with this request,
but last time I was told I shall CC you for QA-RFS mails.

The package can be found on mentors.debian.net:
- - URL: http://mentors.debian.net/debian/pool/main/s/snowdrop
- - Source repository: deb-src http://mentors.debian.net/debian unstable
main contrib non-free
- - dget
http://mentors.debian.net/debian/pool/main/s/snowdrop/snowdrop_0.02b-9.dsc

I'd be glad if someone could sponsor this QA upload.

- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJODIKIAAoJEMcrUe6dgPNtigsP/jSX4v6RuHGM9DcRyjs8mMZM
4GTGA/V4aVXSGGY05nNvRsPEdYtlakbNEExCgnXF75iYdszlIoMG+e13DKz5pck5
q1afVCPthGF/W4pAn3+FTBdiRjI/xLwodxijmqE3SSIb8BRsb83+QUYXj+F+jbcK
lmLKX9BXLqA40b6PU7Yi9/k2DhhW94RsljT7cTu7WIChEskdYp/2ZwmW3gZA4STU
3Hdoo+ZUiWhldH++hxEQD6Ta9wBbE53+HR43EBmrNG0e/gTjYFInA1KKqthZGB54
RWv8UGEbKKOCIQ7cd/wPDjexG7ihrH6CYhC0ppHZcdl9ATxFpIuci1foGZATvZcA
W7BvsqyWLhXK5N/Pkq1JHczSAlvf1eBxgMQ1qbEHAuFrdve8gb6KEOgMTK9YEJGM
EaHooNLcpfYqFnGN4x6JCY2/jPxYFXCSUOHXLc3oKYhBhQxgH4dRSN+bdq2pCAhM
UaulUI9cKzaJR6bNPlqHpiNnTPDAMFY37lUrvmMDyWBfDTLp796bD/NC98GturQG
9V54q4yw/ZepHCINEkaE6Hw9V0beASThD3QAuJMVItjfX2DK57DGFew8LEtUpurg
LKnWFNFiWL1qjH1PUFehVeLgVuykwvOhTDeoDR5NHk9iZENTGMdTNvSsz09j+LHc
t7RKAhZvVDu08BL2GTjX
=rCO1
-----END PGP SIGNATURE-----
diff --git a/Makefile b/Makefile
index 9492a23..dfb0ed3 100644
--- a/Makefile
+++ b/Makefile
@@ -26,10 +26,9 @@ VER	= 0.02b
 LANG    = eng engf c
 
 BINROOT = /usr/bin/
-DESTDIR = /
 
-CFLAGS  = -ggdb -O2 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations \
-          -ffast-math -Wall -g
+CFLAGS  = -ggdb -O9 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations \
+          -ffast-math -Wall 
 
 
 all: modules snowdrop toinstall
@@ -37,25 +36,25 @@ all: modules snowdrop toinstall
 modules: language.h
 	@echo ; \
 	echo "[*] Compiling language modules:" ; \
-	test -f /usr/include/gnutls/openssl.h && USEOPENSSL=1; \
-	test -f /usr/local/include/gnutls/openssl.h && USEOPENSSL=1; \
-	test "$$USEOPENSSL" = "" || echo "[+] Using GNU TLS MD5 modules." ; \
+	test -d /usr/include/openssl && USEOPENSSL=1; \
+	test -d /usr/local/include/openssl && USEOPENSSL=1; \
+	test "$$USEOPENSSL" = "" || echo "[+] Using OpenSSL MD5 modules." ; \
 	test "$$USEOPENSSL" = "" && echo "[+] Trying to use RSA MD5 modules." ; \
 	for i in $(LANG); do \
 	  echo "[+] Building language module for '$$i'..."; \
-	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -DUSE_GNUTLS" ; \
+	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL" ; \
 	  $(CC) $$ADDME $(CFLAGS) -c lang-$$i.c -o lang-$$i.o || exit 1; \
 	done; \
 	echo "[*] Language modules compiled."
 
 snowdrop: snowdrop.c language.h 
 	@echo "[*] Compiling main code:"; \
-	test -f /usr/include/gnutls/openssl.h && USEOPENSSL=1; \
-	test -f /usr/local/include/gnutls/openssl.h && USEOPENSSL=1; \
+	test -d /usr/include/openssl && USEOPENSSL=1; \
+	test -d /usr/local/include/openssl && USEOPENSSL=1; \
 	for i in $(LANG); do \
 	  echo "[+] Building 'sd-$$i'..." ; \
 	  ADDME="-lmd5"; \
-	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -DUSE_GNUTLS -lgnutls-extra -lgnutls-openssl $(shell libgnutls-config --cflags --libs)" ; \
+	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -lcrypto" ; \
 	  $(CC)  -DVER=\"$(VER)\" $(CFLAGS) -DTARGETLANG=\"$$i\" snowdrop.c lang-$$i.o -o sd-$$i $$ADDME || exit 1; \
 	done; \
 	echo "[*] Main code compiled."
@@ -68,12 +67,12 @@ toinstall:
 clean:
 	rm -f sd-* *.o core core.* a.out
 
-install:
-	@echo "[*] Installing binaries in $(DESTDIR)$(BINROOT)..."
-	cp -f sd-* $(DESTDIR)$(BINROOT)
+install: modules snowdrop
+	@echo "[*] Installing binaries in $(BINROOT)..."
+	cp -f sd-* $(BINROOT)
 	@echo "[*] Installing synonyms database..."
-	@mkdir $(DESTDIR)/usr/share/snowdrop || true
-	cp synonyms $(DESTDIR)/usr/share/snowdrop/
+	@mkdir /usr/share/snowdrop || true
+	cp synonyms /usr/share/snowdrop/
 	@echo "[*] Installation complete."
 
 publish: clean
diff --git a/debian/changelog b/debian/changelog
index a1d10e3..eb8c67b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+snowdrop (0.02b-9) unstable; urgency=low
+
+  * QA upload.
+  * Push debhelper compatibility to v8
+  * Convert package to 3.0 (quilt) format
+  * Move man page to debian/ (thus, leave upstream source directory untouched)
+  * Track changes to upstream source in a quilt patch (use-tls.patch)
+  * Push Standards to the most recent version 3.9.2
+  * Fix "Very minor typo in manpage" fix several typos (Closes: #608868)
+  * Switch debian/copyright to DEP-5
+  * Use `pkg-config' in Makefile instead of `libgnutls-config'. The latter was
+    obsolete since GnuTLS 2.7.12.1
+
+ -- Arno Töll <debian@toell.net>  Thu, 30 Jun 2011 15:16:11 +0200
+
 snowdrop (0.02b-8) unstable; urgency=low
 
   * Orphaned the package.
diff --git a/debian/compat b/debian/compat
index 7f8f011..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+8
diff --git a/debian/control b/debian/control
index ade0f4c..ad75646 100644
--- a/debian/control
+++ b/debian/control
@@ -2,14 +2,14 @@ Source: snowdrop
 Section: utils
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: libgnutls-dev, debhelper (>= 7)
-Standards-Version: 3.7.3
+Build-Depends: libgnutls-dev (>> 2.7.12.1), debhelper (>= 8.0), pkg-config
+Standards-Version: 3.9.2
 Vcs-Git: git://git.kitenet.net/joey/packages/snowdrop
 Homepage: http://lcamtuf.coredump.cx/
 
 Package: snowdrop
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: plain text watermarking and watermark recovery
  Snowdrop provides reliable, difficult to remove stenographic watermarking of
  text documents (internal memos, draft research papers, advisories and other
diff --git a/debian/copyright b/debian/copyright
index ef09d75..de369e4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,20 +1,39 @@
-This is a Debian prepackaged version of snowdrop.
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Upstream-Name: snowdrop
+Upstream-Contact: Michal Zalewski <lcamtuf@coredump.cx>
+Source: http://lcamtuf.coredump.cx/
 
-This package was put together by Joey Hess <joeyh@debian.org>, using
-sources from:
-	http://lcamtuf.coredump.cx/
+Files: *
+Copyright: 2002 by Michal Zalewski <lcamtuf@coredump.cx>
+License: GPL-2+ with OpenSSL exception
+ 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.
+ .
+ As a special exception, this program may be linked with the
+ OpenSSL library, despite that library's more restrictive license.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
 
-The following copyright applies to this package:
+Files: debian/*
+Copyright: Copyright 2002-2008 Joey Hess <joeyh@debian.org>
+                     2011 Arno Töll <debian@toell.net>
+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.
 
-   Copyright (C) 2002 by Michal Zalewski <lcamtuf@coredump.cx>
+ The Debian package is licensed under the same terms as snowdrop itself.
 
-   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.
-
-   As a special exception, this program may be linked with the
-   OpenSSL library, despite that library's more restrictive license.
-
-On Debian systems, the complete text of the GPL is in the file
-/usr/share/common-licenses/GPL
diff --git a/debian/manpages b/debian/manpages
index 28426b8..3504dd3 100644
--- a/debian/manpages
+++ b/debian/manpages
@@ -1 +1 @@
-snowdrop.man
+debian/snowdrop.1
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..59a5ce0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-tls.patch
diff --git a/debian/patches/use-tls.patch b/debian/patches/use-tls.patch
new file mode 100644
index 0000000..9c9e317
--- /dev/null
+++ b/debian/patches/use-tls.patch
@@ -0,0 +1,123 @@
+Description: Use GnuTLS instead of OpenSSL
+Author: Joey Hess <joeyh@debian.org>, patch creation: Arno Töll <debian@toell.net>
+Last-Update: 2011-06-30
+
+* snowdrop.c: Add GnuTLS header
+* lang-eng.c: Add GnuTLS header
+* Makefile:
+  + Make the Makefile honor $(DESTDIR)
+  + Add -Wl,--as-needed to LDFLAGS [Arno Töll]
+  + Add GnuTLS build time dependencies
+  + Don't hide CFLAGS and LDFLAGS from dpkg-buildflags if used
+    [Arno Töll]
+
+--- a/snowdrop.c
++++ b/snowdrop.c
+@@ -28,6 +28,9 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <time.h>
++#ifdef USE_GNUTLS
++#include <gnutls/openssl.h>
++#else
+ #ifdef USE_OPENSSL
+ #include <openssl/md5.h>
+ #else
+@@ -37,6 +40,7 @@
+ #define MD5_Final  MD5Final
+ #define MD5_Update MD5Update
+ #endif /* USE_OPENSSL */
++#endif /* USE_GNUTLS */
+ 
+ #include <string.h>
+ 
+--- a/Makefile
++++ b/Makefile
+@@ -26,9 +26,12 @@
+ LANG    = eng engf c
+ 
+ BINROOT = /usr/bin/
++DESTDIR = /
+ 
+-CFLAGS  = -ggdb -O9 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations \
+-          -ffast-math -Wall 
++CFLAGS  += -ggdb -O2 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations \
++          -ffast-math -Wall -g
++
++LDFLAGS += -Wl,--as-needed
+ 
+ 
+ all: modules snowdrop toinstall
+@@ -36,26 +39,26 @@
+ modules: language.h
+ 	@echo ; \
+ 	echo "[*] Compiling language modules:" ; \
+-	test -d /usr/include/openssl && USEOPENSSL=1; \
+-	test -d /usr/local/include/openssl && USEOPENSSL=1; \
+-	test "$$USEOPENSSL" = "" || echo "[+] Using OpenSSL MD5 modules." ; \
++	test -f /usr/include/gnutls/openssl.h && USEOPENSSL=1; \
++	test -f /usr/local/include/gnutls/openssl.h && USEOPENSSL=1; \
++	test "$$USEOPENSSL" = "" || echo "[+] Using GNU TLS MD5 modules." ; \
+ 	test "$$USEOPENSSL" = "" && echo "[+] Trying to use RSA MD5 modules." ; \
+ 	for i in $(LANG); do \
+ 	  echo "[+] Building language module for '$$i'..."; \
+-	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL" ; \
++	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -DUSE_GNUTLS" ; \
+ 	  $(CC) $$ADDME $(CFLAGS) -c lang-$$i.c -o lang-$$i.o || exit 1; \
+ 	done; \
+ 	echo "[*] Language modules compiled."
+ 
+ snowdrop: snowdrop.c language.h 
+ 	@echo "[*] Compiling main code:"; \
+-	test -d /usr/include/openssl && USEOPENSSL=1; \
+-	test -d /usr/local/include/openssl && USEOPENSSL=1; \
++	test -f /usr/include/gnutls/openssl.h && USEOPENSSL=1; \
++	test -f /usr/local/include/gnutls/openssl.h && USEOPENSSL=1; \
+ 	for i in $(LANG); do \
+ 	  echo "[+] Building 'sd-$$i'..." ; \
+ 	  ADDME="-lmd5"; \
+-	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -lcrypto" ; \
+-	  $(CC)  -DVER=\"$(VER)\" $(CFLAGS) -DTARGETLANG=\"$$i\" snowdrop.c lang-$$i.o -o sd-$$i $$ADDME || exit 1; \
++	  test "$$USEOPENSSL" = "" || ADDME="-DUSE_OPENSSL -DUSE_GNUTLS -lgnutls-extra -lgnutls-openssl $(shell pkg-config --libs --cflags gnutls)" ; \
++	  $(CC) $(LDFLAGS) -DVER=\"$(VER)\" $(CFLAGS) -DTARGETLANG=\"$$i\" snowdrop.c lang-$$i.o -o sd-$$i $$ADDME || exit 1; \
+ 	done; \
+ 	echo "[*] Main code compiled."
+ 
+@@ -67,12 +70,12 @@
+ clean:
+ 	rm -f sd-* *.o core core.* a.out
+ 
+-install: modules snowdrop
+-	@echo "[*] Installing binaries in $(BINROOT)..."
+-	cp -f sd-* $(BINROOT)
++install:
++	@echo "[*] Installing binaries in $(DESTDIR)$(BINROOT)..."
++	cp -f sd-* $(DESTDIR)$(BINROOT)
+ 	@echo "[*] Installing synonyms database..."
+-	@mkdir /usr/share/snowdrop || true
+-	cp synonyms /usr/share/snowdrop/
++	@mkdir $(DESTDIR)/usr/share/snowdrop || true
++	cp synonyms $(DESTDIR)/usr/share/snowdrop/
+ 	@echo "[*] Installation complete."
+ 
+ publish: clean
+--- a/lang-eng.c
++++ b/lang-eng.c
+@@ -24,6 +24,9 @@
+ #include <assert.h>
+ #include <string.h>
+ 
++#ifdef USE_GNUTLS
++#include <gnutls/openssl.h>
++#else
+ #ifdef USE_OPENSSL
+ #include <openssl/md5.h>
+ #else
+@@ -33,6 +36,7 @@
+ #define MD5_Final  MD5Final
+ #define MD5_Update MD5Update
+ #endif /* USE_OPENSSL */
++#endif /* USE_GNUTLS */
+ 
+ #include "language.h"
+ 
diff --git a/debian/snowdrop.1 b/debian/snowdrop.1
new file mode 100644
index 0000000..f7cab73
--- /dev/null
+++ b/debian/snowdrop.1
@@ -0,0 +1,69 @@
+.TH SNOWDROP 1
+.SH NAME
+sd-eng, sd-engf, sd-c \- text watermarking and watermark recovery
+.SH SYNOPSIS
+.B sd-eng [\fI-6\fP] \fI-i\fP \fBorigfile\fP \fBnewfile\fP \fB"Recipient"\fP [\fB"Comment"\fB]
+.P
+.B sd-eng [\fI-6\fP] \fI-e\fP \fBorigfile\fP \fBnewfile\fP
+.P
+.B sd-eng [\fI-6\fP] \fI-l\fP
+.SH DESCRIPTION
+snowdrop is a stenographic text watermarking and watermark recovery system.
+It is composed of three programs:
+.TP
+.B sd-eng
+Watermark normal English text.
+.TP
+.B sd-engf
+Watermark fine quality English text, yeilding higher quality output but
+encoding less information.
+.TP
+.B sd-c
+Watermark C code.
+.P
+The three programs operate similarly, with the same parameters and usage.  The
+watermark is encoded in using a number of techniques, such as whitespace
+reformatting, typo insertation, word substitutions, punctuation changes,
+and for C code, logic reordering, variable name mangling, etc.
+.P
+The watermark is a md5sum, which is retreivable from as little as
+5 or 10 lines of the watermarked document. Even large changes to a medium
+sized document should not obscure the watermark, as it is stored redundently
+in multiple independent channels.
+.P
+The three usage modes are adding a watermark, checking for the presense of a
+watermark, and listing the contents of your database of watermarks. Note
+that to later check a watermark, you must retain a copy of the original,
+un-watermarked file.
+.SH OPTIONS
+.TP
+.B -i
+Inject a watermark into a file. You must pass it the original file, the
+filename to output the watwrmarked version to, information about who
+you intend the watermarked file for, and an optional comment.
+.TP
+.B -e
+Extract a watermark from a file. Needs the original file
+and the new file that you suspect bears the watermark.
+.TP
+.B -l
+Lists the contents of the watermark database. Each of the three programs
+will have a different list.
+.TP
+.B -6
+Enable 64 bit watermarking. The default is a weak 32 bit watermark.
+.SH ENVIRONMENT
+.TP
+.B SD_SYNONYMS
+This variable can be used to point snowdrop at a customized synonyms file.
+.SH FILES
+.TP
+.B ~/.snowdrop/database
+Database of watermarked files.
+.SH "SEE ALSO"
+.TP
+.B /usr/share/snowdrop/README
+Explain snowdrop in more depth, its limitations, and how to write additional
+watermarking modules for other tpyes of files.
+.SH AUTHOR
+Michal Zalewski <lcamtuf@coredump.cx>
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/lang-eng.c b/lang-eng.c
index 01543e1..a409b5b 100644
--- a/lang-eng.c
+++ b/lang-eng.c
@@ -24,9 +24,6 @@
 #include <assert.h>
 #include <string.h>
 
-#ifdef USE_GNUTLS
-#include <gnutls/openssl.h>
-#else
 #ifdef USE_OPENSSL
 #include <openssl/md5.h>
 #else
@@ -36,7 +33,6 @@
 #define MD5_Final  MD5Final
 #define MD5_Update MD5Update
 #endif /* USE_OPENSSL */
-#endif /* USE_GNUTLS */
 
 #include "language.h"
 
diff --git a/snowdrop.c b/snowdrop.c
index d646566..675a61f 100644
--- a/snowdrop.c
+++ b/snowdrop.c
@@ -28,9 +28,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <time.h>
-#ifdef USE_GNUTLS
-#include <gnutls/openssl.h>
-#else
 #ifdef USE_OPENSSL
 #include <openssl/md5.h>
 #else
@@ -40,7 +37,6 @@
 #define MD5_Final  MD5Final
 #define MD5_Update MD5Update
 #endif /* USE_OPENSSL */
-#endif /* USE_GNUTLS */
 
 #include <string.h>
 
diff --git a/snowdrop.man b/snowdrop.man
deleted file mode 100644
index 3ad5d13..0000000
--- a/snowdrop.man
+++ /dev/null
@@ -1,69 +0,0 @@
-.TH SNOWDROP 1
-.SH NAME
-sd-eng, sd-engf, sd-c \- text watermarking and watermark recovery
-.SH SYNOPSIS
-.B sd-eng [\fI-6\fP] \fI-i\fP \fBorigfile\fP \fBnewfile\fP \fB"Recipient"\fP [\fB"Comment"\fB]
-.P
-.B sd-eng [\fI-6\fP] \fI-e\fP \fBorigfile\fP \fBnewfile\fP
-.P
-.B sd-eng [\fI-6\fP] \fI-l\fP
-.SH DESCRIPTION
-snowdrop is a stenographic text watermarking and watermark recovery system.
-It is composed of three programs:
-.TP
-.B sd-eng
-Watermark normal English text.
-.TP
-.B sd-engf
-Watermark fine quality English text, yeilding higher quality output but
-encoding less information.
-.TP
-.B sd-c
-Watermark C code.
-.P
-The three programs operate similarly, with the same parameters and usage.  The
-watermark is encoded in using a number of techniques, such as whitespace
-reformatting, typo insertation, word substitutions, punctuation changes,
-and for C code, logic reordering, variable name mangling, etc.
-.P
-The watermark is a md5sum, which is retreivable from as little as
-5 or 10 lines of the watermarked document. Even large changes to a medium
-sized document should not obscure the watermark, as it is stored redundently
-in multiple independant channels.
-.P
-The three usage modes are adding a watermark, checking for the presense of a
-watermark, and listing the contents of your database of watermarks. Note
-that to later check a watermark, you must retain a copy of the original,
-un-watermarked file.
-.SH OPTIONS
-.TP
-.B -i 
-Inject a watermark into a file. You must pass it the original file, the
-filename to output the watwrmarked version to, information about who
-you intend the watermarked file for, and an optional comment.
-.TP
-.B -e
-Extract a watermark from a file. Needs the original file
-and the new file that you suspect bears the watermark.
-.TP
-.B -l
-Lists the contents of the watermark database. Each of the three programs
-will have a different list.
-.TP
-.B -6
-Enable 64 bit waterarking. The default is a weak 32 bit watermark.
-.SH ENVIRONMENT
-.TP
-.B SD_SYNONYMS
-This variable can be used to point snowdrop at a customized synonyms file.
-.SH FILES
-.TP
-.B ~/.snowdrop/database
-Database of watermarked files.
-.SH "SEE ALSO"
-.TP
-.B /usr/share/snowdrop/README
-Explain snowdrop in more depth, its limitations, and how to write additional
-watermarking modules for other tpyes of files.
-.SH AUTHOR
-Michal Zalewski <lcamtuf@coredump.cx>

Reply to: