commit apache2-mod_authn_otp for openSUSE:Factory

2019-07-03 Thread root
Hello community,

here is the log from the commit of package apache2-mod_authn_otp for 
openSUSE:Factory checked in at 2019-07-03 15:15:22

Comparing /work/SRC/openSUSE:Factory/apache2-mod_authn_otp (Old)
 and  /work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new.4615 (New)


Package is "apache2-mod_authn_otp"

Wed Jul  3 15:15:22 2019 rev:10 rq:713203 version:1.1.9

Changes:

--- 
/work/SRC/openSUSE:Factory/apache2-mod_authn_otp/apache2-mod_authn_otp.changes  
2019-06-24 21:53:51.916129288 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new.4615/apache2-mod_authn_otp.changes
2019-07-03 15:15:22.463009650 +0200
@@ -1,0 +2,5 @@
+Wed Jun 26 09:35:46 UTC 2019 - pgaj...@suse.com
+
+- testing with apache-rex instead
+
+---



Other differences:
--
++ apache2-mod_authn_otp.spec ++
--- /var/tmp/diff_new_pack.46JAHi/_old  2019-07-03 15:15:23.475011709 +0200
+++ /var/tmp/diff_new_pack.46JAHi/_new  2019-07-03 15:15:23.479011717 +0200
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,9 +26,10 @@
 Group:  Productivity/Networking/Web/Servers
 Url:http://mod-authn-otp.googlecode.com/
 Source: 
https://s3.amazonaws.com/archie-public/mod-authn-otp/%{mod_name}-%{version}.tar.gz
+BuildRequires:  apache-rex
 BuildRequires:  apache-rpm-macros
 BuildRequires:  apache2-devel
-BuildRequires:  curl
+%apache_rex_deps
 Requires:   %{apache_mmn}
 Requires:   %{apache_suse_maintenance_mmn}
 Provides:   otptool = %{version}
@@ -79,79 +80,7 @@
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
 %check
-# see https://github.com/archiecobbs/mod-authn-otp/blob/master/README.md
-# for details
-set +x
-# secret token
-test_token='a4d8acbddef654fccc418db4cc2f85cea6339f00'
-test_user='wilma'
-mkdir -p %{apache_test_module_dir}/htdocs/protected
-# create protected document
-cat << EOF > %{apache_test_module_dir}/htdocs/protected/index.html
-RESTRICTED AREA BY OTP
-EOF
-# create initial UsersFile
-echo "HOTP $test_user - $test_token" > %{apache_test_module_dir}/users-file
-# create module configuration
-cat << EOF > %{apache_test_module_dir}/mod_authn_otp-test.conf
-
-  AuthType   basic
-  AuthName  "Very Secret Area"
-  AuthBasicProvider OTP
-  Require   valid-user
-  OTPAuthUsersFile %{apache_test_module_dir}/users-file
-  OTPAuthMaxLinger 2
-
-EOF
-exit_code=0
-%if %{apache_branch} >= 204
-# 2.4 and up
-base_authn_module='authn_core'
-%else
-base_authn_module='authn_default'
-%endif
-# start apache test instance
-%apache_test_module_start_apache -m $base_authn_module:authz_user:authn_otp -i 
mod_authn_otp-test.conf
-echo
-echo 'Testing protected/index.html output'
-# figure out password for first access
-pass=$(./otptool -c 0 a4d8acbddef654fccc418db4cc2f85cea6339f00 | sed 's@.*:[ 
\t]*\([0-9]*\)[ \t]*.*@\1@')
-echo 'Test 1: testing first password'
-%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
-grep 'RESTRICTED AREA BY OTP' output.txt || exit_code=1
-# next access with the same password within the linger time should be allowed
-echo 'Test 2: testing first password in linger time'
-%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
-grep 'RESTRICTED AREA BY OTP' output.txt || exit_code=2
-# sleeping to get after linger time
-sleep 2
-# next access with the same password after linger time should not be allowed
-echo 'Test 3: testing first password after linger time'
-%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
-grep '.*401.*' output.txt || exit_code=3
-# figure out second password (counter increased by one)
-echo 'Test 4: testing second password'
-pass=$(./otptool -c 1 a4d8acbddef654fccc418db4cc2f85cea6339f00 | sed 's@.*:[ 
\t]*\([0-9]*\)[ \t]*.*@\1@')
-%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
-grep 'RESTRICTED AREA BY OTP' output.txt || exit_code=4
-# increasing counter again, generating new password
-echo 'Test 5: testing third password in linger time of second password'
-pass=$(./otptool -c 2 a4d8acbddef654fccc418db4cc2f85cea6339f00 | sed 's@.*:[ 
\t]*\([0-9]*\)[ \t]*.*@\1@')
-# access with the third password should be allowed even if linger time
-# of the previous one have not expired
-%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
-grep 'RESTRICTED AREA BY OTP' output.txt || exit_code=5
-echo -n 'Result: '
-if [ $exit_code -eq 0 ]; then
-  echo 'SUCCESS'
-else
-  echo "FAILE

