Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 363573 | Differences between
and this patch

Collapse All | Expand All

(-)nginx-1.0.0.ebuild.orig (-2 / +24 lines)
Lines 34-39 Link Here
34
HTTP_UPLOAD_MODULE_PV="2.2.0"
34
HTTP_UPLOAD_MODULE_PV="2.2.0"
35
HTTP_UPLOAD_MODULE_P="nginx_upload_module-${HTTP_UPLOAD_MODULE_PV}"
35
HTTP_UPLOAD_MODULE_P="nginx_upload_module-${HTTP_UPLOAD_MODULE_PV}"
36
36
37
# H264 Streaming Module 
38
# http://h264.code-shop.com/ 
39
# Dual licenced:
40
#   Non-Commercial: Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)
41
#   Commercial: http://h264.code-shop.com/H264-Streaming-Module-License.pdf
42
HTTP_H264_STREAMING_MODULE_PV="2.2.7"
43
HTTP_H264_STREAMING_MODULE_P="nginx_mod_h264_streaming-${HTTP_H264_STREAMING_MODULE_PV}"
44
37
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic
45
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic
38
46
39
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
47
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
Lines 44-50 Link Here
44
	nginx_modules_http_headers_more? ( http://github.com/agentzh/headers-more-nginx-module/tarball/v${HTTP_HEADERS_MORE_MODULE_PV} -> ${HTTP_HEADERS_MORE_MODULE_P}.tar.gz )
52
	nginx_modules_http_headers_more? ( http://github.com/agentzh/headers-more-nginx-module/tarball/v${HTTP_HEADERS_MORE_MODULE_PV} -> ${HTTP_HEADERS_MORE_MODULE_P}.tar.gz )
45
	nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/${HTTP_PUSH_MODULE_P}.tar.gz )
53
	nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/${HTTP_PUSH_MODULE_P}.tar.gz )
46
	nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/${HTTP_CACHE_PURGE_MODULE_P}.tar.gz )
54
	nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/${HTTP_CACHE_PURGE_MODULE_P}.tar.gz )
47
	nginx_modules_http_upload? ( http://www.grid.net.ru/nginx/download/${HTTP_UPLOAD_MODULE_P}.tar.gz )"
55
	nginx_modules_http_upload? ( http://www.grid.net.ru/nginx/download/${HTTP_UPLOAD_MODULE_P}.tar.gz )
56
	nginx_modules_http_h264_streaming? ( http://h264.code-shop.com/download/${HTTP_H264_STREAMING_MODULE_P}.tar.gz )"
48
57
49
LICENSE="BSD BSD-2 GPL-2 MIT"
58
LICENSE="BSD BSD-2 GPL-2 MIT"
50
SLOT="0"
59
SLOT="0"
Lines 57-63 Link Here
57
perl random_index realip secure_link stub_status sub xslt"
66
perl random_index realip secure_link stub_status sub xslt"
58
NGINX_MODULES_MAIL="imap pop3 smtp"
67
NGINX_MODULES_MAIL="imap pop3 smtp"
59
NGINX_MODULES_3RD="http_cache_purge http_headers_more http_passenger http_push
68
NGINX_MODULES_3RD="http_cache_purge http_headers_more http_passenger http_push
60
http_upload"
69
http_upload http_h264_streaming"
61
70
62
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre ssl vim-syntax"
71
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre ssl vim-syntax"
63
72
Lines 146-151 Link Here
146
155
147
src_prepare() {
156
src_prepare() {
148
	sed -i 's/ make/ \\$(MAKE)/' "${S}"/auto/lib/perl/make
157
	sed -i 's/ make/ \\$(MAKE)/' "${S}"/auto/lib/perl/make
158
	if use nginx_modules_http_h264_streaming; then
159
		cd "${WORKDIR}"
160
		epatch "${FILESDIR}"/nginx_mod_h264_streaming-2.2.7.patch
161
	fi
149
}
162
}
150
163
151
src_configure() {
164
src_configure() {
Lines 198-203 Link Here
198
		myconf="${myconf} --add-module=${WORKDIR}/${HTTP_UPLOAD_MODULE_P}"
211
		myconf="${myconf} --add-module=${WORKDIR}/${HTTP_UPLOAD_MODULE_P}"
199
	fi
212
	fi
200
213
214
	if use nginx_modules_http_h264_streaming; then
215
		http_enabled=1
216
		myconf="${myconf} --add-module=${WORKDIR}/${HTTP_H264_STREAMING_MODULE_P}"
217
	fi
218
201
	if use http || use http-cache; then
219
	if use http || use http-cache; then
202
		http_enabled=1
220
		http_enabled=1
203
	fi
221
	fi
Lines 297-302 Link Here
297
		docinto ${HTTP_UPLOAD_MODULE_P}
315
		docinto ${HTTP_UPLOAD_MODULE_P}
298
		dodoc "${WORKDIR}"/${HTTP_UPLOAD_MODULE_P}/{Changelog,README}
316
		dodoc "${WORKDIR}"/${HTTP_UPLOAD_MODULE_P}/{Changelog,README}
299
	fi
317
	fi
318
	if use nginx_modules_http_h264_streaming; then
319
		docinto ${HTTP_H264_STREAMING_MODULE_P}
320
		dodoc "${WORKDIR}"/${HTTP_H264_STREAMING_MODULE_P}/{LICENSE,README}
321
	fi
300
}
322
}
301
323
302
pkg_postinst() {
324
pkg_postinst() {

Return to bug 363573