contrib: massive Makefile rework
[project/luci.git] / contrib / package / luci / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_BRANCH:=trunk
4
5 ifeq ($(DUMP),)
6   USELOCAL:=$(shell grep luci ../../../.project 2>/dev/null >/dev/null && echo 1)
7 endif
8
9 PKG_NAME:=luci
10 PKG_RELEASE:=1
11
12 ifeq ($(USELOCAL),1)
13   PKG_VERSION:=0.10+svn
14 else
15   PKG_SOURCE_URL:=http://svn.luci.subsignal.org/luci/$(PKG_BRANCH)
16   ifeq ($(DUMP),)
17     PKG_REV:=$(shell LC_ALL=C svn info $(CURDIR) | sed -ne's/^Revision: //p')
18     PKG_VERSION:=0.10+svn$(PKG_REV)
19   endif
20   PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
21   PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
22   PKG_SOURCE_PROTO:=svn
23   PKG_SOURCE_VERSION:=$(PKG_REV)
24 endif
25
26 PKG_BUILD_DEPENDS:=$(if $(STAGING_DIR_ROOT),lua/host)
27 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
28 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
29
30 LUA_TARGET:=source
31 LUCI_CFLAGS:=
32 PKG_SELECTED_MODULES:=
33
34 ifeq ($(BOARD),brcm-2.4)
35   MAKE_FLAGS += CRAP="1"
36 endif
37
38 BUILD_PACKAGES:=
39
40
41 include $(INCLUDE_DIR)/package.mk
42
43 ifeq ($(USELOCAL),1)
44   define Build/Prepare
45         mkdir -p $(PKG_BUILD_DIR)
46         $(TAR) c -C ../../../ . \
47                 --exclude=.pc --exclude=.svn --exclude=.git \
48                 --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \
49                 --exclude=dist | \
50                         tar x -C $(PKG_BUILD_DIR)/
51   endef
52 endif
53
54 define Build/Configure
55 endef
56
57 MAKE_FLAGS += \
58         MODULES="$(PKG_SELECTED_MODULES)" \
59         LUA_TARGET="$(LUA_TARGET)" \
60         LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
61         CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
62         LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
63         NIXIO_TLS="$(NIXIO_TLS)" OS="Linux"
64
65
66 ### Templates ###
67
68 define Package/luci/libtemplate
69   SECTION:=luci
70   CATEGORY:=LuCI
71   TITLE:=LuCI - Lua Configuration Interface
72   URL:=http://luci.freifunk-halle.net/
73   MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
74   SUBMENU:=Internal Libraries
75   DEPENDS:=+luci-core
76 endef
77
78 define Package/luci/webservertemplate
79   $(call Package/luci/libtemplate)
80   SUBMENU:=Webserver
81 endef
82
83 define Package/luci/fftemplate
84   $(call Package/luci/libtemplate)
85   SUBMENU:=Freifunk
86   DEPENDS:=+luci-mod-freifunk
87 endef
88
89 define Package/luci/i18ntemplate
90   $(call Package/luci/libtemplate)
91   SUBMENU:=Translations
92   DEPENDS:=+luci-web
93 endef
94
95 define Package/luci/thtemplate
96   $(call Package/luci/libtemplate)
97   SUBMENU:=Themes
98   DEPENDS:=+luci-web
99 endef
100
101 define Package/luci/maintemplate
102   $(call Package/luci/libtemplate)
103   SUBMENU:=
104 endef
105
106 define Package/luci/webtemplate
107   $(call Package/luci/libtemplate)
108   SUBMENU:=Components
109 endef
110
111 define Package/luci/collectiontemplate
112   $(call Package/luci/libtemplate)
113   SUBMENU:=Collections
114 endef
115
116
117 define Package/luci/install/template
118         $(CP) -a $(PKG_BUILD_DIR)/$(2)/dist/* $(1)/ -R
119         $(CP) -a $(PKG_BUILD_DIR)/$(2)/ipkg/* $(1)/CONTROL/ 2>/dev/null || true
120 endef
121
122
123
124 ### Core package ###
125 define Package/luci-core
126   $(call Package/luci/libtemplate)
127   DEPENDS:=+lua +luci-nixio
128   TITLE:=LuCI core libraries
129 endef
130
131 define Package/luci-core/install
132         $(call Package/luci/install/template,$(1),libs/core)
133         $(PKG_BUILD_DIR)/build/mkversion.sh $(1)/usr/lib/lua/luci/version.lua \
134                 "OpenWrt Firmware" \
135                 "$(OPENWRTVERSION)" \
136                 "$(PKG_BRANCH)" \
137                 "$(PKG_VERSION)"
138 endef
139
140 define Package/luci-core/config
141        choice
142                prompt "Build Target"
143                default PACKAGE_luci-core_source
144
145        config PACKAGE_luci-core_compile
146                bool "Precompiled"
147
148        config PACKAGE_luci-core_stripped
149                bool "Stripped"
150
151        config PACKAGE_luci-core_source
152                bool "Full Source"
153
154        endchoice
155 endef
156
157 ifneq ($(CONFIG_PACKAGE_luci-core_compile),)
158   LUA_TARGET:=compile
159 endif
160
161 ifneq ($(CONFIG_PACKAGE_luci-core_stripped),)
162   LUA_TARGET:=strip
163 endif
164
165 ifneq ($(CONFIG_PACKAGE_luci-core_zipped),)
166   LUA_TARGET:=gzip
167 endif
168
169 ifneq ($(CONFIG_PACKAGE_luci-core),)
170   PKG_SELECTED_MODULES+=libs/core
171 endif
172
173 BUILD_PACKAGES += luci-core
174
175
176 ### Libraries ###
177 define library
178   define Package/luci-$(1)
179     $(call Package/luci/libtemplate)
180     TITLE:=$(if $(2),$(2),LuCI $(1) library)
181     $(if $(3),DEPENDS:=$(3))
182   endef
183
184   define Package/luci-$(1)/install
185         $(call Package/luci/install/template,$$(1),libs/$(1))
186         $(call Package/luci-$(1)/extra-install)
187   endef
188
189   ifneq ($(CONFIG_PACKAGE_luci-$(1)),)
190     PKG_SELECTED_MODULES+=libs/$(1)
191   endif
192
193   BUILD_PACKAGES += luci-$(1)
194 endef
195
196 define Package/luci-lucid/extra-install
197         $(call Package/luci/install/template,$(1),libs/lucid-http)
198 endef
199
200 define Package/luci-web/conffiles
201 /etc/config/luci
202 endef
203
204 define Package/luci-nixio/config
205         choice
206                 prompt "TLS Provider"
207                 default PACKAGE_luci-nixio_notls
208
209                 config PACKAGE_luci-nixio_notls
210                         bool "Disabled"
211
212                 config PACKAGE_luci-nixio_axtls
213                         bool "Builtin (axTLS)"
214
215                 config PACKAGE_luci-nixio_cyassl
216                         bool "CyaSSL"
217                         select PACKAGE_libcyassl
218
219                 config PACKAGE_luci-nixio_openssl
220                         bool "OpenSSL"
221                         select PACKAGE_libopenssl
222         endchoice
223 endef
224
225
226 NIXIO_TLS:=
227
228 ifneq ($(CONFIG_PACKAGE_luci-nixio_axtls),)
229   NIXIO_TLS:=axtls
230 endif
231
232 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
233   NIXIO_TLS:=openssl
234 endif
235
236 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),)
237   NIXIO_TLS:=cyassl
238   LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl
239 endif
240
241
242 $(eval $(call library,fastindex,Fastindex indexing module))
243 $(eval $(call library,httpclient,HTTP(S) client library,+luci-web +luci-nixio))
244 $(eval $(call library,ipkg,LuCI IPKG/OPKG call abstraction library))
245 $(eval $(call library,json,LuCI JSON library))
246 $(eval $(call library,lmo,LuCI LMO I18N library))
247 $(eval $(call library,luanet,LuCI luanet library,+libiw))
248 $(eval $(call library,lucid,LuCId Full-Stack Webserver,+luci-nixio +luci-web +luci-px5g))
249 $(eval $(call library,nixio,NIXIO POSIX library,+PACKAGE_luci-nixio_openssl:libopenssl +PACKAGE_luci-nixio_cyassl:libcyassl))
250 $(eval $(call library,px5g,RSA/X.509 Key Generator (required for LuCId SSL support),+luci-nixio))
251 $(eval $(call library,sys,LuCI Linux/POSIX system library,+libiwinfo))
252 $(eval $(call library,web,MVC Webframework,+luci-sys +luci-nixio +luci-core +luci-sgi-cgi +luci-lmo))
253 $(eval $(call library,uvl,UVL - UCI Validation Layer,+luci-sys +luci-core))
254
255
256 ### Community Packages ###
257 define Package/luci-freifunk-community
258   $(call Package/luci/fftemplate)
259   TITLE:=Freifunk Community Meta-Package
260   DEPENDS+= \
261    +luci-web +luci-app-splash \
262    +luci-app-ffwizard-leipzig \
263    +luci-i18n-german \
264    +PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
265    +PACKAGE_luci-freifunk-community:olsrd-luci-mod-txtinfo +PACKAGE_luci-freifunk-community:olsrd-luci-mod-nameservice \
266    +PACKAGE_luci-freifunk-community:olsrd-luci-mod-watchdog +PACKAGE_luci-freifunk-community:kmod-tun \
267    +PACKAGE_luci-freifunk-community:ip +PACKAGE_luci-freifunk-community:freifunk-watchdog +luci-app-olsr
268 endef
269
270 define Package/luci-freifunk-community/install
271         $(call Package/luci/install/template,$(1),applications/freifunk-community)
272 endef
273
274 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
275         PKG_SELECTED_MODULES+=applications/freifunk-community
276 endif
277
278 BUILD_PACKAGES += luci-freifunk-community
279
280
281 ### Modules ###
282 define module
283   define Package/luci-$(1)
284     $(call Package/luci/webtemplate)
285     TITLE:=$(if $(2),$(2),LuCI luci-$(1) module)
286     $(if $(3),DEPENDS+=$(3))
287   endef
288
289   define Package/luci-$(1)/install
290         $(call Package/luci/install/template,$$(1),modules/admin-core)
291         $(call Package/luci-$(1)/extra-install)
292   endef
293
294   ifneq ($(CONFIG_PACKAGE_luci-$(1)),)
295     PKG_SELECTED_MODULES+=modules/$(1)
296   endif
297
298   BUILD_PACKAGES += luci-$(1)
299 endef
300
301
302 define Package/luci-admin-core/extra-install
303         touch $(1)/etc/init.d/luci_fixtime || true
304 endef
305
306 define Package/luci-mod-freifunk/conffiles
307 /etc/config/freifunk
308 endef
309
310 $(eval $(call module,admin-core,Web UI Core module,+luci-web +luci-i18n-english))
311 $(eval $(call module,admin-mini,LuCI Essentials - stripped down and user-friendly,+luci-admin-core))
312 $(eval $(call module,admin-full,LuCI Administration - full-featured for full control,+luci-admin-core +luci-ipkg))
313 $(eval $(call module,admin-rpc,LuCI RPC - JSON-RPC API,+luci-json))
314 $(eval $(call module,mod-freifunk,LuCI Freifunk module,+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall))
315
316 $(eval $(call module,niu,NIU - Next Generation Interface,+luci-admin-core @BROKEN))
317
318
319 ### Applications ###
320 define application
321   define Package/luci-app-$(1)
322     $(call Package/luci/webtemplate)
323     TITLE:=$(if $(2),$(2),LuCI $(1) application)
324         $(if $(3),DEPENDS:=$(3))
325   endef
326
327   define Package/luci-app-$(1)/install
328         $(call Package/luci/install/template,$$(1),applications/luci-$(1))
329   endef
330
331   ifneq ($(CONFIG_PACKAGE_luci-app-$(1)),)
332     PKG_SELECTED_MODULES+=applications/luci-$(1)
333   endif
334
335   BUILD_PACKAGES += luci-app-$(1)
336 endef
337
338 define Package/luci-app-splash/conffiles
339 /etc/config/luci_splash
340 endef
341
342 define Package/luci-app-statistics/conffiles
343 /etc/config/luci_statistics
344 endef
345
346 define Package/luci-app-diag-devinfo/conffiles
347 /etc/config/luci_devinfo
348 endef
349
350
351 $(eval $(call application,ffwizard-leipzig,Freifunk Leipzig configuration wizard))
352
353 $(eval $(call application,siitwizard,SIIT IPv4-over-IPv6 configuration wizard,\
354         +luci-admin-core +PACKAGE_luci-app-siitwizard:kmod-siit))
355
356 $(eval $(call application,firewall,Firmware and Portforwarding application,\
357         +luci-admin-core +PACKAGE_luci-app-firewall:firewall))
358
359 $(eval $(call application,olsr,OLSR configuration and status module,\
360         +luci-admin-full +PACKAGE_luci-app-olsr:olsrd-luci +PACKAGE_luci-app-olsr:olsrd-luci-mod-txtinfo))
361
362 $(eval $(call application,qos,Quality of Service configuration module,\
363         +luci-admin-core +PACKAGE_luci-app-qos:qos-scripts))
364
365 $(eval $(call application,splash,Freifunk DHCP-Splash application,\
366         +PACKAGE_luci-app-splash:luci-nixio +PACKAGE_luci-app-splash:tc \
367         +PACKAGE_luci-app-splash:kmod-sched +PACKAGE_luci-app-splash:iptables-mod-nat-extra \
368         +PACKAGE_luci-app-splash:iptables-mod-ipopt))
369
370 $(eval $(call application,statistics,LuCI Statistics Application,\
371         +luci-admin-full +PACKAGE_luci-app-statistics:collectd \
372         +PACKAGE_luci-app-statistics:rrdtool1 \
373         +PACKAGE_luci-app-statistics:collectd-mod-rrdtool \
374         +PACKAGE_luci-app-statistics:collectd-mod-wireless \
375         +PACKAGE_luci-app-statistics:collectd-mod-interface \
376         +PACKAGE_luci-app-statistics:collectd-mod-load))
377
378
379 $(eval $(call application,diag-core,LuCI Diagnostics Tools (Core),\
380         +luci-admin-core))
381
382 $(eval $(call application,diag-devinfo,LuCI Diagnostics Tools (Device Info),\
383         +PACKAGE_luci-app-diag-devinfo:luci-app-diag-core \
384         +PACKAGE_luci-app-diag-devinfo:smap \
385         +PACKAGE_luci-app-diag-devinfo:netdiscover \
386         +PACKAGE_luci-app-diag-devinfo:mac-to-devinfo \
387         +PACKAGE_luci-app-diag-devinfo:httping \
388         +PACKAGE_luci-app-diag-devinfo:smap-to-devinfo \
389         +PACKAGE_luci-app-diag-devinfo:netdiscover-to-devinfo))
390
391 $(eval $(call application,voice-core,LuCI Voice Software (Core),\
392         +luci-admin-core))
393
394 $(eval $(call application,voide-diag,LuCI Voice Software (Diagnostics),\
395         +PACKAGE_luci-app-voice-diag:luci-app-voice-core \
396     +PACKAGE_luci-app-voice-diag:luci-app-diag-devinfo))
397
398
399 $(eval $(call application,upnp,Universal Plug & Play configuration module,\
400         +luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd))
401
402 $(eval $(call application,ntpc,NTP time synchronisation configuration module,\
403         +luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient))
404
405 $(eval $(call application,ddns,Dynamic DNS configuration module,\
406         +luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts))
407
408 $(eval $(call application,samba,Network Shares - Samba SMB/CIFS module,\
409         +luci-admin-full +PACKAGE_luci-app-samba:samba3))
410
411 $(eval $(call application,mmc-over-gpio,MMC-over-GPIO configuration module,\
412         +luci-admin-full +PACKAGE_luci-app-mmc-over-gpio:kmod-mmc-over-gpio))
413
414 $(eval $(call application,p910nd,p910nd - Printer server module,\
415         +luci-admin-full +PACKAGE_luci-app-p910nd:p910nd))
416
417 $(eval $(call application,ushare,uShare - UPnP A/V & DLNA Media Server,\
418         +luci-admin-full +PACKAGE_luci-app-ushare:ushare))
419
420 $(eval $(call application,hd-idle,Hard Disk Idle Spin-Down module,\
421         +luci-admin-full +PACKAGE_luci-app-hd-idle:hd-idle))
422
423 $(eval $(call application,tinyproxy,Tinyproxy - HTTP(S)-Proxy configuration,\
424         +luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy))
425
426 $(eval $(call application,initmgr,LuCI Initscript Management,\
427         +luci-admin-full))
428
429 $(eval $(call application,livestats,LuCI Realtime Statistics,\
430         +luci-admin-core +luci-admin-rpc))
431
432 $(eval $(call application,asterisk,LuCI Support for Asterisk PBX,\
433         @BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core))
434
435 $(eval $(call application,polipo,LuCI Support for the Polipo Proxy,\
436         +luci-admin-core +PACKAGE_luci-app-polipo:polipo))
437
438 $(eval $(call application,openvpn,LuCI Support for OpenVPN,\
439         +luci-admin-core +PACKAGE_luci-app-openvpn:openvpn))
440
441 $(eval $(call application,p2pblock,LuCI Support for the Freifunk P2P-Block addon,\
442         +luci-admin-core +luci-app-firewall +PACKAGE_luci-app-p2pblock:freifunk-p2pblock))
443
444 $(eval $(call application,multiwan,LuCI Support for the OpenWrt MultiWAN agent,\
445         +luci-admin-core +luci-app-firewall +PACKAGE_luci-app-multiwan:multiwan))
446
447 $(eval $(call application,wol,LuCI Support for Wake-on-LAN,\
448         +luci-admin-core +PACKAGE_luci-app-wol:etherwake))
449
450 $(eval $(call application,vnstat,LuCI Support for VnStat,\
451         +luci-admin-core +PACKAGE_luci-app-vnstat:vnstat \
452     +PACKAGE_luci-app-vnstat:vnstati))
453
454
455 ### Server Gateway Interfaces ###
456 define sgi
457   define Package/luci-sgi-$(1)
458     $(call Package/luci/webservertemplate)
459     TITLE:=$(if $(2),$(2),LuCI $(1) server gateway interface)
460         $(if $(3),DEPENDS:=$(3))
461   endef
462
463   define Package/luci-sgi-$(1)/install
464         $(call Package/luci/install/template,$$(1),libs/sgi-$(1))
465   endef
466
467   ifneq ($(CONFIG_PACKAGE_luci-sgi-$(1)),)
468     PKG_SELECTED_MODULES+=libs/sgi-$(1)
469   endif
470
471   BUILD_PACKAGES += luci-sgi-$(1)
472 endef
473
474 $(eval $(call sgi,cgi,CGI Gateway behind existing Webserver))
475 $(eval $(call sgi,uhttpd,Binding for the uHTTPd server,+uhttpd +uhttpd-mod-lua))
476
477
478 ### Themes ###
479 define theme
480   define Package/luci-theme-$(1)
481     $(call Package/luci/thtemplate)
482     TITLE:=$(if $(2),$(2),LuCI $(1) theme)
483         $(if $(3),MAINTAINER:=$(3))
484         $(if $(4),DEPENDS:=$(4))
485         $(if $(5),DEFAULT:=y if PACKAGE_luci-core)
486   endef
487
488   define Package/luci-theme-$(1)/install
489         $(call Package/luci/install/template,$$(1),themes/$(1))
490   endef
491
492   ifneq ($(CONFIG_PACKAGE_luci-theme-$(1)),)
493     PKG_SELECTED_MODULES+=themes/$(1)
494   endif
495
496   BUILD_PACKAGES += luci-theme-$(1)
497 endef
498
499 $(eval $(call theme,base,Common base for all themes,\
500         LuCI developers <luci-at-lists-dot-subsignal.org>))
501
502 $(eval $(call theme,openwrt,OpenWrt.org (default),\
503         LuCI developers <luci-at-lists-dot-subsignal.org>,\
504         +luci-theme-base luci-core,1))
505
506 $(eval $(call theme,openwrtlight,OpenWrt.org - light variant without images,\
507         LuCI developers <luci-at-lists-dot-subsignal.org>,+luci-theme-base))
508
509 $(eval $(call theme,fledermaus,Fledermaus Theme,\
510         LuCI developers <luci-at-lists-dot-subsignal.org>,+luci-web))
511
512 $(eval $(call theme,freifunk,alternative Freifunk Theme,\
513         Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>,+luci-web))
514
515 $(eval $(call theme,freifunk-bno,Freifunk Berlin Nordost Theme,\
516         Stefan Pirwitz <stefan-at-freifunk-bno-dot-de>,+luci-web))
517
518 $(eval $(call theme,freifunk-hannover,Freifunk Hannover Theme,\
519         Mikolas Bingemer <mickey-at-freifunk-hannover-dot-de>,+luci-web))
520
521
522 ### Translations ###
523 define translation
524   define Package/luci-i18n-$(1)
525     $(call Package/luci/i18ntemplate)
526     TITLE:=$(if $(2),$(2),$(1))
527   endef
528
529   define Package/luci-i18n-$(1)/install
530         $(call Package/luci/install/template,$$(1),i18n/$(1))
531   endef
532
533   ifneq ($(CONFIG_PACKAGE_luci-i18n-$(1)),)
534     PKG_SELECTED_MODULES+=i18n/$(1)
535   endif
536
537   BUILD_PACKAGES += luci-i18n-$(1)
538 endef
539
540 $(eval $(call translation,german,German))
541 $(eval $(call translation,english,English))
542 $(eval $(call translation,french,French (by Florian Fainelli)))
543 $(eval $(call translation,italian,Italian (by Matteo Croce)))
544 $(eval $(call translation,russian,Russian (by Skryabin Dmitry)))
545 $(eval $(call translation,portuguese_brazilian,Portuguese (Brazilian) (by Carlos Cesario)))
546 $(eval $(call translation,japanese,Japanese (by Tsukasa Hamano)))
547 $(eval $(call translation,greek,Greek (by Vasilis Tsiligiannis)))
548 $(eval $(call translation,catalan,Catalan (by Eduard Duran)))
549 $(eval $(call translation,portuguese,Portuguese (by Jose Monteiro)))
550 $(eval $(call translation,spanish,Spanish (by Guillermo Javier Nardoni)))
551 $(eval $(call translation,vietnamese,Vietnamese (by Hong Phuc Dang)))
552 $(eval $(call translation,malay,Malay (by Teow Wai Chet)))
553 $(eval $(call translation,norwegian,Norwegian (by Lars Hardy)))
554
555
556 ### Collections ###
557 define collection
558   define Package/$(1)
559     $(call Package/luci/collectiontemplate)
560     TITLE:=$(if $(2),$(2),LuCI $(1) collection)
561     $(if $(3),DEPENDS:=$(3))
562   endef
563
564   define Package/$(1)/install
565         true
566   endef
567
568   BUILD_PACKAGES += $(1)
569 endef
570
571 $(eval $(call collection,luci,\
572         Standard OpenWrt set including full and mini admin and the standard theme,\
573         +uhttpd +luci-admin-full +luci-admin-mini +luci-theme-openwrt \
574     +luci-app-firewall +luci-app-initmgr))
575
576 $(eval $(call collection,luci-ssl,\
577         Standard OpenWrt set with HTTPS support,\
578         +uhttpd +uhttpd-mod-tls +px5g +luci-admin-full +luci-admin-mini \
579     +luci-theme-openwrt +luci-app-firewall +luci-app-initmgr))
580
581 $(eval $(call collection,luci-medium,\
582         Medium package set using only admin full and a theme without graphics,\
583         +uhttpd +luci-admin-full +luci-theme-openwrtlight))
584
585 $(eval $(call collection,luci-light,\
586         Minimum package set using only admin mini and a theme without graphics,\
587         +uhttpd +luci-admin-mini +luci-theme-openwrtlight))
588
589
590 $(foreach b,$(BUILD_PACKAGES),$(eval $(call BuildPackage,$(b))))