commit apache2-mod_authn_otp for openSUSE:Factory

2019-06-24 Thread root
Hello community,

here is the log from the commit of package apache2-mod_authn_otp for 
openSUSE:Factory checked in at 2019-06-24 21:52:51

Comparing /work/SRC/openSUSE:Factory/apache2-mod_authn_otp (Old)
 and  /work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new.4615 (New)


Package is "apache2-mod_authn_otp"

Mon Jun 24 21:52:51 2019 rev:9 rq:711566 version:1.1.9

Changes:

--- 
/work/SRC/openSUSE:Factory/apache2-mod_authn_otp/apache2-mod_authn_otp.changes  
2017-11-01 11:09:53.521217230 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new.4615/apache2-mod_authn_otp.changes
2019-06-24 21:53:51.916129288 +0200
@@ -1,0 +2,7 @@
+Sat Jun 22 18:14:41 UTC 2019 - archie.co...@gmail.com
+
+- Update to version 1.1.9
+  + Added genotpurl(1) utility
+  + Added "-F" flag to otptool(1).
+
+---

Old:

  mod_authn_otp-1.1.8.tar.gz

New:

  mod_authn_otp-1.1.9.tar.gz



Other differences:
--
++ apache2-mod_authn_otp.spec ++
--- /var/tmp/diff_new_pack.Rp01pw/_old  2019-06-24 21:53:53.188130271 +0200
+++ /var/tmp/diff_new_pack.Rp01pw/_new  2019-06-24 21:53:53.244130314 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package apache2-mod_authn_otp
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Archie L. Cobbs 
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %define mod_name   mod_authn_otp
 Name:   apache2-%{mod_name}
-Version:1.1.8
+Version:1.1.9
 Release:0
 Summary:Apache module for one-time password authentication
 License:Apache-2.0
@@ -157,7 +157,9 @@
 %defattr(-,root,root,-)
 %{apache_libexecdir}/%{mod_name}.so
 %{_bindir}/otptool
+%{_bindir}/genotpurl
 %{_mandir}/man1/otptool.1.gz
+%{_mandir}/man1/genotpurl.1.gz
 %doc CHANGES LICENSE README users.sample
 
 %changelog

++ mod_authn_otp-1.1.8.tar.gz -> mod_authn_otp-1.1.9.tar.gz ++
 2655 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/mod_authn_otp-1.1.8/CHANGES new/mod_authn_otp-1.1.9/CHANGES
--- old/mod_authn_otp-1.1.8/CHANGES 2017-10-30 16:40:57.0 +0100
+++ new/mod_authn_otp-1.1.9/CHANGES 2019-06-22 19:59:12.0 +0200
@@ -1,3 +1,8 @@
+Version 1.1.9 released June 22, 2019
+
+- Added genotpurl(1) utility
+- Added "-F" flag to otptool(1).
+
 Version 1.1.8 relesed October 30, 2017
 
 - Added PINFakeBasicAuth configuration option
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/mod_authn_otp-1.1.8/INSTALL new/mod_authn_otp-1.1.9/INSTALL
--- old/mod_authn_otp-1.1.8/INSTALL 2017-10-30 16:36:25.0 +0100
+++ new/mod_authn_otp-1.1.9/INSTALL 2019-06-22 19:58:39.0 +0200
@@ -12,3 +12,19 @@
 3. Run `make'
 4. Run `make install'
 
