Sync from SUSE:SLFO:Main apache-rex revision afc054ffee5ed3ada3b54b02aa6a57e1

This commit is contained in:
Adrian Schröter 2024-05-03 11:04:48 +02:00
commit 886bcfb52f
7 changed files with 1097 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

4
apache-rex-rpmlintrc Normal file
View File

@ -0,0 +1,4 @@
addFilter("apache-rex.noarch: W: files-duplicate")
addFilter("apache-rex.noarch: W: zero-length")
addFilter("apache-rex.noarch: E: zero-length")
addFilter("apache-rex.noarch: W: wrong-file-end-of-line-encoding")

926
apache-rex.changes Normal file
View File

@ -0,0 +1,926 @@
-------------------------------------------------------------------
Thu Dec 16 14:41:42 UTC 2021 - David Anes <david.anes@suse.com>
- version update to 20211102
* add mod_php-ssl
-------------------------------------------------------------------
Tue Jan 12 08:48:46 UTC 2021 - pgajdos@suse.com
- require apache2-utils
-------------------------------------------------------------------
Fri Jan 8 14:16:30 UTC 2021 - pgajdos@suse.com
- version update to 20210108
* count php8 in
-------------------------------------------------------------------
Wed Nov 25 13:27:00 UTC 2020 - pgajdos@suse.com
- version update to 20201125
* curl changed --help behavior
-------------------------------------------------------------------
Tue Sep 1 16:10:48 UTC 2020 - pgajdos@suse.com
- version update to 20200901
* added mod_proxy_express-basic-gdbm
* amended mod_proxy_express-basic to use sdbm, which should
be always available
-------------------------------------------------------------------
Sun May 3 14:37:06 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
- Replace incorrect usage of %_libexecdir/rpm with %_rpmconfigdir
-------------------------------------------------------------------
Tue Apr 7 15:06:02 UTC 2020 - pgajdos@suse.com
- version update to 20200407
* added mod_ssl-SSLProxyEngine
-------------------------------------------------------------------
Fri Apr 3 13:53:46 UTC 2020 - pgajdos@suse.com
- version update to 20200403
* added mod_proxy_http2-basic
-------------------------------------------------------------------
Thu Apr 2 13:39:52 UTC 2020 - pgajdos@suse.com
- version update to 20200402
* minor fixes
-------------------------------------------------------------------
Fri Feb 28 17:27:46 UTC 2020 - pgajdos@suse.com
- version update to 20200228
* refactor mod_authn_dbd-mysql, create lib/mysql
* new mod_php-mysql
-------------------------------------------------------------------
Mon Feb 10 16:10:10 UTC 2020 - pgajdos@suse.com
- version update to 20200210
* add debug-wku
-------------------------------------------------------------------
Wed Dec 18 10:29:45 UTC 2019 - pgajdos@suse.com
- version update to 20191219
* modify: mod_authn_dbd-pgsql: control ipc
* new: mod_authz_unixgroup
-------------------------------------------------------------------
Tue Dec 3 13:34:14 UTC 2019 - pgajdos@suse.com
- version update to 20191203
* add uwsgi support
* new
. mod_proxy_uwsgi-basic
. mod_wsgi-basic
-------------------------------------------------------------------
Tue Oct 22 06:19:52 UTC 2019 - pgajdos@suse.com
- version update to 20191022
* add softshm support
* new
. mod_whatkilledus-basic
. mod_diagnostics-basic
. mod_ssl-pkcs11
* expand
. core-ErrorLogFormat-basic
. mod_ssl-basic
. core-KeepAlive-basic
. mod_log_config-basic
. mod_log_debug-basic
. mod_dumpio-basic
. mod_log_forensic-basic
. mod_unique_id-basic
-------------------------------------------------------------------
Fri Sep 6 09:47:56 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
- version update to 20191006
* mod_ssl-basic: show SSL protocol used by default
-------------------------------------------------------------------
Wed Sep 4 11:22:16 UTC 2019 - pgajdos@suse.com
- version update to 20191005
* extended core-ranges-basic
* fix openssl_ocsp_responder_stop()
* more generic ssl error checking
* mysql_install_db --force required by older distros
-------------------------------------------------------------------
Fri Jun 28 09:00:12 UTC 2019 - pgajdos@suse.com
- version update to 20190628
* new example mod_authnz_external-basic
* nex example mod_nss-basic
-------------------------------------------------------------------
Thu Jun 27 09:31:36 UTC 2019 - pgajdos@suse.com
- version update to 20190627
* new example mod_bw-basic
* new example mod_auth_token-basic
* new example mod_rivet-basic
-------------------------------------------------------------------
Wed Jun 26 09:17:01 UTC 2019 - pgajdos@suse.com
- version update to 20190626
* new example mod_authn_otp-basic
* new example mod_gnutls-basic
-------------------------------------------------------------------
Tue Jun 25 13:47:39 UTC 2019 - pgajdos@suse.com
- version update to 20190625
* new example mod_fcgid-basic
-------------------------------------------------------------------
Mon Jun 24 19:50:45 UTC 2019 - pgajdos@suse.com
- version update to 20190624
* new example mod_bmx-basic
* new rpm macro %apache_rex_deps
-------------------------------------------------------------------
Mon Jun 10 06:38:19 UTC 2019 - pgajdos@suse.com
- version update to 20190610
* run-rex: slight reactorization
* new: mod_auth_core-env
* fixed mod_proxy_ftp-basic (seccomp_sandbox=NO)
-------------------------------------------------------------------
Wed May 29 13:37:26 UTC 2019 - pgajdos@suse.com
- version update to 20190529
* prepare for usage in module package checking
- modified sources
% macros.apache-rex
-------------------------------------------------------------------
Fri Feb 8 12:23:25 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
- add mod_proxy_fcgi-php-fpm-auth-RewriteRule
-------------------------------------------------------------------
Tue Feb 5 07:47:16 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
- add mod_proxy_fcgi-php-fpm-CGIPassAuth
-------------------------------------------------------------------
Tue Jan 22 19:36:02 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
- run-rex: dynamic is not valid crypto device
-------------------------------------------------------------------
Tue Nov 27 11:13:49 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
- added mod_php-basic
- modules can be given as a regular expression, e. g. 'mod_php[5,7]'
-------------------------------------------------------------------
Fri Nov 9 15:22:02 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
- do not run mod_ssl-verify-server-OCSPStapling when curl does
not support --cert-status
-------------------------------------------------------------------
Fri Nov 2 20:13:20 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
- ssl refactoring
- amended:
* mod_ssl-basic
* mod_ssl-SSLCryptoDevice
* mod_ssl-verify-client
- moved:
* mod_ssl-CRL to mod_ssl-verify-client-CRL
- new:
* mod_ssl-verify-client-OCSP
* mod_ssl-verify-server-CRL
* mod_ssl-verify-server-OCSP
* mod_ssl-verify-server-OCSPStapling
-------------------------------------------------------------------
Thu Sep 13 20:21:18 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
- core-HttpProtocolOptions-basic: fix for sle11 (nc had not wait
for response)
- mod_perl-basic: fix for sle11 (was hardcoded 2.4 access control)
-------------------------------------------------------------------
Thu Aug 30 10:10:55 UTC 2018 - pgajdos@suse.com
- core-Satisfy-basic works also for 2.4
-------------------------------------------------------------------
Mon Aug 13 14:05:40 UTC 2018 - pgajdos@suse.com
- mod_proxy_scgi: use perl SCGI instead of python SCGI, which
is not ported to python3 so far
-------------------------------------------------------------------
Fri Jul 20 12:42:26 UTC 2018 - pgajdos@suse.com
- core-ServerAlias-basic: use NameVirtualHost where appropriate
(fixes the test on sle11)
-------------------------------------------------------------------
Mon Jun 11 16:08:56 UTC 2018 - pgajdos@suse.com
- add mod_authn_dbd-mysql
- add mod_authn_dbd-pgsql
-------------------------------------------------------------------
Wed Dec 27 14:58:27 UTC 2017 - pgajdos@suse.com
- mod_macro-basic: lbmethod_traffic requires more trafic, otherwise
sometimes (e. g. on i586 obs worker) it happend that backend1
get backend1 all the requests
-------------------------------------------------------------------
Fri Dec 22 23:27:30 UTC 2017 - pgajdos@suse.com
- add mod_ssl-verify-client
- add mod_ssl-CRL
-------------------------------------------------------------------
Thu Dec 21 10:32:03 UTC 2017 - pgajdos@suse.com
- skip mod_ssl-basic when curl does not know --resolve
-------------------------------------------------------------------
Wed Nov 15 14:05:51 UTC 2017 - pgajdos@suse.com
- updated to 20171117: flat directory structure under
$AREX_RUN_DIR
- added macros.apache-rex
-------------------------------------------------------------------
Wed Oct 4 09:35:08 UTC 2017 - pgajdos@suse.com
- move running %check to apache-rex-check package
-------------------------------------------------------------------
Tue Sep 12 15:03:51 UTC 2017 - pgajdos@suse.com
- amended mod_http-* to not run with prefork
-------------------------------------------------------------------
Mon Jun 26 12:42:06 UTC 2017 - pgajdos@suse.com
- added
* mod_proxy-ordering-ProxyPass
* mod_proxy-ordering-Location
* mod_proxy-ordering-ProxyPass-Location
* mod_cgi-stderr
* mod_cgi-ScriptLog
- mod_reqtimeout-basic now works with 2.2.32
- mod_ssl-basic: allow SSLv3
-------------------------------------------------------------------
Mon May 22 14:16:30 UTC 2017 - pgajdos@suse.com
- added user(ftp) and group(ftp) to be able to run vsftpd
-------------------------------------------------------------------
Fri Apr 28 11:25:41 UTC 2017 - pgajdos@suse.com
- added
* mod_proxy-exceptions
* mod_sesion-write-read
* mod_session_crypto-write-read
* core-FileETag-basic
-------------------------------------------------------------------
Mon Mar 20 16:00:15 UTC 2017 - pgajdos@suse.com
- do not use %doc */
-------------------------------------------------------------------
Tue Feb 21 07:29:19 UTC 2017 - pgajdos@suse.com
- added
* core-HttpProtocolOptions-basic
- improved several examples along 2.4.25
- turn off debug-coredump as coredumpctl does not report any
coredumps on change root (see *.spec for details)
-------------------------------------------------------------------
Thu Nov 24 09:00:52 UTC 2016 - pgajdos@suse.com
- lowered number of expected failures for sle12 and sle12sp1 as we
link apache2 from :Update now
-------------------------------------------------------------------
Tue Nov 15 11:38:41 UTC 2016 - pgajdos@suse.com
- added
* core-chunked-data
* mod_mime-TypesConfig
-------------------------------------------------------------------
Tue Sep 20 08:30:28 UTC 2016 - pgajdos@suse.com
- added
* mod_proxy-cache
* mod_proxy-cache-poisoning
* mod_cgi-httpoxy
* devel-mod_example_1
* devel-mod_example_2
* mod_auth_digest-Authorization
* devel-mod_example_config_simple
* devel-print-headers
* devel-read-request-body
* devel-form-variables
* mod_filter-AddOutputFilterByType
-------------------------------------------------------------------
Mon Jun 6 13:47:30 UTC 2016 - pgajdos@suse.com
- added
* mod_firehose-proxy
* mod_firehose-connection
* core-KeepAlive-basic
* mod_firehose-pipe
* mod_firehose-demultiplex
* mod_firehose-basic
* mod_allowhandlers-basic
* debug-coredump
* mod_http2-push
-------------------------------------------------------------------
Tue May 24 15:09:09 UTC 2016 - pgajdos@suse.com
- added
* core-Define-basic
* mod_proxy-long-url-abz53218
* mod_proxy-long-url-abz53218-waround
-------------------------------------------------------------------
Fri May 20 09:09:36 UTC 2016 - pgajdos@suse.com
- added
* mod_lua-LuaMapHandler
* mod_lua-LuaHookAuthChecker
* core-ContentDigest-basic
-------------------------------------------------------------------
Wed May 18 09:04:28 UTC 2016 - pgajdos@suse.com
- added
* mod_lua-LuaInputFilter
-------------------------------------------------------------------
Tue May 17 08:14:37 UTC 2016 - pgajdos@suse.com
- added
* mod_lua-LuaHookFixups
* mod_lua-LuaOutputFilter
-------------------------------------------------------------------
Mon May 16 12:55:46 UTC 2016 - pgajdos@suse.com
- added
* core-IfDefine-basic
* core-IfModule-basic
-------------------------------------------------------------------
Fri May 13 09:11:36 UTC 2016 - pgajdos@suse.com
- added
* core-Warning-basic
* core-Error-basic
-------------------------------------------------------------------
Thu May 12 15:27:39 UTC 2016 - pgajdos@suse.com
- AREX_RUN_PORT* variables/expansions renamed to AREX_PORT
-------------------------------------------------------------------
Wed May 11 07:14:44 UTC 2016 - pgajdos@suse.com
- added mod_lua-LuaHookTypeChecker
-------------------------------------------------------------------
Thu May 5 20:08:45 UTC 2016 - pgajdos@suse.com
- fixed several examples for httpd 2.5
-------------------------------------------------------------------
Tue May 3 19:24:07 UTC 2016 - pgajdos@suse.com
- added
* mod_lua-LuaHookLog
-------------------------------------------------------------------
Thu Apr 28 15:17:11 UTC 2016 - pgajdos@suse.com
- added
* core-ServerRoot-basic
-------------------------------------------------------------------
Wed Apr 27 06:43:02 UTC 2016 - pgajdos@suse.com
- added
* mod_proxy_scgi-basic
-------------------------------------------------------------------
Tue Apr 26 09:07:15 UTC 2016 - pgajdos@suse.com
- added
* mod_lua-LuaHookAccessChecker
-------------------------------------------------------------------
Mon Apr 25 10:46:38 UTC 2016 - pgajdos@suse.com
- added
* mod_lua-LuaHookMapToStorage
-------------------------------------------------------------------
Thu Apr 21 07:51:30 UTC 2016 - pgajdos@suse.com
- added
* mod_lua-LuaHookTranslateName
* mod_lua-authz-provider-abz57204
* mod_lua-hooks
-------------------------------------------------------------------
Wed Apr 20 05:51:38 UTC 2016 - pgajdos@suse.com
- added
* mod_lua-LuaQuickHandler
-------------------------------------------------------------------
Tue Apr 19 12:13:00 UTC 2016 - pgajdos@suse.com
- fixed ServerAdmin-basic for older distros (use cgi script instead
of document)
-------------------------------------------------------------------
Fri Apr 15 06:54:39 UTC 2016 - pgajdos@suse.com
- added
* core-DirectoryMatch-basic
* core-DirectoryMatch-env
-------------------------------------------------------------------
Thu Apr 14 07:56:01 UTC 2016 - pgajdos@suse.com
- more git friendly structure: added content-file support,
dropped numbers from example directories names, added content
file, dropped insert-new-rex and delete-rex
- added
* core-ServerAdmin-basic
-------------------------------------------------------------------
Wed Apr 13 14:03:30 UTC 2016 - pgajdos@suse.com
- added
* core-ErrorDocument-basic
-------------------------------------------------------------------
Wed Apr 13 08:17:39 UTC 2016 - pgajdos@suse.com
- fix i586 build
-------------------------------------------------------------------
Tue Apr 12 18:55:28 UTC 2016 - pgajdos@suse.com
- structure reworked, can be used stand alone
- renamed to apache-rex (Apache HTTPD Runnable Examples)
- insert-new-test renamed to insert-new-rex, delete-test renamed
to delete-rex, added run-rex, README.md and LICENSE
- spec file reworked accordingly
-------------------------------------------------------------------
Wed Apr 6 11:09:12 UTC 2016 - pgajdos@suse.com
- added
* mod_proxy_wstunnel-basic
-------------------------------------------------------------------
Mon Apr 4 12:09:27 UTC 2016 - pgajdos@suse.com
- added
* mod_authnz_fcgi-basic
-------------------------------------------------------------------
Fri Apr 1 08:25:58 UTC 2016 - pgajdos@suse.com
- added
* mod_proxy_ftp-basic
* mod_proxy_fcgi-basic
* mod_proxy_fcgi-php-fpm
-------------------------------------------------------------------
Wed Mar 30 14:32:51 UTC 2016 - pgajdos@suse.com
- added
* mod_proxy_connect-basic
-------------------------------------------------------------------
Wed Mar 23 22:42:03 UTC 2016 - pgajdos@suse.com
- added
* mod_proxy_express-basic
-------------------------------------------------------------------
Fri Mar 18 08:51:26 UTC 2016 - pgajdos@suse.com
- added
* mod_lua-authz-provider
-------------------------------------------------------------------
Thu Mar 17 08:19:14 UTC 2016 - pgajdos@suse.cz
- added
* mod_negotiation-basic
* mod_ratelimit-basic
* mod_usertrack-basic
-------------------------------------------------------------------
Wed Mar 16 13:37:50 UTC 2016 - pgajdos@suse.com
- added
* mod_policy-basic
-------------------------------------------------------------------
Tue Mar 15 15:26:13 UTC 2016 - pgajdos@suse.com
- added
* mod_mime_magic-basic
* mod_lua-basic
-------------------------------------------------------------------
Mon Mar 14 15:43:23 UTC 2016 - pgajdos@suse.com
- added
* mod_unique_id-basic
-------------------------------------------------------------------
Wed Mar 9 10:58:44 UTC 2016 - pgajdos@suse.com
- added
* mod_cache-filter
* mod_file_cache-basic
* mod_expires-basic
-------------------------------------------------------------------
Tue Mar 8 12:44:32 UTC 2016 - pgajdos@suse.com
- added
* mod_cache-basic
* mod_cache-disk
-------------------------------------------------------------------
Fri Mar 4 12:38:31 UTC 2016 - pgajdos@suse.com
- added
* mod_session-basic
* mod_session_crypto-basic
-------------------------------------------------------------------
Thu Mar 3 08:32:11 UTC 2016 - pgajdos@suse.com
- added
* mod_data-basic
-------------------------------------------------------------------
Wed Mar 2 12:57:18 UTC 2016 - pgajdos@suse.com
- added
* mod_reqtimeout-basic -> buildrequire python for timeout-test.py
- modified
* mod_dav-basic: for older 2.4 branch it does not return 201,
not checking it
-------------------------------------------------------------------
Mon Feb 29 10:43:43 UTC 2016 - pgajdos@suse.com
- added
* Limit-basic
* LimitExcept-basic
- modified
* mod_dav-basic (use RequireAll)
-------------------------------------------------------------------
Fri Feb 26 11:23:56 UTC 2016 - pgajdos@suse.com
- added
* mod_dav-basic
-------------------------------------------------------------------
Thu Feb 25 10:17:21 UTC 2016 - pgajdos@suse.com
- added
* mod_speling-basic
-------------------------------------------------------------------
Wed Feb 24 09:21:28 UTC 2016 - pgajdos@suse.com
- added
* mod_logio-basic
-------------------------------------------------------------------
Tue Feb 23 13:12:01 UTC 2016 - pgajdos@suse.com
- added
* mod_macro-basic
-------------------------------------------------------------------
Sun Feb 21 16:33:11 UTC 2016 - pgajdos@suse.com
- added
* mod_allowmethods-basic
-------------------------------------------------------------------
Fri Feb 19 13:16:35 UTC 2016 - pgajdos@suse.com
- added
* mod_auth_form-basic
-------------------------------------------------------------------
Thu Feb 18 10:38:43 UTC 2016 - pgajdos@suse.com
- added
* Satisfy-basic
* Require-Any-All-None-basic
* mod_authn_anon-basic
-------------------------------------------------------------------
Wed Feb 17 12:27:02 UTC 2016 - pgajdos@suse.com
- added
* mod_authz_groupfile
* mod_authz_owner
-------------------------------------------------------------------
Fri Feb 12 09:22:56 UTC 2016 - pgajdos@suse.com
- added
* mod_authn_dbd-basic
* mod_authn_dbd-Digest
-------------------------------------------------------------------
Thu Feb 11 11:49:04 UTC 2016 - pgajdos@suse.com
- added
* mod_log_debug-basic
-------------------------------------------------------------------
Wed Feb 10 10:35:25 UTC 2016 - pgajdos@suse.com
- added
* mod_dumpio-basic
* LogLevel-basic
-------------------------------------------------------------------
Tue Feb 9 13:51:19 UTC 2016 - pgajdos@suse.com
- added
* If-basic
-------------------------------------------------------------------
Mon Feb 8 14:20:56 UTC 2016 - pgajdos@suse.com
- modified
* mod_http2-basic: use --http1.1 curl switch instead of relying
on the default
* mod_auth_digest-basic: use DefaultRuntimeDir
- added
* mod_log_forensic-basic
-------------------------------------------------------------------
Sun Feb 7 20:54:38 UTC 2016 - pgajdos@suse.com
- added
* mod_auth_digest
-------------------------------------------------------------------
Fri Feb 5 14:55:33 UTC 2016 - pgajdos@suse.com
- added
* mod_xml2enc-basic
* mod_auth_basic-basic
* mod_authn_dbm-basic
-------------------------------------------------------------------
Thu Feb 4 15:23:04 UTC 2016 - pgajdos@suse.com
- added
* mod_headers-basic
* mod_setenvif-basic
-------------------------------------------------------------------
Wed Feb 3 10:11:13 UTC 2016 - pgajdos@suse.com
- added
* mod_rewrite-proxying
* mod_rewrite-dynamic-vhosts
* mod_rewrite-advanced
-------------------------------------------------------------------
Tue Feb 2 14:12:27 UTC 2016 - pgajdos@suse.com
- added
* mod_rewrite-control-access
* mod_remoteip-basic
-------------------------------------------------------------------
Mon Feb 1 08:39:55 UTC 2016 - pgajdos@suse.com
- added
* ServerAlias-basic
* mod_vhost_alias-basic
-------------------------------------------------------------------
Fri Jan 29 12:12:12 UTC 2016 - pgajdos@suse.com
- added
* UseCanonicalName-basic
-------------------------------------------------------------------
Wed Jan 27 13:10:16 UTC 2016 - pgajdos@suse.com
- added
* mod_rewrite-RewriteMap
* mod_autoindex-basic
-------------------------------------------------------------------
Tue Jan 26 20:33:16 UTC 2016 - pgajdos@suse.com
- added
* mod_rewrite-redirecting
* mod_dir-basic
* mod_dir-FallbackResource
-------------------------------------------------------------------
Mon Jan 25 15:41:12 UTC 2016 - pgajdos@suse.com
- added
* mod_rewrite-RewriteBase
-------------------------------------------------------------------
Thu Jan 21 13:49:21 UTC 2016 - pgajdos@suse.com
- added
* mod_rewrite-basic
* mod_rewrite-RewriteCond
-------------------------------------------------------------------
Wed Jan 20 17:50:40 UTC 2016 - pgajdos@suse.com
- added
* mod_access_compat-basic
-------------------------------------------------------------------
Tue Jan 19 16:20:20 UTC 2016 - pgajdos@suse.com
- added
* mod_proxy_html-basic
-------------------------------------------------------------------
Mon Jan 18 14:37:30 UTC 2016 - pgajdos@suse.com
- added
* mod_ssl-SSLCryptoDevice
-------------------------------------------------------------------
Thu Jan 14 12:26:05 UTC 2016 - pgajdos@suse.com
- added
* VirtualHost-name-based
-------------------------------------------------------------------
Thu Jan 14 10:14:14 UTC 2016 - pgajdos@suse.com
- skip mod_proxy_balancer-failonstatus and mod_proxy_balancer-abz56925
for version < 2.2.17 inside testsuite, not in spec file
-------------------------------------------------------------------
Mon Jan 11 13:19:12 UTC 2016 - pgajdos@suse.com
- added
* mod_http2-basic
-------------------------------------------------------------------
Wed Jan 6 11:28:02 UTC 2016 - pgajdos@suse.com
- added
* mod_actions-basic
* mod_asis-basic
* mod_version
- fixed
* mod_filter-basic for 2.2 branch
* mod_proxy_balancer-basic for 2.4.6
* mod_proxy_balancer-failonstatus for 2.4.6
* mod_proxy_balancer-abz56925 for 2.4.6
-------------------------------------------------------------------
Tue Dec 29 12:32:57 UTC 2015 - pgajdos@suse.com
- added
* mod_includes-basic
* mod_mime-filters-chain
-------------------------------------------------------------------
Wed Dec 23 11:36:57 UTC 2015 - pgajdos@suse.com
- added
* mod_charset_lite-basic
* mod_reflector-basic
-------------------------------------------------------------------
Tue Dec 22 14:57:14 UTC 2015 - pgajdos@suse.com
- added
* mod_sed-basic
* mod_mime-filters
* mod_deflate-basic
-------------------------------------------------------------------
Mon Dec 21 11:37:22 UTC 2015 - pgajdos@suse.com
- added
* mod_ssl-basic
* SetOutputFilter-basic
* SetInputFilter-basic
-------------------------------------------------------------------
Sat Dec 12 20:47:19 UTC 2015 - pgajdos@suse.com
- added
* mod_proxy_balancer-failonstatus
* mod_proxy_balancer-abz56925
-------------------------------------------------------------------
Fri Dec 11 08:42:01 UTC 2015 - pgajdos@suse.com
- added:
* mod_userdir-basic
* mod_proxy-ProxyErrorOverride
-------------------------------------------------------------------
Thu Dec 10 10:31:53 UTC 2015 - pgajdos@suse.com
- added:
* ErrorLogFormat-basic
* mod_log_config-basic
* mod_cgi-basic
* mod_mime-basic
-------------------------------------------------------------------
Wed Dec 9 10:20:26 UTC 2015 - pgajdos@suse.com
- added:
* mod_proxy_balancer-basic
* forward proxy subtest to mod_proxy-basic
* mod_authz_user-basic
-------------------------------------------------------------------
Tue Dec 8 12:49:22 UTC 2015 - pgajdos@suse.com
- added:
* Options-basic
* AllowOverride-basic
* mod_proxy-basic
-------------------------------------------------------------------
Mon Dec 7 14:31:34 UTC 2015 - pgajdos@suse.com
- added:
* VirtualHost-basic
* mod_log_config-basic
* ServerSignature-basic
-------------------------------------------------------------------
Fri Nov 27 13:52:53 UTC 2015 - pgajdos@suse.com
- added:
* mod_alias-basic
-------------------------------------------------------------------
Thu Nov 26 08:30:37 UTC 2015 - pgajdos@suse.com
- added:
* test-framework
* mod_auth_core-basic
* mod_status-basic
* mod_status-ExtendedStatus-basic
* mod_info-basic
-------------------------------------------------------------------
Tue Nov 24 11:48:46 UTC 2015 - pgajdos@suse.com
- package created

