Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding image filter, xslt filter, and geo ip as dynamic modules #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ sudo passwd makerpm
sudo dnf install @development-tools fedora-packager rpmdevtools

# install openresty's build requirements:
sudo dnf install openssl-devel zlib-devel pcre-devel gcc make perl perl-Data-Dumper
sudo dnf install openssl-devel zlib-devel pcre-devel gcc make perl \
perl-Data-Dumper gd-devel libxslt-devel GeoIP-devel

# login as makerpm:
sudo su - makerpm
Expand Down Expand Up @@ -94,7 +95,8 @@ sudo yum install rpm-build redhat-rpm-config rpmdevtools

# install openresty's build requirements:
sudo yum install openssl-devel zlib-devel pcre-devel gcc make perl \
perl-Data-Dumper libtool ElectricFence systemtap-sdt-devel valgrind-devel
perl-Data-Dumper libtool ElectricFence systemtap-sdt-devel valgrind-devel \
gd-devel libxslt-devel GeoIP-devel

# login as makerpm:
sudo su - makerpm
Expand Down Expand Up @@ -134,7 +136,7 @@ Ubuntu/Debian
For Ubuntu 14.04+ and Debian 7.x+:

```bash
sudo apt-get install libtemplate-perl dh-systemd systemtap-sdt-dev perl gnupg curl make build-essential dh-make bzr-builddeb
sudo apt-get install libtemplate-perl dh-systemd systemtap-sdt-dev perl gnupg curl make build-essential dh-make bzr-builddeb libgd-dev libgeoip-dev libxslt1-dev

cd /path/to/openresty-packaging/deb/
make zlib-build
Expand Down Expand Up @@ -206,4 +208,3 @@ See Also
* [OpenResty official site](https://openresty.org/)

[Back to TOC](#table-of-contents)

1 change: 1 addition & 0 deletions deb/openresty/debian/openresty.install
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ usr/local/openresty/site/lualib
usr/local/openresty/luajit/*
usr/local/openresty/lualib/*
usr/local/openresty/nginx/html/*
usr/local/openresty/nginx/modules/*
usr/local/openresty/nginx/sbin/*
usr/local/openresty/nginx/tapset/*
usr/local/openresty/nginx/conf/*
Expand Down
3 changes: 3 additions & 0 deletions deb/openresty/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ override_dh_auto_configure:
--with-threads \
--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' \
--with-dtrace-probes \
--with-http_image_filter_module=dynamic \
--with-http_geoip_module=dynamic \
--with-http_xslt_module=dynamic \
-j$(NJBS)

override_dh_usrlocal:
Expand Down
6 changes: 6 additions & 0 deletions rpm/SPECS/openresty.spec
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ This package provides the client side tool, opm, for OpenResty Pakcage Manager (
--with-threads \
--with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' \
--with-dtrace-probes \
--with-http_image_filter_module=dynamic \
--with-http_geoip_module=dynamic \
--with-http_xslt_module=dynamic \
%{?_smp_mflags}

make %{?_smp_mflags}
Expand Down Expand Up @@ -225,6 +228,7 @@ fi
%{orprefix}/lualib/*
%{orprefix}/nginx/html/*
%{orprefix}/nginx/logs/
%{orprefix}/nginx/modules/*
%{orprefix}/nginx/sbin/*
%{orprefix}/nginx/tapset/*
%config(noreplace) %{orprefix}/nginx/conf/*
Expand Down Expand Up @@ -260,6 +264,8 @@ fi


%changelog
* Sun Jun 03 2018 Ed Whitehead (edrw-bt) 1.13.6.2-2
- added image filter, xslt filter, and geo ip modules as dynamic nginx modules
* Mon May 14 2018 Yichun Zhang (agentzh) 1.13.6.2-1
- upgraded openresty to 1.13.6.2.
* Sun Nov 12 2017 Yichun Zhang (agentzh) 1.13.6.1-1
Expand Down