rpms/pam_usb/devel .cvsignore, 1.2, 1.3 pam_usb-pam.d-gdm.example, 1.1, 1.2 pam_usb-pam.d-login.example, 1.1, 1.2 pam_usb.spec, 1.5, 1.6 sources, 1.2, 1.3
John Patrick Mahowald (jpmahowa)
fedora-extras-commits at redhat.com
Fri May 11 21:12:12 UTC 2007
Author: jpmahowa
Update of /cvs/pkgs/rpms/pam_usb/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10462
Modified Files:
.cvsignore pam_usb-pam.d-gdm.example
pam_usb-pam.d-login.example pam_usb.spec sources
Log Message:
* Sat May 5 2007 John Mahowald <jpmahowald at gmail.com> - 0.4.0-1
- 0.4.0
- drop hotplug subpackage
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pam_usb/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 29 Dec 2005 12:58:04 -0000 1.2
+++ .cvsignore 11 May 2007 21:11:37 -0000 1.3
@@ -1 +1,2 @@
pam_usb-0.3.3.tar.gz
+pam_usb-0.4.0.tar.gz
Index: pam_usb-pam.d-gdm.example
===================================================================
RCS file: /cvs/pkgs/rpms/pam_usb/devel/pam_usb-pam.d-gdm.example,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pam_usb-pam.d-gdm.example 29 Dec 2005 12:58:04 -0000 1.1
+++ pam_usb-pam.d-gdm.example 11 May 2007 21:11:37 -0000 1.2
@@ -1,5 +1,5 @@
#%PAM-1.0
-auth sufficient pam_usb.so check_if_mounted mount_opts=ro allow_remote
+auth sufficient pam_usb.so
auth required pam_env.so
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
Index: pam_usb-pam.d-login.example
===================================================================
RCS file: /cvs/pkgs/rpms/pam_usb/devel/pam_usb-pam.d-login.example,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pam_usb-pam.d-login.example 29 Dec 2005 12:58:04 -0000 1.1
+++ pam_usb-pam.d-login.example 11 May 2007 21:11:37 -0000 1.2
@@ -1,5 +1,5 @@
#%PAM-1.0
-auth sufficient pam_usb.so check_if_mounted mount_opts=ro quiet
+auth sufficient pam_usb.so
auth required pam_securetty.so
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
Index: pam_usb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam_usb/devel/pam_usb.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pam_usb.spec 1 Sep 2006 14:57:56 -0000 1.5
+++ pam_usb.spec 11 May 2007 21:11:37 -0000 1.6
@@ -1,57 +1,56 @@
-Name: pam_usb
-Summary: PAM module for use with DSA key pairs and removable devices
-Version: 0.3.3
-Release: 6%{?dist}
+Name: pam_usb
+Summary: Authentication using ordinary USB Flash Drives
+Version: 0.4.0
+Release: 1%{?dist}
License: GPL
Group: System Environment/Base
URL: http://www.pamusb.org
Source0: http://dl.sourceforge.net/pamusb/%{name}-%{version}.tar.gz
-# lynx -source http://www.pamusb.org/quickstart.html >pam_usb-quickstart.html
-Source1: pam_usb-quickstart.html
-# lynx -source http://www.pamusb.org/options.html >pam_usb-options.html
-Source2: pam_usb-options.html
-Source3: pam_usb.udev
Source4: pam_usb-pam.d-login.example
Source5: pam_usb-pam.d-gdm.example
-Patch0: pam_usb-0.3.3-Makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: pam-devel, openssl-devel, readline-devel, ncurses-devel
-
+BuildRequires: pam-devel, hal-devel, pygobject2-devel, libxml2-devel
+Requires: pygobject2
+%if "%{?fedora}" < "7"
+BuildRequires: python-elementtree
+Requires: python-elementtree
+%endif
%description
-This PAM module provides authentication through DSA private/public keys.
-Public keys placed on the target computer, whereas private keys are stored
-on some removable device, including USB storages/flash drives, cdroms,
-floppies, etc.
-
-Any kind of mountable devices (not removable only) can be used.
-
-Due to using of DSA key pairs, the passwordless authentication can be organized
-(if a private key is stored not crypted on the media).
-
-
-%package hotplug
-Summary: Hotplug agent to use with USB flash
-Group: System Environment/Base
-Requires: %{name} = %{version}-%{release}
-Requires: udev
-
-%description hotplug
-Hotplug agent to use with USB flash.
-
+pam_usb provides hardware authentication for Linux using ordinary
+USB Flash Drives. It works with any application supporting PAM,
+such as su, any login manager (GDM, KDM), etc. The pam_usb package contains:
+
+* A PAM Module
+ o Password-less authentication. Use your USB stick for authentication,
+ donât type passwords anymore.
+ o Device auto probing.You donât need to mount the device, or even
+ to configure the device location (sda1, sdb1, etc).
+ pam_usb.so will automatically locate the device using HAL and access
+ its data by itself.
+ o Two-factor authentication. Achieve greater security by requiring
+ both the USB stick and the password to authenticate the user.
+ o Non-intrusive. pam_usb doesnât require any modifications of the
+ USB storage device to work (no additional partitions required).
+ o USB Serial number, model and vendor verification.
+ o Support for One Time Pads authentication.
+* Several tools
+ o pamusb-agent: trigger actions (such as locking the screen)
+ upon device authentication and removal.
+ o pamusb-conf: configuration helper.
+ o pamusb-check: integrate pam_usbâs authentication engine within
+ your scripts or applications.
%prep
%setup -q
-%patch0 -p1
-
-install -p -m644 %{SOURCE1} quickstart.html
-install -p -m644 %{SOURCE2} options.html
mkdir pam.d-examples
install -p -m644 %{SOURCE4} pam.d-examples/login
install -p -m644 %{SOURCE5} pam.d-examples/gdm
+# fix lib64
+sed -i -e 's|/lib/security|/%{_lib}/security|' Makefile
%build
# Note: we may not overwrite CFLAGS, so use CC instead...
@@ -63,18 +62,8 @@
make install LIB=%{_lib} DESTDIR=$RPM_BUILD_ROOT
-# use new "udev" style instead of obsoleted "hotplug" ...
-rm -f $RPM_BUILD_ROOT%{_sysconfdir}/hotplug.d/default/*
-install -D -m644 %{SOURCE3} \
- $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/60-%{name}.rules
-
-pushd $RPM_BUILD_ROOT/etc/pam.d
-rm -rf usbhotplug
-cat >usbhotplug <<EOF
-auth sufficient pam_usb.so debug
-EOF
-popd
-
+# marked these as %doc already
+rm -rf $RPM_BUILD_ROOT/%{_docdir}/pamusb/
%clean
rm -rf $RPM_BUILD_ROOT
@@ -83,20 +72,17 @@
%files
%defattr(-,root,root,-)
/%{_lib}/security/*
-%{_bindir}/usbadm
-%doc AUTHORS COPYING Changelog README *.html pam.d-examples
-%dir %{_sysconfdir}/pam_usb
-%attr(644,root,root) %{_mandir}/*/usbadm*
-
-%files hotplug
-%defattr(-,root,root)
-%{_bindir}/usbhotplug
-%config(noreplace) %{_sysconfdir}/pam_usb/*
-%config(noreplace) %{_sysconfdir}/pam.d/*
-%config(noreplace) %{_sysconfdir}/udev/rules.d/*
+%{_bindir}/pamusb*
+%config(noreplace) %{_sysconfdir}/pamusb.conf
+%doc COPYING ChangeLog pam.d-examples doc/QUICKSTART doc/CONFIGURATION doc/FAQ
+%attr(644,root,root) %{_mandir}/*/pamusb*
%changelog
+* Sat May 5 2007 John Mahowald <jpmahowald at gmail.com> - 0.4.0-1
+- 0.4.0
+- drop hotplug subpackage
+
* Fri Sep 1 2006 Dmitry Butskoy <Dmitry at Butskoy.name> - 0.3.3-6
- rebuild for FC6
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pam_usb/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 29 Dec 2005 12:58:04 -0000 1.2
+++ sources 11 May 2007 21:11:37 -0000 1.3
@@ -1 +1,2 @@
45e73035b706ff6dd20d002210bf0cb3 pam_usb-0.3.3.tar.gz
+51a677ff30a3b29e8b5df4a0e60c8d75 pam_usb-0.4.0.tar.gz
More information about the fedora-extras-commits
mailing list