Explorar o código

enable ssl module, add html files

Waldemar Brodkorb %!s(int64=13) %!d(string=hai) anos
pai
achega
c94924bd85
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      package/nginx/Makefile

+ 6 - 2
package/nginx/Makefile

@@ -20,7 +20,8 @@ $(eval $(call PKG_template,NGINX,nginx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPEN
 
 CONFIG_STYLE:=          minimal
 TARGET_CFLAGS+=         -fPIC
-CONFIGURE_ARGS:=        --prefix=/usr \
+CONFIGURE_ARGS:=        --prefix=/srv/nginx \
+			--sbin-path=/usr/sbin \
 			--user=nginx \
 			--group=nginx \
 			--crossbuild=Linux::$(ARCH) \
@@ -34,7 +35,8 @@ CONFIGURE_ARGS:=        --prefix=/usr \
                         --http-log-path=/var/log/nginx/access.log \
                         --http-client-body-temp-path=/var/lib/nginx/body \
                         --http-proxy-temp-path=/var/lib/nginx/proxy \
-                        --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
+                        --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
+			--with-http_ssl_module
 ALL_TARGET:=		
 XAKE_FLAGS+=		GCC_HONOUR_COPTS=s
 
@@ -46,5 +48,7 @@ nginx-install:
 		cp $(WRKINST)/etc/nginx/$${f} \
 		$(IDIR_NGINX)/etc/nginx ; \
 	done
+	$(INSTALL_DIR) $(IDIR_NGINX)/srv/nginx/html
+	$(CP) $(WRKINST)/srv/nginx/html/* $(IDIR_NGINX)/srv/nginx/html
 
 include ${TOPDIR}/mk/pkg-bottom.mk