1 include $(TOPDIR
)/rules.mk
6 USELOCAL
:=$(shell grep luci ..
/..
/..
/.project
2>/dev
/null
>/dev
/null
&& echo
1)
15 PKG_SOURCE_URL
:=http
://svn.luci.subsignal.org
/luci
/$(PKG_BRANCH
)
17 PKG_REV
:=$(shell LC_ALL
=C svn
info $(CURDIR
) | sed
-ne
's/^Revision: //p')
18 PKG_VERSION
:=0.9+svn
$(PKG_REV
)
20 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_SOURCE
:=$(PKG_SOURCE_SUBDIR
).
tar.gz
23 PKG_SOURCE_VERSION
:=$(PKG_REV
)
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
32 PKG_SELECTED_MODULES
:=
34 ifeq ($(BOARD
),brcm-2.4
)
35 MAKE_FLAGS
+= CRAP
="1"
39 include $(INCLUDE_DIR
)/package.mk
43 mkdir
-p
$(PKG_BUILD_DIR
)
44 $(TAR
) c
-C ..
/..
/..
/ . \
45 --exclude
=.
pc --exclude
=.svn
--exclude
=.git \
46 --exclude
='boa-0*' --exclude
='*.o' --exclude
='*.so' \
48 tar x
-C
$(PKG_BUILD_DIR
)/
52 define Build
/Configure
57 define Package
/luci
/libtemplate
60 TITLE
:=LuCI
- Lua Configuration Interface
61 URL
:=http
://luci.freifunk-halle.net
/
62 MAINTAINER
:=Steven Barth
<steven-at-midlink-dot-org
>
63 SUBMENU
:=Internal Libraries
67 define Package
/luci
/webservertemplate
68 $(call Package
/luci
/libtemplate
)
72 define Package
/luci
/fftemplate
73 $(call Package
/luci
/libtemplate
)
75 DEPENDS
:=+luci-mod-freifunk
78 define Package
/luci
/i18ntemplate
79 $(call Package
/luci
/libtemplate
)
84 define Package
/luci
/thtemplate
85 $(call Package
/luci
/libtemplate
)
90 define Package
/luci
/maintemplate
91 $(call Package
/luci
/libtemplate
)
95 define Package
/luci
/webtemplate
96 $(call Package
/luci
/libtemplate
)
100 define Package
/luci
/collectiontemplate
101 $(call Package
/luci
/libtemplate
)
106 define Package
/luci
/install/template
107 $(CP
) -a
$(PKG_BUILD_DIR
)/$(2)/dist/* $(1)/ -R
108 $(CP
) -a
$(PKG_BUILD_DIR
)/$(2)/ipkg
/* $(1)/CONTROL
/ 2>/dev
/null || true
115 define Package
/luci-core
116 $(call Package
/luci
/libtemplate
)
117 DEPENDS
:=+lua
+luci-nixio
118 TITLE
:=LuCI core libraries
121 define Package
/luci-core
/install
122 $(call Package
/luci
/install/template
,$(1),libs
/core
)
123 $(PKG_BUILD_DIR
)/build
/mkversion.sh
$(1)/usr
/lib
/lua
/luci
/version.lua \
125 "$(OPENWRTVERSION)" \
130 define Package
/luci-core
/config
132 prompt
"Build Target"
133 default PACKAGE_luci-core_source
135 config PACKAGE_luci-core_compile
138 config PACKAGE_luci-core_stripped
141 config PACKAGE_luci-core_source
147 ifneq ($(CONFIG_PACKAGE_luci-core_compile
),)
151 ifneq ($(CONFIG_PACKAGE_luci-core_stripped
),)
155 ifneq ($(CONFIG_PACKAGE_luci-core_zipped
),)
161 define Package
/luci-cbi
162 $(call Package
/luci
/libtemplate
)
163 DEPENDS
+=+luci-web
+luci-uvl
+luci-uci
164 TITLE
:=Configuration Binding Interface
167 define Package
/luci-cbi
/install
168 $(call Package
/luci
/install/template
,$(1),libs
/cbi
)
172 define Package
/luci-uci
173 $(call Package
/luci
/libtemplate
)
175 TITLE
:=High-Level UCI API
178 define Package
/luci-uci
/install
179 $(call Package
/luci
/install/template
,$(1),libs
/uci
)
183 define Package
/luci-fastindex
184 $(call Package
/luci
/libtemplate
)
185 TITLE
:=Fastindex indexing module
188 define Package
/luci-fastindex
/install
189 $(call Package
/luci
/install/template
,$(1),libs
/fastindex
)
193 define Package
/luci-http
194 $(call Package
/luci
/libtemplate
)
195 TITLE
:=HTTP Protocol implementation
198 define Package
/luci-http
/install
199 $(call Package
/luci
/install/template
,$(1),libs
/http
)
203 define Package
/luci-httpclient
204 $(call Package
/luci
/libtemplate
)
205 TITLE
:=HTTP
(S
) client library
206 DEPENDS
+=+luci-http
+luci-nixio
209 define Package
/luci-httpclient
/install
210 $(call Package
/luci
/install/template
,$(1),libs
/httpclient
)
214 define Package
/luci-ipkg
215 $(call Package
/luci
/libtemplate
)
216 TITLE
:=LuCI IPKG
/OPKG call abstraction library
219 define Package
/luci-ipkg
/install
220 $(call Package
/luci
/install/template
,$(1),libs
/ipkg
)
224 define Package
/luci-json
225 $(call Package
/luci
/libtemplate
)
226 TITLE
:=LuCI JSON Library
229 define Package
/luci-json
/install
230 $(call Package
/luci
/install/template
,$(1),libs
/json
)
234 define Package
/luci-lmo
235 $(call Package
/luci
/libtemplate
)
239 define Package
/luci-lmo
/install
240 $(call Package
/luci
/install/template
,$(1),libs
/lmo
)
244 define Package
/luci-luanet
245 $(call Package
/luci
/libtemplate
)
250 define Package
/luci-luanet
/install
251 $(call Package
/luci
/install/template
,$(1),libs
/luanet
)
255 define Package
/luci-iwinfo
256 $(call Package
/luci
/libtemplate
)
257 TITLE
:=Wireless abstration library
260 define Package
/luci-iwinfo
/install
261 $(call Package
/luci
/install/template
,$(1),libs
/iwinfo
)
265 define Package
/luci-lucid
266 $(call Package
/luci
/webservertemplate
)
267 TITLE
:=LuCId Full-Stack Webserver
268 DEPENDS
+=+luci-nixio
+luci-http
+luci-px5g
271 define Package
/luci-lucid
/install
272 $(call Package
/luci
/install/template
,$(1),libs
/lucid
)
273 $(call Package
/luci
/install/template
,$(1),libs
/lucid-http
)
280 define Package
/luci-nixio
281 $(call Package
/luci
/libtemplate
)
282 TITLE
:=NIXIO POSIX Library
283 DEPENDS
:=+PACKAGE_luci-nixio_openssl
:libopenssl
+PACKAGE_luci-nixio_cyassl
:libcyassl
286 define Package
/luci-nixio
/install
287 $(call Package
/luci
/install/template
,$(1),libs
/nixio
)
290 define Package
/luci-nixio
/config
292 prompt
"TLS Provider"
293 default PACKAGE_luci-nixio_axtls
295 config PACKAGE_luci-nixio_axtls
296 bool
"Builtin (axTLS)"
298 config PACKAGE_luci-nixio_cyassl
300 select PACKAGE_libcyassl
302 config PACKAGE_luci-nixio_openssl
304 select PACKAGE_libopenssl
308 ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl
),)
312 ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl
),)
314 LUCI_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/include/cyassl
318 define Package
/luci-px5g
319 $(call Package
/luci
/webservertemplate
)
320 TITLE
:=RSA
/X
.509 Key Generator
(required for LuCId SSL support
)
324 define Package
/luci-px5g
/install
325 $(call Package
/luci
/install/template
,$(1),libs
/px5g
)
329 define Package
/luci-sys
330 $(call Package
/luci
/libtemplate
)
331 TITLE
:=LuCI Linux
/POSIX system library
332 DEPENDS
:=+luci-iwinfo
335 define Package
/luci-sys
/install
336 $(call Package
/luci
/install/template
,$(1),libs
/sys
)
340 define Package
/luci-web
341 $(call Package
/luci
/libtemplate
)
342 DEPENDS
+=+luci-http
+luci-sys
+luci-uci
+luci-lucid
+luci-sgi-cgi
+luci-lmo
343 TITLE
:=MVC Webframework
344 $(call Config
,luci.main.lang
,string
,auto
,Default Language
)
347 define Package
/luci-web
/conffiles
351 define Package
/luci-web
/install
352 $(call Package
/luci
/install/template
,$(1),libs
/web
)
356 define Package
/luci-uvl
357 $(call Package
/luci
/libtemplate
)
358 DEPENDS
+=+luci-sys
+luci-uci
+luci-core
359 TITLE
:=UVL
- UCI Validation Layer
362 define Package
/luci-uvl
/install
363 $(call Package
/luci
/install/template
,$(1),libs
/uvl
)
368 ### Community Packages ###
370 define Package
/luci-freifunk-community
371 $(call Package
/luci
/fftemplate
)
373 +luci-lucid
+luci-sgi-cgi
+luci-app-splash \
374 +luci-app-ffwizard-leipzig \
376 +PACKAGE_luci-freifunk-community
:olsrd-luci
+PACKAGE_luci-freifunk-community
:olsrd-luci-mod-dyn-gw-plain \
377 +PACKAGE_luci-freifunk-community
:olsrd-luci-mod-txtinfo
+PACKAGE_luci-freifunk-community
:olsrd-luci-mod-nameservice \
378 +PACKAGE_luci-freifunk-community
:olsrd-luci-mod-watchdog
+PACKAGE_luci-freifunk-community
:kmod-tun \
379 +PACKAGE_luci-freifunk-community
:ip
+PACKAGE_luci-freifunk-community
:freifunk-watchdog
+luci-app-olsr
380 TITLE
:=Freifunk Community Meta-Package
383 define Package
/luci-freifunk-community
/install
384 $(call Package
/luci
/install/template
,$(1),applications
/freifunk-community
)
389 define Package
/luci-admin-core
390 $(call Package
/luci
/webtemplate
)
391 DEPENDS
+=+luci-web
+luci-cbi
+luci-i18n-english
392 TITLE
:=Web UI Core Module
395 define Package
/luci-admin-core
/install
396 $(call Package
/luci
/install/template
,$(1),modules
/admin-core
)
397 touch
$(1)/etc
/init.d
/luci_fixtime || true
401 define Package
/luci-niu
402 $(call Package
/luci
/maintemplate
)
403 DEPENDS
+=+luci-admin-core @BROKEN
404 TITLE
:=NIU
- Next Generation Interface
407 define Package
/luci-niu
/install
408 $(call Package
/luci
/install/template
,$(1),modules
/niu
)
411 define Package
/luci-admin-mini
412 $(call Package
/luci
/webtemplate
)
413 DEPENDS
+=+luci-admin-core
414 TITLE
:=LuCI Essentials
- stripped down and user-friendly
417 define Package
/luci-admin-mini
/install
418 $(call Package
/luci
/install/template
,$(1),modules
/admin-mini
)
422 define Package
/luci-admin-full
423 $(call Package
/luci
/webtemplate
)
424 DEPENDS
+=+luci-admin-core
+luci-ipkg
425 TITLE
:=LuCI Administration
- full-featured for full control
428 define Package
/luci-admin-full
/install
429 $(call Package
/luci
/install/template
,$(1),modules
/admin-full
)
433 define Package
/luci-admin-rpc
434 $(call Package
/luci
/webtemplate
)
436 TITLE
:=LuCI RPC
- JSON-RPC API
439 define Package
/luci-admin-rpc
/install
440 $(call Package
/luci
/install/template
,$(1),modules
/rpc
)
444 define Package
/luci-mod-freifunk
445 $(call Package
/luci
/fftemplate
)
446 DEPENDS
:=+luci-admin-full
+luci-json
+PACKAGE_luci-mod-freifunk
:freifunk-firewall
447 TITLE
:=LuCI Freifunk module
450 define Package
/luci-mod-freifunk
/conffiles
454 define Package
/luci-mod-freifunk
/install
455 $(call Package
/luci
/install/template
,$(1),modules
/freifunk
)
462 define Package
/luci-app-ffwizard-leipzig
463 $(call Package
/luci
/fftemplate
)
464 TITLE
:=Freifunk Leipzig configuration wizard
467 define Package
/luci-app-ffwizard-leipzig
/install
468 $(call Package
/luci
/install/template
,$(1),applications
/luci-ffwizard-leipzig
)
472 define Package
/luci-app-siitwizard
473 $(call Package
/luci
/fftemplate
)
474 TITLE
:=SIIT IPv4-over-IPv6 configuration wizard
475 DEPENDS
:=+luci-admin-core
+PACKAGE_luci-app-siitwizard
:kmod-siit
478 define Package
/luci-app-siitwizard
/install
479 $(call Package
/luci
/install/template
,$(1),applications
/luci-siitwizard
)
483 define Package
/luci-app-firewall
484 $(call Package
/luci
/webtemplate
)
485 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-firewall
:firewall
486 TITLE
:=Firewall and Portforwarding application
489 define Package
/luci-app-firewall
/install
490 $(call Package
/luci
/install/template
,$(1),applications
/luci-fw
)
494 define Package
/luci-app-olsr
495 $(call Package
/luci
/webtemplate
)
496 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-olsr
:olsrd-luci \
497 +PACKAGE_luci-app-olsr
:olsrd-luci-mod-txtinfo
498 TITLE
:=OLSR configuration and status module
501 define Package
/luci-app-olsr
/install
502 $(call Package
/luci
/install/template
,$(1),applications
/luci-olsr
)
506 define Package
/luci-app-qos
507 $(call Package
/luci
/webtemplate
)
508 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-qos
:qos-scripts
509 TITLE
:=Quality of Service configuration module
512 define Package
/luci-app-qos
/install
513 $(call Package
/luci
/install/template
,$(1),applications
/luci-qos
)
517 define Package
/luci-app-splash
518 $(call Package
/luci
/fftemplate
)
519 DEPENDS
+=+PACKAGE_luci-app-splash
:luci-nixio \
520 +PACKAGE_luci-app-splash
:tc
+PACKAGE_luci-app-splash
:kmod-sched \
521 +PACKAGE_luci-app-splash
:iptables-mod-nat-extra \
522 +PACKAGE_luci-app-splash
:iptables-mod-ipopt
523 TITLE
:=Freifunk DHCP-Splash application
526 define Package
/luci-app-splash
/conffiles
527 /etc
/config
/luci_splash
530 define Package
/luci-app-splash
/install
531 $(call Package
/luci
/install/template
,$(1),applications
/luci-splash
)
535 define Package
/luci-app-statistics
536 $(call Package
/luci
/webtemplate
)
537 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-statistics
:collectd \
538 +PACKAGE_luci-app-statistics
:rrdtool1 \
539 +PACKAGE_luci-app-statistics
:collectd-mod-rrdtool \
540 +PACKAGE_luci-app-statistics
:collectd-mod-wireless \
541 +PACKAGE_luci-app-statistics
:collectd-mod-interface \
542 +PACKAGE_luci-app-statistics
:collectd-mod-load
543 TITLE
:=LuCI Statistics Application
546 define Package
/luci-app-statistics
/conffiles
547 /etc
/config
/luci_statistics
550 define Package
/luci-app-statistics
/install
551 $(call Package
/luci
/install/template
,$(1),applications
/luci-statistics
)
554 define Package
/luci-app-diag-core
555 $(call Package
/luci
/webtemplate
)
556 DEPENDS
+=+luci-admin-core
557 TITLE
:=LuCI Diagnostics Tools
(Core
)
560 define Package
/luci-app-diag-devinfo
561 $(call Package
/luci
/webtemplate
)
562 DEPENDS
+=+PACKAGE_luci-app-diag-devinfo
:luci-app-diag-core \
563 +PACKAGE_luci-app-diag-devinfo
:smap \
564 +PACKAGE_luci-app-diag-devinfo
:netdiscover \
565 +PACKAGE_luci-app-diag-devinfo
:mac-to-devinfo \
566 +PACKAGE_luci-app-diag-devinfo
:httping \
567 +PACKAGE_luci-app-diag-devinfo
:smap-to-devinfo \
568 +PACKAGE_luci-app-diag-devinfo
:netdiscover-to-devinfo
569 TITLE
:=LuCI Diagnostics Tools
(Device Info
)
572 define Package
/luci-app-voice-core
573 $(call Package
/luci
/webtemplate
)
574 DEPENDS
+=+luci-admin-core
575 TITLE
:=LuCI Voice Software
(Core
)
578 define Package
/luci-app-voice-diag
579 $(call Package
/luci
/webtemplate
)
580 DEPENDS
+=+PACKAGE_luci-app-voice-diag
:luci-app-voice-core \
581 +PACKAGE_luci-app-voice-diag
:luci-app-diag-devinfo
582 TITLE
:=LuCI Voice Software
(Diagnostics
)
585 define Package
/luci-app-diag-devinfo
/conffiles
586 /etc
/config
/luci_devinfo
589 define Package
/luci-app-diag-core
/install
590 $(call Package
/luci
/install/template
,$(1),applications
/luci-diag-core
)
593 define Package
/luci-app-diag-devinfo
/install
594 $(call Package
/luci
/install/template
,$(1),applications
/luci-diag-devinfo
)
597 define Package
/luci-app-voice-core
/install
598 $(call Package
/luci
/install/template
,$(1),applications
/luci-voice-core
)
601 define Package
/luci-app-voice-diag
/install
602 $(call Package
/luci
/install/template
,$(1),applications
/luci-voice-diag
)
605 define Package
/luci-app-upnp
606 $(call Package
/luci
/webtemplate
)
607 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-upnp
:miniupnpd
608 TITLE
:=Universal Plug
& Play configuration module
611 define Package
/luci-app-upnp
/install
612 $(call Package
/luci
/install/template
,$(1),applications
/luci-upnp
)
616 define Package
/luci-app-ntpc
617 $(call Package
/luci
/webtemplate
)
618 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-ntpc
:ntpclient
619 TITLE
:=NTP time synchronisation client configuration module
622 define Package
/luci-app-ntpc
/install
623 $(call Package
/luci
/install/template
,$(1),applications
/luci-ntpc
)
627 define Package
/luci-app-ddns
628 $(call Package
/luci
/webtemplate
)
629 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-ddns
:ddns-scripts
630 TITLE
:=Dynamic DNS configuration module
633 define Package
/luci-app-ddns
/install
634 $(call Package
/luci
/install/template
,$(1),applications
/luci-ddns
)
638 define Package
/luci-app-samba
639 $(call Package
/luci
/webtemplate
)
640 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-samba
:samba3
641 TITLE
:=Network Shares
- Samba SMB
/CIFS module
644 define Package
/luci-app-samba
/install
645 $(call Package
/luci
/install/template
,$(1),applications
/luci-samba
)
649 define Package
/luci-app-mmc_over_gpio
650 $(call Package
/luci
/webtemplate
)
651 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-mmc_over_gpio
:kmod-mmc-over-gpio
655 define Package
/luci-app-mmc_over_gpio
/install
656 $(call Package
/luci
/install/template
,$(1),applications
/luci-mmc_over_gpio
)
660 define Package
/luci-app-p910nd
661 $(call Package
/luci
/webtemplate
)
662 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-p910nd
:p910nd
663 TITLE
:=p910nd
- Printer server module
666 define Package
/luci-app-p910nd
/install
667 $(call Package
/luci
/install/template
,$(1),applications
/luci-p910nd
)
671 define Package
/luci-app-ushare
672 $(call Package
/luci
/webtemplate
)
673 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-ushare
:ushare
674 TITLE
:=ushare
- UPnP A
/V
& DLNA Media Server
677 define Package
/luci-app-ushare
/install
678 $(call Package
/luci
/install/template
,$(1),applications
/luci-ushare
)
681 define Package
/luci-app-hd_idle
682 $(call Package
/luci
/webtemplate
)
683 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-hd_idle
:hd-idle
687 define Package
/luci-app-hd_idle
/install
688 $(call Package
/luci
/install/template
,$(1),applications
/luci-hd_idle
)
691 define Package
/luci-app-tinyproxy
692 $(call Package
/luci
/webtemplate
)
693 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-tinyproxy
:tinyproxy
694 TITLE
:=Tinyproxy
- HTTP
(S
)-Proxy
697 define Package
/luci-app-tinyproxy
/install
698 $(call Package
/luci
/install/template
,$(1),applications
/luci-tinyproxy
)
701 define Package
/luci-app-initmgr
702 $(call Package
/luci
/webtemplate
)
703 DEPENDS
+=+luci-admin-full
704 TITLE
:=LuCI Initscript Management
707 define Package
/luci-app-initmgr
/install
708 $(call Package
/luci
/install/template
,$(1),applications
/luci-initmgr
)
711 define Package
/luci-app-livestats
712 $(call Package
/luci
/webtemplate
)
713 DEPENDS
+=+luci-admin-core
+luci-admin-rpc
714 TITLE
:=LuCI Realtime Statistics
717 define Package
/luci-app-livestats
/install
718 $(call Package
/luci
/install/template
,$(1),applications
/luci-livestats
)
721 define Package
/luci-app-asterisk
722 $(call Package
/luci
/webtemplate
)
723 TITLE
:=LuCI Support for Asterisk PBX
724 DEPENDS
+=@BROKEN
+luci-admin-core
+PACKAGE_luci-app-asterisk
:asterisk14-xip-core
727 define Package
/luci-app-asterisk
/install
728 $(call Package
/luci
/install/template
,$(1),applications
/luci-asterisk
)
731 define Package
/luci-app-polipo
732 $(call Package
/luci
/webtemplate
)
733 TITLE
:=LuCI Support for the Polipo Proxy
734 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-polipo
:polipo
737 define Package
/luci-app-polipo
/install
738 $(call Package
/luci
/install/template
,$(1),applications
/luci-polipo
)
741 define Package
/luci-app-openvpn
742 $(call Package
/luci
/webtemplate
)
743 TITLE
:=LuCI Support for OpenVPN
744 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-openvpn
:openvpn
747 define Package
/luci-app-openvpn
/install
748 $(call Package
/luci
/install/template
,$(1),applications
/luci-openvpn
)
751 define Package
/luci-app-p2pblock
752 $(call Package
/luci
/webtemplate
)
753 TITLE
:=LuCI Support for the Freifunk P2P-Block addon
754 DEPENDS
+=+luci-admin-core
+luci-app-firewall \
755 +PACKAGE_luci-app-p2pblock
:freifunk-p2pblock
758 define Package
/luci-app-p2pblock
/install
759 $(call Package
/luci
/install/template
,$(1),applications
/luci-p2pblock
)
763 ### Server Gateway Interfaces ###
765 define Package
/luci-sgi-cgi
766 $(call Package
/luci
/webservertemplate
)
767 TITLE
:=CGI Gateway behind existing Webserver
770 define Package
/luci-sgi-cgi
/install
771 $(call Package
/luci
/install/template
,$(1),libs
/sgi-cgi
)
775 define Package
/luci-theme-base
776 $(call Package
/luci
/thtemplate
)
778 TITLE
:=Common base for
all themes
781 define Package
/luci-theme-base
/install
782 $(call Package
/luci
/install/template
,$(1),themes
/base
)
785 define Package
/luci-theme-fledermaus
786 $(call Package
/luci
/fftemplate
)
788 TITLE
:=Fledermaus Theme
791 define Package
/luci-theme-fledermaus
/install
792 $(call Package
/luci
/install/template
,$(1),themes
/fledermaus
)
795 define Package
/luci-theme-freifunk
796 $(call Package
/luci
/fftemplate
)
798 MAINTAINER
:=Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>
799 TITLE
:=alternative Freifunk Theme
802 define Package
/luci-theme-freifunk
/install
803 $(call Package
/luci
/install/template
,$(1),themes
/freifunk
)
806 define Package
/luci-theme-freifunk-bno
807 $(call Package
/luci
/fftemplate
)
809 MAINTAINER
:=Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>
810 TITLE
:=Freifunk Berlin Nordost Theme
813 define Package
/luci-theme-freifunk-bno
/install
814 $(call Package
/luci
/install/template
,$(1),themes
/freifunk-bno
)
817 define Package
/luci-theme-freifunk-hannover
818 $(call Package
/luci
/fftemplate
)
820 MAINTAINER
:=Mikolas Bingemer
<mickey-at-freifunk-hannover-dot-de
>
821 TITLE
:=Freifunk Hannover Theme
824 define Package
/luci-theme-freifunk-hannover
/install
825 $(call Package
/luci
/install/template
,$(1),themes
/freifunk-hannover
)
828 define Package
/luci-theme-openwrt
829 $(call Package
/luci
/thtemplate
)
830 TITLE
:=OpenWrt.org
(default
)
831 DEPENDS
:=+luci-theme-base luci-core
832 DEFAULT
:=y if PACKAGE_luci-core
835 define Package
/luci-theme-openwrt
/install
836 $(call Package
/luci
/install/template
,$(1),themes
/openwrt.org
)
839 define Package
/luci-theme-openwrtlight
840 $(call Package
/luci
/thtemplate
)
841 TITLE
:=OpenWrt.org
- light variant without images
842 DEPENDS
:=+luci-theme-base
845 define Package
/luci-theme-openwrtlight
/install
846 $(call Package
/luci
/install/template
,$(1),themes
/openwrt-light
)
851 define Package
/luci-i18n-german
852 $(call Package
/luci
/i18ntemplate
)
856 define Package
/luci-i18n-german
/install
857 $(call Package
/luci
/install/template
,$(1),i18n
/german
)
861 define Package
/luci-i18n-english
862 $(call Package
/luci
/i18ntemplate
)
866 define Package
/luci-i18n-english
/install
867 $(call Package
/luci
/install/template
,$(1),i18n
/english
)
871 define Package
/luci-i18n-french
872 $(call Package
/luci
/i18ntemplate
)
873 TITLE
:=French
(by Florian Fainelli
)
876 define Package
/luci-i18n-french
/install
877 $(call Package
/luci
/install/template
,$(1),i18n
/french
)
881 define Package
/luci-i18n-italian
882 $(call Package
/luci
/i18ntemplate
)
883 TITLE
:=Italian
(by Matteo Croce
)
886 define Package
/luci-i18n-italian
/install
887 $(call Package
/luci
/install/template
,$(1),i18n
/italian
)
891 define Package
/luci-i18n-russian
892 $(call Package
/luci
/i18ntemplate
)
893 TITLE
:=Russian
(by Skryabin Dmitry
)
896 define Package
/luci-i18n-russian
/install
897 $(call Package
/luci
/install/template
,$(1),i18n
/russian
)
901 define Package
/luci-i18n-portuguese_brazilian
902 $(call Package
/luci
/i18ntemplate
)
903 TITLE
:=Portuguese
(Brazilian
) (by Carlos Cesario
)
906 define Package
/luci-i18n-portuguese_brazilian
/install
907 $(call Package
/luci
/install/template
,$(1),i18n
/portuguese_brazilian
)
911 define Package
/luci-i18n-japanese
912 $(call Package
/luci
/i18ntemplate
)
913 TITLE
:=Japanese
(by Tsukasa Hamano
)
916 define Package
/luci-i18n-japanese
/install
917 $(call Package
/luci
/install/template
,$(1),i18n
/japanese
)
921 define Package
/luci-i18n-greek
922 $(call Package
/luci
/i18ntemplate
)
923 TITLE
:=Greek
(by Vasilis Tsiligiannis
)
926 define Package
/luci-i18n-greek
/install
927 $(call Package
/luci
/install/template
,$(1),i18n
/greek
)
931 define Package
/luci-i18n-catalan
932 $(call Package
/luci
/i18ntemplate
)
933 TITLE
:=Catalan
(by Eduard Duran
)
936 define Package
/luci-i18n-catalan
/install
937 $(call Package
/luci
/install/template
,$(1),i18n
/catalan
)
941 define Package
/luci-i18n-portuguese
942 $(call Package
/luci
/i18ntemplate
)
943 TITLE
:=Portuguese
(by Jose Monteiro
)
946 define Package
/luci-i18n-portuguese
/install
947 $(call Package
/luci
/install/template
,$(1),i18n
/portuguese
)
951 define Package
/luci-i18n-spanish
952 $(call Package
/luci
/i18ntemplate
)
953 TITLE
:=Spanish
(by Guillermo Javier Nardoni
)
956 define Package
/luci-i18n-spanish
/install
957 $(call Package
/luci
/install/template
,$(1),i18n
/spanish
)
961 define Package
/luci-i18n-vietnamese
962 $(call Package
/luci
/i18ntemplate
)
963 TITLE
:=Vietnamese
(by Hong Phuc Dang
)
966 define Package
/luci-i18n-vietnamese
/install
967 $(call Package
/luci
/install/template
,$(1),i18n
/vietnamese
)
973 $(call Package
/luci
/collectiontemplate
)
974 TITLE
:=Standard OpenWrt Kamikaze set including full and mini admin and the standard theme
975 DEPENDS
:=+luci-admin-full
+luci-admin-mini
+luci-theme-openwrt
+luci-app-firewall
+luci-app-initmgr
978 define Package
/luci
/install
983 define Package
/luci-light
984 $(call Package
/luci
/collectiontemplate
)
985 TITLE
:=Minimum package set using only admin mini and a theme without grafics
986 DEPENDS
:=+luci-admin-mini
+luci-theme-openwrtlight
989 define Package
/luci-light
/install
995 ifneq ($(CONFIG_PACKAGE_luci-core
),)
996 PKG_SELECTED_MODULES
+=libs
/core
998 ifneq ($(CONFIG_PACKAGE_luci-cbi
),)
999 PKG_SELECTED_MODULES
+=libs
/cbi
1001 ifneq ($(CONFIG_PACKAGE_luci-fastindex
),)
1002 PKG_SELECTED_MODULES
+=libs
/fastindex
1004 ifneq ($(CONFIG_PACKAGE_luci-http
),)
1005 PKG_SELECTED_MODULES
+=libs
/http
1007 ifneq ($(CONFIG_PACKAGE_luci-httpclient
),)
1008 PKG_SELECTED_MODULES
+=libs
/httpclient
1010 ifneq ($(CONFIG_PACKAGE_luci-ipkg
),)
1011 PKG_SELECTED_MODULES
+=libs
/ipkg
1013 ifneq ($(CONFIG_PACKAGE_luci-json
),)
1014 PKG_SELECTED_MODULES
+=libs
/json
1016 ifneq ($(CONFIG_PACKAGE_luci-lmo
),)
1017 PKG_SELECTED_MODULES
+=libs
/lmo
1019 ifneq ($(CONFIG_PACKAGE_luci-luanet
),)
1020 PKG_SELECTED_MODULES
+=libs
/luanet
1022 ifneq ($(CONFIG_PACKAGE_luci-iwinfo
),)
1023 PKG_SELECTED_MODULES
+=libs
/iwinfo
1025 ifneq ($(CONFIG_PACKAGE_luci-lucid
),)
1026 PKG_SELECTED_MODULES
+=libs
/lucid libs
/lucid-http
1028 ifneq ($(CONFIG_PACKAGE_luci-nixio
),)
1029 PKG_SELECTED_MODULES
+=libs
/nixio
1031 ifneq ($(CONFIG_PACKAGE_luci-px5g
),)
1032 PKG_SELECTED_MODULES
+=libs
/px5g
1034 ifneq ($(CONFIG_PACKAGE_luci-uci
),)
1035 PKG_SELECTED_MODULES
+=libs
/uci
1037 ifneq ($(CONFIG_PACKAGE_luci-sys
),)
1038 PKG_SELECTED_MODULES
+=libs
/sys
1040 ifneq ($(CONFIG_PACKAGE_luci-web
),)
1041 PKG_SELECTED_MODULES
+=libs
/web
1043 ifneq ($(CONFIG_PACKAGE_luci-uvl
),)
1044 PKG_SELECTED_MODULES
+=libs
/uvl
1047 ifneq ($(CONFIG_PACKAGE_luci-admin-core
),)
1048 PKG_SELECTED_MODULES
+=modules
/admin-core
1050 ifneq ($(CONFIG_PACKAGE_luci-admin-mini
),)
1051 PKG_SELECTED_MODULES
+=modules
/admin-mini
1053 ifneq ($(CONFIG_PACKAGE_luci-admin-full
),)
1054 PKG_SELECTED_MODULES
+=modules
/admin-full
1056 ifneq ($(CONFIG_PACKAGE_luci-niu
),)
1057 PKG_SELECTED_MODULES
+=modules
/niu
1059 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc
),)
1060 PKG_SELECTED_MODULES
+=modules
/rpc
1062 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk
),)
1063 PKG_SELECTED_MODULES
+=modules
/freifunk
1066 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community
),)
1067 PKG_SELECTED_MODULES
+=applications
/freifunk-community
1070 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig
),)
1071 PKG_SELECTED_MODULES
+=applications
/luci-ffwizard-leipzig
1073 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard
),)
1074 PKG_SELECTED_MODULES
+=applications
/luci-siitwizard
1076 ifneq ($(CONFIG_PACKAGE_luci-app-firewall
),)
1077 PKG_SELECTED_MODULES
+=applications
/luci-fw
1079 ifneq ($(CONFIG_PACKAGE_luci-app-olsr
),)
1080 PKG_SELECTED_MODULES
+=applications
/luci-olsr
1082 ifneq ($(CONFIG_PACKAGE_luci-app-qos
),)
1083 PKG_SELECTED_MODULES
+=applications
/luci-qos
1085 ifneq ($(CONFIG_PACKAGE_luci-app-splash
),)
1086 PKG_SELECTED_MODULES
+=applications
/luci-splash
1088 ifneq ($(CONFIG_PACKAGE_luci-app-statistics
),)
1089 PKG_SELECTED_MODULES
+=applications
/luci-statistics
1091 ifneq ($(CONFIG_PACKAGE_luci-app-voice-core
),)
1092 PKG_SELECTED_MODULES
+=applications
/luci-voice-core
1094 ifneq ($(CONFIG_PACKAGE_luci-app-voice-diag
),)
1095 PKG_SELECTED_MODULES
+=applications
/luci-voice-diag
1097 ifneq ($(CONFIG_PACKAGE_luci-app-diag-core
),)
1098 PKG_SELECTED_MODULES
+=applications
/luci-diag-core
1100 ifneq ($(CONFIG_PACKAGE_luci-app-diag-devinfo
),)
1101 PKG_SELECTED_MODULES
+=applications
/luci-diag-devinfo
1103 ifneq ($(CONFIG_PACKAGE_luci-app-upnp
),)
1104 PKG_SELECTED_MODULES
+=applications
/luci-upnp
1106 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc
),)
1107 PKG_SELECTED_MODULES
+=applications
/luci-ntpc
1109 ifneq ($(CONFIG_PACKAGE_luci-app-ddns
),)
1110 PKG_SELECTED_MODULES
+=applications
/luci-ddns
1112 ifneq ($(CONFIG_PACKAGE_luci-app-samba
),)
1113 PKG_SELECTED_MODULES
+=applications
/luci-samba
1115 ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio
),)
1116 PKG_SELECTED_MODULES
+=applications
/luci-mmc_over_gpio
1118 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd
),)
1119 PKG_SELECTED_MODULES
+=applications
/luci-p910nd
1121 ifneq ($(CONFIG_PACKAGE_luci-app-ushare
),)
1122 PKG_SELECTED_MODULES
+=applications
/luci-ushare
1124 ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle
),)
1125 PKG_SELECTED_MODULES
+=applications
/luci-hd_idle
1127 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy
),)
1128 PKG_SELECTED_MODULES
+=applications
/luci-tinyproxy
1130 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr
),)
1131 PKG_SELECTED_MODULES
+=applications
/luci-initmgr
1133 ifneq ($(CONFIG_PACKAGE_luci-app-livestats
),)
1134 PKG_SELECTED_MODULES
+=applications
/luci-livestats
1136 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk
),)
1137 PKG_SELECTED_MODULES
+=applications
/luci-asterisk
1139 ifneq ($(CONFIG_PACKAGE_luci-app-polipo
),)
1140 PKG_SELECTED_MODULES
+=applications
/luci-polipo
1142 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn
),)
1143 PKG_SELECTED_MODULES
+=applications
/luci-openvpn
1145 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock
),)
1146 PKG_SELECTED_MODULES
+=applications
/luci-p2pblock
1150 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi
),)
1151 PKG_SELECTED_MODULES
+=libs
/sgi-cgi
1153 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci
),)
1154 PKG_SELECTED_MODULES
+=libs
/sgi-luci
1157 ifneq ($(CONFIG_PACKAGE_luci-theme-base
),)
1158 PKG_SELECTED_MODULES
+=themes
/base
1160 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus
),)
1161 PKG_SELECTED_MODULES
+=themes
/fledermaus
1163 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno
),)
1164 PKG_SELECTED_MODULES
+=themes
/freifunk-bno
1166 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover
),)
1167 PKG_SELECTED_MODULES
+=themes
/freifunk-hannover
1169 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk
),)
1170 PKG_SELECTED_MODULES
+=themes
/freifunk
1172 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt
),)
1173 PKG_SELECTED_MODULES
+=themes
/openwrt.org
1175 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight
),)
1176 PKG_SELECTED_MODULES
+=themes
/openwrt-light
1179 ifneq ($(CONFIG_PACKAGE_luci-i18n-german
),)
1180 PKG_SELECTED_MODULES
+=i18n
/german
1182 ifneq ($(CONFIG_PACKAGE_luci-i18n-english
),)
1183 PKG_SELECTED_MODULES
+=i18n
/english
1185 ifneq ($(CONFIG_PACKAGE_luci-i18n-french
),)
1186 PKG_SELECTED_MODULES
+=i18n
/french
1188 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian
),)
1189 PKG_SELECTED_MODULES
+=i18n
/italian
1191 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian
),)
1192 PKG_SELECTED_MODULES
+=i18n
/russian
1194 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian
),)
1195 PKG_SELECTED_MODULES
+=i18n
/portuguese_brazilian
1197 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese
),)
1198 PKG_SELECTED_MODULES
+=i18n
/japanese
1200 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek
),)
1201 PKG_SELECTED_MODULES
+=i18n
/greek
1203 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan
),)
1204 PKG_SELECTED_MODULES
+=i18n
/catalan
1206 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese
),)
1207 PKG_SELECTED_MODULES
+=i18n
/portuguese
1209 ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish
),)
1210 PKG_SELECTED_MODULES
+=i18n
/spanish
1212 ifneq ($(CONFIG_PACKAGE_luci-i18n-vietnamese
),)
1213 PKG_SELECTED_MODULES
+=i18n
/vietnamese
1218 MODULES
="$(PKG_SELECTED_MODULES)" \
1219 LUA_TARGET
="$(LUA_TARGET)" \
1220 LUA_SHLIBS
="-llua -lm -ldl -lcrypt" \
1221 CFLAGS
="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1222 LDFLAGS
="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1223 NIXIO_TLS
="$(NIXIO_TLS)" OS
="Linux"
1226 $(eval
$(call BuildPackage
,luci-core
))
1227 $(eval
$(call BuildPackage
,luci-cbi
))
1228 $(eval
$(call BuildPackage
,luci-fastindex
))
1229 $(eval
$(call BuildPackage
,luci-http
))
1230 $(eval
$(call BuildPackage
,luci-httpclient
))
1231 $(eval
$(call BuildPackage
,luci-ipkg
))
1232 $(eval
$(call BuildPackage
,luci-json
))
1233 $(eval
$(call BuildPackage
,luci-lmo
))
1234 $(eval
$(call BuildPackage
,luci-luanet
))
1235 $(eval
$(call BuildPackage
,luci-iwinfo
))
1236 $(eval
$(call BuildPackage
,luci-lucid
))
1237 $(eval
$(call BuildPackage
,luci-nixio
))
1238 $(eval
$(call BuildPackage
,luci-px5g
))
1239 $(eval
$(call BuildPackage
,luci-uci
))
1240 $(eval
$(call BuildPackage
,luci-sys
))
1241 $(eval
$(call BuildPackage
,luci-web
))
1242 $(eval
$(call BuildPackage
,luci-uvl
))
1244 $(eval
$(call BuildPackage
,luci-admin-core
))
1245 $(eval
$(call BuildPackage
,luci-admin-mini
))
1246 $(eval
$(call BuildPackage
,luci-admin-full
))
1247 $(eval
$(call BuildPackage
,luci-niu
))
1248 $(eval
$(call BuildPackage
,luci-admin-rpc
))
1249 $(eval
$(call BuildPackage
,luci-mod-freifunk
))
1251 $(eval
$(call BuildPackage
,luci-freifunk-community
))
1253 $(eval
$(call BuildPackage
,luci-app-ffwizard-leipzig
))
1254 $(eval
$(call BuildPackage
,luci-app-siitwizard
))
1255 $(eval
$(call BuildPackage
,luci-app-firewall
))
1256 $(eval
$(call BuildPackage
,luci-app-olsr
))
1257 $(eval
$(call BuildPackage
,luci-app-qos
))
1258 $(eval
$(call BuildPackage
,luci-app-splash
))
1259 $(eval
$(call BuildPackage
,luci-app-statistics
))
1260 $(eval
$(call BuildPackage
,luci-app-diag-core
))
1261 $(eval
$(call BuildPackage
,luci-app-diag-devinfo
))
1262 $(eval
$(call BuildPackage
,luci-app-voice-core
))
1263 $(eval
$(call BuildPackage
,luci-app-voice-diag
))
1264 $(eval
$(call BuildPackage
,luci-app-upnp
))
1265 $(eval
$(call BuildPackage
,luci-app-ntpc
))
1266 $(eval
$(call BuildPackage
,luci-app-ddns
))
1267 $(eval
$(call BuildPackage
,luci-app-samba
))
1268 $(eval
$(call BuildPackage
,luci-app-mmc_over_gpio
))
1269 $(eval
$(call BuildPackage
,luci-app-p910nd
))
1270 $(eval
$(call BuildPackage
,luci-app-ushare
))
1271 $(eval
$(call BuildPackage
,luci-app-hd_idle
))
1272 $(eval
$(call BuildPackage
,luci-app-tinyproxy
))
1273 $(eval
$(call BuildPackage
,luci-app-initmgr
))
1274 $(eval
$(call BuildPackage
,luci-app-livestats
))
1275 $(eval
$(call BuildPackage
,luci-app-asterisk
))
1276 $(eval
$(call BuildPackage
,luci-app-polipo
))
1277 $(eval
$(call BuildPackage
,luci-app-openvpn
))
1278 $(eval
$(call BuildPackage
,luci-app-p2pblock
))
1280 $(eval
$(call BuildPackage
,luci-sgi-cgi
))
1282 $(eval
$(call BuildPackage
,luci-theme-base
))
1283 $(eval
$(call BuildPackage
,luci-theme-fledermaus
))
1284 $(eval
$(call BuildPackage
,luci-theme-freifunk
))
1285 $(eval
$(call BuildPackage
,luci-theme-freifunk-bno
))
1286 $(eval
$(call BuildPackage
,luci-theme-freifunk-hannover
))
1287 $(eval
$(call BuildPackage
,luci-theme-openwrt
))
1288 $(eval
$(call BuildPackage
,luci-theme-openwrtlight
))
1290 $(eval
$(call BuildPackage
,luci-i18n-german
))
1291 $(eval
$(call BuildPackage
,luci-i18n-english
))
1292 $(eval
$(call BuildPackage
,luci-i18n-french
))
1293 $(eval
$(call BuildPackage
,luci-i18n-italian
))
1294 $(eval
$(call BuildPackage
,luci-i18n-russian
))
1295 $(eval
$(call BuildPackage
,luci-i18n-portuguese_brazilian
))
1296 $(eval
$(call BuildPackage
,luci-i18n-japanese
))
1297 $(eval
$(call BuildPackage
,luci-i18n-greek
))
1298 $(eval
$(call BuildPackage
,luci-i18n-catalan
))
1299 $(eval
$(call BuildPackage
,luci-i18n-portuguese
))
1300 $(eval
$(call BuildPackage
,luci-i18n-spanish
))
1301 $(eval
$(call BuildPackage
,luci-i18n-vietnamese
))
1303 $(eval
$(call BuildPackage
,luci
))
1304 $(eval
$(call BuildPackage
,luci-light
))