+Once the module is installed on your system, you'll also need to do the
+following steps to add it to Apache:
+
+1. Add the "mod_authn_otp" module to your Apache config. This usually
+   involves adding a line looking something like this:
+
+LoadModule authn_otp_module /usr/lib64/apache2/mod_authn_otp.so
+
+   There should already be a bunch of similar "LoadModule" lines nearby.
+
+2. Enable the "mod_authn_otp" module, typically by running this command:
+
+a2enmod authn_otp
+
+3. Restart Apache
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/mod_authn_otp-1.1.8/Makefile.am new/mod_authn_otp-1.1.9/Makefile.am
--- old/mod_authn_otp-1.1.8/Makefile.am 2017-10-30 16:36:25.0 +0100
+++ new/mod_authn_otp-1.1.9/Makefile.am 2019-06-22 20:04:49.0 +0200
@@ -30,16 +30,19 @@
 install-exec-hook:
test -z "$(STRIP)" || $(STRIP) $(DESTDIR)`$(APXS) -q 
LIBEXECDIR`/mod_authn_otp.so
test -z "$(STRIP)" || $(STRIP) $(DESTDIR)$(bindir)/otptool
+   tes

commit apache2-mod_authn_otp for openSUSE:Factory

2017-11-01 Thread root
Hello community,

here is the log from the commit of package apache2-mod_authn_otp for 
openSUSE:Factory checked in at 2017-11-01 11:09:54

Comparing /work/SRC/openSUSE:Factory/apache2-mod_authn_otp (Old)
 and  /work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new (New)


Package is "apache2-mod_authn_otp"

Wed Nov  1 11:09:54 2017 rev:8 rq:537921 version:1.1.8

Changes:

--- 
/work/SRC/openSUSE:Factory/apache2-mod_authn_otp/apache2-mod_authn_otp.changes  
2015-12-21 12:04:36.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new/apache2-mod_authn_otp.changes
 2017-11-01 11:09:53.521217230 +0100
@@ -1,0 +2,6 @@
+Mon Oct 30 15:46:43 UTC 2017 - archie.co...@gmail.com
+
+- Update to version 1.1.8
+  + Added PINFakeBasicAuth configuration option
+
+---

Old:

  mod_authn_otp-1.1.7.tar.gz

New:

  mod_authn_otp-1.1.8.tar.gz



Other differences:
--
++ apache2-mod_authn_otp.spec ++
--- /var/tmp/diff_new_pack.RkmgA8/_old  2017-11-01 11:09:54.317188156 +0100
+++ /var/tmp/diff_new_pack.RkmgA8/_new  2017-11-01 11:09:54.321188009 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apache2-mod_authn_otp
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Archie L. Cobbs 
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %define mod_name   mod_authn_otp
 Name:   apache2-%{mod_name}
-Version:1.1.7
+Version:1.1.8
 Release:0
 Summary:Apache module for one-time password authentication
 License:Apache-2.0

++ mod_authn_otp-1.1.7.tar.gz -> mod_authn_otp-1.1.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_authn_otp-1.1.7/CHANGES 
new/mod_authn_otp-1.1.8/CHANGES
--- old/mod_authn_otp-1.1.7/CHANGES 2014-05-17 18:26:14.0 +0200
+++ new/mod_authn_otp-1.1.8/CHANGES 2017-10-30 16:40:57.0 +0100
@@ -1,3 +1,6 @@
+Version 1.1.8 relesed October 30, 2017
+
+- Added PINFakeBasicAuth configuration option
 
 Version 1.1.7 (r147) released 17 May 2014
 
@@ -48,4 +51,3 @@
 
 - Initial release
 
-$Id: CHANGES 147 2014-05-17 16:26:13Z archie.cobbs $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_authn_otp-1.1.7/INSTALL 
new/mod_authn_otp-1.1.8/INSTALL
--- old/mod_authn_otp-1.1.7/INSTALL 2011-06-10 16:27:51.0 +0200
+++ new/mod_authn_otp-1.1.8/INSTALL 2017-10-30 16:36:25.0 +0100
@@ -12,4 +12,3 @@
 3. Run `make'
 4. Run `make install'
 
-$Id: INSTALL 99 2011-06-10 14:27:51Z archie.cobbs $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_authn_otp-1.1.7/Makefile.am 
new/mod_authn_otp-1.1.8/Makefile.am
--- old/mod_authn_otp-1.1.7/Makefile.am 2012-02-29 23:11:38.0 +0100
+++ new/mod_authn_otp-1.1.8/Makefile.am 2017-10-30 16:36:25.0 +0100
@@ -16,8 +16,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-# $Id: Makefile.am 116 2012-02-29 22:11:38Z archie.cobbs $
-#
 
 all-local:module
 
