ofs | hex dump | ascii |
---|
0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 04 31 00 00 01 a8 08 06 00 00 00 5f 5b 7e | .PNG........IHDR...1........._[~ |
0020 | a1 00 00 20 00 49 44 41 54 78 9c ec 9d 77 54 54 d7 da c6 75 25 6b 79 e8 45 01 15 b1 77 6c 88 a8 | .....IDATx...wTT...u%ky.E...wl.. |
0040 | d8 7b 89 8a 0d 35 46 62 4b 34 b6 c4 28 d8 12 bb 31 f6 82 a8 51 63 ef a8 11 ec 34 87 8e 08 2a 22 | .{...5FbK4..(...1...Qc....4...*" |
0060 | 82 15 e9 48 9b 01 e9 cc cc 77 9f ef 0f 45 41 06 3c c8 19 ce cc e1 bd 6b fd d6 ba 77 c6 cb ec e7 | ...H.....w...EA.<......k...w.... |
0080 | ec 39 6f 79 66 9f bd 6b d5 fa f0 9f b4 b4 34 ed f8 f8 f8 f3 71 71 71 b9 6f de bc f9 5f 74 74 34 | .9oyf..k......4.....qqq.o..._tt4 |
00a0 | 08 82 20 08 82 20 08 82 20 08 82 20 aa 9b 37 6f de fc 2f 36 36 36 37 21 21 e1 6c 72 72 b2 66 ad | ..............7o../6667!!.lrr.f. |
00c0 | 92 ff 89 8b 8b b3 8c 8d 8d cd 8f 8f 8f 47 5a 5a 1a c4 62 31 24 12 09 41 10 04 41 10 04 41 10 04 | .............GZZ..b1$..A..A..A.. |
00e0 | 41 10 44 b5 23 16 8b 91 96 96 86 84 84 04 c4 c6 c6 e6 c5 c6 c6 5a d4 aa 55 ab 56 ad 98 98 18 fd | A.D.#................Z..U.V..... |
0100 | 98 98 98 82 94 94 14 de 07 49 10 04 41 10 04 41 10 04 41 10 04 51 92 94 94 14 c4 c4 c4 e4 8b c5 | .........I..A..A..A..Q.......... |
0120 | 62 dd 5a f1 f1 f1 ae f1 f1 f1 bc 0f 8a 20 08 82 20 08 82 20 08 82 20 08 42 11 f1 f1 f1 48 48 48 | b.Z.....................B....HHH |
0140 | b8 5a 2b 2e 2e 2e 37 2d 2d 8d f7 01 11 04 41 10 04 41 10 04 41 10 04 41 28 22 35 35 15 b1 b1 b1 | .Z+...7--.....A..A..A..A("55.... |
0160 | 39 b5 a2 a3 a3 79 1f 0c 41 10 04 41 10 04 41 10 04 41 10 44 79 88 c5 62 c4 c4 c4 fc 8f 4c 0c 82 | 9....y..A..A..A..A.Dy..b.....L.. |
0180 | 20 08 82 20 08 82 20 08 82 20 54 9e e8 e8 68 90 89 41 10 04 41 10 04 41 10 04 41 10 84 ca 43 26 | ..........T...h..A..A..A..A...C& |
01a0 | 06 41 10 04 41 10 04 41 10 04 41 10 6a 01 99 18 04 41 10 04 41 10 04 41 10 04 41 a8 05 64 62 10 | .A..A..A..A.j....A..A..A..A..db. |
01c0 | 04 0b 4e 9d 3a 05 6b 6b 6b e8 eb eb a3 56 ad 5a 6a 85 be be 3e 7a f5 ea 85 53 a7 4e f1 7e 1d 09 | ..N.:.kkk....V.Zj...>z...S.N.~.. |
01e0 | 82 20 08 82 20 94 09 d5 6c 04 21 7c c8 c4 20 88 2f b0 76 ed 5a 34 6a d4 08 fb f6 ed 83 b7 b7 37 | ........l.!|..../.v.Z4j........7 |
0200 | 1e 3c 78 a0 56 78 7b 7b c3 c9 c9 09 cd 9a 35 c3 ba 75 eb 78 bf 9e 04 41 10 04 41 10 ca 80 6a 36 | .<x.Vx{{......5..u.x...A..A...j6 |
0220 | 82 a8 19 90 89 41 10 15 70 e1 c2 05 98 9a 9a c2 cf cf 8f f7 c4 56 55 7c 7c 7c 60 6a 6a 0a 67 67 | .....A..p............VU|||`jj.gg |
0240 | 67 de af 2b 41 10 04 41 10 04 97 50 cd 46 10 35 07 32 31 08 a2 02 7a f5 ea 85 7d fb f6 29 4c 30 | g..+A..A...P.F.5.21...z...}..)L0 |
0260 | be be be f0 f0 f0 c0 9d 3b 77 54 0a 0f 0f 0f f8 fa fa 2a 1c f3 de bd 7b d1 a7 4f 1f de af 2b 41 | ........;wT.......*....{..O...+A |
pre { line-height: 125%; margin: 0; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight { background: #ffffff; }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */#
# Copyright (C) 2010-2012 Jo-Philipp Wich <jow@openwrt.org>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=uhttpd
PKG_VERSION:=2013-03-15
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://nbd.name/uhttpd2.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=3675d407ecf4908a231eb6bde6bb6408f20a9e81
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
PKG_BUILD_DEPENDS = ustream-ssl
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/uhttpd/default
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=uHTTPd - tiny, single threaded HTTP server
endef
define Package/uhttpd
$(Package/uhttpd/default)
DEPENDS:=+libubox
endef
define Package/uhttpd/description
uHTTPd is a tiny single threaded HTTP server with TLS, CGI and Lua
support. It is intended as a drop-in replacement for the Busybox
HTTP daemon.
endef
define Package/uhttpd/config
config PACKAGE_uhttpd_debug
bool "Build with debug messages"
default n
endef
define Package/uhttpd-mod-tls
$(Package/uhttpd/default)
TITLE+= (TLS plugin)
DEPENDS:=uhttpd +PACKAGE_uhttpd-mod-tls_cyassl:libustream-cyassl +PACKAGE_uhttpd-mod-tls_openssl:libustream-openssl
endef
define Package/uhttpd-mod-tls/description
The TLS plugin adds HTTPS support to uHTTPd.
endef
define Package/uhttpd-mod-tls/config
choice
depends on PACKAGE_uhttpd-mod-tls
prompt "TLS Provider"
default PACKAGE_uhttpd-mod-tls_cyassl
config PACKAGE_uhttpd-mod-tls_cyassl
bool "CyaSSL"
config PACKAGE_uhttpd-mod-tls_openssl
bool "OpenSSL"
endchoice
endef
define Package/uhttpd-mod-lua
$(Package/uhttpd/default)
TITLE+= (Lua plugin)
DEPENDS:=uhttpd +liblua
endef
define Package/uhttpd-mod-lua/description
The Lua plugin adds a CGI-like Lua runtime interface to uHTTPd.
endef
define Package/uhttpd-mod-ubus
$(Package/uhttpd/default)
TITLE+= (ubus plugin)
DEPENDS:=uhttpd +libubus +libblobmsg-json
endef
define Package/uhttpd-mod-ubus/description
The ubus plugin adds a HTTP/JSON RPC proxy for ubus and publishes the
session.* namespace and procedures.
endef
define Package/uhttpd/conffiles
/etc/config/uhttpd
/etc/uhttpd.crt
/etc/uhttpd.key
endef
TARGET_LDFLAGS += -lcrypt
CMAKE_OPTIONS = -DTLS_SUPPORT=on
define Package/uhttpd/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/uhttpd.init $(1)/etc/init.d/uhttpd
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/uhttpd.config $(1)/etc/config/uhttpd
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uhttpd $(1)/usr/sbin/uhttpd
endef
define Package/uhttpd-mod-tls/install
true
endef
define Package/uhttpd-mod-lua/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uhttpd_lua.so $(1)/usr/lib/
endef
define Package/uhttpd-mod-ubus/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uhttpd_ubus.so $(1)/usr/lib/
endef
$(eval $(call BuildPackage,uhttpd))
$(eval $(call BuildPackage,uhttpd-mod-tls))
$(eval $(call BuildPackage,uhttpd-mod-lua))
$(eval $(call BuildPackage,uhttpd-mod-ubus))
|