packages: bcrypt/bcrypt.spec (NEW)=?UTF-8?Q?=20?=- new, based on fc spec

glen glen at pld-linux.org
Mon Jun 11 12:37:39 CEST 2012


Author: glen                         Date: Mon Jun 11 10:37:39 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on fc spec

---- Files affected:
packages/bcrypt:
   bcrypt.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/bcrypt/bcrypt.spec
diff -u /dev/null packages/bcrypt/bcrypt.spec:1.1
--- /dev/null	Mon Jun 11 12:37:39 2012
+++ packages/bcrypt/bcrypt.spec	Mon Jun 11 12:37:34 2012
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+Summary:	File encryption utility
+Name:		bcrypt
+Version:	1.1
+Release:	1
+License:	BSD
+Group:		Applications/File
+URL:		http://bcrypt.sourceforge.net/
+Source0:	http://downloads.sourceforge.net/bcrypt/%{name}-%{version}.tar.gz
+# Source0-md5:	8ce2873836ccd433329c8df0e37e298c
+BuildRequires:	sed >= 4.0
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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
+
+%{__sed} -i -e 's|\${PREFIX}/man/man1|\${PREFIX}/share/man/man1|g' Makefile
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{optflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	PREFIX=$RPM_BUILD_ROOT%{_prefix}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README
+%attr(755,root,root) %{_bindir}/bcrypt
+%{_mandir}/man1/bcrypt.1*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/06/11 10:37:34  glen
+- new, based on fc spec
================================================================


More information about the pld-cvs-commit mailing list