diff --git a/haiku-apps/rawaes/licenses/Rawaes b/haiku-apps/rawaes/licenses/Rawaes new file mode 100644 index 000000000..712521d96 --- /dev/null +++ b/haiku-apps/rawaes/licenses/Rawaes @@ -0,0 +1,14 @@ + rawaes 1.1 for BeOS (Matthew Badger, (c) 2000) + Encrypts files using the Advanced Encryption Standard + Makes use of code written by Dr. B. R. Gladman; this + code can be found in the sub directory "aes". + + This program may be freely compiled and distributed, + if and only if the program's source is also + distributed. The author assumes no responsibility + for damaged caused due to the use of this program. + + Rawaes may be ported to other platforms or used as a + basis for another freely available program as long as it + is not claimed that the author/developer of the new + software is Matthew Badger. diff --git a/haiku-apps/rawaes/rawaes-1.1.recipe b/haiku-apps/rawaes/rawaes-1.1.recipe new file mode 100644 index 000000000..31687f6d5 --- /dev/null +++ b/haiku-apps/rawaes/rawaes-1.1.recipe @@ -0,0 +1,47 @@ +SUMMARY="Command-line encryption utility" +DESCRIPTION="Rawaes encrypts a file using the Advandced Encryption Standard (AES). AES \ +uses the Rijndael Algorithm, a 128-bit block cipher, to encrypt. Since the \ +encryption requires 16-byte blocks, rawaes will pad any uneven blocks with 0s, \ +possibly increasing the size of the file up to 15 bytes." +HOMEPAGE="https://github.com/bbjimmy/rawaes" +SRC_URI="https://github.com/bbjimmy/rawaes/archive/Final.tar.gz" +CHECKSUM_SHA256="b60d5c7af7f8952d47d8d212f504ec550ae44bf65290e10971af81084ed22e80" +SOURCE_DIR="rawaes-Final" +REVISION="1" +LICENSE="Rawaes" +COPYRIGHT="2000 Matthew Badger" + +ARCHITECTURES="x86_gcc2 x86 ?x86_64" + +PROVIDES=" + rawaes$secondaryArchSuffix = $portVersion + cmd:rawaes = $portVersion + " + +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + makefile_engine + " + +BUILD() +{ + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + mkdir -p $binDir + mkdir -p $developDir/sources/rawaes + cp rawaes.cpp rawaes.h -t $developDir/sources/rawaes/ + cp -r aes $developDir/sources/rawaes/ + cp objects/rawaes $binDir +} \ No newline at end of file