@@ -26,6 +24,7 @@
$(APXS) -c -D_REENTRANT `echo $(GCC_WARN_FLAGS) | sed 's/ -/ 
-Wc,-/g'` -l crypto mod_authn_otp.c
 
 install-exec-local: module
+   mkdir -p "$(DESTDIR)`$(APXS) -q LIBEXECDIR`"
$(APXS) -S LIBEXECDIR="$(DESTDIR)`$(APXS) -q LIBEXECDIR`" -i 
mod_authn_otp.la
 
 install-exec-hook:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_authn_otp-1.1.7/Makefile.in 
new/mod_authn_otp-1.1.8/Makefile.in
--- old/mod_authn_otp-1.1.7/Makefile.in 2014-05-17 18:29:27.0 +0200
+++ new/mod_authn_otp-1.1.8/Makefile.in 2017-10-30 16:43:11.0 +0100
@@ -31,8 +31,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-# $Id: Makefile.am 116 2012-02-29 22:11:38Z archie.cobbs $
-#
 
 
 VPATH = @srcdir@
@@ -847,6 +845,7 @@
$(APXS) -c -D_REENTRANT `echo $(GCC_WARN_FLAGS) | sed 's/ -/ 
-Wc,-/g'` -l crypto mod_authn_otp.c
 
 install-exec-local: module
+   mkdir -p "$(DESTDIR)`$(APXS) -q LIBEXECDIR`"
$(APXS) -S LIBEXECDIR="$(DESTDIR)`$(APXS) -q LIBEXECDIR`" -i 
mod_authn_otp.la
 
 install-exec-hook:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_authn_otp-1.1.7/README 
new/mod_authn_otp-1.1.8/README
--- old/mod_authn_otp-1.1.7/README  2009-07-08 16:43:28.0 +0200
+++ new/mod_authn_

commit apache2-mod_authn_otp for openSUSE:Factory

2015-12-21 Thread h_root
Hello community,

here is the log from the commit of package apache2-mod_authn_otp for 
openSUSE:Factory checked in at 2015-12-21 12:04:28

Comparing /work/SRC/openSUSE:Factory/apache2-mod_authn_otp (Old)
 and  /work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new (New)


Package is "apache2-mod_authn_otp"

Changes:

--- 
/work/SRC/openSUSE:Factory/apache2-mod_authn_otp/apache2-mod_authn_otp.changes  
2015-10-20 00:05:28.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new/apache2-mod_authn_otp.changes
 2015-12-21 12:04:36.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec 11 11:59:26 UTC 2015 - pgaj...@suse.com
+
+- %{apache_branch} converted to number
+
+---



Other differences:
--
++ apache2-mod_authn_otp.spec ++
--- /var/tmp/diff_new_pack.HJr1iO/_old  2015-12-21 12:04:37.0 +0100
+++ /var/tmp/diff_new_pack.HJr1iO/_new  2015-12-21 12:04:37.0 +0100
@@ -104,7 +104,7 @@
 
 EOF
 exit_code=0
-%if "%{apache_branch}" != "2.2"
+%if %{apache_branch} >= 204
 # 2.4 and up
 base_authn_module='authn_core'
 %else




commit apache2-mod_authn_otp for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package apache2-mod_authn_otp for 
openSUSE:Factory checked in at 2015-10-19 22:51:31

Comparing /work/SRC/openSUSE:Factory/apache2-mod_authn_otp (Old)
 and  /work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new (New)


Package is "apache2-mod_authn_otp"

Changes:

--- 
/work/SRC/openSUSE:Factory/apache2-mod_authn_otp/apache2-mod_authn_otp.changes  
2015-07-20 11:21:40.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new/apache2-mod_authn_otp.changes
 2015-10-20 00:05:28.0 +0200
@@ -1,0 +2,15 @@
+Sun Oct  4 13:40:20 UTC 2015 - pgaj...@suse.com
+
+- %check for apache 2.2 again
+
+---
+Thu Oct  1 11:00:38 UTC 2015 - pgaj...@suse.com
+
+- do not %check for apache 2.2
+
+---
+Fri Sep 25 09:08:31 UTC 2015 - pgaj...@suse.com
+
+- test module with %apache_test_module_curl
+
+---



Other differences:
--
++ apache2-mod_authn_otp.spec ++
--- /var/tmp/diff_new_pack.PY3atx/_old  2015-10-20 00:05:28.0 +0200
+++ /var/tmp/diff_new_pack.PY3atx/_new  2015-10-20 00:05:28.0 +0200
@@ -28,6 +28,7 @@
 Source: 