66
apache-rex.spec Normal file
View File

@ -0,0 +1,66 @@
#
# spec file for package apache-rex
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# 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 https://bugs.opensuse.org/
#
%define macros_dir %{_rpmconfigdir}/macros.d
%define macros_file macros.apache-rex
Name: apache-rex
Version: 20211102
Release: 0
Summary: Script for Apache HTTPD Runnable Examples
License: Apache-2.0
Group: Documentation/Howto
URL: https://github.com/pgajdos/apache-rex
Source0: %{name}.tar.bz2
Source1: apache-rex-rpmlintrc
Source2: %{macros_file}
# simple script to generate the tarball from a commit id
Source1000: generate_tarball.sh
Requires: apache2-devel
Requires: apache2-utils
Requires: curl
Requires: lsof
Requires: openssl
Requires: openssl-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Runnable examples for Apache HTTP server. Can be used starting
point for examples, testcases and other inspiration.
%prep
%setup -q -n %{name}
%build
%install
mkdir -p %{buildroot}%{_bindir}
cp run-rex %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_docdir}/%{name}
cp -r */ LICENSE README.md contents %{buildroot}%{_docdir}/%{name}
mkdir -p %{buildroot}%{macros_dir}
install -m 644 %{SOURCE2} %{buildroot}%{macros_dir}/%{macros_file}
%files
%defattr(-,root,root)
%{_bindir}/run-rex
%{macros_dir}/%{macros_file}
%{_docdir}/%{name}
%changelog

