parent
e59c705d1a
commit
21def91b12
2 changed files with 138 additions and 0 deletions
120
srcpkgs/stegsnow/patches/stegsnow.patch
Normal file
120
srcpkgs/stegsnow/patches/stegsnow.patch
Normal file
|
@ -0,0 +1,120 @@
|
|||
From 7da9659c131ab2d8b95d7a0dace8f5da41f371f8 Mon Sep 17 00:00:00 2001
|
||||
From: Oscar Latorre <oscarlatorre7896@gmail.com>
|
||||
Date: Fri, 19 Jan 2018 02:42:45 +0100
|
||||
Subject: [PATCH] Renamed to stegsnow
|
||||
|
||||
---
|
||||
Makefile | 2 +-
|
||||
snow.1 => stegsnow.1 | 24 ++++++++++++------------
|
||||
2 files changed, 13 insertions(+), 13 deletions(-)
|
||||
rename snow.1 => stegsnow.1 (84%)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1fcc80d..90c17e8 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -18,7 +18,7 @@ CFLAGS ?= -O
|
||||
|
||||
OBJ = main.o encrypt.o ice.o compress.o encode.o
|
||||
|
||||
-snow: $(OBJ)
|
||||
+stegsnow: $(OBJ)
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ)
|
||||
|
||||
clean:
|
||||
diff --git a/snow.1 b/stegsnow.1
|
||||
similarity index 84%
|
||||
rename from snow.1
|
||||
rename to stegsnow.1
|
||||
index c754bdd..f35f808 100644
|
||||
--- a/snow.1
|
||||
+++ b/stegsnow.1
|
||||
@@ -1,8 +1,8 @@
|
||||
-.TH SNOW 1 "28 Dec 1996" "Version 1.1"
|
||||
+.TH STEGSNOW 1 "28 Dec 1996" "Version 1.1"
|
||||
.SH NAME
|
||||
-snow \- whitespace steganography program
|
||||
+stegsnow \- whitespace steganography program
|
||||
.SH SYNOPSIS
|
||||
-.B snow
|
||||
+.B stegsnow
|
||||
[
|
||||
.B -CQS
|
||||
] [
|
||||
@@ -31,7 +31,7 @@ snow \- whitespace steganography program
|
||||
.I outfile
|
||||
]]
|
||||
.SH DESCRIPTION
|
||||
-\fBsnow\fP is a program for concealing messages in text files
|
||||
+\fBstegsnow\fP is a program for concealing messages in text files
|
||||
by appending tabs and spaces on the end of lines, and for
|
||||
extracting messages from files containing hidden messages.
|
||||
Tabs and spaces are invisible to most text viewers, hence the
|
||||
@@ -48,7 +48,7 @@ The start of the data is indicated by an appended tab character, which
|
||||
allows the insertion of mail and news headers without corrupting
|
||||
the data.
|
||||
.PP
|
||||
-\fBsnow\fP provides rudimentary compression, using Huffman tables
|
||||
+\fBstegsnow\fP provides rudimentary compression, using Huffman tables
|
||||
optimised for English text. However, if the data is not text, or if
|
||||
there is a lot of data, the use of the built-in compression is not
|
||||
recommended, since an external compression program such as
|
||||
@@ -61,11 +61,11 @@ key size, passwords of any length up to 1170 characters are supported
|
||||
are supported).
|
||||
.PP
|
||||
If a message string or message file are specified on the command-line,
|
||||
-\fBsnow\fP will attempt to conceal the message in the file \fIinfile\fP
|
||||
+\fBstegsnow\fP will attempt to conceal the message in the file \fIinfile\fP
|
||||
if specified, or standard input otherwise. The resulting file will be
|
||||
written to \fIoutfile\fP if specified, or standard output if not.
|
||||
.PP
|
||||
-If no message string is provided, \fBsnow\fP attempts to extract a
|
||||
+If no message string is provided, \fBstegsnow\fP attempts to extract a
|
||||
message from the input file. The result is written to the output file
|
||||
or standard output.
|
||||
.SH OPTIONS
|
||||
@@ -77,7 +77,7 @@ Compress the data if concealing, or uncompress it if extracting.
|
||||
The contents of this file will be concealed in the input text file.
|
||||
.TP
|
||||
\fB-l\fP \fIline-len\fP
|
||||
-When appending whitespace, \fBsnow\fP will always produce lines shorter
|
||||
+When appending whitespace, \fBstegsnow\fP will always produce lines shorter
|
||||
than this value. By default it is set to 80.
|
||||
.TP
|
||||
\fB-m\fP \fImessage-string\fP
|
||||
@@ -109,13 +109,13 @@ file \fIinfile\fP, with compression, and encrypted with the password
|
||||
"hello world". The resulting text will be stored in \fIoutfile\fP.
|
||||
.PP
|
||||
.RS
|
||||
-\fBsnow \-C \-m "I am lying" \-p "hello world" infile outfile\fP
|
||||
+\fBstegsnow \-C \-m "I am lying" \-p "hello world" infile outfile\fP
|
||||
.RE
|
||||
.PP
|
||||
To extract the message, the command would be
|
||||
.PP
|
||||
.RS
|
||||
-\fBsnow \-C \-p "hello world" outfile\fP
|
||||
+\fBstegsnow \-C \-p "hello world" outfile\fP
|
||||
.RE
|
||||
.PP
|
||||
Note that the resulting message will not be terminated by a newline.
|
||||
@@ -125,14 +125,14 @@ be indented by mail or news readers, a line length of 72 or less can
|
||||
be used.
|
||||
.PP
|
||||
.RS
|
||||
-\fBsnow \-C \-l 72 \-m "I am lying" infile outfile\fP
|
||||
+\fBstegsnow \-C \-l 72 \-m "I am lying" infile outfile\fP
|
||||
.RE
|
||||
.PP
|
||||
The approximate storage capacity of a file can be determined with
|
||||
the \fB-S\fP option.
|
||||
.PP
|
||||
.RS
|
||||
-\fBsnow \-S \-l 72 infile\fP
|
||||
+\fBstegsnow \-S \-l 72 infile\fP
|
||||
.RE
|
||||
.SH AUTHOR
|
||||
This application was written by Matthew Kwan, who can be reached at
|
||||
--
|
||||
2.15.1
|
||||
|
18
srcpkgs/stegsnow/template
Normal file
18
srcpkgs/stegsnow/template
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'stegsnow'
|
||||
pkgname=stegsnow
|
||||
version=20130616
|
||||
revision=1
|
||||
wrksrc="snow-${version}"
|
||||
patch_args="-Np1"
|
||||
build_style=gnu-makefile
|
||||
short_desc="Whitespace steganography"
|
||||
maintainer="cr6git <quark6@protonmail.com>"
|
||||
homepage="http://www.darkside.com.au/snow/"
|
||||
license="Apache-2.0"
|
||||
distfiles="http://www.darkside.com.au/snow/snow-${version}.tar.gz"
|
||||
checksum=c0b71aa74ed628d121f81b1cd4ae07c2842c41cfbdf639b50291fc527c213865
|
||||
|
||||
do_install() {
|
||||
vbin stegsnow
|
||||
vman stegsnow.1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue