# $Id: Portfile 102061 2013-01-26 17:31:41Z jeremyhu@macports.org $

PortSystem              1.0
PortGroup               compiler_blacklist_versions 1.0

name                    ccrypt
version                 1.10
categories              security
platforms               darwin
license                 GPL-2+
maintainers             nomaintainer
homepage                http://ccrypt.sourceforge.net

description             Encrypt and decrypt files and streams

long_description        Utility for encrypting and decrypting files and streams. \
                        It was designed to replace the standard unix crypt \
                        utility, which is notorious for using a very weak \
                        encryption algorithm. ccrypt is based on the Rijndael \
                        cipher, which is the U.S. government's chosen candidate \
                        for the Advanced Encryption Standard (AES, see \
                        http://www.nist.gov/aes/). This cipher is believed to \
                        provide very strong security. Unlike unix crypt, the \
                        algorithm provided by ccrypt is not symmetric, i.e., \
                        one must specify whether to encrypt or decrypt. The most \
                        common way to invoke ccrypt is via the commands \
                        ccencrypt and ccdecrypt. There is also a ccat command \
                        for decrypting a file directly to the terminal, thus \
                        reducing the likelihood of leaving temporary plaintext \
                        files around. In addition, there is a compatibility mode \
                        for decrypting legacy unix crypt files.

master_sites            sourceforge:project/ccrypt/ccrypt/${version}

checksums               rmd160  b3b07d2e788f8ba04712879150b609a8c55f0dc5 \
                        sha256  87d66da2170facabf6f2fc073586ae2c7320d4689980cfca415c74688e499ba0

depends_lib             port:gettext

# test fails, ticket #32377
compiler.blacklist      {clang <= 318.0.61} macports-clang-2.9 macports-clang-3.0

use_parallel_build      yes

build.target            check

livecheck.type          regex
livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
