-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added nghttp2 as a vendored dependency we build as part of the hub pa…
…ckage for apache http2 support In order to use http2 module we must switch from mpm prefork in apache to fpm in php Ticket: ENT-11440 Changelog: title
- Loading branch information
1 parent
7bcaba2
commit cdbd0a2
Showing
16 changed files
with
154 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
%define nghttp2_version 1.62.1 | ||
|
||
Summary: CFEngine Build Automation -- nghttp2 | ||
Name: cfbuild-nghttp2 | ||
Version: %{version} | ||
Release: 1 | ||
Source0: nghttp2-%{nghttp2_version}.tar.xz | ||
License: MIT | ||
Group: Other | ||
Url: nghttp2.org | ||
BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release}-buildroot | ||
|
||
AutoReqProv: no | ||
|
||
%define prefix %{buildprefix} | ||
%prep | ||
mkdir -p %{_builddir} | ||
%setup -q -n nghttp2-%{nghttp2_version} | ||
|
||
./configure --prefix=%{prefix} | ||
|
||
%build | ||
|
||
make | ||
|
||
%install | ||
|
||
rm -rf ${RPM_BUILD_ROOT} | ||
|
||
make install DESTDIR=${RPM_BUILD_ROOT} | ||
|
||
# Remove unused files | ||
rm -rf ${RPM_BUILD_ROOT}%{prefix}/lib/libnghttp2.*a | ||
rm -rf ${RPM_BUILD_ROOT}%{prefix}/share/doc/nghttp2/README.rst | ||
rm -rf ${RPM_BUILD_ROOT}%{prefix}/share/man/man1/h2load.1 | ||
rm -rf ${RPM_BUILD_ROOT}%{prefix}/share/man/man1/nghttp* | ||
rm -rf ${RPM_BUILD_ROOT}%{prefix}/share/nghttp2/fetch-ocsp-response | ||
|
||
%clean | ||
|
||
rm -rf $RPM_BUILD_ROOT | ||
|
||
%package devel | ||
Summary: CFEngine Build Automation -- nghttp2 -- development files | ||
Group: Other | ||
AutoReqProv: no | ||
|
||
%description | ||
CFEngine Build Automation -- nghttp2 | ||
|
||
%description devel | ||
CFEngine Build Automation -- nghttp2 -- development files | ||
|
||
%files | ||
%defattr(-,root,root) | ||
|
||
%dir %prefix/lib | ||
%prefix/lib/*.so* | ||
|
||
%files devel | ||
%defattr(-,root,root) | ||
|
||
%prefix/include | ||
%dir %prefix/lib | ||
%prefix/lib/pkgconfig | ||
|
||
%changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/var/cfengine/include | ||
/var/cfengine/lib/pkgconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/var/cfengine/lib/*.so* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Source: cfbuild-nghttp2 | ||
Section: libs | ||
Priority: optional | ||
Maintainer: CFEngine Packages <[email protected]> | ||
Build-Depends: debhelper | ||
Standard-Version: 3.8.4 | ||
|
||
Package: cfbuild-nghttp2 | ||
Section: libs | ||
Architecture: any | ||
Description: CFEngine Build Automation -- nghttp2 | ||
CFEngine Build Automation -- nghttp2 | ||
|
||
Package: cfbuild-nghttp2-devel | ||
Section: libdevel | ||
Architecture: any | ||
Desciption: CFEngine Build Automation -- cfbuild-nghttp2-devel | ||
CFEngine Build Automation -- cfbuild-nghttp2-devel |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/usr/bin/make -f | ||
PREFIX=$(BUILDPREFIX) | ||
|
||
clean: | ||
dh_testdir | ||
dh_testroot | ||
|
||
dh_clean | ||
|
||
build: build-stamp | ||
build-stamp: | ||
dh_testdir | ||
|
||
./configure --prefix=$(PREFIX) | ||
|
||
make | ||
|
||
touch build-stamp | ||
|
||
install: build | ||
dh_testdir | ||
dh_testroot | ||
dh_clean -k | ||
dh_installdirs | ||
|
||
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp | ||
|
||
rm -rf $(CURDIR)/debian/tmp$(PREFIX)/lib/libnghttp2.*a | ||
rm -rf $(CURDIR)/debian/tmp$(PREFIX)/share/doc/nghttp2/README.rst | ||
rm -rf $(CURDIR)/debian/tmp$(PREFIX)/share/man/man1/h2load.1 | ||
rm -rf $(CURDIR)/debian/tmp$(PREFIX)/share/man/man1/nghttp* | ||
rm -rf $(CURDIR)/debian/tmp$(PREFIX)/share/nghttp2 | ||
|
||
binary-indep: build install | ||
|
||
binary-arch: build install | ||
dh_testdir | ||
dh_testroot | ||
dh_install --sourcedir=debian/tmp | ||
dh_link | ||
dh_strip | ||
dh_compress | ||
dh_fixperms | ||
dh_installdeb | ||
dh_gencontrol | ||
dh_md5sums | ||
dh_builddeb | ||
|
||
binary: binary-indep binary-arch | ||
.PHONY: build clean binary-indep binary-arch binary install configure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2345d4dc136fda28ce243e0bb21f2e7e8ef6293d62c799abbf6f633a6887af72 nghttp2-1.62.1.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://github.com/nghttp2/nghttp2/releases/download/v1.62.1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters