ktdreyer pushed to mod_proxy_fcgi (el6). "initial package import (pkg review @ RHBZ #1182770)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Mar 25 17:44:11 UTC 2015


>From 2b9e6f459874ae4eff18d021508af298a47707b2 Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer at ktdreyer.com>
Date: Wed, 25 Mar 2015 11:33:45 -0600
Subject: initial package import (pkg review @ RHBZ #1182770)


diff --git a/.gitignore b/.gitignore
index e69de29..c7ecdbb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mod_proxy_fcgi-2.4.10-837d5b0.tar.gz
diff --git a/mod_proxy_fcgi.conf b/mod_proxy_fcgi.conf
new file mode 100644
index 0000000..198542c
--- /dev/null
+++ b/mod_proxy_fcgi.conf
@@ -0,0 +1 @@
+LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
diff --git a/mod_proxy_fcgi.spec b/mod_proxy_fcgi.spec
new file mode 100644
index 0000000..980526e
--- /dev/null
+++ b/mod_proxy_fcgi.spec
@@ -0,0 +1,83 @@
+%global commitdate 20150325
+%global commit 837d5b071908978742f7534c11c32d74bec15b76
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+# Settings for httpd 2.2:
+%global _httpd_apxs       %{_sbindir}/apxs
+%global _httpd_confdir    %{_sysconfdir}/httpd/conf.d
+%global _httpd_modconfdir %{_sysconfdir}/httpd/conf.d
+%global _httpd_moddir     %{_libdir}/httpd/modules
+%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)}}
+
+# Drop automatic provides for module DSOs
+%{?filter_setup:
+%filter_provides_in %{_libdir}/httpd/modules/.*\.so$
+%filter_setup
+}
+
+Name:           mod_proxy_fcgi
+Version:        2.4.10
+Release:        0.3.%{commitdate}git%{shortcommit}%{?dist}
+Summary:        FastCGI support module for mod_proxy 2.2
+
+License:        ASL 2.0
+URL:            https://github.com/ceph/mod-proxy-fcgi
+Source0:        https://github.com/ceph/mod-proxy-fcgi/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+Source1:        mod_proxy_fcgi.conf
+
+BuildRequires:  autoconf
+BuildRequires:  httpd-devel < 2.3
+Requires:       httpd-mmn = %{_httpd_mmn}
+
+%description
+mod_proxy_fcgi is a proxy module for the Apache 2.2 HTTP server.
+
+This module allows you to use fcgi:// TCP URLs as targets for ProxyPass.
+(Please note that SetHandler fcgi:// targets are not supported, only
+ProxyPass.)
+
+Documentation: http://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html
+
+%prep
+%setup -qn mod-proxy-fcgi-%{commit}
+
+%build
+autoconf
+%configure
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+
+mkdir -p %{buildroot}%{_httpd_confdir}
+install -d -m0755 %{buildroot}%{_httpd_confdir}
+install -Dp -m0644 %{SOURCE1} %{buildroot}%{_httpd_confdir}/mod_proxy_fcgi.conf
+
+%files
+%doc LICENSE README
+%{_httpd_moddir}/mod_proxy_fcgi.so
+
+%config(noreplace) %{_httpd_confdir}/*.conf
+
+%changelog
+* Wed Mar 25 2015 Ken Dreyer <ktdreyer at ktdreyer.com> - 2.4.10-0.3.20150325git837d5b0
+- Change Release numbering scheme to start with a zero in order to indicate a
+  prerelease. (RHBZ #1182770)
+
+* Wed Mar 25 2015 Ken Dreyer <ktdreyer at ktdreyer.com> - 2.4.10-3.20150325git837d5b0
+- Update to the tip of latest master
+- Adjustments for package review (RHBZ #1182770)
+- Adjust Release to indicate a git snapshot
+- Drop automatic provides for module DSO
+- Use the GitHub URL as the package URL
+- Add link to httpd.apache.org docs in %%description
+
+* Mon Jan 26 2015 Ken Dreyer <kdreyer at redhat.com> - 2.4.10-2
+- Adjustments for package review (RHBZ #1182770)
+- Dynamically determine %%{_httpd_mmn} instead of hardcoding
+- Drop explicit requirement on httpd < 2.3
+- Add a note to %%description regarding the lack of SetHandler support
+- Update .conf file to load the module by default
+
+* Tue Nov 25 2014 Ken Dreyer <kdreyer at redhat.com> - 2.4.10-1
+- New package
diff --git a/sources b/sources
index e69de29..2c09fcf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0fd70d74cf3b5fd794398d3b7bcaad7b  mod_proxy_fcgi-2.4.10-837d5b0.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/mod_proxy_fcgi.git/commit/?h=el6&id=2b9e6f459874ae4eff18d021508af298a47707b2


More information about the scm-commits mailing list