limb pushed to py-bcrypt (epel7). "First Commit"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 16 14:13:12 UTC 2015


>From 792bcc2d7b4d3a5827a2316526a0aca10fb1af4d Mon Sep 17 00:00:00 2001
From: Dave Riches <dcr226 at fedoraproject.org>
Date: Tue, 17 Aug 2010 02:08:25 +0100
Subject: First Commit


diff --git a/.gitignore b/.gitignore
index e69de29..7393395 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+py-bcrypt-0.2.tar.gz
diff --git a/py-bcrypt.spec b/py-bcrypt.spec
new file mode 100644
index 0000000..277e427
--- /dev/null
+++ b/py-bcrypt.spec
@@ -0,0 +1,73 @@
+#$Id$
+
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+
+Summary:	Python bindings for OpenBSD's Blowfish password hashing code
+Name:		py-bcrypt
+Version:	0.2
+Release:	3%{?dist}
+License:	BSD with advertising
+Group:		Development/Libraries
+URL:		http://www.mindrot.org/projects/py-bcrypt/	
+Source:		http://www.mindrot.org/files/py-bcrypt/py-bcrypt-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires:	python2-devel
+
+%description
+python-bcrypt is a Python wrapper of OpenBSD's Blowfish password hashing
+code, as described in "A Future-Adaptable Password Scheme" by Niels
+Provos and David Mazières.
+
+This system hashes passwords using a version of Bruce Schneier's Blowfish
+block cipher with modifications designed to raise the cost of off-line
+password cracking and frustrate fast hardware implementation. The
+computation cost of the algorithm is parametised, so it can be increased
+as computers get faster. The intent is to make a compromise of a password
+database less likely to result in an attacker gaining knowledge of the
+plaintext passwords (e.g. using John the Ripper). 
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+rm  -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog LICENSE MANIFEST README TODO
+%{python_sitearch}/py_bcrypt-0.2-py2.7.egg-info
+%{python_sitearch}/bcrypt
+
+%changelog
+* Thu Aug 12 2010 dcr226 at fedorapeople.org - 0.2-3
+- Rebuilt for python 2.7
+
+* Wed Aug 11 2010 dcr226 at fedoraproject.org - 0.2-2
+- packaged for Fedora
+
+*Mon Jun 14 2010 djm at mindrot.org
+- (djm) Prefer setuptools for packaging. Based on patch from Niall
+   O'Higgins.
+- (djm) Release py-bcrypt-0.2
+
+*Thu Oct 01 2009 djm at mindrot.org
+- (djm) Allow Python threads to run during (potentially lengthy) bcrypt
+   operation. Patch from vijay AT meebo-inc.com
+
+*Tue Aug 08 2006 djm at mindrot.org
+- (djm) Add support for Win32
+
+*Mon May 22 2006 djm at mindrot.org
+- (djm) Start
diff --git a/sources b/sources
index e69de29..03ab5c9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+231565f5e5d0389c6f3fe4bb6fc4d9f1  py-bcrypt-0.2.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/py-bcrypt.git/commit/?h=epel7&id=792bcc2d7b4d3a5827a2316526a0aca10fb1af4d


More information about the scm-commits mailing list