[drupal6-yubikey/el6/master] New package.

sparks sparks at fedoraproject.org
Wed Mar 9 02:16:53 UTC 2011


commit 9aec246650eac05e8fd0c5375e2a378f56887a90
Author: Eric H Christensen <eric at christensenplace.us>
Date:   Tue Mar 8 21:16:41 2011 -0500

    New package.

 .gitignore           |    1 +
 drupal6-yubikey.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..af477b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/yubikey-6.x-2.0-beta2.tar.gz
diff --git a/drupal6-yubikey.spec b/drupal6-yubikey.spec
new file mode 100644
index 0000000..f24f41c
--- /dev/null
+++ b/drupal6-yubikey.spec
@@ -0,0 +1,55 @@
+%global drupalver 6
+%if 0%{?fedora} <= 14
+%global drupal drupal
+%else
+# e.g. "drupal6"
+%global drupal drupal%{drupalver}
+%endif
+# e.g. "/usr/share/drupal6"
+%global drupaldir %{_datadir}/%{drupal}
+# Use upstream name as expressed in URL and tarball
+%global modname yubikey
+
+Name:    drupal6-%{modname}
+Version: 6.x.2.0.beta2
+Release: 1%{?dist}
+Summary: Provides YubiKey based strong two-factor user authentication capabilities
+Group:   Applications/Publishing
+License: GPLv2+
+URL:     http://drupal.org/project/%{modname}
+Source0: http://ftp.drupal.org/files/projects/yubikey-6.x-2.0-beta2.tar.gz
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  %{drupal} >= 6.0
+
+%description
+YubiKey is a secure method for logging into many websites using a 
+cryptographically secure USB token. It does not require special 
+software, and since it does not generate the same OTP (One Time 
+Password) more than once, nothing is shared among associated sites.
+Users can assign one or more YubiKeys to an existing account, and 
+log in using a YubiKey. This offers additional security to the users 
+even over insecure connections.
+
+%prep
+%setup -qn %{modname}
+
+%build
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/%{modname}
+cp -pr * %{buildroot}%{drupaldir}/modules/%{modname}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt 
+%exclude %{drupaldir}/modules/%{modname}/LICENSE.txt
+%{drupaldir}/modules/%{modname}
+
+%changelog
+* Wed Mar 02 2011 Eric "Sparks" Christensen - 6.x.2.0.beta2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..14b180d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1af2acd8a973d032525c864afc892265  yubikey-6.x-2.0-beta2.tar.gz


More information about the scm-commits mailing list