https://s3.amazonaws.com/archie-public/mod-authn-otp/%{mod_name}-%{version}.tar.gz
 BuildRequires:  apache-rpm-macros
 BuildRequires:  apache2-devel
+BuildRequires:  curl
 Requires:   %{apache_mmn}
 Requires:   %{apache_suse_maintenance_mmn}
 Provides:   otptool = %{version}
@@ -77,6 +78,81 @@
 install -d %{buildroot}%{apache_libexecdir}
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
+%check
+# see https://github.com/archiecobbs/mod-authn-otp/blob/master/README.md
+# for details
+set +x
+# secret token
+test_token='a4d8acbddef654fccc418db4cc2f85cea6339f00'
+test_user='wilma'
+mkdir -p %{apache_test_module_dir}/htdocs/protected
+# create protected document
+cat << EOF > %{apache_test_module_dir}/htdocs/protected/index.html
+RESTRICTED AREA BY OTP
+EOF
+# create initial UsersFile
+echo "HOTP $test_user - $test_token" > %{apache_test_module_dir}/users-file
+# create module configuration
+cat << EOF > %{apache_test_module_dir}/mod_authn_otp-test.conf
+
+  AuthType   basic
+  AuthName  "Very Secret Area"
+  AuthBasicProvider OTP
+  Require   valid-user
+  OTPAuthUsersFile %{apache_test_module_dir}/users-file
+  OTPAuthMaxLinger 2
+
+EOF
+exit_code=0
+%if "%{apache_branch}" != "2.2"
+# 2.4 and up
+base_authn_module='authn_core'
+%else
+base_authn_module='authn_default'
+%endif
+# start apache test instance
+%apache_test_module_start_apache -m $base_authn_module:authz_user:authn_otp -i 
mod_authn_otp-test.conf
+echo
+echo 'Testing protected/index.html output'
+# figure out password for first access
+pass=$(./otptool -c 0 a4d8acbddef654fccc418db4cc2f85cea6339f00 | sed 's@.*:[ 
\t]*\([0-9]*\)[ \t]*.*@\1@')
+echo 'Test 1: testing first password'
+%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
+grep 'RESTRICTED AREA BY OTP' output.txt || exit_code=1
+# next access with the same password within the linger time should be allowed
+echo 'Test 2: testing first password in linger time'
+%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
+grep 'RESTRICTED AREA BY OTP' output.txt || exit_code=2
+# sleeping to get after linger time
+sleep 2
+# next access with the same password after linger time should not be allowed
+echo 'Test 3: testing first password after linger time'
+%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
+grep '.*401.*' output.txt || exit_code=3
+# figure out second password (counter increased by one)
+echo 'Test 4: testing second password'
+pass=$(./otptool -c 1 a4d8acbddef654fccc418db4cc2f85cea6339f00 | sed 's@.*:[ 
\t]*\([0-9]*\)[ \t]*.*@\1@')
+%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
+grep 'RESTRICTED AREA BY OTP' output.txt || exit_code=4
+# increasing counter again, generating new password
+echo 'Test 5: testing third password in linger time of second password'
+pass=$(./otptool -c 2 a4d8acbddef654fccc418db4cc2f85cea6339f00 | sed 's@.*:[ 
\t]*\([0-9]*\)[ \t]*.*@\1@')
+# access with the third password should be allowed even if linger time
+# of the previous one have not expired
+%apache_test_module_curl -u $test_user:$pass -d /protected/ -o output.txt
+grep 'RESTRICTED AREA BY OTP' output.txt || exit_code=5
+echo -n 'Result: '
+if [ $exit_code -eq 0 ]; then
+  echo 'SUCCESS'
+else
+  echo "FAILED (last failed test: $exit_code), error_log:"
+  cat %{apache_test_module_dir}/error_log
+fi
+echo
+%apache_test_module_stop_apache
+s

commit apache2-mod_authn_otp for openSUSE:Factory

2015-07-20 Thread h_root
Hello community,

here is the log from the commit of package apache2-mod_authn_otp for 
openSUSE:Factory checked in at 2015-07-20 11:21:39

Comparing /work/SRC/openSUSE:Factory/apache2-mod_authn_otp (Old)
 and  /work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new (New)


Package is "apache2-mod_authn_otp"

Changes:

--- 
/work/SRC/openSUSE:Factory/apache2-mod_authn_otp/apache2-mod_authn_otp.changes  
2014-11-12 00:22:18.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new/apache2-mod_authn_otp.changes
 2015-07-20 11:21:40.0 +0200
@@ -1,0 +2,7 @@
+Thu Jul 16 07:22:02 UTC 2015 - pgaj...@suse.com
+
+- Requries: %{apache_suse_maintenance_mmn}
+  This will pull this module to the update (in released distribution) 
+  when apache maintainer thinks it is good (due api/abi changes).
+
+---



Other differences:
--
++ apache2-mod_authn_otp.spec ++
--- /var/tmp/diff_new_pack.QG6E4p/_old  2015-07-20 11:21:42.0 +0200
+++ /var/tmp/diff_new_pack.QG6E4p/_new  2015-07-20 11:21:42.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package apache2-mod_authn_otp
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Archie L. Cobbs 
 #
 # All modifications and additions to the file contributed by third parties
@@ -28,6 +28,8 @@
 Source: 
https://s3.amazonaws.com/archie-public/mod-authn-otp/%{mod_name}-%{version}.tar.gz
 BuildRequires:  apache-rpm-macros
 BuildRequires:  apache2-devel
+Requires:   %{apache_mmn}
+Requires:   %{apache_suse_maintenance_mmn}
 Provides:   otptool = %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1100




commit apache2-mod_authn_otp for openSUSE:Factory

2014-11-11 Thread h_root
Hello community,

here is the log from the commit of package apache2-mod_authn_otp for 
openSUSE:Factory checked in at 2014-11-12 00:21:52

Comparing /work/SRC/openSUSE:Factory/apache2-mod_authn_otp (Old)
 and  /work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new (New)


Package is "apache2-mod_authn_otp"

Changes:

--- 
/work/SRC/openSUSE:Factory/apache2-mod_authn_otp/apache2-mod_authn_otp.changes  
2014-06-01 19:40:46.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new/apache2-mod_authn_otp.changes
 2014-11-12 00:22:18.0 +0100
@@ -1,0 +2,6 @@
+Fri Oct 31 07:31:40 UTC 2014 - pgaj...@suse.com
+
+- call spec-cleaner
+- use apache rpm macros
+
+---



Other differences:
--
++ apache2-mod_authn_otp.spec ++
--- /var/tmp/diff_new_pack.yRVySy/_old  2014-11-12 00:22:19.0 +0100
+++ /var/tmp/diff_new_pack.yRVySy/_new  2014-11-12 00:22:19.0 +0100
@@ -18,17 +18,17 @@
 
 
 %define mod_name   mod_authn_otp
-%define apxs   /usr/sbin/apxs2
-%define apache_libexecdir  %(%{apxs} -q LIBEXECDIR)
-
 Name:   apache2-%{mod_name}
 Version:1.1.7
 Release:0
 Summary:Apache module for one-time password authentication
 License:Apache-2.0
 Group:  Productivity/Networking/Web/Servers
-Source: 
https://s3.amazonaws.com/archie-public/mod-authn-otp/%{mod_name}-%{version}.tar.gz
 Url:http://mod-authn-otp.googlecode.com/
+Source: 
https://s3.amazonaws.com/archie-public/mod-authn-otp/%{mod_name}-%{version}.tar.gz
+BuildRequires:  apache-rpm-macros
+BuildRequires:  apache2-devel
+Provides:   otptool = %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1100
 BuildRequires:  libopenssl-devel
@@ -37,9 +37,6 @@
 BuildRequires:  openssl-devel
 %endif
 
-BuildRequires:  apache2-devel
-Provides:   otptool = %{version}
-
 %description
 mod_authn_otp is an Apache web server module for two-factor authentication
 using one-time passwords (OTP) generated via the HOTP/OATH algorithm
@@ -68,18 +65,15 @@
 authentication into any existing authentication solution. 
 
 %prep
-%setup -n %{mod_name}-%{version}
+%setup -q -n %{mod_name}-%{version}
 
 %build
-%{configure}
-make
-
-%clean
-%{__rm} -rf %{buildroot}
+%configure
+make %{?_smp_mflags}
 
 %install
-%{__install} -d %{buildroot}%{apache_libexecdir}
-DESTDIR=%{buildroot} %{makeinstall}
+install -d %{buildroot}%{apache_libexecdir}
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit apache2-mod_authn_otp for openSUSE:Factory

