TITLE:=Nginx web server
URL:=http://nginx.org/
DEPENDS:=+libopenssl +libpthread
- # TODO: add PROVIDES when removing nginx
- # PROVIDES:=nginx
+ PROVIDES:=nginx
endef
define Package/nginx/description
Enable MaxMind GeoIP2 module.))
$(eval $(call BuildModule,njs,+zlib +libxml2 +libxslt +libpcre2,ngx_http_js, \
Enable NJS module.))
-
-# TODO: remove after a transition period (together with pkg nginx-util):
-# It is for smoothly substituting nginx and nginx-mod-luci-ssl (by nginx-ssl
-# respectively nginx-mod-luci). Add above commented PROVIDES when removing.
-
-define Package/nginx
- TITLE:=Dummy package for transition when upgrading.
- DEPENDS:=+nginx-ssl
- PKGARCH:=all
-endef
-
-define Package/nginx/install
- $(INSTALL_DIR) $(1)/usr/bin
-endef
-
-$(eval $(call BuildPackage,nginx))
-
-define Package/nginx-mod-luci-ssl
- TITLE:=Dummy package for transition when upgrading.
- DEPENDS:=+nginx-mod-luci
- PKGARCH:=all
-endef
-
-define Package/nginx-mod-luci-ssl/install
- $(INSTALL_DIR) $(1)/usr/bin
-endef
-
-$(eval $(call BuildPackage,nginx-mod-luci-ssl))