commit apache2-mod_authn_otp 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 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 - pgajdos@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
-
participants (1)
-
root