2014-06-01 Thread h_root
Hello community,

here is the log from the commit of package apache2-mod_authn_otp for 
openSUSE:Factory checked in at 2014-06-01 19:40:34

Comparing /work/SRC/openSUSE:Factory/apache2-mod_authn_otp (Old)
 and  /work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new (New)


Package is "apache2-mod_authn_otp"

Changes:

--- 
/work/SRC/openSUSE:Factory/apache2-mod_authn_otp/apache2-mod_authn_otp.changes  
2014-03-23 21:07:56.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_authn_otp.new/apache2-mod_authn_otp.changes
 2014-06-01 19:40:46.0 +0200
@@ -1,0 +2,14 @@
+Wed May 28 08:59:41 UTC 2014 - tchva...@suse.com
+
+- Fix source download url.
+
+---
+Sat May 17 16:41:52 UTC 2014 - arc...@dellroad.org
+
+- Update to version 1.1.7
+  + Fixed bug where users file could get deleted when using Apache worker MPM 
(issue #22)
+  + Added "OTPAuthFallThrough" to allow fall through to other auth providers 
(issue #23)
+  + Allow "logout" by sending empty password (issue #24)
+  + Count PINs against OTPAuthMaxOTPFailure even when they have the wrong 
length
+
+---

Old:

  mod_authn_otp-1.1.6.tar.gz

New:

  mod_authn_otp-1.1.7.tar.gz



Other differences:
--
++ apache2-mod_authn_otp.spec ++
--- /var/tmp/diff_new_pack.njlZAB/_old  2014-06-01 19:40:47.0 +0200
+++ /var/tmp/diff_new_pack.njlZAB/_new  2014-06-01 19:40:47.0 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package apache2-mod_authn_otp
 #
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Archie L. Cobbs 
 #
 # All modifications and additions to the file contributed by third parties
@@ -11,25 +12,27 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define mod_name   mod_authn_otp
 %define apxs   /usr/sbin/apxs2
 %define apache_libexecdir  %(%{apxs} -q LIBEXECDIR)
 
 Name:   apache2-%{mod_name}
-Version:1.1.6
+Version:1.1.7
 Release:0
-License:Apache-2.0
 Summary:Apache module for one-time password authentication
+License:Apache-2.0
 Group:  Productivity/Networking/Web/Servers
-Source: 
http://mod-authn-otp.googlecode.com/files/%{mod_name}-%{version}.tar.gz
-URL:http://mod-authn-otp.googlecode.com/
-BuildRoot:  %{_tmppath}/%{name}-%{version}-root
+Source: 
https://s3.amazonaws.com/archie-public/mod-authn-otp/%{mod_name}-%{version}.tar.gz
+Url:http://mod-authn-otp.googlecode.com/
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1100
-BuildRequires: libopenssl-devel openssl
+BuildRequires:  libopenssl-devel
+BuildRequires:  openssl
 %else
 BuildRequires:  openssl-devel
 %endif

++ mod_authn_otp-1.1.6.tar.gz -> mod_authn_otp-1.1.7.tar.gz ++
 2700 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/mod_authn_otp-1.1.6/CHANGES new/mod_authn_otp-1.1.7/CHANGES
--- old/mod_authn_otp-1.1.6/CHANGES 2013-04-03 04:10:05.0 +0200
+++ new/mod_authn_otp-1.1.7/CHANGES 2014-05-17 18:26:14.0 +0200
@@ -1,3 +1,11 @@
+
+Version 1.1.7 (r147) released 17 May 2014
+
+- Fixed bug where users file could get deleted when using Apache worker 
MPM (issue #22)
+- Added "OTPAuthFallThrough" to allow fall through to other auth providers 
(issue #23)
+- Allow "logout" by sending empty password (issue #24)
+- Count PINs against OTPAuthMaxOTPFailure even when they have the wrong 
length
+
 Version 1.1.6 (r131) released 2 Apr 2013
 
 - Detect errors when writing to the new users.txt file
@@ -40,4 +48,4 @@
 
 - Initial release
 
-$Id: CHANGES 131 2013-04-03 02:10:00Z archie.cobbs $
+$Id: CHANGES 147 2014-05-17 16:26:13Z archie.cobbs $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/mod_authn_otp-1.1.6/configure.ac new/mod_authn_otp-1.1.7/configure.ac
---