-
Notifications
You must be signed in to change notification settings - Fork 295
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
PPA with Ubuntu package #184
Comments
@mpasternak, nice, thanks a ton! It would be nice to have this module not only in Also, I think it is better to use latest release, not |
Hey, thanks for positive feedback. Let's keep this issue open, I'll keep you informed. |
@shvchk I always try to keep the master stable. When new features are under development I keep them at a branch. @mpasternak what can I do to help? |
Of course. 2015-07-11 23:47 GMT+02:00 Wandenberg Peixoto notifications@github.com:
Pozdrawiam, |
Done |
It’s not supposed to, I don’t need 15.10. Patches welcome. —
|
大神,牛逼 |
The Ubuntu package didn't end up working for me, though I was able to compile it from source. That link is really old, so here's an updated version: # Step 1: make sure you don't have multiple PPAs for NGINX installed, e.g. both stable and development.
add-apt-repository -y -s ppa:nginx/stable # -s is important b/c it allows source code access
apt build-dep nginx
cd /tmp
apt source nginx
git clone https://github.com/wandenberg/nginx-push-stream-module.git
cd /tmp/nginx-*/debian/modules
ln -s /tmp/nginx-push-stream-module
vim /tmp/nginx-*/debian/rules Add the module at the end of this: full_configure_flags := \
$(common_configure_flags) \
--with-http_addition_module \
--with-http_geoip_module=dynamic \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_image_filter_module=dynamic \
--with-http_sub_module \
--with-http_xslt_module=dynamic \
--with-stream=dynamic \
--with-stream_ssl_module \
--with-stream_ssl_preread_module \
--with-mail=dynamic \
--with-mail_ssl_module \
--add-dynamic-module=$(MODULESDIR)/http-auth-pam \
--add-dynamic-module=$(MODULESDIR)/http-dav-ext \
--add-dynamic-module=$(MODULESDIR)/http-echo \
--add-dynamic-module=$(MODULESDIR)/http-upstream-fair \
--add-dynamic-module=$(MODULESDIR)/http-subs-filter \
--add-module=$(MODULESDIR)/nginx-push-stream-module cd /tmp/nginx-* && dpkg-buildpackage -uc -b -j2
dpkg-deb -I /tmp/nginx-full_*.deb
dpkg -i /tmp/nginx-common_*.deb
dpkg -i /tmp/nginx-full_*.deb
apt-mark hold nginx
apt-mark hold nginx-full |
@seanlinsley any particular reason why the ubuntu package didn't work for you? https://github.com/mpasternak/nginx-with-pubsub-builders |
Sorry for not documenting the reason originally. I don't remember what it was anymore :/ |
Hi,
I created a PPA with Ubuntu 14.04 package here:
https://launchpad.net/~dotz/+archive/ubuntu/nginx-with-push-stream-module
On Ubuntu, to get all the goodness of your module, just do:
I'd love to compile extra packages for other Ubuntu versions, just let me know.
I realize, that for the real production environments, people will rather tend to compile their own packages. This PPA was created to enable people to be able to get up-and-running with your module fast. Lazy people - programmers. Like me :-)
The text was updated successfully, but these errors were encountered: