2 # Copyright (C) 2012-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=nginx-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://nginx.org
/download
/
16 PKG_HASH
:=f09071ac46e0ea3adc0008ef0baca229fc6b4be4533baef9bbbfba7de29a8602
18 PKG_MAINTAINER
:=Thomas Heil
<heil@terminal-consulting.de
> \
19 Ansuel Smith
<ansuelsmth@gmail.com
>
20 PKG_LICENSE
:=2-clause BSD-like license
21 PKG_CPE_ID
:=cpe
:/a
:nginx
:nginx
26 PKG_BUILD_FLAGS
:=gc-sections
39 # official and 3rd-party modules
43 PKG_MOD_PATCHED
:= $(shell find patches
-mindepth
1 -maxdepth
1 -type d
-name
'nginx-mod-*' | sed
-E
's,^patches/nginx-mod-,,')
45 PKG_CONFIG_DEPENDS
:= \
48 CONFIG_NGINX_STUB_STATUS \
49 CONFIG_NGINX_HTTP_CHARSET \
50 CONFIG_NGINX_HTTP_GZIP \
51 CONFIG_NGINX_HTTP_GZIP_STATIC \
52 CONFIG_NGINX_HTTP_SSI \
53 CONFIG_NGINX_HTTP_USERID \
54 CONFIG_NGINX_HTTP_ACCESS \
55 CONFIG_NGINX_HTTP_AUTH_BASIC \
56 CONFIG_NGINX_HTTP_AUTH_REQUEST \
57 CONFIG_NGINX_HTTP_AUTOINDEX \
58 CONFIG_NGINX_HTTP_GEO \
59 CONFIG_NGINX_HTTP_MAP \
60 CONFIG_NGINX_HTTP_SPLIT_CLIENTS \
61 CONFIG_NGINX_HTTP_REFERER \
62 CONFIG_NGINX_HTTP_REWRITE \
63 CONFIG_NGINX_HTTP_PROXY \
64 CONFIG_NGINX_HTTP_FASTCGI \
65 CONFIG_NGINX_HTTP_UWSGI \
66 CONFIG_NGINX_HTTP_SCGI \
67 CONFIG_NGINX_HTTP_MEMCACHED \
68 CONFIG_NGINX_HTTP_LIMIT_CONN \
69 CONFIG_NGINX_HTTP_LIMIT_REQ \
70 CONFIG_NGINX_HTTP_EMPTY_GIF \
71 CONFIG_NGINX_HTTP_BROWSER \
72 CONFIG_NGINX_HTTP_UPSTREAM_HASH \
73 CONFIG_NGINX_HTTP_UPSTREAM_IP_HASH \
74 CONFIG_NGINX_HTTP_UPSTREAM_LEAST_CONN \
75 CONFIG_NGINX_HTTP_UPSTREAM_KEEPALIVE \
76 CONFIG_NGINX_HTTP_UPSTREAM_ZONE \
77 CONFIG_NGINX_HTTP_CACHE \
78 CONFIG_NGINX_HTTP_V2 \
79 CONFIG_NGINX_HTTP_QUIC \
81 CONFIG_NGINX_HTTP_REAL_IP \
82 CONFIG_NGINX_HTTP_SECURE_LINK \
83 CONFIG_OPENSSL_ENGINE \
84 CONFIG_OPENSSL_WITH_NPN \
85 $(foreach m
,$(PKG_MOD_EXTRA
),CONFIG_PACKAGE_
$(m
))
87 include $(INCLUDE_DIR
)/package.mk
88 include $(INCLUDE_DIR
)/nls.mk
90 define Package
/nginx
/default
93 SUBMENU
:=Web Servers
/Proxies
94 TITLE
:=Nginx web server
95 URL
:=http
://nginx.org
/
96 DEPENDS
:=+libopenssl
+libpthread
97 # TODO: add PROVIDES when removing nginx
101 define Package
/nginx
/description
102 nginx is an HTTP and reverse proxy server
, as well
as a mail proxy server
, \
103 written by Igor Sysoev.
106 define Package
/nginx
/conffiles
110 define Package
/nginx-ssl
111 $(Package
/nginx
/default
)
112 TITLE
+= with SSL support
114 DEPENDS
+= +NGINX_PCRE
:libpcre \
115 +NGINX_PCRE
:nginx-ssl-util
+!NGINX_PCRE
:nginx-ssl-util-nopcre \
116 +NGINX_HTTP_GZIP
:zlib
+NGINX_DAV
:libxml2
117 EXTRA_DEPENDS
:=nginx-ssl-util
$(if
$(CONFIG_NGINX_PCRE
),,-nopcre
) (>=1.5-1) (<2)
118 CONFLICTS
:=nginx-full
121 Package
/nginx-ssl
/description
= $(Package
/nginx
/description
) \
122 This variant is compiled with SSL support enabled. To enable additional module \
123 select them in the nginx default configuration menu.
125 define Package
/nginx-ssl
/config
126 source
"$(SOURCE)/Config_ssl.in"
129 Package
/nginx-ssl
/conffiles
= $(Package
/nginx
/conffiles
)
131 IsEnabled
= $(or
$(filter full
,$(BUILD_VARIANT
)),$(CONFIG_
$(1)))
132 IsDisabled
= $(if
$(call IsEnabled
,$(1)),,1)
134 config_files
:= mime.types \
135 $(if
$(call IsEnabled
,NGINX_HTTP_CHARSET
),koi-utf koi-win win-utf
) \
136 $(if
$(call IsEnabled
,NGINX_HTTP_FASTCGI
),fastcgi_params
) \
137 $(if
$(call IsEnabled
,NGINX_HTTP_UWSGI
),uwsgi_params
) \
138 $(if
$(call IsEnabled
,NGINX_HTTP_SCGI
),scgi_params
)
140 define Package
/nginx-ssl
/install
141 $(INSTALL_DIR
) $(1)/usr
/sbin
142 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/nginx
$(1)/usr
/sbin
/
143 $(INSTALL_DIR
) $(1)/etc
/nginx
/module.d
144 $(INSTALL_DIR
) $(1)/etc
/nginx
/conf.d
145 $(INSTALL_DATA
) $(addprefix $(PKG_INSTALL_DIR
)/etc
/nginx
/,$(config_files
)) $(1)/etc
/nginx
/
146 $(INSTALL_DIR
) $(1)/etc
/init.d
147 $(INSTALL_BIN
) .
/files
/nginx.init
$(1)/etc
/init.d
/nginx
150 define Package
/nginx-ssl
/prerm
152 [ -z
"$${IPKG_INSTROOT}" ] || exit
0
153 [ "$${PKG_UPGRADE}" = "1" ] && exit
0
154 eval
$$(/usr
/bin
/nginx-util get_env
)
155 [ "$$(uci get "nginx.
$${LAN_NAME}.
$${MANAGE_SSL}")" = "self-signed" ] || exit
0
156 rm -f
"$$(uci get "nginx.
$${LAN_NAME}.ssl_certificate
")"
157 rm -f
"$$(uci get "nginx.
$${LAN_NAME}.ssl_certificate_key
")"
161 define Package
/nginx-full
162 $(Package
/nginx
/default
)
163 TITLE
+= with ALL config selected
164 DEPENDS
+=+libpcre
+nginx-ssl-util
+zlib
+libxml2
165 EXTRA_DEPENDS
:=nginx-ssl-util
(>=1.5-1) (<2)
167 PROVIDES
+= nginx-ssl
170 Package
/nginx-full
/description
= $(Package
/nginx
/description
) \
171 This variant is compiled with ALL config selected.
173 Package
/nginx-full
/install = $(Package
/nginx-ssl
/install)
175 Package
/nginx-full
/prerm
= $(Package
/nginx-ssl
/prerm
)
177 Package
/nginx-full
/conffiles
= $(Package
/nginx
/conffiles
)
179 define Package
/nginx-mod-luci
183 SUBMENU
:=Web Servers
/Proxies
184 TITLE
:=Support file for Nginx
185 URL
:=http
://nginx.org
/
186 DEPENDS
:=+uwsgi
+uwsgi-luci-support
+nginx-ssl
+nginx-mod-ubus
187 # TODO: add PROVIDES when removing nginx-mod-luci-ssl
188 # PROVIDES:=nginx-mod-luci-ssl
191 define Package
/nginx-mod-luci
/description
192 Support file for LuCI in nginx. Include custom nginx configuration
, autostart script for uwsgi.
195 define Package
/nginx-mod-luci
/install
196 $(INSTALL_DIR
) $(1)/etc
/nginx
/conf.d
197 $(INSTALL_CONF
) .
/files-luci-support
/luci.locations
$(1)/etc
/nginx
/conf.d
/
198 $(INSTALL_DIR
) $(1)/etc
/uci-defaults
199 $(INSTALL_BIN
) .
/files-luci-support
/60_nginx-luci-support
$(1)/etc
/uci-defaults
/60_nginx-luci-support
202 define Download
/nginx-mod-geoip2
203 VERSION
:=1cabd8a1f68ea3998f94e9f3504431970f848fbf
204 URL
:=https
://github.com
/leev
/ngx_http_geoip2_module.git
205 MIRROR_HASH
:=b4bd8517f6595f28e9cea5370045df476e0f7fa9ca3611d71ba85c518f1a7eda
209 define Download
/nginx-mod-headers-more
210 VERSION
:=bea1be3bbf6af28f6aa8cf0c01c07ee1637e2bd0
211 URL
:=https
://github.com
/openresty
/headers-more-nginx-module.git
212 MIRROR_HASH
:=3617bbf7a935208a1d8d5f86a8f9b770f6987e4d2b5663a9ab1b777217e3066b
217 define Download
/nginx-mod-brotli
218 VERSION
:=e505dce68acc190cc5a1e780a3b0275e39f160ca
219 URL
:=https
://github.com
/google
/ngx_brotli.git
220 MIRROR_HASH
:=04847f11ef808fed50f44b2af0ef3abf59ff0ffc06dfc7394d9ab51d53fef31f
224 define Download
/nginx-mod-rtmp
225 VERSION
:=f0ea62342a4eca504b311cd5df910d026c3ea4cf
226 URL
:=https
://github.com
/ut0mt8
/nginx-rtmp-module.git
227 MIRROR_HASH
:=d3f58066f0f858ed79f7f2b0c9b89de2ccc512c94ab3d0625f6dcff3df0b72c1
231 define Download
/nginx-mod-ts
232 VERSION
:=ef2f874d95cc75747eb625a292524a702aefb0fd
233 URL
:=https
://github.com
/arut
/nginx-ts-module.git
234 MIRROR_HASH
:=73938950bb286d40d9e54b0994d1a63827340c1156c72eb04d7041b25b20ec18
238 define Download
/nginx-mod-naxsi
239 VERSION
:=951123ad456bdf5ac94e8d8819342fe3d49bc002
240 URL
:=https
://github.com
/nbs-system
/naxsi.git
241 MIRROR_HASH
:=c734cae19a596affadd62a2df1b58d3df8d1364093a4e80a7cd1ab4555963535
245 define Download
/nginx-mod-lua
246 VERSION
:=68acad14e4a8f42e31d4a4bb5ed44d6f5b55fc1c
247 URL
:=https
://github.com
/openresty
/lua-nginx-module.git
248 MIRROR_HASH
:=366f24e1ba6221e34f6ba20ab29146438438f88c89fd71f9500d169b3f5aedf0
252 define Download
/nginx-mod-dav-ext
253 VERSION
:=f5e30888a256136d9c550bf1ada77d6ea78a48af
254 URL
:=https
://github.com
/arut
/nginx-dav-ext-module.git
255 MIRROR_HASH
:=70bb4c3907f4b783605500ba494e907aede11f8505702e370012abb3c177dc5b
259 define Download
/nginx-mod-ubus
260 VERSION
:=b2d7260dcb428b2fb65540edb28d7538602b4a26
261 URL
:=https
://github.com
/Ansuel
/nginx-ubus-module.git
262 MIRROR_HASH
:=472cef416d25effcac66c85417ab6596e634a7a64d45b709bb090892d567553c
266 define Module
/Download
267 define Download
/nginx-mod-
$(1) +=
269 SUBDIR
:=nginx-mod-
$(1)
270 FILE
:=nginx-mod-
$(1)-$$$$(VERSION
).
tar.xz
273 $(foreach m
,$(PKG_MOD_EXTRA
),$(eval
$(call Module
/Download
,$(m
))))
275 define Module
/nginx-mod-naxsi
/install
276 $(INSTALL_DIR
) $(1)/etc
/nginx
277 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/nginx-mod-naxsi
/naxsi_config
/naxsi_core.rules
$(1)/etc
/nginx
280 define Quilt
/Refresh
/Package
281 $(call Quilt
/RefreshDir
,$(PKG_BUILD_DIR
),$(PATCH_DIR
)/nginx
,nginx
/)
282 $(foreach m
,$(PKG_MOD_PATCHED
),
283 $(call Quilt
/RefreshDir
,$(PKG_BUILD_DIR
),$(PATCH_DIR
)/nginx-mod-
$(m
),nginx-mod-
$(m
)/)
288 $(if
$(QUILT
),rm -rf
$(PKG_BUILD_DIR
)/patches
; mkdir
-p
$(PKG_BUILD_DIR
)/patches
)
289 $(call PatchDir
,$(PKG_BUILD_DIR
),$(PATCH_DIR
)/nginx
,nginx
/)
290 $(foreach m
,$(PKG_MOD_PATCHED
),$(if
$(or
$(CONFIG_PACKAGE_nginx-mod-
$(m
)),$(QUILT
)),
291 $(call PatchDir
,$(PKG_BUILD_DIR
),$(PATCH_DIR
)/nginx-mod-
$(m
),nginx-mod-
$(m
)/)
293 $(if
$(QUILT
),touch
$(PKG_BUILD_DIR
)/.quilt_used
)
296 define Module
/Build
/Prepare
297 $(eval
$(call Download
,nginx-mod-
$(1)))
298 $(eval
$(Download
/nginx-mod-
$(1)))
299 mkdir
-p
$(PKG_BUILD_DIR
)/nginx-mod-
$(1)
300 xzcat
$(DL_DIR
)/$(FILE
) |
tar -C
$(PKG_BUILD_DIR
)/nginx-mod-
$(1) $(TAR_OPTIONS
) --strip-components
1
304 rm -rf
$(PKG_BUILD_DIR
)
305 mkdir
-p
$(PKG_BUILD_DIR
)
308 $(foreach m
,$(filter-out $(PKG_MOD_PATCHED
),$(PKG_MOD_EXTRA
)),$(if
$(CONFIG_PACKAGE_nginx-mod-
$(m
)),
309 $(call Module
/Build
/Prepare
,$(m
))
311 $(foreach m
,$(PKG_MOD_PATCHED
),$(if
$(or
$(CONFIG_PACKAGE_nginx-mod-
$(m
)),$(QUILT
)),
312 $(call Module
/Build
/Prepare
,$(m
))
318 # $(2) module additional dependency
319 # $(3) module so name (stripped of the finaly _module.so)
320 # $(4) module description
322 define Package
/nginx-mod-
$(1)
323 $(call Package
/nginx
/default
)
324 DEPENDS
:=+nginx-ssl
$(2)
325 TITLE
:=Nginx
$(1) module
328 define Package
/nginx-mod-
$(1)/description
332 define Package
/nginx-mod-
$(1)/install
333 $(INSTALL_DIR
) $$(1)/usr
/lib
/nginx
/modules
335 $(CP
) $$(PKG_INSTALL_DIR
)/usr
/lib
/nginx
/modules
/$(m
)_module.so
$$(1)/usr
/lib
/nginx
/modules
337 $(call Module
/nginx-mod-
$(1)/install,$$(1))
340 $$(eval
$$(call BuildPackage
,nginx-mod-
$(1)))
343 TARGET_CFLAGS
+= -DNGX_LUA_NO_BY_LUA_BLOCK
345 ifneq ($(CONFIG_PACKAGE_nginx-mod-lua
),)
346 CONFIGURE_VARS
+= LUAJIT_INC
=$(STAGING_DIR
)/usr
/include/luajit-
* \
347 LUAJIT_LIB
=$(STAGING_DIR
)/usr
/lib
350 CONFIGURE_VARS
+= CONFIG_BIG_ENDIAN
=$(CONFIG_BIG_ENDIAN
)
353 --crossbuild
=Linux
::$(ARCH
) \
355 --conf-path
=/etc
/nginx
/nginx.conf \
356 --modules-path
=/usr
/lib
/nginx
/modules \
357 --error-log-path
=stderr \
358 --pid-path
=/var
/run
/nginx.pid \
359 --lock-path
=/var
/lock
/nginx.lock \
360 --http-log-path
=/var
/log
/nginx
/access.log \
361 --http-client-body-temp-path
=/var
/lib
/nginx
/body \
362 --http-proxy-temp-path
=/var
/lib
/nginx
/proxy \
363 --http-fastcgi-temp-path
=/var
/lib
/nginx
/fastcgi \
364 --with-cc
="$(TARGET_CC)" \
365 --with-cc-opt
="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
366 --with-ld-opt
="$(TARGET_LDFLAGS)" \
367 --without-http_upstream_zone_module \
370 --with-http_ssl_module \
371 $(if
$(call IsDisabled
,NGINX_HTTP_CACHE
),--without-http-cache
) \
372 $(if
$(call IsDisabled
,NGINX_PCRE
),--without-pcre
) \
373 $(if
$(call IsDisabled
,NGINX_HTTP_CHARSET
),--without-http_charset_module
) \
374 $(if
$(call IsDisabled
,NGINX_HTTP_GZIP
),--without-http_gzip_module
) \
375 $(if
$(call IsDisabled
,NGINX_HTTP_SSI
),--without-http_ssi_module
) \
376 $(if
$(call IsDisabled
,NGINX_HTTP_USERID
),--without-http_userid_module
) \
377 $(if
$(call IsDisabled
,NGINX_HTTP_ACCESS
),--without-http_access_module
) \
378 $(if
$(call IsDisabled
,NGINX_HTTP_AUTH_BASIC
),--without-http_auth_basic_module
) \
379 $(if
$(call IsDisabled
,NGINX_HTTP_AUTOINDEX
),--without-http_autoindex_module
) \
380 $(if
$(call IsDisabled
,NGINX_HTTP_GEO
),--without-http_geo_module
) \
381 $(if
$(call IsDisabled
,NGINX_HTTP_MAP
),--without-http_map_module
) \
382 $(if
$(call IsDisabled
,NGINX_HTTP_SPLIT_CLIENTS
),--without-http_split_clients_module
) \
383 $(if
$(call IsDisabled
,NGINX_HTTP_REFERER
),--without-http_referer_module
) \
384 $(if
$(call IsDisabled
,NGINX_HTTP_REWRITE
),--without-http_rewrite_module
) \
385 $(if
$(call IsDisabled
,NGINX_HTTP_PROXY
),--without-http_proxy_module
) \
386 $(if
$(call IsDisabled
,NGINX_HTTP_FASTCGI
),--without-http_fastcgi_module
) \
387 $(if
$(call IsDisabled
,NGINX_HTTP_UWSGI
),--without-http_uwsgi_module
) \
388 $(if
$(call IsDisabled
,NGINX_HTTP_SCGI
),--without-http_scgi_module
) \
389 $(if
$(call IsDisabled
,NGINX_HTTP_MEMCACHED
),--without-http_memcached_module
) \
390 $(if
$(call IsDisabled
,NGINX_HTTP_LIMIT_CONN
),--without-http_limit_conn_module
) \
391 $(if
$(call IsDisabled
,NGINX_HTTP_LIMIT_REQ
),--without-http_limit_req_module
) \
392 $(if
$(call IsDisabled
,NGINX_HTTP_EMPTY_GIF
),--without-http_empty_gif_module
) \
393 $(if
$(call IsDisabled
,NGINX_HTTP_BROWSER
),--without-http_browser_module
) \
394 $(if
$(call IsDisabled
,NGINX_HTTP_UPSTREAM_HASH
),--without-http_upstream_hash_module
) \
395 $(if
$(call IsDisabled
,NGINX_HTTP_UPSTREAM_IP_HASH
),--without-http_upstream_ip_hash_module
) \
396 $(if
$(call IsDisabled
,NGINX_HTTP_UPSTREAM_LEAST_CONN
),--without-http_upstream_least_conn_module
) \
397 $(if
$(call IsDisabled
,NGINX_HTTP_UPSTREAM_KEEPALIVE
),--without-http_upstream_keepalive_module
) \
398 $(if
$(call IsEnabled
,IPV6
),--with-ipv6
) \
399 $(if
$(call IsEnabled
,NGINX_HTTP_GZIP_STATIC
),--with-http_gzip_static_module
) \
400 $(if
$(call IsEnabled
,NGINX_STUB_STATUS
),--with-http_stub_status_module
) \
401 $(if
$(call IsEnabled
,NGINX_FLV
),--with-http_flv_module
) \
402 $(if
$(call IsEnabled
,NGINX_DAV
),--with-http_dav_module
) \
403 $(if
$(call IsEnabled
,NGINX_HTTP_AUTH_REQUEST
),--with-http_auth_request_module
) \
404 $(if
$(call IsEnabled
,NGINX_HTTP_QUIC
),--with-http_v3_module
) \
405 $(if
$(call IsEnabled
,NGINX_HTTP_V2
),--with-http_v2_module
) \
406 $(if
$(call IsEnabled
,NGINX_HTTP_REAL_IP
),--with-http_realip_module
) \
407 $(if
$(call IsEnabled
,NGINX_HTTP_SECURE_LINK
),--with-http_secure_link_module
) \
408 $(if
$(call IsEnabled
,NGINX_HTTP_SUB
),--with-http_sub_module
) \
409 $(if
$(CONFIG_PACKAGE_nginx-mod-stream
),--with-stream
=dynamic
--with-stream_ssl_module
--with-stream_ssl_preread_module
) \
410 $(if
$(CONFIG_PACKAGE_nginx-mod-naxsi
),--add-dynamic-module
=$(PKG_BUILD_DIR
)/nginx-mod-naxsi
/naxsi_src
) \
411 $(foreach m
,$(filter-out naxsi
,$(PKG_MOD_EXTRA
)), \
412 $(if
$(CONFIG_PACKAGE_nginx-mod-
$(m
)),--add-dynamic-module
=$(PKG_BUILD_DIR
)/nginx-mod-
$(m
)))
414 $(eval
$(call BuildPackage
,nginx-ssl
))
415 $(eval
$(call BuildPackage
,nginx-full
))
416 $(eval
$(call BuildPackage
,nginx-mod-luci
))
417 $(eval
$(call BuildModule
,stream
,+@NGINX_STREAM_CORE_MODULE
, \
418 ngx_stream
, Add support for NGINX request streaming.
))
419 $(eval
$(call BuildModule
,lua
,+luajit
,ngx_http_lua
, \
421 $(eval
$(call BuildModule
,ubus
,+libubus
+libjson-c
+libblobmsg-json
+@NGINX_UBUS
, \
422 ngx_http_ubus
,Enable UBUS api support directly from the server.
))
423 $(eval
$(call BuildModule
,dav-ext
,+@NGINX_DAV
+libxml2
,ngx_http_dav_ext
, \
424 Enable the WebDAV methods PROPFIND OPTIONS LOCK UNLOCK.
))
425 $(eval
$(call BuildModule
,headers-more
,,ngx_http_headers_more_filter
, \
426 Set and clear input and output headers...more than
"add"!))
427 $(eval
$(call BuildModule
,rtmp
,,ngx_rtmp
, \
428 Add support for NGINX-based Media Streaming Server module. DASH enhanced
))
429 $(eval
$(call BuildModule
,ts
,,ngx_http_ts
, \
430 Add support for MPEG-TS Live Module module.
))
431 $(eval
$(call BuildModule
,brotli
,,ngx_http_brotli_filter ngx_http_brotli_static
, \
432 Add support for brotli compression module.
))
433 $(eval
$(call BuildModule
,naxsi
,,ngx_http_naxsi
, \
434 Enable NAXSI module.
))
435 $(eval
$(call BuildModule
,geoip2
,+@NGINX_STREAM_CORE_MODULE
+libmaxminddb
,ngx_http_geoip2 ngx_stream_geoip2
, \
436 Enable MaxMind GeoIP2 module.
))
438 # TODO: remove after a transition period (together with pkg nginx-util):
439 # It is for smoothly substituting nginx and nginx-mod-luci-ssl (by nginx-ssl
440 # respectively nginx-mod-luci). Add above commented PROVIDES when removing.
443 TITLE
:=Dummy package for transition when upgrading.
448 define Package
/nginx
/install
449 $(INSTALL_DIR
) $(1)/usr
/bin
452 $(eval
$(call BuildPackage
,nginx
))
454 define Package
/nginx-mod-luci-ssl
455 TITLE
:=Dummy package for transition when upgrading.
456 DEPENDS
:=+nginx-mod-luci
460 define Package
/nginx-mod-luci-ssl
/install
461 $(INSTALL_DIR
) $(1)/usr
/bin
464 $(eval
$(call BuildPackage
,nginx-mod-luci-ssl
))