BIN
apache-rex.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

13
generate_tarball.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
if [ -n "$1" ]; then
rm -rf apache_rex
git clone https://github.com/pgajdos/apache-rex __repo
cd __repo
git checkout -b $1
git archive --format=tar --prefix="apache-rex/" $1 | bzip2 > ../apache-rex.tar.bz2
cd ..
rm -rf __repo
else
echo "Usage: generate.tarball.sh COMMIT_ID"
fi

62
macros.apache-rex Normal file
View File

@ -0,0 +1,62 @@
%__rex_examples %{_docdir}/apache-rex/
%__rex_run_dir ./apache-rex
%__rex_logfile %{__rex_run_dir}/run_log
%__rex_verbosity 1
#
# macro: run supplied apache runnable example
#
# usage: %apache_rex_check [parameters] example_dir
#
# parameters: -r run_base_dir where to write examples output, logs, etc.
# default: see %{__rex_run_dir}
# -v verbosity verbosity of the output [0, 1, 2]
# default: see %{__rex_verbosity}
# -m module_path coma separated list; path(s) to additional modules (to be tested)
# default: ''
# -b binary_path coma separated list; path(s) to additional binaries (to be tested)
# default: ''
#
%apache_rex_check(r:,v:,m:,b:) \
EXAMPLE_DIRS="%{*}" \
if [ -z "$EXAMPLE_DIRS" ]; then \
echo "ERROR: no example dir provided" \
exit 1 \
fi \
EDS= \
for EXAMPLE_DIR in $EXAMPLE_DIRS; do \
if [ ! -d "$EXAMPLE_DIR" ]; then \
EXAMPLE_DIR="%{__rex_examples}$EXAMPLE_DIR" \
if [ ! -d "$EXAMPLE_DIR" ]; then \
echo "ERROR: example $EXAMPLE_DIR not found" \
exit 1 \
fi \
fi \
EDS="$EDS $EXAMPLE_DIR" \
done \
EXAMPLE_DIRS="$EDS" \
REX_RUN_DIR_BASE="%{-r:%{-r*}}" \
if [ -z "$REX_RUN_DIR" ]; then \
REX_RUN_DIR_BASE='%{__rex_run_dir}' \
fi \
mkdir -p $REX_RUN_DIR_BASE \
REX_VERBOSITY="%{-v:%{-v*}}" \
if [ -z "$REX_VERBOSITY" ]; then \
REX_VERBOSITY='%{__rex_verbosity}' \
fi \
REX_MODULE_PATH="%{-m:%{-m*}}" \
REX_BINARY_PATH="%{-b:%{-b*}}" \
VERBOSITY=$REX_VERBOSITY RUN_DIR_BASE=$REX_RUN_DIR_BASE MODULE_PATH=$REX_MODULE_PATH BINARY_PATH=$REX_BINARY_PATH run-rex $EXAMPLE_DIRS | tee %{__rex_logfile} \
%nil
#
# macro: core requires for apache-rex
#
%apache_rex_deps \
BuildRequires: binutils \
BuildRequires: curl \
BuildRequires: lsof \
%nil