public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mod_perl] epel9: 2.0.13 release
@ 2026-11-27 22:43 Andrew Bauer
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Bauer @ 2026-11-27 22:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mod_perl
Branch : epel9
Commit : da37edf670931e38aa10a8c53a9c790f4af5d0ab
Author : Andrew Bauer <zonexpertconsulting@outlook.com>
Date : 2023-10-22T19:29:51-05:00
Stats : +21/-751 in 9 file(s)
URL : https://src.fedoraproject.org/rpms/mod_perl/c/da37edf670931e38aa10a8c53a9c790f4af5d0ab?branch=epel9
Log:
2.0.13 release
---
diff --git a/mod_perl-2.0.11-Do-not-use-deprecated-ap_get_server_version-in-Serve.patch b/mod_perl-2.0.11-Do-not-use-deprecated-ap_get_server_version-in-Serve.patch
deleted file mode 100644
index b55ad53..0000000
--- a/mod_perl-2.0.11-Do-not-use-deprecated-ap_get_server_version-in-Serve.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From e839fb0bb30327de7a1b7ca9cef7c05b4a59eae4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Wed, 1 Jul 2020 11:38:44 +0200
-Subject: [PATCH] Do not use deprecated ap_get_server_version() in
- Server::Status
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It produced warnings with httpd 2.4.
-
-CPAN RT#124972
-
-Signed-off-by: Petr Písař <ppisar@redhat.com>
----
- docs/api/Apache2/ServerUtil.pod | 3 ++-
- lib/Apache2/Status.pm | 2 +-
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/docs/api/Apache2/ServerUtil.pod b/docs/api/Apache2/ServerUtil.pod
-index 96e3a28..6828ce8 100644
---- a/docs/api/Apache2/ServerUtil.pod
-+++ b/docs/api/Apache2/ServerUtil.pod
-@@ -29,7 +29,6 @@ Apache2::ServerUtil - Perl API for Apache server record utils
- # server build and version info:
- $when_built = Apache2::ServerUtil::get_server_built();
- $description = Apache2::ServerUtil::get_server_description();
-- $version = Apache2::ServerUtil::get_server_version();
- $banner = Apache2::ServerUtil::get_server_banner();
-
- # ServerRoot value
-@@ -365,6 +364,8 @@ Get the server version string
-
- $version = Apache2::ServerUtil::get_server_version();
-
-+This function is deprecated. Use C<get_server_banner()> instead.
-+
- =over 4
-
- =item ret: C<$version> ( string )
-diff --git a/lib/Apache2/Status.pm b/lib/Apache2/Status.pm
-index 65c3208..ee4bb8c 100644
---- a/lib/Apache2/Status.pm
-+++ b/lib/Apache2/Status.pm
-@@ -142,7 +142,7 @@ sub handler {
- sub header {
- my $r = shift;
- my $start = scalar localtime $^T;
-- my $srv = Apache2::ServerUtil::get_server_version();
-+ my $srv = Apache2::ServerUtil::get_server_banner();
- $r->content_type("text/html");
- my $v = $^V ? sprintf "v%vd", $^V : $];
- $r->print(<<"EOF");
---
-2.25.4
-
diff --git a/mod_perl-2.0.12-Stop-using-do_open9.patch b/mod_perl-2.0.12-Stop-using-do_open9.patch
deleted file mode 100644
index 8e606a1..0000000
--- a/mod_perl-2.0.12-Stop-using-do_open9.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -up mod_perl-2.0.12/src/modules/perl/modperl_io.c.orig mod_perl-2.0.12/src/modules/perl/modperl_io.c
---- mod_perl-2.0.12/src/modules/perl/modperl_io.c.orig 2023-06-01 12:34:06.696214838 +0200
-+++ mod_perl-2.0.12/src/modules/perl/modperl_io.c 2023-06-01 12:33:22.802841353 +0200
-@@ -116,8 +116,8 @@ modperl_io_perlio_override_stdhandle(pTH
- save_gp(handle, 1);
-
- sv_setref_pv(sv, "Apache2::RequestRec", (void*)r);
-- status = do_open9(handle, mode == O_RDONLY ? "<:Apache2" : ">:Apache2",
-- 9, FALSE, mode, 0, (PerlIO *)NULL, sv, 1);
-+ status = do_openn(handle, mode == O_RDONLY ? "<:Apache2" : ">:Apache2",
-+ 9, FALSE, mode, 0, (PerlIO *)NULL, &sv, 1);
- if (status == 0) {
- Perl_croak(aTHX_ "Failed to open STD%s: %" SVf,
- mode == O_RDONLY ? "IN" : "OUT", get_sv("!", TRUE));
diff --git a/mod_perl-2.0.13.tar.gz.asc b/mod_perl-2.0.13.tar.gz.asc
new file mode 100644
index 0000000..2f1e0de
--- /dev/null
+++ b/mod_perl-2.0.13.tar.gz.asc
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCgAdFiEEICbmpKakSD5hum8/qzS6AEDpLs4FAmUzoMoACgkQqzS6AEDp
+Ls7XoBAAuuibBdxyhWOMN34lQaBXqQdJWxtg81ta6V8S728Y+X2Op0WIZNA39Qui
+bdd5TV1gTx9zsi0ouGJNiqSntZuDKNclAyYfV7nc4DlhxABqU5F9dpby4OT97/eY
+cOMm63HU/ycwuszxliSK0seokcNPlvN50BLDmWg8amcz6x7h+hcXXnI63BIgci/1
+3ixTcrcdchcSum3lbD/EgoTsB374rZigl8fkbk0ZX1gSd3TF9v+LMKQIAFpM3nJ8
+2ynLSQsCRkwYHwIi9VcWtN6Jfpo+IcXcK55TIWthgsgLfLo2WrZ2lYGwun/whIFp
+VhekswS7AQGrfrXsoyEUykOAvca158ZmmQfa/BtidOtSXRpaNftFby/qEbLtHRaG
+YDcm2ySmg7/DWN41Iq7IUfwBe+JS9DdHzfF6AP17c7AiCAeik/pVD/Cl2YsE0XG4
+Kdf817rIhrCpKj2M33jYq8wOwH7xj/mH3tqnW23CJPczQdZo1JnWRpEFAb4k9L1o
+8iOhf3tGqvyJpT/or5760R57Ws9Ez/Grd1CigdR+ZvXPALUC0Tv3WWuviBejVbOr
+ZaBk6tIsrojeuIBP4w9nSIFqCGoHGwbeRfemZF3IS3KsYAR934yNJqCbDINiCymG
+yLOjLMB/0hgAYAe7Ltd0frMek/zhXMit8zxVItsOHiJ6gpEfXEQ=
+=nn8w
+-----END PGP SIGNATURE-----
diff --git a/mod_perl-2.0.4-multilib.patch b/mod_perl-2.0.4-multilib.patch
deleted file mode 100644
index 34234a4..0000000
--- a/mod_perl-2.0.4-multilib.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-
-Generate the XS typemap files in sorted order; ensures that the
-devel package contents do not differe across multilib platforms.
-
---- mod_perl-2.0.4/lib/ModPerl/TypeMap.pm.multilib
-+++ mod_perl-2.0.4/lib/ModPerl/TypeMap.pm
-@@ -442,12 +442,12 @@ sub typedefs_code {
- $code .= qq{\#include "$_"\n}
- }
-
-- for my $t (@{ $self->{struct} }) {
-+ for my $t (sort {$a->[1] cmp $b->[1]} @{ $self->{struct} }) {
- next if $seen{ $t->[1] }++;
- $code .= "typedef $t->[0] * $t->[1];\n";
- }
-
-- for my $t (@{ $self->{typedef} }) {
-+ for my $t (sort {$a->[1] cmp $b->[1]} @{ $self->{typedef} }) {
- next if $seen{ $t->[1] }++;
- $code .= "typedef $t->[0] $t->[1];\n";
- }
-@@ -470,7 +470,9 @@ sub sv_convert_code {
- my %seen;
- my $code = "";
-
-- while (my ($ctype, $ptype) = each %$map) {
-+ for my $ctype (sort keys %$map) {
-+ my $ptype = $map->{$ctype};
-+
- next if $self->special($ptype);
- next if $ctype =~ /\s/;
- my $class = $ptype;
diff --git a/mod_perl-2.0.5-nolfs.patch b/mod_perl-2.0.5-nolfs.patch
deleted file mode 100644
index 3eb345b..0000000
--- a/mod_perl-2.0.5-nolfs.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: mod_perl-2.0.5/lib/Apache2/Build.pm
-===================================================================
---- mod_perl-2.0.5.orig/lib/Apache2/Build.pm 2011-02-02 21:23:47.000000000 +0100
-+++ mod_perl-2.0.5/lib/Apache2/Build.pm 2011-05-26 17:12:46.276946520 +0200
-@@ -2147,7 +2147,8 @@ sub has_large_files_conflict {
- # with it is that we didn't have such a case yet, but may need to
- # deal with it later
-
-- return $perl_lfs64 ^ $apr_lfs64;
-+ return 0;
-+ # $perl_lfs64 ^ $apr_lfs64;
- }
-
- # if perl is built with uselargefiles, but apr not, the build won't
diff --git a/mod_perl-httpd24-maps.patch b/mod_perl-httpd24-maps.patch
deleted file mode 100644
index f443b66..0000000
--- a/mod_perl-httpd24-maps.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-diff --git a/xs/maps/apache2_structures.map b/xs/maps/apache2_structures.map
-index f86ec93..cca915b 100644
---- a/xs/maps/apache2_structures.map
-+++ b/xs/maps/apache2_structures.map
-@@ -2,6 +2,20 @@
-
- # for mapping see %ModPerl::MapUtil::disabled_map in
- # lib/ModPerl/MapUtil.pm
-+# the mapping happens in lib/ModPerl/StructureMap.pm: sub parse
-+# '<' => 'auto-generated but gives only a read-only access'
-+# '&' => 'RDWR accessor to a char* field, supporting undef arg'
-+# '$' => 'RONLY accessor, with WRITE accessor before child_init'
-+# '%' => like $, but makes sure that for the write accessor the
-+# original perl scalar can change or go away w/o affecting
-+# the object
-+# my %disabled_map = (
-+# '!' => 'disabled or not yet implemented',
-+# '~' => 'implemented but not auto-generated',
-+# '-' => 'likely never be available to Perl',
-+# '>' => '"private" to apache',
-+# '?' => 'unclassified',
-+# );
-
- IGNORE: ap_LINK_ ap_filter_func ap_bucket_error ap_listen_rec core_net_rec
-
-@@ -69,6 +83,8 @@ IGNORE: ap_LINK_ ap_filter_func ap_bucket_error ap_listen_rec core_net_rec
- proto_output_filters
- proto_input_filters
- ? eos_sent
-+< useragent_addr
-+ useragent_ip
- </request_rec>
-
- <server_rec>
-@@ -78,10 +94,12 @@ IGNORE: ap_LINK_ ap_filter_func ap_bucket_error ap_listen_rec core_net_rec
- - defn_line_number
- % server_admin
- % server_hostname
-+% server_scheme
- $ port
- % error_fname
- $ error_log
- $ loglevel
-+$ log
- < is_virtual
- < module_config
- < lookup_defaults
-@@ -97,6 +115,7 @@ $ keep_alive
- $ limit_req_line
- $ limit_req_fieldsize
- $ limit_req_fields
-+ context
- </server_rec>
-
- <conn_rec>
-@@ -104,6 +123,8 @@ $ limit_req_fields
- < base_server
- > vhost_lookup_data
- < local_addr
-+< client_addr
-+ client_ip
- < local_ip
- < local_host
- < remote_addr
-@@ -121,6 +142,8 @@ $ limit_req_fields
- output_filters
- < sbh
- < bucket_alloc
-+< log
-+< log_id
- </conn_rec>
-
- !<server_addr_rec>
-@@ -268,3 +291,8 @@ $ limit_req_fields
- p
- sa
- </ap_pod_t>
-+
-+<ap_logconf>
-+% level
-+% module_levels
-+</ap_logconf>
diff --git a/mod_perl-httpd24.patch b/mod_perl-httpd24.patch
deleted file mode 100644
index d4e185d..0000000
--- a/mod_perl-httpd24.patch
+++ /dev/null
@@ -1,533 +0,0 @@
-diff --git a/lib/Apache2/ParseSource.pm b/lib/Apache2/ParseSource.pm
-index 8027548..0664af1 100644
---- a/lib/Apache2/ParseSource.pm
-+++ b/lib/Apache2/ParseSource.pm
-@@ -73,6 +73,9 @@ my @c_scan_defines = (
- 'CORE_PRIVATE', #so we get all of apache
- 'MP_SOURCE_SCAN', #so we can avoid some c-scan barfing
- '_NETINET_TCP_H', #c-scan chokes on netinet/tcp.h
-+ '_BYTESWAP_H', #c-scan chokes on byteswap.h
-+ '_BITS_BYTESWAP_H', #c-scan chokes on byteswap.h
-+ 'Expat_INCLUDED', #c-scan chokes on expath.h
- # 'APR_OPTIONAL_H', #c-scan chokes on apr_optional.h
- 'apr_table_do_callback_fn_t=void', #c-scan chokes on function pointers
- );
-@@ -116,6 +119,7 @@ sub scan {
- sub include_dirs {
- my $self = shift;
- ($self->config->apxs('-q' => 'INCLUDEDIR'),
-+ $self->config->apxs('-q' => 'APR_INCLUDEDIR'),
- $self->config->mp_include_dir);
- }
-
-@@ -139,7 +143,8 @@ sub find_includes {
- apr_optional mod_include mod_cgi
- mod_proxy mod_ssl ssl_ apr_anylock
- apr_rmm ap_config mod_log_config
-- mod_perl modperl_ apreq);
-+ mod_perl modperl_ apreq mod_cache
-+ mod_serf mod_dav);
- $unwanted = qr|^$unwanted|;
- my $wanted = '';
-
-@@ -229,7 +234,7 @@ sub generate_cscan_file {
-
- my %defines_wanted = (
- 'Apache2::Const' => {
-- common => [qw{OK DECLINED DONE}],
-+ common => [qw{OK DECLINED DONE PROXYREQ PROXYREQ_REVERSE}],
- config => [qw{DECLINE_CMD}],
- context => [qw(NOT_IN_ GLOBAL_ONLY)],
- http => [qw{HTTP_}],
-@@ -280,6 +285,9 @@ my %enums_wanted = (
-
- my $defines_unwanted = join '|', qw{
- HTTP_VERSION APR_EOL_STR APLOG_MARK APLOG_NOERRNO APR_SO_TIMEOUT
-+APR_HOOK_PROBES_ENABLED APR_HOOK_INT_DCL_UD
-+APLOG_MAX_LOGLEVEL
-+APR_BEGIN_DECLS APR_END_DECLS
- };
-
- sub get_constants {
-@@ -398,6 +406,8 @@ sub get_functions {
- my $c = $self->{c};
-
- my $fdecls = $c->get($key);
-+ my $inlines = $c->get('parsed_inlines');
-+ push @{$fdecls}, @{$inlines};
-
- my %seen;
- my $wanted = $self->wanted_functions;
-diff --git a/lib/ModPerl/CScan.pm b/lib/ModPerl/CScan.pm
-index 6789af3..a57acf3 100644
---- a/lib/ModPerl/CScan.pm
-+++ b/lib/ModPerl/CScan.pm
-@@ -136,6 +136,8 @@ my $recipes
- vdecl_hash => { filter => [ \&vdecl_hash, 'vdecls', 'mdecls' ], },
- parsed_fdecls => { filter => [ \&do_declarations, 'fdecls',
- 'typedef_hash', 'keywords'], },
-+ parsed_inlines => { filter => [ \&do_declarations, 'inlines',
-+ 'typedef_hash', 'keywords'], },
- keywords_rex => { filter => [ sub { my @k = keys %{ shift() };
- local $" = '|';
- my $r = "(?:@k)";
-@@ -943,7 +945,7 @@ sub new {
- my ($sym) = gensym;
- my $cmd = WIN32 ?
- "$Cpp->{cppstdin} $Defines $addincludes $Cpp->{cppflags} $filename |" :
-- "echo '\#include \"$filename\"' | $Cpp->{cppstdin} $Defines $addincludes $Cpp->{cppflags} $Cpp->{cppminus} |";
-+ "echo '\#include \"$filename\"' | $Cpp->{cppstdin} $Defines $addincludes $Cpp->{cppflags} $Cpp->{cppminus} | grep -v '^#' |";
- #my $cmd = "echo '\#include <$filename>' | $Cpp->{cppstdin} $Defines $addincludes $Cpp->{cppflags} $Cpp->{cppminus} |";
-
- (open($sym, $cmd) or die "Cannot open pipe from `$cmd': $!")
-diff --git a/lib/ModPerl/Code.pm b/lib/ModPerl/Code.pm
-index e43f77c..98b037d 100644
---- a/lib/ModPerl/Code.pm
-+++ b/lib/ModPerl/Code.pm
-@@ -889,7 +889,8 @@ EOF
-
- if ($name eq 'DECLINE_CMD' ||
- $name eq 'DIR_MAGIC_TYPE' ||
-- $name eq 'CRLF') {
-+ $name eq 'CRLF' ||
-+ $name eq 'CRLF_ASCII') {
- print $c_fh <<EOF;
- return newSVpv($alias{$name}, 0);
- EOF
-diff --git a/src/modules/perl/mod_perl.c b/src/modules/perl/mod_perl.c
-index d3245bf..b18e0fd 100644
---- a/src/modules/perl/mod_perl.c
-+++ b/src/modules/perl/mod_perl.c
-@@ -658,6 +658,10 @@ int modperl_hook_pre_config(apr_pool_t *p, apr_pool_t *plog,
- /* perl 5.8.1+ */
- modperl_hash_seed_init(p);
-
-+#if AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4
-+ ap_reserve_module_slots_directive("PerlModule");
-+#endif
-+
- return OK;
- }
-
-diff --git a/src/modules/perl/modperl_apache_compat.h b/src/modules/perl/modperl_apache_compat.h
-index 78a9cb3..072ae79 100644
---- a/src/modules/perl/modperl_apache_compat.h
-+++ b/src/modules/perl/modperl_apache_compat.h
-@@ -68,7 +68,6 @@ AP_DECLARE(const char *) ap_get_server_version(void);
- #define MP_HTTPD_OVERRIDE_OPTS_UNSET (-1)
- #define MP_HTTPD_OVERRIDE_OPTS_DEFAULT (OPT_UNSET | \
- OPT_ALL | \
-- OPT_INCNOEXEC | \
- OPT_SYM_OWNER | \
- OPT_MULTI)
-
-diff --git a/src/modules/perl/modperl_apache_includes.h b/src/modules/perl/modperl_apache_includes.h
-index c93decc..6f7bd8b 100644
---- a/src/modules/perl/modperl_apache_includes.h
-+++ b/src/modules/perl/modperl_apache_includes.h
-@@ -23,6 +23,10 @@
- #define CORE_PRIVATE
- #endif
-
-+#ifdef MP_IN_XS
-+#define AP_DEBUG_NO_ALLOC_POISON
-+#endif
-+
- #include "ap_mmn.h"
- #include "httpd.h"
- #include "http_config.h"
-@@ -34,9 +38,16 @@
- #include "http_core.h"
- #include "http_vhost.h"
- #include "ap_mpm.h"
-+#if !(AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4)
-+#include "apu_errno.h"
-+#endif
-
- #include "util_filter.h"
-
- #include "util_script.h"
-
-+#ifndef MP_IN_XS
-+APLOG_USE_MODULE(perl);
-+#endif
-+
- #endif /* MODPERL_APACHE_INCLUDES_H */
-diff --git a/src/modules/perl/modperl_apr_includes.h b/src/modules/perl/modperl_apr_includes.h
-index f5ae341..8e69776 100644
---- a/src/modules/perl/modperl_apr_includes.h
-+++ b/src/modules/perl/modperl_apr_includes.h
-@@ -35,5 +35,6 @@
- #include "apr_general.h"
- #include "apr_uuid.h"
- #include "apr_env.h"
-+#include "apu_errno.h"
-
- #endif /* MODPERL_APR_INCLUDES_H */
-diff --git a/src/modules/perl/modperl_config.c b/src/modules/perl/modperl_config.c
-index c4ef81f..e182f2d 100644
---- a/src/modules/perl/modperl_config.c
-+++ b/src/modules/perl/modperl_config.c
-@@ -479,7 +479,7 @@ typedef struct {
- PerlInterpreter *perl;
- } svav_param_t;
-
--static void *svav_getstr(void *buf, size_t bufsiz, void *param)
-+static apr_status_t svav_getstr(void *buf, size_t bufsiz, void *param)
- {
- svav_param_t *svav_param = (svav_param_t *)param;
- dTHXa(svav_param->perl);
-@@ -488,7 +488,7 @@ static void *svav_getstr(void *buf, size_t bufsiz, void *param)
- STRLEN n_a;
-
- if (svav_param->ix > AvFILL(av)) {
-- return NULL;
-+ return APR_EOF;
- }
-
- sv = AvARRAY(av)[svav_param->ix++];
-@@ -496,7 +496,7 @@ static void *svav_getstr(void *buf, size_t bufsiz, void *param)
-
- apr_cpystrn(buf, SvPVX(sv), bufsiz);
-
-- return buf;
-+ return APR_SUCCESS;
- }
-
- const char *modperl_config_insert(pTHX_ server_rec *s,
-diff --git a/src/modules/perl/modperl_interp.c b/src/modules/perl/modperl_interp.c
-index dfff32e..6ec9b56 100644
---- a/src/modules/perl/modperl_interp.c
-+++ b/src/modules/perl/modperl_interp.c
-@@ -496,11 +496,19 @@ modperl_interp_t *modperl_interp_select(request_rec *r, conn_rec *c,
-
- set_interp(p);
-
-+#if AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4
-+ MP_TRACE_i(MP_FUNC,
-+ "set interp 0x%lx in %s 0x%lx (%s request for %s)\n",
-+ (unsigned long)interp, desc, (unsigned long)p,
-+ (r ? (is_subrequest ? "sub" : "main") : "conn"),
-+ (r ? r->uri : c->client_ip));
-+#else
- MP_TRACE_i(MP_FUNC,
- "set interp 0x%lx in %s 0x%lx (%s request for %s)\n",
- (unsigned long)interp, desc, (unsigned long)p,
- (r ? (is_subrequest ? "sub" : "main") : "conn"),
- (r ? r->uri : c->remote_ip));
-+#endif
- }
-
- /* set context (THX) for this thread */
-diff --git a/src/modules/perl/modperl_module.c b/src/modules/perl/modperl_module.c
-index da148ca..aa1a851 100644
---- a/src/modules/perl/modperl_module.c
-+++ b/src/modules/perl/modperl_module.c
-@@ -832,7 +832,11 @@ const char *modperl_module_add(apr_pool_t *p, server_rec *s,
-
- modperl_module_insert(modp);
-
-+#if AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4
-+ ap_add_loaded_module(modp, p, modp->name);
-+#else
- ap_add_loaded_module(modp, p);
-+#endif
-
- apr_pool_cleanup_register(p, modp, modperl_module_remove,
- apr_pool_cleanup_null);
-diff --git a/t/apache/constants.t b/t/apache/constants.t
-index 97a3e6a..74e2fe5 100644
---- a/t/apache/constants.t
-+++ b/t/apache/constants.t
-@@ -6,7 +6,7 @@ use Apache::Test;
- use Apache::TestUtil;
-
- # -compile puts constants into the Apache2:: namespace
--use Apache2::Const -compile => qw(:http :common :mpmq :proxy
-+use Apache2::Const -compile => qw(:http :common :mpmq
- TAKE23 &OPT_EXECCGI
- DECLINE_CMD DIR_MAGIC_TYPE
- CRLF);
-diff --git a/t/conf/post_config_startup.pl b/t/conf/post_config_startup.pl
-index 391a0e2..5ab1bfc 100644
---- a/t/conf/post_config_startup.pl
-+++ b/t/conf/post_config_startup.pl
-@@ -31,7 +31,9 @@ test_apache_resource();
-
- test_apache_status();
-
--test_loglevel();
-+# FIXME: httpd-2.4 does not have loglevel setting in ServerRec
-+# This test has to be fixed.
-+#test_loglevel();
-
- test_perl_ithreads();
-
-diff --git a/t/response/TestAPI/add_config.pm b/t/response/TestAPI/add_config.pm
-index ff52cbc..c5f2d37 100644
---- a/t/response/TestAPI/add_config.pm
-+++ b/t/response/TestAPI/add_config.pm
-@@ -100,7 +100,6 @@ sub handler : method {
-
- my $expect = Apache2::Const::OPT_ALL |
- Apache2::Const::OPT_UNSET |
-- Apache2::Const::OPT_INCNOEXEC |
- Apache2::Const::OPT_MULTI |
- Apache2::Const::OPT_SYM_OWNER;
-
-diff --git a/t/response/TestAPI/aplog.pm b/t/response/TestAPI/aplog.pm
-index f2a4e19..1357311 100644
---- a/t/response/TestAPI/aplog.pm
-+++ b/t/response/TestAPI/aplog.pm
-@@ -93,7 +93,7 @@ sub handler {
- APR::Const::ENOTIME, "log_rerror test");
- # can't match against the error string, since a locale may kick in
- ok t_cmp $logdiff->diff,
-- qr/\[crit\] .*?: log_rerror test/,
-+ qr/\[\w*:crit\] \[pid[^]]+\] .*?: \[[^]]+\] log_rerror test/,
- '$r->log_rerror(LOG_MARK, LOG_CRIT, APR::Const::ENOTIME...)';
-
- # log_error
-@@ -101,13 +101,13 @@ sub handler {
- t_server_log_error_is_expected();
- $r->log_error('$r->log_error test');
- ok t_cmp $logdiff->diff,
-- qr/\[error\] \$r->log_error test/,
-+ qr/\[\w*:error\] \[pid[^]]+\] \$r->log_error test/,
- '$r->log_error(...)';
-
- t_server_log_error_is_expected();
- $s->log_error('$s->log_error test');
- ok t_cmp $logdiff->diff,
-- qr/\[error\] \$s->log_error test/,
-+ qr/\[\w*:error\] \[pid[^]]+\] \$s->log_error test/,
- '$s->log_error(...)';
- }
-
-@@ -116,13 +116,13 @@ sub handler {
- t_server_log_error_is_expected();
- $r->log_reason('$r->log_reason test');
- ok t_cmp $logdiff->diff,
-- qr/\[error\] access to.*failed.*reason: \$r->log_reason test/,
-+ qr/\[\w*:error\] \[pid[^]]+\] access to.*failed.*reason: \$r->log_reason test/,
- '$r->log_reason(msg)';
-
- t_server_log_error_is_expected();
- $r->log_reason('$r->log_reason filename test','filename');
- ok t_cmp $logdiff->diff,
-- qr/\[error\] access to filename failed.*\$r->log_reason filename test/,
-+ qr/\[\w*:error\] \[pid[^]]+\] access to filename failed.*\$r->log_reason filename test/,
- '$r->log_reason(msg, filename)';
- }
-
-@@ -177,7 +177,7 @@ sub handler {
- t_server_log_warn_is_expected();
- $s->warn('$s->warn test');
- ok t_cmp $logdiff->diff,
-- qr/\[warn\] \$s->warn test/,
-+ qr/\[\w*:warn\] \[pid[^]]+\] \$s->warn test/,
- '$s->warn()';
-
- {
-@@ -185,7 +185,7 @@ sub handler {
- # this uses global server to get $s internally
- Apache2::ServerRec::warn("Apache2::ServerRec::warn test");
- ok t_cmp $logdiff->diff,
-- qr/\[warn\] Apache2::ServerRec::warn test/,
-+ qr/\[\w*:warn\] \[pid[^]]+\] Apache2::ServerRec::warn test/,
- 'Apache2::ServerRec::warn() w/o Apache2::RequestUtil->request ';
-
- Apache2::RequestUtil->request($r);
-@@ -193,14 +193,14 @@ sub handler {
- # this uses the global $r to get $s internally
- Apache2::ServerRec::warn("Apache2::ServerRec::warn test");
- ok t_cmp $logdiff->diff,
-- qr/\[warn\] Apache2::ServerRec::warn test/,
-+ qr/\[\w*:warn\] \[pid[^]]+\] Apache2::ServerRec::warn test/,
- 'Apache2::ServerRec::warn() w/ Apache2::RequestUtil->request ';
- }
-
- t_server_log_warn_is_expected();
- warn "warn test";
- ok t_cmp $logdiff->diff,
-- qr/\[warn\] warn test/,
-+ qr/\[\w*:warn\] \[pid[^]]+\] warn test/,
- 'overriden via export warn()';
-
- Apache2::Const::OK;
-diff --git a/t/response/TestDirective/cmdparms.pm b/t/response/TestDirective/cmdparms.pm
-index 72e0d33..8dc0e73 100644
---- a/t/response/TestDirective/cmdparms.pm
-+++ b/t/response/TestDirective/cmdparms.pm
-@@ -134,6 +134,7 @@ TestCmdParms "Vhost"
-
- TestCmdParms "Location"
-
--<LimitExcept GET>
-- TestCmdParms "Limit"
--</LimitExcept>
-+#FIXME! httpd 2.4 does not allow LimitExcept here
-+# <LimitExcept GET>
-+# TestCmdParms "Limit"
-+# </LimitExcept>
-diff --git a/xs/APR/APR/Makefile.PL b/xs/APR/APR/Makefile.PL
-index 99ac3d4..79a0a0e 100644
---- a/xs/APR/APR/Makefile.PL
-+++ b/xs/APR/APR/Makefile.PL
-@@ -66,6 +66,8 @@ if (SOLARIS && $libs) {
- $libs =~ s{-R\S+}{}g;
- }
-
-+# FIXME: This should be done automatically somewhere in Apache2::Build
-+$libs .= qq{ -laprutil-1 };
- $args{LIBS} = [$libs] if $libs;
-
- my $srcdir = '../../../src/modules/perl';
-diff --git a/xs/APR/Socket/APR__Socket.h b/xs/APR/Socket/APR__Socket.h
-index dfc681c..d59fce6 100644
---- a/xs/APR/Socket/APR__Socket.h
-+++ b/xs/APR/Socket/APR__Socket.h
-@@ -118,10 +118,10 @@ apr_status_t mpxs_APR__Socket_poll(apr_socket_t *socket,
- }
-
- #ifndef WIN32
--static MP_INLINE int mpxs_APR__Socket_fileno(pTHX_ apr_socket_t *sock)
-+static MP_INLINE int mpxs_APR__Socket_fileno(pTHX_ apr_socket_t *socket)
- {
- apr_os_sock_t s;
-- apr_os_sock_get(&s, sock);
-+ apr_os_sock_get(&s, socket);
- return s;
- }
- #endif
-diff --git a/xs/Apache2/Log/Apache2__Log.h b/xs/Apache2/Log/Apache2__Log.h
-index 1866315..8281e8e 100644
---- a/xs/Apache2/Log/Apache2__Log.h
-+++ b/xs/Apache2/Log/Apache2__Log.h
-@@ -36,6 +36,7 @@ static void mpxs_ap_log_error(pTHX_ int level, SV *sv, SV *msg)
- int lmask = level & APLOG_LEVELMASK;
- server_rec *s;
- request_rec *r = NULL;
-+ int loglevel = 0;
-
- if (SvROK(sv) && sv_isa(sv, "Apache2::Log::Request")) {
- r = INT2PTR(request_rec *, SvObjIV(sv));
-@@ -48,13 +49,19 @@ static void mpxs_ap_log_error(pTHX_ int level, SV *sv, SV *msg)
- s = modperl_global_get_server_rec();
- }
-
-- if ((lmask == APLOG_DEBUG) && (s->loglevel >= APLOG_DEBUG)) {
-+#if AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4
-+ loglevel = s->log.level;
-+#else
-+ loglevel = s->loglevel;
-+#endif
-+
-+ if ((lmask == APLOG_DEBUG) && (loglevel >= APLOG_DEBUG)) {
- COP *cop = PL_curcop;
- file = CopFILE(cop); /* (caller)[1] */
- line = CopLINE(cop); /* (caller)[2] */
- }
-
-- if ((s->loglevel >= lmask) &&
-+ if ((loglevel >= lmask) &&
- SvROK(msg) && (SvTYPE(SvRV(msg)) == SVt_PVCV)) {
- dSP;
- ENTER;SAVETMPS;
-@@ -71,12 +78,21 @@ static void mpxs_ap_log_error(pTHX_ int level, SV *sv, SV *msg)
- str = SvPV(msg,n_a);
- }
-
-+#if AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4
-+ if (r) {
-+ ap_log_rerror(file, line, APLOG_MODULE_INDEX, level, 0, r, "%s", str);
-+ }
-+ else {
-+ ap_log_error(file, line, APLOG_MODULE_INDEX, level, 0, s, "%s", str);
-+ }
-+#else
- if (r) {
- ap_log_rerror(file, line, level, 0, r, "%s", str);
- }
- else {
- ap_log_error(file, line, level, 0, s, "%s", str);
- }
-+#endif
-
- if (svstr) {
- SvREFCNT_dec(svstr);
-@@ -257,12 +273,21 @@ MP_STATIC XS(MPXS_Apache2__Log_log_xerror)
-
- msgstr = SvPV(msgsv, n_a);
-
-+#if AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4
-+ if (r) {
-+ ap_log_rerror(file, line, APLOG_MODULE_INDEX, level, status, r, "%s", msgstr);
-+ }
-+ else {
-+ ap_log_error(file, line, APLOG_MODULE_INDEX, level, status, s, "%s", msgstr);
-+ }
-+#else
- if (r) {
- ap_log_rerror(file, line, level, status, r, "%s", msgstr);
- }
- else {
- ap_log_error(file, line, level, status, s, "%s", msgstr);
- }
-+#endif
-
- SvREFCNT_dec(msgsv);
-
-diff --git a/xs/Apache2/ServerUtil/Apache2__ServerUtil.h b/xs/Apache2/ServerUtil/Apache2__ServerUtil.h
-index e222c1b..f000502 100644
---- a/xs/Apache2/ServerUtil/Apache2__ServerUtil.h
-+++ b/xs/Apache2/ServerUtil/Apache2__ServerUtil.h
-@@ -162,8 +162,13 @@ SV *mpxs_Apache2__ServerRec_get_handlers(pTHX_ server_rec *s,
- #define mpxs_Apache2__ServerUtil_server(classname) modperl_global_get_server_rec()
-
- #if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
-+#if AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4
-+#define mpxs_Apache2__ServerUtil_user_id(classname) ap_unixd_config.user_id
-+#define mpxs_Apache2__ServerUtil_group_id(classname) ap_unixd_config.group_id
-+#else
- #define mpxs_Apache2__ServerUtil_user_id(classname) unixd_config.user_id
- #define mpxs_Apache2__ServerUtil_group_id(classname) unixd_config.group_id
-+#endif
- #else
- #define mpxs_Apache2__ServerUtil_user_id(classname) 0
- #define mpxs_Apache2__ServerUtil_group_id(classname) 0
-diff --git a/xs/ModPerl/Const/Const.xs b/xs/ModPerl/Const/Const.xs
-index 33a4c0c..15fa36d 100644
---- a/xs/ModPerl/Const/Const.xs
-+++ b/xs/ModPerl/Const/Const.xs
-@@ -17,6 +17,17 @@
- #include "mod_perl.h"
- #include "modperl_const.h"
-
-+/* To define extern perl_module to something so Const.so can be loaded later */
-+module AP_MODULE_DECLARE_DATA perl_module = {
-+ STANDARD20_MODULE_STUFF,
-+ NULL, /* dir config creater */
-+ NULL, /* dir merger --- default is to override */
-+ NULL, /* server config */
-+ NULL, /* merge server config */
-+ NULL, /* table of config file commands */
-+ NULL, /* register hooks */
-+};
-+
- MODULE = ModPerl::Const PACKAGE = ModPerl::Const
-
- PROTOTYPES: disable
-diff --git a/xs/maps/modperl_types.map b/xs/maps/modperl_types.map
-index 3b02f02..8c6d541 100644
---- a/xs/maps/modperl_types.map
-+++ b/xs/maps/modperl_types.map
-@@ -7,6 +7,8 @@ struct modperl_filter_t | Apache2::OutputFilter
- SV * | SV
- I32 | IV
- I32 * | IV
-+U16 | UV
-+U16 * | UV
- U32 | UV
- U32 * | UV
-
diff --git a/mod_perl-short-name.patch b/mod_perl-short-name.patch
deleted file mode 100644
index 9abef96..0000000
--- a/mod_perl-short-name.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/modules/perl/modperl_config.c b/src/modules/perl/modperl_config.c
-index c4ef81f..4ec135c 100644
---- a/src/modules/perl/modperl_config.c
-+++ b/src/modules/perl/modperl_config.c
-@@ -186,7 +186,7 @@ modperl_config_srv_t *modperl_config_srv_new(apr_pool_t *p, server_rec *s)
-
- /* make sure httpd's argv[0] is the first argument so $0 is
- * correctly connected to the real thing */
-- modperl_config_srv_argv_push(s->process->argv[0]);
-+ modperl_config_srv_argv_push(s->process->short_name);
-
- MP_TRACE_d(MP_FUNC, "new scfg: 0x%lx", (unsigned long)scfg);
-
diff --git a/mod_perl.spec b/mod_perl.spec
index 829bd80..dcb406f 100644
--- a/mod_perl.spec
+++ b/mod_perl.spec
@@ -13,8 +13,8 @@
%global regenerate_xs 0
Name: mod_perl
-Version: 2.0.12
-Release: 9%{?dist}
+Version: 2.0.13
+Release: 1%{?dist}
Summary: An embedded Perl interpreter for the Apache HTTP Server
# other files: ASL 2.0
## Not in binary packages
@@ -32,10 +32,6 @@ Source4: perl.module.conf
# Normalize documentation encoding
Patch0: mod_perl-2.0.12-Convert-documentation-to-UTF-8.patch
Patch1: mod_perl-2.0.4-inline.patch
-# Do not use deprecated ap_get_server_version(), CPAN RT#124972
-Patch2: mod_perl-2.0.11-Do-not-use-deprecated-ap_get_server_version-in-Serve.patch
-# Do not use deprecated do_open9(), CPAN RT#148451
-Patch3: mod_perl-2.0.12-Stop-using-do_open9.patch
BuildRequires: apr-devel >= 1.2.0
BuildRequires: apr-util-devel
@@ -321,8 +317,10 @@ fi
%{_mandir}/man3/Apache2::Reload.3pm*
%endif
-
%changelog
+* Sun Oct 22 2023 Andrew Bauer <zonexpertconsulting@outlook.com> - 2.0.13-1
+- 2.0.13 release
+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
^ permalink raw reply related [flat|nested] 2+ messages in thread* [rpms/mod_perl] epel9: 2.0.13 release
@ 2026-11-27 22:43 Andrew Bauer
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Bauer @ 2026-11-27 22:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mod_perl
Branch : epel9
Commit : 3a80efae28cc5414c13379a6738217018ec2c361
Author : Andrew Bauer <zonexpertconsulting@outlook.com>
Date : 2023-10-22T19:36:04-05:00
Stats : +2/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mod_perl/c/3a80efae28cc5414c13379a6738217018ec2c361?branch=epel9
Log:
2.0.13 release
---
diff --git a/.gitignore b/.gitignore
index f04431d..7ed65ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ mod_perl-2.0.4.tar.gz
/mod_perl-2.0.11.tar.gz
/mod_perl-2.0.12.tar.gz
/mod_perl-2.0.12.tar.gz.asc
+/mod_perl-2.0.13.tar.gz
diff --git a/sources b/sources
index 39955f5..2869a8e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (mod_perl-2.0.12.tar.gz) = 890dca0950847e32180485cabbeffbf236af2c92c7df957a233c210022b5172957eddb1db3e9281b87cd438d2fa404a05ae99c7eda098267c68d5e9262b400b0
-SHA512 (mod_perl-2.0.12.tar.gz.asc) = 93e4b8fda3a0822a4a87179ffe358d34752f9a7c14d3ebcab530e1d723320943a09682b162693128f2d8db63386cd02a85a74d3a1ce095440634f39aeb6eb940
+SHA512 (mod_perl-2.0.13.tar.gz) = 453c789743487e2d1167d005f21ef9780f36488db8830103e4ea0a0656f685bf5ec423cd1baa68ee30efc75d9e2b845c9656458203b9f48de81a315a91d587c9
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-27 22:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 22:43 [rpms/mod_perl] epel9: 2.0.13 release Andrew Bauer
-- strict thread matches above, loose matches on Subject: below --
2026-11-27 22:43 Andrew Bauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox