[yubikey-val] initial import

Dennis Gilmore ausil at fedoraproject.org
Wed Jan 26 03:34:15 UTC 2011


commit 89cf8c2f279548c9743eb03a027937a5c482ea8e
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Tue Jan 25 21:33:41 2011 -0600

    initial import

 .gitignore                 |    1 +
 sources                    |    1 +
 yubikey-val-Makefile.patch |   15 +++++++++++
 yubikey-val.spec           |   61 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 78 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2f3a244 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/yubikey-val-2.7.tgz
diff --git a/sources b/sources
index e69de29..6104217 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4e3b1a35f20faba37b3858faedefcccb  yubikey-val-2.7.tgz
diff --git a/yubikey-val-Makefile.patch b/yubikey-val-Makefile.patch
new file mode 100644
index 0000000..25058ac
--- /dev/null
+++ b/yubikey-val-Makefile.patch
@@ -0,0 +1,15 @@
+--- Makefile.orig	2010-08-31 12:53:13.744369094 -0500
++++ Makefile	2010-08-31 12:53:44.372126705 -0500
+@@ -34,9 +34,9 @@
+ 	install -D ykval-export.php $(sbinprefix)/ykval-export
+ 	install -D ykval-import.php $(sbinprefix)/ykval-import
+ 	install -D ykval-checksum-clients.php $(sbinprefix)/ykval-checksum-clients
+-	install -D ykval-munin-ksmlatency.php $(muninprefix)/ykval_ksmlatency
+-	install -D ykval-munin-queuelength.php $(muninprefix)/ykval_queuelength
+-	install -D --backup --mode 640 --group $(wwwgroup) ykval-config.php $(etcprefix)/ykval-config.php-template
++#	install -D ykval-munin-ksmlatency.php $(muninprefix)/ykval_ksmlatency
++#	install -D ykval-munin-queuelength.php $(muninprefix)/ykval_queuelength
++	install -D --backup --mode 640 ykval-config.php $(etcprefix)/ykval-config.php-template
+ 	install -D ykval-db.sql $(docprefix)/ykval-db.sql
+ 	install -D $(DOCS) $(docprefix)/
+ 
diff --git a/yubikey-val.spec b/yubikey-val.spec
new file mode 100644
index 0000000..86e202b
--- /dev/null
+++ b/yubikey-val.spec
@@ -0,0 +1,61 @@
+Name:       yubikey-val
+Version:    2.7
+Release:    2%{?dist}
+Summary:    The YubiKey Validation Server
+
+Group:      Applications/System
+License:    BSD
+URL:        http://code.google.com/p/yubikey-val-server-php/
+Source0:    http://yubikey-val-server-php.googlecode.com/files/yubikey-val-%{version}.tgz
+Patch0:     yubikey-val-Makefile.patch
+BuildRoot:  %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildArch:  noarch
+
+Requires:   php php-mcrypt php-curl php-pear php-pdo
+
+%description
+This is a server that validates Yubikey OTPs. It is written in PHP, for use
+with web servers such as Apache
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install etcprefix=$RPM_BUILD_ROOT%{_sysconfdir}/ykval \
+            binprefix=$RPM_BUILD_ROOT%{_bindir} \
+            sbinprefix=$RPM_BUILD_ROOT%{_sbindir} \
+            phpprefix=$RPM_BUILD_ROOT%{_datadir}/ykval \
+            docprefix=$RPM_BUILD_ROOT%{_docdir}/ykval \
+            muninprefix=$RPM_BUILD_ROOT%{_datadir}/munin/plugins
+
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+chmod 644 $RPM_BUILD_ROOT%{_datadir}/*/*php
+mv $RPM_BUILD_ROOT%{_sysconfdir}/ykval/ykval-config.php-template $RPM_BUILD_ROOT%{_sysconfdir}/ykval/ykval-config.php
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc doc/* ykval-db.sql
+%config(noreplace) %{_sysconfdir}/ykval/ykval-config.php
+%dir %{_sysconfdir}/ykval/
+%{_datadir}/ykval/
+%{_sbindir}/*
+
+%changelog
+* Thu Jan 06 2011 Dennis Gilmore <dennis at ausil.us> - 2.7-2
+- Requires php-pdo
+- remove -template from config file name
+
+* Fri Sep 24 2010 Dennis Gilmore <dennis at ausil.us> - 2.7-1
+- update to 2.7
+- use macros
+
+* Tue Aug 31 2010 Mike McGrath <mmcgrath at redhat.com> - 2.6-1
+- Initial packaging


More information about the scm-commits mailing list