From 6eb083d2f553509b35c6d79bd8fba78dc9100c7f Mon Sep 17 00:00:00 2001 From: hermord Date: Tue, 20 Dec 2016 20:56:35 -0500 Subject: [PATCH] app-crypt/stegsnow: new recipe added (GCI 2016) (#938) --- app-crypt/stegsnow/stegsnow-20130616.recipe | 47 +++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 app-crypt/stegsnow/stegsnow-20130616.recipe diff --git a/app-crypt/stegsnow/stegsnow-20130616.recipe b/app-crypt/stegsnow/stegsnow-20130616.recipe new file mode 100644 index 0000000000..869850a385 --- /dev/null +++ b/app-crypt/stegsnow/stegsnow-20130616.recipe @@ -0,0 +1,47 @@ +SUMMARY="Hides information in text files using trailing whitespace" +DESCRIPTION="SNOW (Steganographic Nature Of Whitespace) is a steganography \ +tool which conceals messages in ASCII text by appending spaces to the end of \ +lines. Optional encryption is supported to further secure the message." +HOMEPAGE="http://www.darkside.com.au/snow/" +COPYRIGHT="1998-2013 Matthew Kwan" +LICENSE="Apache v2" +REVISION="1" +SOURCE_URI="http://www.darkside.com.au/snow/snow-$portVersion.tar.gz" +CHECKSUM_SHA256="c0b71aa74ed628d121f81b1cd4ae07c2842c41cfbdf639b50291fc527c213865" +SOURCE_DIR="snow-$portVersion" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + stegsnow = $portVersion + cmd:stegsnow = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:gcc + cmd:make + " + +PATCH() +{ + sed -i 's/snow/steg&/g; s/SNOW/STEG&/g;' snow.1 +} + +BUILD() +{ + make $jobArgs +} + +INSTALL() +{ + # Upstream Makefile has no install target + install -d -m 755 $binDir $manDir/man1 + install -m 555 -s -T snow $binDir/stegsnow + install -m 444 -T snow.1 $manDir/man1/stegsnow.1 +}