Advertisement
rockdrilla

nginx configure&build flags

May 24th, 2016
519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.71 KB | None | 0 0
  1.  
  2. for i in debian/build-*/objs/nginx; do
  3. echo $i
  4. strings $i | egrep -e '^configure arguments: ' | cut -d: -f2- | xargs -r -n1
  5. echo
  6. done
  7.  
  8. debian/build-light/objs/nginx
  9. --with-cc-opt=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
  10. --with-ld-opt=-Wl,-z,relro -Wl,-z,now
  11. --prefix=/usr/share/nginx
  12. --conf-path=/etc/nginx/nginx.conf
  13. --http-log-path=/var/log/nginx/access.log
  14. --error-log-path=/var/log/nginx/error.log
  15. --lock-path=/var/lock/nginx.lock
  16. --pid-path=/run/nginx.pid
  17. --modules-path=/usr/lib/nginx/modules
  18. --http-client-body-temp-path=/var/lib/nginx/body
  19. --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
  20. --http-proxy-temp-path=/var/lib/nginx/proxy
  21. --http-scgi-temp-path=/var/lib/nginx/scgi
  22. --http-uwsgi-temp-path=/var/lib/nginx/uwsgi
  23. --with-debug
  24. --with-pcre-jit
  25. --with-ipv6
  26. --with-threads
  27. --with-http_auth_request_module
  28. --with-http_dav_module
  29. --with-http_gzip_static_module
  30. --with-http_realip_module
  31. --with-http_ssl_module
  32. --with-http_stub_status_module
  33. --with-http_v2_module
  34. --without-http_browser_module
  35. --without-http_geo_module
  36. --without-http_limit_conn_module
  37. --without-http_limit_req_module
  38. --without-http_memcached_module
  39. --without-http_referer_module
  40. --without-http_scgi_module
  41. --without-http_split_clients_module
  42. --without-http_userid_module
  43. --without-http_uwsgi_module
  44. --add-module=/tmp/nginx.git/debian/modules/openresty-ngx_http_echo
  45.  
  46. debian/build-full/objs/nginx
  47. --with-cc-opt=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
  48. --with-ld-opt=-Wl,-z,relro -Wl,-z,now
  49. --prefix=/usr/share/nginx
  50. --conf-path=/etc/nginx/nginx.conf
  51. --http-log-path=/var/log/nginx/access.log
  52. --error-log-path=/var/log/nginx/error.log
  53. --lock-path=/var/lock/nginx.lock
  54. --pid-path=/run/nginx.pid
  55. --modules-path=/usr/lib/nginx/modules
  56. --http-client-body-temp-path=/var/lib/nginx/body
  57. --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
  58. --http-proxy-temp-path=/var/lib/nginx/proxy
  59. --http-scgi-temp-path=/var/lib/nginx/scgi
  60. --http-uwsgi-temp-path=/var/lib/nginx/uwsgi
  61. --with-debug
  62. --with-pcre-jit
  63. --with-ipv6
  64. --with-threads
  65. --with-http_addition_module
  66. --with-http_auth_request_module
  67. --with-http_dav_module
  68. --with-http_gunzip_module
  69. --with-http_gzip_static_module
  70. --with-http_realip_module
  71. --with-http_ssl_module
  72. --with-http_stub_status_module
  73. --with-http_sub_module
  74. --with-http_v2_module
  75. --with-http_geoip_module=dynamic
  76. --with-http_image_filter_module=dynamic
  77. --with-http_xslt_module=dynamic
  78. --with-stream=dynamic
  79. --with-stream_ssl_module
  80. --with-mail=dynamic
  81. --with-mail_ssl_module
  82. --add-module=/tmp/nginx.git/debian/modules/arut-ngx_http_dav_ext
  83. --add-module=/tmp/nginx.git/debian/modules/gnosek-ngx_http_upstream_fair
  84. --add-module=/tmp/nginx.git/debian/modules/openresty-ngx_http_echo
  85. --add-module=/tmp/nginx.git/debian/modules/yaoweibin-ngx_http_subs
  86. --add-dynamic-module=/tmp/nginx.git/debian/modules/stogh-ngx_http_auth_pam
  87.  
  88. debian/build-extras/objs/nginx
  89. --with-cc-opt=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
  90. --with-ld-opt=-Wl,-z,relro -Wl,-z,now
  91. --prefix=/usr/share/nginx
  92. --conf-path=/etc/nginx/nginx.conf
  93. --http-log-path=/var/log/nginx/access.log
  94. --error-log-path=/var/log/nginx/error.log
  95. --lock-path=/var/lock/nginx.lock
  96. --pid-path=/run/nginx.pid
  97. --modules-path=/usr/lib/nginx/modules
  98. --http-client-body-temp-path=/var/lib/nginx/body
  99. --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
  100. --http-proxy-temp-path=/var/lib/nginx/proxy
  101. --http-scgi-temp-path=/var/lib/nginx/scgi
  102. --http-uwsgi-temp-path=/var/lib/nginx/uwsgi
  103. --with-debug
  104. --with-pcre-jit
  105. --with-ipv6
  106. --with-threads
  107. --with-http_addition_module
  108. --with-http_auth_request_module
  109. --with-http_dav_module
  110. --with-http_flv_module
  111. --with-http_gunzip_module
  112. --with-http_gzip_static_module
  113. --with-http_mp4_module
  114. --with-http_random_index_module
  115. --with-http_realip_module
  116. --with-http_secure_link_module
  117. --with-http_ssl_module
  118. --with-http_stub_status_module
  119. --with-http_sub_module
  120. --with-http_v2_module
  121. --with-http_geoip_module=dynamic
  122. --with-http_image_filter_module=dynamic
  123. --with-http_perl_module=dynamic
  124. --with-http_xslt_module=dynamic
  125. --with-mail=dynamic
  126. --with-mail_ssl_module
  127. --with-stream=dynamic
  128. --with-stream_ssl_module
  129. --add-module=/tmp/nginx.git/debian/modules/openresty-ngx_http_headers_more
  130. --add-module=/tmp/nginx.git/debian/modules/frickle-ngx_http_cache_purge
  131. --add-module=/tmp/nginx.git/debian/modules/arut-ngx_http_dav_ext
  132. --add-module=/tmp/nginx.git/debian/modules/openresty-ngx_http_echo
  133. --add-module=/tmp/nginx.git/debian/modules/aperezdc-ngx_http_fancyindex
  134. --add-module=/tmp/nginx.git/debian/modules/slact-ngx_nchan
  135. --add-module=/tmp/nginx.git/debian/modules/masterzen-ngx_http_uploadprogress
  136. --add-module=/tmp/nginx.git/debian/modules/gnosek-ngx_http_upstream_fair
  137. --add-module=/tmp/nginx.git/debian/modules/yaoweibin-ngx_http_subs
  138. --add-dynamic-module=/tmp/nginx.git/debian/modules/stogh-ngx_http_auth_pam
  139. --add-dynamic-module=/tmp/nginx.git/debian/modules/simpl-ndk_http
  140. --add-dynamic-module=/tmp/nginx.git/debian/modules/openresty-ngx_http_lua
  141.  
  142. debian/build-standard/objs/nginx
  143. --with-cc-opt=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE
  144. --with-ld-opt=-Wl,-z,relro -Wl,-z,now -fPIE -pie
  145. --prefix=/usr/share/nginx
  146. --conf-path=/etc/nginx/nginx.conf
  147. --http-log-path=/var/log/nginx/access.log
  148. --error-log-path=/var/log/nginx/error.log
  149. --lock-path=/var/lock/nginx.lock
  150. --pid-path=/run/nginx.pid
  151. --modules-path=/usr/lib/nginx/modules
  152. --http-client-body-temp-path=/var/lib/nginx/body
  153. --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
  154. --http-proxy-temp-path=/var/lib/nginx/proxy
  155. --http-scgi-temp-path=/var/lib/nginx/scgi
  156. --http-uwsgi-temp-path=/var/lib/nginx/uwsgi
  157. --with-debug
  158. --with-pcre-jit
  159. --with-ipv6
  160. --with-threads
  161. --with-http_ssl_module
  162. --with-http_stub_status_module
  163. --with-http_realip_module
  164. --with-http_auth_request_module
  165. --with-http_v2_module
  166. --with-http_dav_module
  167. --with-http_addition_module
  168. --with-http_flv_module
  169. --with-http_gunzip_module
  170. --with-http_gzip_static_module
  171. --with-http_mp4_module
  172. --with-http_random_index_module
  173. --with-http_secure_link_module
  174. --with-http_sub_module
  175. --with-http_slice_module
  176.  
  177. debian/build-dynmodules/objs/nginx
  178. --with-cc-opt=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
  179. --with-ld-opt=-Wl,-z,relro -Wl,-z,now
  180. --prefix=/usr/share/nginx
  181. --conf-path=/etc/nginx/nginx.conf
  182. --http-log-path=/var/log/nginx/access.log
  183. --error-log-path=/var/log/nginx/error.log
  184. --lock-path=/var/lock/nginx.lock
  185. --pid-path=/run/nginx.pid
  186. --modules-path=/usr/lib/nginx/modules
  187. --http-client-body-temp-path=/var/lib/nginx/body
  188. --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
  189. --http-proxy-temp-path=/var/lib/nginx/proxy
  190. --http-scgi-temp-path=/var/lib/nginx/scgi
  191. --http-uwsgi-temp-path=/var/lib/nginx/uwsgi
  192. --with-debug
  193. --with-pcre-jit
  194. --with-ipv6
  195. --with-threads
  196. --with-http_addition_module
  197. --with-http_auth_request_module
  198. --with-http_dav_module
  199. --with-http_flv_module
  200. --with-http_geoip_module=dynamic
  201. --with-http_gunzip_module
  202. --with-http_gzip_static_module
  203. --with-http_mp4_module
  204. --with-http_random_index_module
  205. --with-http_realip_module
  206. --with-http_secure_link_module
  207. --with-http_slice_module
  208. --with-http_ssl_module
  209. --with-http_stub_status_module
  210. --with-http_sub_module
  211. --with-http_v2_module
  212. --with-http_image_filter_module=dynamic
  213. --with-http_perl_module=dynamic
  214. --with-http_xslt_module=dynamic
  215. --with-mail=dynamic
  216. --with-mail_ssl_module
  217. --with-stream=dynamic
  218. --with-stream_ssl_module
  219. --add-dynamic-module=/tmp/nginx.git/debian/modules/aperezdc-ngx_http_fancyindex
  220. --add-dynamic-module=/tmp/nginx.git/debian/modules/arut-ngx_http_dav_ext
  221. --add-dynamic-module=/tmp/nginx.git/debian/modules/frickle-ngx_http_cache_purge
  222. --add-dynamic-module=/tmp/nginx.git/debian/modules/gnosek-ngx_http_upstream_fair
  223. --add-dynamic-module=/tmp/nginx.git/debian/modules/masterzen-ngx_http_uploadprogress
  224. --add-dynamic-module=/tmp/nginx.git/debian/modules/nginx-ngx_http_js/nginx
  225. --add-dynamic-module=/tmp/nginx.git/debian/modules/openresty-ngx_http_echo
  226. --add-dynamic-module=/tmp/nginx.git/debian/modules/openresty-ngx_http_headers_more
  227. --add-dynamic-module=/tmp/nginx.git/debian/modules/openresty-ngx_http_lua
  228. --add-dynamic-module=/tmp/nginx.git/debian/modules/simpl-ndk_http
  229. --add-dynamic-module=/tmp/nginx.git/debian/modules/slact-ngx_nchan
  230. --add-dynamic-module=/tmp/nginx.git/debian/modules/stogh-ngx_http_auth_pam
  231. --add-dynamic-module=/tmp/nginx.git/debian/modules/yaoweibin-ngx_http_subs
  232.  
  233. ############################################################################
  234. # same output from nginx_1.10.0-1~jessie_amd64.deb/usr/sbin/nginx
  235. ############################################################################
  236.  
  237. --prefix=/etc/nginx
  238. --sbin-path=/usr/sbin/nginx
  239. --modules-path=/usr/lib/nginx/modules
  240. --conf-path=/etc/nginx/nginx.conf
  241. --error-log-path=/var/log/nginx/error.log
  242. --http-log-path=/var/log/nginx/access.log
  243. --pid-path=/var/run/nginx.pid
  244. --lock-path=/var/run/nginx.lock
  245. --http-client-body-temp-path=/var/cache/nginx/client_temp
  246. --http-proxy-temp-path=/var/cache/nginx/proxy_temp
  247. --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
  248. --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
  249. --http-scgi-temp-path=/var/cache/nginx/scgi_temp
  250. --user=nginx
  251. --group=nginx
  252. --with-http_ssl_module
  253. --with-http_realip_module
  254. --with-http_addition_module
  255. --with-http_sub_module
  256. --with-http_dav_module
  257. --with-http_flv_module
  258. --with-http_mp4_module
  259. --with-http_gunzip_module
  260. --with-http_gzip_static_module
  261. --with-http_random_index_module
  262. --with-http_secure_link_module
  263. --with-http_stub_status_module
  264. --with-http_auth_request_module
  265. --with-http_xslt_module=dynamic
  266. --with-http_image_filter_module=dynamic
  267. --with-http_geoip_module=dynamic
  268. --with-http_perl_module=dynamic
  269. --add-dynamic-module=debian/extra/njs-1c50334fbea6/nginx
  270. --with-threads
  271. --with-stream
  272. --with-stream_ssl_module
  273. --with-http_slice_module
  274. --with-mail
  275. --with-mail_ssl_module
  276. --with-file-aio
  277. --with-ipv6
  278. --with-http_v2_module
  279. --with-cc-opt=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
  280. --with-ld-opt=-Wl,-z,relro -Wl,--as-needed
  281.  
  282. ############################################################################
  283.  
  284. Debian CC flags:
  285. --with-cc-opt=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
  286.  
  287. Nginx Inc. CC flags:
  288. --with-cc-opt=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
  289.  
  290. ############################################################################
  291.  
  292. Debian LD flags:
  293. --with-ld-opt=-Wl,-z,relro -Wl,-z,now
  294.  
  295. Nginx Inc. LD flags:
  296. --with-ld-opt=-Wl,-z,relro -Wl,--as-needed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement