Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37723200
en ru br
ALT Linux repos
S:1.1-alt2_32

Group :: File tools
RPM: bcrypt

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Group: File tools
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name:           bcrypt
Version:        1.1
Release:        alt2_32
Summary:        File encryption utility

License:        Zlib
URL:            http://%{name}.sourceforge.net/
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0:         bcrypt-fencepost.patch
BuildRequires:  zlib-devel gcc

BuildRequires:  %{__perl}
Source44: import.info

%description
Bcrypt is a cross platform file encryption utility. Encrypted files are
portable across all supported operating systems and processors.
Passphrases must be between 8 and 56 characters and are hashed internally
to a 448 bit key. However, all characters supplied are significant. The
stronger your passphrase, the more secure your data.

In addition to encrypting your data, bcrypt will by default overwrite the
original input file with random garbage three times before deleting it in
order to thwart data recovery attempts by persons who may gain access to
your computer. Bcrypt uses the blowfish encryption algorithm published by
Bruce Schneier in 1993.


%prep
%setup -q

%patch0 -p1 -b .fencepost

/usr/bin/perl -pi.orig -e 's|\/man/man1|\/share/man/man1|g' Makefile


%build
make %{?_smp_mflags} CFLAGS="%{optflags}"


%install
make install PREFIX="%{buildroot}%{_prefix}"


%files
%doc README
%doc --no-dereference LICENSE
%doc %{_mandir}/man1/bcrypt.1*
%{_bindir}/bcrypt

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin