commit vlock for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package vlock for openSUSE:Factory
checked in at Thu Aug 13 18:42:21 CEST 2009.
--------
--- vlock/vlock.changes 2009-06-15 16:55:30.000000000 +0200
+++ vlock/vlock.changes 2009-07-30 15:20:23.000000000 +0200
@@ -1,0 +2,22 @@
+Thu Jul 30 13:13:25 UTC 2009 - tittiatcoke@gmail.com
+
+- update to 2.2.2
+ * Complete rewrite. vlock is now made of several tools called
+ from a shell script
+ * Fix and improve build system:
+ * Display number of authentication tries on exit.
+ * Shadow authentication added
+ * Added manpages for all tools.
+ * Enter key must be pressed before authentication is started.
+ * When run as root, vlock now locks as the user given by the
+ $USER environment variable.
+ * Add -n,--new option to run vlock on a new virtual console.
+ * Added timeout support to password prompts
+ * Locking message now configurable.
+ * Added configuration file support: ~/.vlockrc.
+ * "vlock --new" now works even if stdin is not a terminal.
+ * Improved documentation.
+ * Support for plugins (modules and scripts) was added.
+ * vlock-all, vlock-new, and vlock-nosysrq were converted to modules.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
README.SUSE
vlock-1.4-linkorder.diff
vlock-1.4-optflags.patch
vlock-1.4-return.patch
vlock-1.4.patch
vlock-1.4.tar.bz2
New:
----
vlock-2.2.2-security.diff
vlock-2.2.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vlock.spec ++++++
--- /var/tmp/diff_new_pack.egXTdK/_old 2009-08-13 18:41:00.000000000 +0200
+++ /var/tmp/diff_new_pack.egXTdK/_new 2009-08-13 18:41:00.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package vlock (Version 1.4)
+# spec file for package vlock (Version 2.2.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,8 +20,8 @@
Name: vlock
BuildRequires: pam-devel
-Version: 1.4
-Release: 83
+Version: 2.2.2
+Release: 1
PreReq: permissions
AutoReqProv: on
Group: System/Console
@@ -29,11 +29,7 @@
Url: http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html
Summary: It allows you to lock your console display
Source: %{name}-%{version}.tar.bz2
-Source1: README.SUSE
-Patch0: %{name}-%{version}.patch
-Patch1: %{name}-%{version}-optflags.patch
-Patch2: %{name}-%{version}-return.patch
-Patch3: vlock-1.4-linkorder.diff
+Patch: vlock-2.2.2-security.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -48,37 +44,46 @@
%prep
%setup -q
-%patch0
-%patch1
-%patch2
-%patch3
+%patch
%build
+./configure --prefix=%{_prefix}
export CFLAGS="%{optflags}"
make %{?jobs:-j%jobs}
%install
-install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
-install vlock $RPM_BUILD_ROOT%{_bindir}/
-install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
-install -m 644 vlock.1 $RPM_BUILD_ROOT%{_mandir}/man1/
-install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
-install -m 644 vlock.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/vlock
-install -m 644 %{SOURCE1} .
+install -d -m 755 %{buildroot}%{_bindir}
+install vlock %{buildroot}%{_bindir}/
+install -d -m 755 %{buildroot}/usr/sbin
+install vlock-main %{buildroot}/usr/sbin/
+install -d -m 755 %{buildroot}%{_mandir}/man8
+install -m 644 man/vlock-main.8 %{buildroot}%{_mandir}/man8/
+install -d -m 755 %{buildroot}%{_mandir}/man5
+install -m 644 man/vlock-plugins.5 %{buildroot}%{_mandir}/man5/
+install -d -m 755 %{buildroot}%{_mandir}/man1
+install -m 644 man/vlock.1 %{buildroot}%{_mandir}/man1/
+install -d -m 755 %{buildroot}%{_libdir}/vlock/modules
+install -m 755 modules/all.so %{buildroot}%{_libdir}/vlock/modules
+install -m 755 modules/new.so %{buildroot}%{_libdir}/vlock/modules
+install -m 755 modules/nosysrq.so %{buildroot}%{_libdir}/vlock/modules
%post
%run_permissions
%verifyscript
%verify_permissions -e %{_bindir}/vlock
+%verify_permissions -e /usr/sbin/vlock-main
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
%defattr(-,root,root)
-%doc README README.SUSE COPYING
+# %doc README README.X11 ChangeLog SECURITY PLUGINS
%doc %{_mandir}/man?/*
%verify(not mode) %attr(0755,root,shadow) %{_bindir}/vlock
-%config %{_sysconfdir}/pam.d/vlock
+%verify(not mode) %attr(0755,root,shadow) /usr/sbin/vlock-main
+%dir %{_libdir}/vlock
+%dir %{_libdir}/vlock/modules
+%{_libdir}/vlock/modules
%changelog
++++++ vlock-2.2.2-security.diff ++++++
--- src/process.c 2008-05-18 11:10:54.000000000 +0200
+++ src/process.c 2009-08-02 14:27:15.000000000 +0200
@@ -12,6 +12,7 @@
*/
#include
participants (1)
-
root@Hilbert.suse.de