From 23b4d57182be0a286d446db1095786140fc4f122 Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Sun, 5 Aug 2018 11:13:10 +0200 Subject: [PATCH] split nginx dependency in reverse proxy package --- bundle/ansible/Makefile | 6 +++--- bundle/lilik/Makefile | 6 +++--- bundle/reverseproxy/Makefile | 22 ++++++++++++++++++++++ 3 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 bundle/reverseproxy/Makefile diff --git a/bundle/ansible/Makefile b/bundle/ansible/Makefile index 01d2ad9..98803a4 100644 --- a/bundle/ansible/Makefile +++ b/bundle/ansible/Makefile @@ -7,9 +7,9 @@ PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk define Package/ansible - SECTION:=bundles - CATEGORY:=Bundles - DEPENDS:=+python +python3 + SECTION:=meta + CATEGORY:=LILiK + DEPENDS:=+python +python3 +openssh-server +openssh-clients TITLE:=requirements to configure OpenWRT using ansible endef diff --git a/bundle/lilik/Makefile b/bundle/lilik/Makefile index 3fee906..f4715d0 100644 --- a/bundle/lilik/Makefile +++ b/bundle/lilik/Makefile @@ -7,9 +7,9 @@ PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk define Package/lilik - SECTION:=bundles - CATEGORY:=Bundles - DEPENDS:=+ca-bundle +ca-certificates +dnsmasq-full +nginx-all +openssh-server +openss-clients + SECTION:=meta + CATEGORY:=LILiK + DEPENDS:=+ca-bundle +ca-certificates +dnsmasq-full +reverseproxy +ansible TITLE:=LILiK meta-package endef diff --git a/bundle/reverseproxy/Makefile b/bundle/reverseproxy/Makefile new file mode 100644 index 0000000..f4c5310 --- /dev/null +++ b/bundle/reverseproxy/Makefile @@ -0,0 +1,22 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=reverseproxy +PKG_VERSION:=1.0 +PKG_RELEASE:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/reverseproxy + SECTION:=meta + CATEGORY:=LILiK + DEPENDS:=+nginx-all + TITLE:=reverse proxy meta package +endef + +define Package/reverseproxy/description + LILiK's reverse proxy meta-package +endef + + +# This command is always the last, it uses the definitions and variables we give above in order to get the job done +$(eval $(call BuildPackage,reverseproxy))