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-nixio
+luci-uci \
343 +luci-sgi-cgi
+luci-sgi-uhttpd
+luci-lmo
344 TITLE
:=MVC Webframework
345 $(call Config
,luci.main.lang
,string
,auto
,Default Language
)
348 define Package
/luci-web
/conffiles
352 define Package
/luci-web
/install
353 $(call Package
/luci
/install/template
,$(1),libs
/web
)
357 define Package
/luci-uvl
358 $(call Package
/luci
/libtemplate
)
359 DEPENDS
+=+luci-sys
+luci-uci
+luci-core
360 TITLE
:=UVL
- UCI Validation Layer
363 define Package
/luci-uvl
/install
364 $(call Package
/luci
/install/template
,$(1),libs
/uvl
)
369 ### Community Packages ###
371 define Package
/luci-freifunk-community
372 $(call Package
/luci
/fftemplate
)
374 +luci-web
+luci-app-splash \
375 +luci-app-ffwizard-leipzig \
377 +PACKAGE_luci-freifunk-community
:olsrd-luci
+PACKAGE_luci-freifunk-community
:olsrd-luci-mod-dyn-gw-plain \
378 +PACKAGE_luci-freifunk-community
:olsrd-luci-mod-txtinfo
+PACKAGE_luci-freifunk-community
:olsrd-luci-mod-nameservice \
379 +PACKAGE_luci-freifunk-community
:olsrd-luci-mod-watchdog
+PACKAGE_luci-freifunk-community
:kmod-tun \
380 +PACKAGE_luci-freifunk-community
:ip
+PACKAGE_luci-freifunk-community
:freifunk-watchdog
+luci-app-olsr
381 TITLE
:=Freifunk Community Meta-Package
384 define Package
/luci-freifunk-community
/install
385 $(call Package
/luci
/install/template
,$(1),applications
/freifunk-community
)
390 define Package
/luci-admin-core
391 $(call Package
/luci
/webtemplate
)
392 DEPENDS
+=+luci-web
+luci-cbi
+luci-i18n-english
393 TITLE
:=Web UI Core Module
396 define Package
/luci-admin-core
/install
397 $(call Package
/luci
/install/template
,$(1),modules
/admin-core
)
398 touch
$(1)/etc
/init.d
/luci_fixtime || true
402 define Package
/luci-niu
403 $(call Package
/luci
/maintemplate
)
404 DEPENDS
+=+luci-admin-core @BROKEN
405 TITLE
:=NIU
- Next Generation Interface
408 define Package
/luci-niu
/install
409 $(call Package
/luci
/install/template
,$(1),modules
/niu
)
412 define Package
/luci-admin-mini
413 $(call Package
/luci
/webtemplate
)
414 DEPENDS
+=+luci-admin-core
415 TITLE
:=LuCI Essentials
- stripped down and user-friendly
418 define Package
/luci-admin-mini
/install
419 $(call Package
/luci
/install/template
,$(1),modules
/admin-mini
)
423 define Package
/luci-admin-full
424 $(call Package
/luci
/webtemplate
)
425 DEPENDS
+=+luci-admin-core
+luci-ipkg
426 TITLE
:=LuCI Administration
- full-featured for full control
429 define Package
/luci-admin-full
/install
430 $(call Package
/luci
/install/template
,$(1),modules
/admin-full
)
434 define Package
/luci-admin-rpc
435 $(call Package
/luci
/webtemplate
)
437 TITLE
:=LuCI RPC
- JSON-RPC API
440 define Package
/luci-admin-rpc
/install
441 $(call Package
/luci
/install/template
,$(1),modules
/rpc
)
445 define Package
/luci-mod-freifunk
446 $(call Package
/luci
/fftemplate
)
447 DEPENDS
:=+luci-admin-full
+luci-json
+PACKAGE_luci-mod-freifunk
:freifunk-firewall
448 TITLE
:=LuCI Freifunk module
451 define Package
/luci-mod-freifunk
/conffiles
455 define Package
/luci-mod-freifunk
/install
456 $(call Package
/luci
/install/template
,$(1),modules
/freifunk
)
463 define Package
/luci-app-ffwizard-leipzig
464 $(call Package
/luci
/fftemplate
)
465 TITLE
:=Freifunk Leipzig configuration wizard
468 define Package
/luci-app-ffwizard-leipzig
/install
469 $(call Package
/luci
/install/template
,$(1),applications
/luci-ffwizard-leipzig
)
473 define Package
/luci-app-siitwizard
474 $(call Package
/luci
/fftemplate
)
475 TITLE
:=SIIT IPv4-over-IPv6 configuration wizard
476 DEPENDS
:=+luci-admin-core
+PACKAGE_luci-app-siitwizard
:kmod-siit
479 define Package
/luci-app-siitwizard
/install
480 $(call Package
/luci
/install/template
,$(1),applications
/luci-siitwizard
)
484 define Package
/luci-app-firewall
485 $(call Package
/luci
/webtemplate
)
486 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-firewall
:firewall
487 TITLE
:=Firewall and Portforwarding application
490 define Package
/luci-app-firewall
/install
491 $(call Package
/luci
/install/template
,$(1),applications
/luci-fw
)
495 define Package
/luci-app-olsr
496 $(call Package
/luci
/webtemplate
)
497 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-olsr
:olsrd-luci \
498 +PACKAGE_luci-app-olsr
:olsrd-luci-mod-txtinfo
499 TITLE
:=OLSR configuration and status module
502 define Package
/luci-app-olsr
/install
503 $(call Package
/luci
/install/template
,$(1),applications
/luci-olsr
)
507 define Package
/luci-app-qos
508 $(call Package
/luci
/webtemplate
)
509 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-qos
:qos-scripts
510 TITLE
:=Quality of Service configuration module
513 define Package
/luci-app-qos
/install
514 $(call Package
/luci
/install/template
,$(1),applications
/luci-qos
)
518 define Package
/luci-app-splash
519 $(call Package
/luci
/fftemplate
)
520 DEPENDS
+=+PACKAGE_luci-app-splash
:luci-nixio \
521 +PACKAGE_luci-app-splash
:tc
+PACKAGE_luci-app-splash
:kmod-sched \
522 +PACKAGE_luci-app-splash
:iptables-mod-nat-extra \
523 +PACKAGE_luci-app-splash
:iptables-mod-ipopt
524 TITLE
:=Freifunk DHCP-Splash application
527 define Package
/luci-app-splash
/conffiles
528 /etc
/config
/luci_splash
531 define Package
/luci-app-splash
/install
532 $(call Package
/luci
/install/template
,$(1),applications
/luci-splash
)
536 define Package
/luci-app-statistics
537 $(call Package
/luci
/webtemplate
)
538 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-statistics
:collectd \
539 +PACKAGE_luci-app-statistics
:rrdtool1 \
540 +PACKAGE_luci-app-statistics
:collectd-mod-rrdtool \
541 +PACKAGE_luci-app-statistics
:collectd-mod-wireless \
542 +PACKAGE_luci-app-statistics
:collectd-mod-interface \
543 +PACKAGE_luci-app-statistics
:collectd-mod-load
544 TITLE
:=LuCI Statistics Application
547 define Package
/luci-app-statistics
/conffiles
548 /etc
/config
/luci_statistics
551 define Package
/luci-app-statistics
/install
552 $(call Package
/luci
/install/template
,$(1),applications
/luci-statistics
)
555 define Package
/luci-app-diag-core
556 $(call Package
/luci
/webtemplate
)
557 DEPENDS
+=+luci-admin-core
558 TITLE
:=LuCI Diagnostics Tools
(Core
)
561 define Package
/luci-app-diag-devinfo
562 $(call Package
/luci
/webtemplate
)
563 DEPENDS
+=+PACKAGE_luci-app-diag-devinfo
:luci-app-diag-core \
564 +PACKAGE_luci-app-diag-devinfo
:smap \
565 +PACKAGE_luci-app-diag-devinfo
:netdiscover \
566 +PACKAGE_luci-app-diag-devinfo
:mac-to-devinfo \
567 +PACKAGE_luci-app-diag-devinfo
:httping \
568 +PACKAGE_luci-app-diag-devinfo
:smap-to-devinfo \
569 +PACKAGE_luci-app-diag-devinfo
:netdiscover-to-devinfo
570 TITLE
:=LuCI Diagnostics Tools
(Device Info
)
573 define Package
/luci-app-voice-core
574 $(call Package
/luci
/webtemplate
)
575 DEPENDS
+=+luci-admin-core
576 TITLE
:=LuCI Voice Software
(Core
)
579 define Package
/luci-app-voice-diag
580 $(call Package
/luci
/webtemplate
)
581 DEPENDS
+=+PACKAGE_luci-app-voice-diag
:luci-app-voice-core \
582 +PACKAGE_luci-app-voice-diag
:luci-app-diag-devinfo
583 TITLE
:=LuCI Voice Software
(Diagnostics
)
586 define Package
/luci-app-diag-devinfo
/conffiles
587 /etc
/config
/luci_devinfo
590 define Package
/luci-app-diag-core
/install
591 $(call Package
/luci
/install/template
,$(1),applications
/luci-diag-core
)
594 define Package
/luci-app-diag-devinfo
/install
595 $(call Package
/luci
/install/template
,$(1),applications
/luci-diag-devinfo
)
598 define Package
/luci-app-voice-core
/install
599 $(call Package
/luci
/install/template
,$(1),applications
/luci-voice-core
)
602 define Package
/luci-app-voice-diag
/install
603 $(call Package
/luci
/install/template
,$(1),applications
/luci-voice-diag
)
606 define Package
/luci-app-upnp
607 $(call Package
/luci
/webtemplate
)
608 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-upnp
:miniupnpd
609 TITLE
:=Universal Plug
& Play configuration module
612 define Package
/luci-app-upnp
/install
613 $(call Package
/luci
/install/template
,$(1),applications
/luci-upnp
)
617 define Package
/luci-app-ntpc
618 $(call Package
/luci
/webtemplate
)
619 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-ntpc
:ntpclient
620 TITLE
:=NTP time synchronisation client configuration module
623 define Package
/luci-app-ntpc
/install
624 $(call Package
/luci
/install/template
,$(1),applications
/luci-ntpc
)
628 define Package
/luci-app-ddns
629 $(call Package
/luci
/webtemplate
)
630 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-ddns
:ddns-scripts
631 TITLE
:=Dynamic DNS configuration module
634 define Package
/luci-app-ddns
/install
635 $(call Package
/luci
/install/template
,$(1),applications
/luci-ddns
)
639 define Package
/luci-app-samba
640 $(call Package
/luci
/webtemplate
)
641 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-samba
:samba3
642 TITLE
:=Network Shares
- Samba SMB
/CIFS module
645 define Package
/luci-app-samba
/install
646 $(call Package
/luci
/install/template
,$(1),applications
/luci-samba
)
650 define Package
/luci-app-mmc-over-gpio
651 $(call Package
/luci
/webtemplate
)
652 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-mmc-over-gpio
:kmod-mmc-over-gpio
656 define Package
/luci-app-mmc-over-gpio
/install
657 $(call Package
/luci
/install/template
,$(1),applications
/luci-mmc-over-gpio
)
661 define Package
/luci-app-p910nd
662 $(call Package
/luci
/webtemplate
)
663 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-p910nd
:p910nd
664 TITLE
:=p910nd
- Printer server module
667 define Package
/luci-app-p910nd
/install
668 $(call Package
/luci
/install/template
,$(1),applications
/luci-p910nd
)
672 define Package
/luci-app-ushare
673 $(call Package
/luci
/webtemplate
)
674 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-ushare
:ushare
675 TITLE
:=ushare
- UPnP A
/V
& DLNA Media Server
678 define Package
/luci-app-ushare
/install
679 $(call Package
/luci
/install/template
,$(1),applications
/luci-ushare
)
682 define Package
/luci-app-hd-idle
683 $(call Package
/luci
/webtemplate
)
684 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-hd-idle
:hd-idle
688 define Package
/luci-app-hd-idle
/install
689 $(call Package
/luci
/install/template
,$(1),applications
/luci-hd-idle
)
692 define Package
/luci-app-tinyproxy
693 $(call Package
/luci
/webtemplate
)
694 DEPENDS
+=+luci-admin-full
+PACKAGE_luci-app-tinyproxy
:tinyproxy
695 TITLE
:=Tinyproxy
- HTTP
(S
)-Proxy
698 define Package
/luci-app-tinyproxy
/install
699 $(call Package
/luci
/install/template
,$(1),applications
/luci-tinyproxy
)
702 define Package
/luci-app-initmgr
703 $(call Package
/luci
/webtemplate
)
704 DEPENDS
+=+luci-admin-full
705 TITLE
:=LuCI Initscript Management
708 define Package
/luci-app-initmgr
/install
709 $(call Package
/luci
/install/template
,$(1),applications
/luci-initmgr
)
712 define Package
/luci-app-livestats
713 $(call Package
/luci
/webtemplate
)
714 DEPENDS
+=+luci-admin-core
+luci-admin-rpc
715 TITLE
:=LuCI Realtime Statistics
718 define Package
/luci-app-livestats
/install
719 $(call Package
/luci
/install/template
,$(1),applications
/luci-livestats
)
722 define Package
/luci-app-asterisk
723 $(call Package
/luci
/webtemplate
)
724 TITLE
:=LuCI Support for Asterisk PBX
725 DEPENDS
+=@BROKEN
+luci-admin-core
+PACKAGE_luci-app-asterisk
:asterisk14-xip-core
728 define Package
/luci-app-asterisk
/install
729 $(call Package
/luci
/install/template
,$(1),applications
/luci-asterisk
)
732 define Package
/luci-app-polipo
733 $(call Package
/luci
/webtemplate
)
734 TITLE
:=LuCI Support for the Polipo Proxy
735 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-polipo
:polipo
738 define Package
/luci-app-polipo
/install
739 $(call Package
/luci
/install/template
,$(1),applications
/luci-polipo
)
742 define Package
/luci-app-openvpn
743 $(call Package
/luci
/webtemplate
)
744 TITLE
:=LuCI Support for OpenVPN
745 DEPENDS
+=+luci-admin-core
+PACKAGE_luci-app-openvpn
:openvpn
748 define Package
/luci-app-openvpn
/install
749 $(call Package
/luci
/install/template
,$(1),applications
/luci-openvpn
)
752 define Package
/luci-app-p2pblock
753 $(call Package
/luci
/webtemplate
)
754 TITLE
:=LuCI Support for the Freifunk P2P-Block addon
755 DEPENDS
+=+luci-admin-core
+luci-app-firewall \
756 +PACKAGE_luci-app-p2pblock
:freifunk-p2pblock
759 define Package
/luci-app-p2pblock
/install
760 $(call Package
/luci
/install/template
,$(1),applications
/luci-p2pblock
)
764 ### Server Gateway Interfaces ###
766 define Package
/luci-sgi-cgi
767 $(call Package
/luci
/webservertemplate
)
768 TITLE
:=CGI Gateway behind existing Webserver
771 define Package
/luci-sgi-cgi
/install
772 $(call Package
/luci
/install/template
,$(1),libs
/sgi-cgi
)
775 define Package
/luci-sgi-uhttpd
776 $(call Package
/luci
/webservertemplate
)
777 TITLE
:=Binding for the uHTTPd server
778 DEPENDS
+=+uhttpd
+px5g
781 define Package
/luci-sgi-uhttpd
/install
782 $(call Package
/luci
/install/template
,$(1),libs
/sgi-uhttpd
)
787 define Package
/luci-theme-base
788 $(call Package
/luci
/thtemplate
)
790 TITLE
:=Common base for
all themes
793 define Package
/luci-theme-base
/install
794 $(call Package
/luci
/install/template
,$(1),themes
/base
)
797 define Package
/luci-theme-fledermaus
798 $(call Package
/luci
/fftemplate
)
800 TITLE
:=Fledermaus Theme
803 define Package
/luci-theme-fledermaus
/install
804 $(call Package
/luci
/install/template
,$(1),themes
/fledermaus
)
807 define Package
/luci-theme-freifunk
808 $(call Package
/luci
/fftemplate
)
810 MAINTAINER
:=Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>
811 TITLE
:=alternative Freifunk Theme
814 define Package
/luci-theme-freifunk
/install
815 $(call Package
/luci
/install/template
,$(1),themes
/freifunk
)
818 define Package
/luci-theme-freifunk-bno
819 $(call Package
/luci
/fftemplate
)
821 MAINTAINER
:=Stefan Pirwitz
<stefan-at-freifunk-bno-dot-de
>
822 TITLE
:=Freifunk Berlin Nordost Theme
825 define Package
/luci-theme-freifunk-bno
/install
826 $(call Package
/luci
/install/template
,$(1),themes
/freifunk-bno
)
829 define Package
/luci-theme-freifunk-hannover
830 $(call Package
/luci
/fftemplate
)
832 MAINTAINER
:=Mikolas Bingemer
<mickey-at-freifunk-hannover-dot-de
>
833 TITLE
:=Freifunk Hannover Theme
836 define Package
/luci-theme-freifunk-hannover
/install
837 $(call Package
/luci
/install/template
,$(1),themes
/freifunk-hannover
)
840 define Package
/luci-theme-openwrt
841 $(call Package
/luci
/thtemplate
)
842 TITLE
:=OpenWrt.org
(default
)
843 DEPENDS
:=+luci-theme-base luci-core
844 DEFAULT
:=y if PACKAGE_luci-core
847 define Package
/luci-theme-openwrt
/install
848 $(call Package
/luci
/install/template
,$(1),themes
/openwrt.org
)
851 define Package
/luci-theme-openwrtlight
852 $(call Package
/luci
/thtemplate
)
853 TITLE
:=OpenWrt.org
- light variant without images
854 DEPENDS
:=+luci-theme-base
857 define Package
/luci-theme-openwrtlight
/install
858 $(call Package
/luci
/install/template
,$(1),themes
/openwrt-light
)
863 define Package
/luci-i18n-german
864 $(call Package
/luci
/i18ntemplate
)
868 define Package
/luci-i18n-german
/install
869 $(call Package
/luci
/install/template
,$(1),i18n
/german
)
873 define Package
/luci-i18n-english
874 $(call Package
/luci
/i18ntemplate
)
878 define Package
/luci-i18n-english
/install
879 $(call Package
/luci
/install/template
,$(1),i18n
/english
)
883 define Package
/luci-i18n-french
884 $(call Package
/luci
/i18ntemplate
)
885 TITLE
:=French
(by Florian Fainelli
)
888 define Package
/luci-i18n-french
/install
889 $(call Package
/luci
/install/template
,$(1),i18n
/french
)
893 define Package
/luci-i18n-italian
894 $(call Package
/luci
/i18ntemplate
)
895 TITLE
:=Italian
(by Matteo Croce
)
898 define Package
/luci-i18n-italian
/install
899 $(call Package
/luci
/install/template
,$(1),i18n
/italian
)
903 define Package
/luci-i18n-russian
904 $(call Package
/luci
/i18ntemplate
)
905 TITLE
:=Russian
(by Skryabin Dmitry
)
908 define Package
/luci-i18n-russian
/install
909 $(call Package
/luci
/install/template
,$(1),i18n
/russian
)
913 define Package
/luci-i18n-portuguese_brazilian
914 $(call Package
/luci
/i18ntemplate
)
915 TITLE
:=Portuguese
(Brazilian
) (by Carlos Cesario
)
918 define Package
/luci-i18n-portuguese_brazilian
/install
919 $(call Package
/luci
/install/template
,$(1),i18n
/portuguese_brazilian
)
923 define Package
/luci-i18n-japanese
924 $(call Package
/luci
/i18ntemplate
)
925 TITLE
:=Japanese
(by Tsukasa Hamano
)
928 define Package
/luci-i18n-japanese
/install
929 $(call Package
/luci
/install/template
,$(1),i18n
/japanese
)
933 define Package
/luci-i18n-greek
934 $(call Package
/luci
/i18ntemplate
)
935 TITLE
:=Greek
(by Vasilis Tsiligiannis
)
938 define Package
/luci-i18n-greek
/install
939 $(call Package
/luci
/install/template
,$(1),i18n
/greek
)
943 define Package
/luci-i18n-catalan
944 $(call Package
/luci
/i18ntemplate
)
945 TITLE
:=Catalan
(by Eduard Duran
)
948 define Package
/luci-i18n-catalan
/install
949 $(call Package
/luci
/install/template
,$(1),i18n
/catalan
)
953 define Package
/luci-i18n-portuguese
954 $(call Package
/luci
/i18ntemplate
)
955 TITLE
:=Portuguese
(by Jose Monteiro
)
958 define Package
/luci-i18n-portuguese
/install
959 $(call Package
/luci
/install/template
,$(1),i18n
/portuguese
)
963 define Package
/luci-i18n-spanish
964 $(call Package
/luci
/i18ntemplate
)
965 TITLE
:=Spanish
(by Guillermo Javier Nardoni
)
968 define Package
/luci-i18n-spanish
/install
969 $(call Package
/luci
/install/template
,$(1),i18n
/spanish
)
973 define Package
/luci-i18n-vietnamese
974 $(call Package
/luci
/i18ntemplate
)
975 TITLE
:=Vietnamese
(by Hong Phuc Dang
)
978 define Package
/luci-i18n-vietnamese
/install
979 $(call Package
/luci
/install/template
,$(1),i18n
/vietnamese
)
985 $(call Package
/luci
/collectiontemplate
)
986 TITLE
:=Standard OpenWrt Kamikaze set including full and mini admin and the standard theme
987 DEPENDS
:=+luci-admin-full
+luci-admin-mini
+luci-theme-openwrt
+luci-app-firewall
+luci-app-initmgr
990 define Package
/luci
/install
995 define Package
/luci-light
996 $(call Package
/luci
/collectiontemplate
)
997 TITLE
:=Minimum package set using only admin mini and a theme without grafics
998 DEPENDS
:=+luci-admin-mini
+luci-theme-openwrtlight
1001 define Package
/luci-light
/install
1007 ifneq ($(CONFIG_PACKAGE_luci-core
),)
1008 PKG_SELECTED_MODULES
+=libs
/core
1010 ifneq ($(CONFIG_PACKAGE_luci-cbi
),)
1011 PKG_SELECTED_MODULES
+=libs
/cbi
1013 ifneq ($(CONFIG_PACKAGE_luci-fastindex
),)
1014 PKG_SELECTED_MODULES
+=libs
/fastindex
1016 ifneq ($(CONFIG_PACKAGE_luci-http
),)
1017 PKG_SELECTED_MODULES
+=libs
/http
1019 ifneq ($(CONFIG_PACKAGE_luci-httpclient
),)
1020 PKG_SELECTED_MODULES
+=libs
/httpclient
1022 ifneq ($(CONFIG_PACKAGE_luci-ipkg
),)
1023 PKG_SELECTED_MODULES
+=libs
/ipkg
1025 ifneq ($(CONFIG_PACKAGE_luci-json
),)
1026 PKG_SELECTED_MODULES
+=libs
/json
1028 ifneq ($(CONFIG_PACKAGE_luci-lmo
),)
1029 PKG_SELECTED_MODULES
+=libs
/lmo
1031 ifneq ($(CONFIG_PACKAGE_luci-luanet
),)
1032 PKG_SELECTED_MODULES
+=libs
/luanet
1034 ifneq ($(CONFIG_PACKAGE_luci-iwinfo
),)
1035 PKG_SELECTED_MODULES
+=libs
/iwinfo
1037 ifneq ($(CONFIG_PACKAGE_luci-lucid
),)
1038 PKG_SELECTED_MODULES
+=libs
/lucid libs
/lucid-http
1040 ifneq ($(CONFIG_PACKAGE_luci-nixio
),)
1041 PKG_SELECTED_MODULES
+=libs
/nixio
1043 ifneq ($(CONFIG_PACKAGE_luci-px5g
),)
1044 PKG_SELECTED_MODULES
+=libs
/px5g
1046 ifneq ($(CONFIG_PACKAGE_luci-uci
),)
1047 PKG_SELECTED_MODULES
+=libs
/uci
1049 ifneq ($(CONFIG_PACKAGE_luci-sys
),)
1050 PKG_SELECTED_MODULES
+=libs
/sys
1052 ifneq ($(CONFIG_PACKAGE_luci-web
),)
1053 PKG_SELECTED_MODULES
+=libs
/web
1055 ifneq ($(CONFIG_PACKAGE_luci-uvl
),)
1056 PKG_SELECTED_MODULES
+=libs
/uvl
1059 ifneq ($(CONFIG_PACKAGE_luci-admin-core
),)
1060 PKG_SELECTED_MODULES
+=modules
/admin-core
1062 ifneq ($(CONFIG_PACKAGE_luci-admin-mini
),)
1063 PKG_SELECTED_MODULES
+=modules
/admin-mini
1065 ifneq ($(CONFIG_PACKAGE_luci-admin-full
),)
1066 PKG_SELECTED_MODULES
+=modules
/admin-full
1068 ifneq ($(CONFIG_PACKAGE_luci-niu
),)
1069 PKG_SELECTED_MODULES
+=modules
/niu
1071 ifneq ($(CONFIG_PACKAGE_luci-admin-rpc
),)
1072 PKG_SELECTED_MODULES
+=modules
/rpc
1074 ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk
),)
1075 PKG_SELECTED_MODULES
+=modules
/freifunk
1078 ifneq ($(CONFIG_PACKAGE_luci-freifunk-community
),)
1079 PKG_SELECTED_MODULES
+=applications
/freifunk-community
1082 ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig
),)
1083 PKG_SELECTED_MODULES
+=applications
/luci-ffwizard-leipzig
1085 ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard
),)
1086 PKG_SELECTED_MODULES
+=applications
/luci-siitwizard
1088 ifneq ($(CONFIG_PACKAGE_luci-app-firewall
),)
1089 PKG_SELECTED_MODULES
+=applications
/luci-fw
1091 ifneq ($(CONFIG_PACKAGE_luci-app-olsr
),)
1092 PKG_SELECTED_MODULES
+=applications
/luci-olsr
1094 ifneq ($(CONFIG_PACKAGE_luci-app-qos
),)
1095 PKG_SELECTED_MODULES
+=applications
/luci-qos
1097 ifneq ($(CONFIG_PACKAGE_luci-app-splash
),)
1098 PKG_SELECTED_MODULES
+=applications
/luci-splash
1100 ifneq ($(CONFIG_PACKAGE_luci-app-statistics
),)
1101 PKG_SELECTED_MODULES
+=applications
/luci-statistics
1103 ifneq ($(CONFIG_PACKAGE_luci-app-voice-core
),)
1104 PKG_SELECTED_MODULES
+=applications
/luci-voice-core
1106 ifneq ($(CONFIG_PACKAGE_luci-app-voice-diag
),)
1107 PKG_SELECTED_MODULES
+=applications
/luci-voice-diag
1109 ifneq ($(CONFIG_PACKAGE_luci-app-diag-core
),)
1110 PKG_SELECTED_MODULES
+=applications
/luci-diag-core
1112 ifneq ($(CONFIG_PACKAGE_luci-app-diag-devinfo
),)
1113 PKG_SELECTED_MODULES
+=applications
/luci-diag-devinfo
1115 ifneq ($(CONFIG_PACKAGE_luci-app-upnp
),)
1116 PKG_SELECTED_MODULES
+=applications
/luci-upnp
1118 ifneq ($(CONFIG_PACKAGE_luci-app-ntpc
),)
1119 PKG_SELECTED_MODULES
+=applications
/luci-ntpc
1121 ifneq ($(CONFIG_PACKAGE_luci-app-ddns
),)
1122 PKG_SELECTED_MODULES
+=applications
/luci-ddns
1124 ifneq ($(CONFIG_PACKAGE_luci-app-samba
),)
1125 PKG_SELECTED_MODULES
+=applications
/luci-samba
1127 ifneq ($(CONFIG_PACKAGE_luci-app-mmc-over-gpio
),)
1128 PKG_SELECTED_MODULES
+=applications
/luci-mmc-over-gpio
1130 ifneq ($(CONFIG_PACKAGE_luci-app-p910nd
),)
1131 PKG_SELECTED_MODULES
+=applications
/luci-p910nd
1133 ifneq ($(CONFIG_PACKAGE_luci-app-ushare
),)
1134 PKG_SELECTED_MODULES
+=applications
/luci-ushare
1136 ifneq ($(CONFIG_PACKAGE_luci-app-hd-idle
),)
1137 PKG_SELECTED_MODULES
+=applications
/luci-hd-idle
1139 ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy
),)
1140 PKG_SELECTED_MODULES
+=applications
/luci-tinyproxy
1142 ifneq ($(CONFIG_PACKAGE_luci-app-initmgr
),)
1143 PKG_SELECTED_MODULES
+=applications
/luci-initmgr
1145 ifneq ($(CONFIG_PACKAGE_luci-app-livestats
),)
1146 PKG_SELECTED_MODULES
+=applications
/luci-livestats
1148 ifneq ($(CONFIG_PACKAGE_luci-app-asterisk
),)
1149 PKG_SELECTED_MODULES
+=applications
/luci-asterisk
1151 ifneq ($(CONFIG_PACKAGE_luci-app-polipo
),)
1152 PKG_SELECTED_MODULES
+=applications
/luci-polipo
1154 ifneq ($(CONFIG_PACKAGE_luci-app-openvpn
),)
1155 PKG_SELECTED_MODULES
+=applications
/luci-openvpn
1157 ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock
),)
1158 PKG_SELECTED_MODULES
+=applications
/luci-p2pblock
1162 ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi
),)
1163 PKG_SELECTED_MODULES
+=libs
/sgi-cgi
1165 ifneq ($(CONFIG_PACKAGE_luci-sgi-uhttpd
),)
1166 PKG_SELECTED_MODULES
+=libs
/sgi-uhttpd
1168 ifneq ($(CONFIG_PACKAGE_luci-sgi-luci
),)
1169 PKG_SELECTED_MODULES
+=libs
/sgi-luci
1172 ifneq ($(CONFIG_PACKAGE_luci-theme-base
),)
1173 PKG_SELECTED_MODULES
+=themes
/base
1175 ifneq ($(CONFIG_PACKAGE_luci-theme-fledermaus
),)
1176 PKG_SELECTED_MODULES
+=themes
/fledermaus
1178 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-bno
),)
1179 PKG_SELECTED_MODULES
+=themes
/freifunk-bno
1181 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk-hannover
),)
1182 PKG_SELECTED_MODULES
+=themes
/freifunk-hannover
1184 ifneq ($(CONFIG_PACKAGE_luci-theme-freifunk
),)
1185 PKG_SELECTED_MODULES
+=themes
/freifunk
1187 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt
),)
1188 PKG_SELECTED_MODULES
+=themes
/openwrt.org
1190 ifneq ($(CONFIG_PACKAGE_luci-theme-openwrtlight
),)
1191 PKG_SELECTED_MODULES
+=themes
/openwrt-light
1194 ifneq ($(CONFIG_PACKAGE_luci-i18n-german
),)
1195 PKG_SELECTED_MODULES
+=i18n
/german
1197 ifneq ($(CONFIG_PACKAGE_luci-i18n-english
),)
1198 PKG_SELECTED_MODULES
+=i18n
/english
1200 ifneq ($(CONFIG_PACKAGE_luci-i18n-french
),)
1201 PKG_SELECTED_MODULES
+=i18n
/french
1203 ifneq ($(CONFIG_PACKAGE_luci-i18n-italian
),)
1204 PKG_SELECTED_MODULES
+=i18n
/italian
1206 ifneq ($(CONFIG_PACKAGE_luci-i18n-russian
),)
1207 PKG_SELECTED_MODULES
+=i18n
/russian
1209 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian
),)
1210 PKG_SELECTED_MODULES
+=i18n
/portuguese_brazilian
1212 ifneq ($(CONFIG_PACKAGE_luci-i18n-japanese
),)
1213 PKG_SELECTED_MODULES
+=i18n
/japanese
1215 ifneq ($(CONFIG_PACKAGE_luci-i18n-greek
),)
1216 PKG_SELECTED_MODULES
+=i18n
/greek
1218 ifneq ($(CONFIG_PACKAGE_luci-i18n-catalan
),)
1219 PKG_SELECTED_MODULES
+=i18n
/catalan
1221 ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese
),)
1222 PKG_SELECTED_MODULES
+=i18n
/portuguese
1224 ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish
),)
1225 PKG_SELECTED_MODULES
+=i18n
/spanish
1227 ifneq ($(CONFIG_PACKAGE_luci-i18n-vietnamese
),)
1228 PKG_SELECTED_MODULES
+=i18n
/vietnamese
1233 MODULES
="$(PKG_SELECTED_MODULES)" \
1234 LUA_TARGET
="$(LUA_TARGET)" \
1235 LUA_SHLIBS
="-llua -lm -ldl -lcrypt" \
1236 CFLAGS
="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \
1237 LDFLAGS
="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
1238 NIXIO_TLS
="$(NIXIO_TLS)" OS
="Linux"
1241 $(eval
$(call BuildPackage
,luci-core
))
1242 $(eval
$(call BuildPackage
,luci-cbi
))
1243 $(eval
$(call BuildPackage
,luci-fastindex
))
1244 $(eval
$(call BuildPackage
,luci-http
))
1245 $(eval
$(call BuildPackage
,luci-httpclient
))
1246 $(eval
$(call BuildPackage
,luci-ipkg
))
1247 $(eval
$(call BuildPackage
,luci-json
))
1248 $(eval
$(call BuildPackage
,luci-lmo
))
1249 $(eval
$(call BuildPackage
,luci-luanet
))
1250 $(eval
$(call BuildPackage
,luci-iwinfo
))
1251 $(eval
$(call BuildPackage
,luci-lucid
))
1252 $(eval
$(call BuildPackage
,luci-nixio
))
1253 $(eval
$(call BuildPackage
,luci-px5g
))
1254 $(eval
$(call BuildPackage
,luci-uci
))
1255 $(eval
$(call BuildPackage
,luci-sys
))
1256 $(eval
$(call BuildPackage
,luci-web
))
1257 $(eval
$(call BuildPackage
,luci-uvl
))
1259 $(eval
$(call BuildPackage
,luci-admin-core
))
1260 $(eval
$(call BuildPackage
,luci-admin-mini
))
1261 $(eval
$(call BuildPackage
,luci-admin-full
))
1262 $(eval
$(call BuildPackage
,luci-niu
))
1263 $(eval
$(call BuildPackage
,luci-admin-rpc
))
1264 $(eval
$(call BuildPackage
,luci-mod-freifunk
))
1266 $(eval
$(call BuildPackage
,luci-freifunk-community
))
1268 $(eval
$(call BuildPackage
,luci-app-ffwizard-leipzig
))
1269 $(eval
$(call BuildPackage
,luci-app-siitwizard
))
1270 $(eval
$(call BuildPackage
,luci-app-firewall
))
1271 $(eval
$(call BuildPackage
,luci-app-olsr
))
1272 $(eval
$(call BuildPackage
,luci-app-qos
))
1273 $(eval
$(call BuildPackage
,luci-app-splash
))
1274 $(eval
$(call BuildPackage
,luci-app-statistics
))
1275 $(eval
$(call BuildPackage
,luci-app-diag-core
))
1276 $(eval
$(call BuildPackage
,luci-app-diag-devinfo
))
1277 $(eval
$(call BuildPackage
,luci-app-voice-core
))
1278 $(eval
$(call BuildPackage
,luci-app-voice-diag
))
1279 $(eval
$(call BuildPackage
,luci-app-upnp
))
1280 $(eval
$(call BuildPackage
,luci-app-ntpc
))
1281 $(eval
$(call BuildPackage
,luci-app-ddns
))
1282 $(eval
$(call BuildPackage
,luci-app-samba
))
1283 $(eval
$(call BuildPackage
,luci-app-mmc-over-gpio
))
1284 $(eval
$(call BuildPackage
,luci-app-p910nd
))
1285 $(eval
$(call BuildPackage
,luci-app-ushare
))
1286 $(eval
$(call BuildPackage
,luci-app-hd-idle
))
1287 $(eval
$(call BuildPackage
,luci-app-tinyproxy
))
1288 $(eval
$(call BuildPackage
,luci-app-initmgr
))
1289 $(eval
$(call BuildPackage
,luci-app-livestats
))
1290 $(eval
$(call BuildPackage
,luci-app-asterisk
))
1291 $(eval
$(call BuildPackage
,luci-app-polipo
))
1292 $(eval
$(call BuildPackage
,luci-app-openvpn
))
1293 $(eval
$(call BuildPackage
,luci-app-p2pblock
))
1295 $(eval
$(call BuildPackage
,luci-sgi-cgi
))
1296 $(eval
$(call BuildPackage
,luci-sgi-uhttpd
))
1298 $(eval
$(call BuildPackage
,luci-theme-base
))
1299 $(eval
$(call BuildPackage
,luci-theme-fledermaus
))
1300 $(eval
$(call BuildPackage
,luci-theme-freifunk
))
1301 $(eval
$(call BuildPackage
,luci-theme-freifunk-bno
))
1302 $(eval
$(call BuildPackage
,luci-theme-freifunk-hannover
))
1303 $(eval
$(call BuildPackage
,luci-theme-openwrt
))
1304 $(eval
$(call BuildPackage
,luci-theme-openwrtlight
))
1306 $(eval
$(call BuildPackage
,luci-i18n-german
))
1307 $(eval
$(call BuildPackage
,luci-i18n-english
))
1308 $(eval
$(call BuildPackage
,luci-i18n-french
))
1309 $(eval
$(call BuildPackage
,luci-i18n-italian
))
1310 $(eval
$(call BuildPackage
,luci-i18n-russian
))
1311 $(eval
$(call BuildPackage
,luci-i18n-portuguese_brazilian
))
1312 $(eval
$(call BuildPackage
,luci-i18n-japanese
))
1313 $(eval
$(call BuildPackage
,luci-i18n-greek
))
1314 $(eval
$(call BuildPackage
,luci-i18n-catalan
))
1315 $(eval
$(call BuildPackage
,luci-i18n-portuguese
))
1316 $(eval
$(call BuildPackage
,luci-i18n-spanish
))
1317 $(eval
$(call BuildPackage
,luci-i18n-vietnamese
))
1319 $(eval
$(call BuildPackage
,luci
))
1320 $(eval
$(call BuildPackage
,luci-light
))