diff --git a/specs/mailman/fcgi.spec b/specs/mailman/fcgi.spec new file mode 100644 index 0000000..3f9dc73 --- /dev/null +++ b/specs/mailman/fcgi.spec @@ -0,0 +1,156 @@ +%global _hardened_build 1 + +Name: fcgi +Version: 2.4.0 +Release: 22%{?dist} +Summary: FastCGI development kit + +Group: Development/Languages +License: OML +URL: http://www.fastcgi.com/#TheDevKit +Source0: http://fastcgi.com/dist/fcgi-%{version}.tar.gz +Source1: fcgi-autogen.sh +Patch0: fcgi-2.4.0-autotools.patch +# Patch0 created with Source1 after patching Patch1 and Patch2 +Patch1: fcgi-2.4.0-configure.in.patch +Patch2: fcgi-2.4.0-Makefile.am-CPPFLAGS.patch +Patch3: fcgi-2.4.0-gcc44_fixes.patch + +%description +FastCGI is a language independent, scalable, open extension to CGI that +provides high performance without the limitations of server specific APIs. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q +%patch0 -p1 +%patch3 -p1 -b .gcc44_fixes + +# remove DOS End Of Line Encoding +sed -i 's/\r//' doc/fastcgi-prog-guide/ch2c.htm +# fix file permissions +chmod a-x include/fcgios.h libfcgi/os_unix.c + + +%build +%configure +# does not build with parallel make flags +make + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir $RPM_BUILD_ROOT + +make install DESTDIR=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT/%{_libdir}/libfcgi{++,}.{l,}a +install -p -m 0644 -D doc/cgi-fcgi.1 $RPM_BUILD_ROOT%{_mandir}/man1/cgi-fcgi.1 +for manpage in doc/*.3 +do +install -p -m 0644 -D $manpage $RPM_BUILD_ROOT%{_mandir}/man3/$(basename $manpage) +done +rm -f -- doc/*.1 +rm -f -- doc/*.3 + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files +%{_bindir}/cgi-fcgi +%{_libdir}/libfcgi.so.* +%{_libdir}/libfcgi++.so.* +%{_mandir}/man1/* +%defattr(0644,root,root,0755) +%doc LICENSE.TERMS README + + +%files devel +%{_includedir}/* +%{_libdir}/libfcgi.so +%{_libdir}/libfcgi++.so +%{_mandir}/man3/* +%defattr(0644,root,root,0755) +%doc doc/ + + +%changelog +* Mon Feb 03 2014 Till Maas - 2.4.0-22 +- Harden build + +* Sat Aug 03 2013 Fedora Release Engineering - 2.4.0-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 2.4.0-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 2.4.0-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.4.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Sep 09 2011 Iain Arnell 2.4.0-17 +- drop perl sub-package; it's been replaced by perl-FCGI (rhbz#736612) + +* Thu Jun 16 2011 Marcela Mašláňová - 2.4.0-16 +- Perl mass rebuild & clean spec & clean Makefile.PL + +* Tue Feb 08 2011 Fedora Release Engineering - 2.4.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Jun 01 2010 Marcela Maslanova - 2.4.0-14 +- Mass rebuild with perl-5.12.0 + +* Sun May 16 2010 Till Maas - 2.4.0-13 +- Fix license tag. It's OML instead of BSD + +* Mon Jan 18 2010 Chris Weyl - 2.4.0-12 +- drop perl .so provides filtering, as it may have multiarch rpm implications + +* Fri Dec 4 2009 Stepan Kasal - 2.4.0-11 +- rebuild against perl 5.10.1 + +* Fri Jul 24 2009 Fedora Release Engineering - 2.4.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sun Mar 01 2009 Chris Weyl - 2.4.0-9 +- Stripping bad provides of private Perl extension libs + +* Tue Feb 24 2009 Fedora Release Engineering - 2.4.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Feb 15 2009 Till Maas - 2.4.0-7 +- Add missing #include to make it compile with gcc 4.4 + +* Tue Oct 14 2008 Chris Weyl - 2.4.0-6 +- package up the perl bindings in their own subpackage + +* Wed Feb 20 2008 Fedora Release Engineering - 2.4.0-5 +- Autorebuild for GCC 4.3 + +* Thu Aug 23 2007 Till Maas - 2.4.0-4 +- bump release for rebuild + +* Wed Jul 11 2007 Till Maas - 2.4.0-3 +- remove parallel make flags + +* Tue Apr 17 2007 Till Maas - 2.4.0-2 +- add some documentation +- add mkdir ${RPM_BUILD_ROOT} to %%install +- install man-pages + +* Mon Mar 5 2007 Till Maas - 2.4.0-1 +- Initial spec for fedora diff --git a/specs/mailman/fcgiwrap.spec b/specs/mailman/fcgiwrap.spec new file mode 100644 index 0000000..3c0af44 --- /dev/null +++ b/specs/mailman/fcgiwrap.spec @@ -0,0 +1,50 @@ +%global gitcommit 333ff99 +Name: fcgiwrap +Version: 1.1.0 +Release: 1%{?dist} +Summary: Simple FastCGI wrapper for CGI scripts +License: MIT +URL: http://nginx.localdomain.pl/ +Group: System Environment/Daemons + +Source0: fcgiwrap-%{version}.tar.gz + +BuildRequires: autoconf +BuildRequires: fcgi-devel +Requires: spawn-fcgi + +%description +fcgiwrap is a simple server for running CGI applications over FastCGI. +It hopes to provide clean CGI support to Nginx (and other web servers +that may need it). + + +%prep +%setup + + +%build +autoreconf -i +%configure --prefix="" +make + + +%install +make install DESTDIR=%{buildroot} + +%files +%doc README.rst +%{_sbindir}/fcgiwrap +%{_mandir}/man8/fcgiwrap.8* + +%changelog + +* Fri Feb 08 2013 Hiroaki Nakamura - 1.1.0-1 +- new upstream release. +* Fri Jan 11 2013 Hiroaki Nakamura - 1.0.3.20120908-1 +- Change version to increase monotonously. +* Wed Jan 9 2013 Hiroaki Nakamura - 1.0.3-3.gitb9f03e6377 +- Make the rpm relocatable. +* Tue Dec 25 2012 Hiroaki Nakamura - 1.0.3-2.gitb9f03e6377 +* Tue Jan 31 2012 Craig Barnes - 1.0.3-1.git1328862 +- Initial package diff --git a/specs/mailman/spawn-fcgi.spec b/specs/mailman/spawn-fcgi.spec new file mode 100644 index 0000000..3d0b240 --- /dev/null +++ b/specs/mailman/spawn-fcgi.spec @@ -0,0 +1,86 @@ +Summary: Simple program for spawning FastCGI processes +Name: spawn-fcgi +Version: 1.6.3 +Release: 5%{?dist} +License: BSD +Group: System Environment/Daemons +URL: http://redmine.lighttpd.net/projects/spawn-fcgi/ +Source0: http://www.lighttpd.net/download/spawn-fcgi-%{version}.tar.gz +Source1: spawn-fcgi.init +Source2: spawn-fcgi.sysconfig +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +# Note that restarting automatically upon update makes no sense at all here +Requires(post): /sbin/chkconfig +Requires(preun): /sbin/service, /sbin/chkconfig + +%description +This package contains the spawn-fcgi program used for spawning FastCGI +processes, which can be local or remote. + + +%prep +%setup -q + + +%build +%configure +%{__make} %{?_smp_mflags} + + +%install +%{__rm} -rf %{buildroot} +%{__make} install DESTDIR=%{buildroot} +%{__install} -D -p -m 0755 %{SOURCE1} \ + %{buildroot}%{_sysconfdir}/init.d/spawn-fcgi +%{__install} -D -p -m 0600 %{SOURCE2} \ + %{buildroot}%{_sysconfdir}/sysconfig/spawn-fcgi + + +%clean +%{__rm} -rf %{buildroot} + + +%post +/sbin/chkconfig --add spawn-fcgi + +%preun +if [ $1 -eq 0 ]; then + /sbin/service spawn-fcgi stop &>/dev/null || : + /sbin/chkconfig --del spawn-fcgi +fi + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README +%{_sysconfdir}/init.d/spawn-fcgi +%config(noreplace) %{_sysconfdir}/sysconfig/spawn-fcgi +%{_bindir}/spawn-fcgi +%{_mandir}/man1/spawn-fcgi.1* + + +%changelog +* Fri Feb 15 2013 Fedora Release Engineering - 1.6.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 1.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.6.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Sep 30 2009 Matthias Saou 1.6.3-1 +- Update to 1.6.3. +- Include init script and sysconfig file to make it easy to manage a single + instance. + +* Tue Apr 21 2009 Matthias Saou 1.6.2-1 +- Update to 1.6.2. +- Remove leftover -f from %%files section. + +* Mon Mar 30 2009 Matthias Saou 1.6.1-1 +- Initial RPM release. + -- libgit2 0.21.2