diff --git a/build.sh b/build.sh index b93a343..2569d70 100755 --- a/build.sh +++ b/build.sh @@ -43,9 +43,8 @@ sed -i 's|--http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group= sed -i 's|--with-compat||g' rules sed -i 's|--with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module|--with-http_ssl_module|g' rules sed -i 's|--with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module|--with-pcre-jit --without-select_module --without-poll_module --without-http_access_module --without-http_autoindex_module --without-http_browser_module --without-http_charset_module --without-http_empty_gif_module --without-http_limit_conn_module --without-http_memcached_module --without-http_mirror_module --without-http_referer_module --without-http_split_clients_module --without-http_scgi_module --without-http_ssi_module --without-http_upstream_hash_module --without-http_upstream_ip_hash_module --without-http_upstream_keepalive_module --without-http_upstream_least_conn_module --without-http_upstream_random_module --without-http_upstream_zone_module --with-openssl=$(CURDIR)/debian/modules/openssl|g' rules -cat rules cd .. -dpkg-buildpackage -b +dpkg-buildpackage -b > /dev/null 2>&1 cd .. cp nginx_*.deb nginx.deb hash=$(sha256sum nginx.deb | awk '{print $1}')