Initial Commit
- initial default booting image
This commit is contained in:
31
package/tipidee/Config.in
Normal file
31
package/tipidee/Config.in
Normal file
@@ -0,0 +1,31 @@
|
||||
config BR2_PACKAGE_TIPIDEE
|
||||
bool "tipidee"
|
||||
depends on BR2_USE_MMU # skalibs
|
||||
select BR2_PACKAGE_SKALIBS
|
||||
select BR2_PACKAGE_HOST_TIPIDEE if BR2_PACKAGE_TIPIDEE_CONFIG_FILE != ""
|
||||
help
|
||||
tipidee is a web server. It supports HTTP 1.0 and 1.1. It aims
|
||||
to be compliant with RFC 9112: while it only implements a very
|
||||
limited subset of the optional functionality in HTTP 1.1, it
|
||||
implements all the mandatory parts. It is usable with both
|
||||
HTTP and HTTPS.
|
||||
|
||||
It runs under a super-server, e.g. inetd, s6-tcpserver, or
|
||||
s6-tlsserver (for HTTPS). Traditionally, inetd-mode web
|
||||
servers aren't considered performant, but tipidee aims to eke
|
||||
out every single drop of performance that is attainable with
|
||||
its programming model.
|
||||
|
||||
https://skarnet.org/software/tipidee/
|
||||
|
||||
if BR2_PACKAGE_TIPIDEE
|
||||
|
||||
config BR2_PACKAGE_TIPIDEE_CONFIG_FILE
|
||||
string "configuration source file"
|
||||
default ""
|
||||
help
|
||||
The configuration file in source (text) format, documented at:
|
||||
|
||||
https://skarnet.org/software/tipidee/tipidee.conf.html
|
||||
|
||||
endif
|
||||
8
package/tipidee/Config.in.host
Normal file
8
package/tipidee/Config.in.host
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_HOST_TIPIDEE
|
||||
bool "host tipidee"
|
||||
depends on BR2_USE_MMU # skalibs
|
||||
select BR2_PACKAGE_SKALIBS
|
||||
help
|
||||
This package builds the tipidee-config tool for the host.
|
||||
|
||||
https://skarnet.org/software/tipidee/
|
||||
3
package/tipidee/tipidee.hash
Normal file
3
package/tipidee/tipidee.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally generated
|
||||
sha256 228a995683a8cd4a1de9a7cb3f8d83a43830886c687895d0a3d1c5033f90362b tipidee-0.0.5.1.tar.gz
|
||||
sha256 8feb7933c6e6506a7f20fbfc03fd37df3caff4becdf3b7a0ffad5016277e441e COPYING
|
||||
74
package/tipidee/tipidee.mk
Normal file
74
package/tipidee/tipidee.mk
Normal file
@@ -0,0 +1,74 @@
|
||||
################################################################################
|
||||
#
|
||||
# tipidee
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TIPIDEE_VERSION = 0.0.5.1
|
||||
TIPIDEE_SITE = https://skarnet.org/software/tipidee
|
||||
TIPIDEE_LICENSE = ISC
|
||||
TIPIDEE_LICENSE_FILES = COPYING
|
||||
TIPIDEE_DEPENDENCIES = skalibs
|
||||
|
||||
TIPIDEE_CONF_OPTS = \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-sysdeps=$(STAGING_DIR)/usr/lib/skalibs/sysdeps \
|
||||
--with-include=$(STAGING_DIR)/include \
|
||||
--with-dynlib=$(STAGING_DIR)/lib \
|
||||
--with-lib=$(STAGING_DIR)/lib/skalibs \
|
||||
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
|
||||
$(SHARED_STATIC_LIBS_OPTS)
|
||||
|
||||
define TIPIDEE_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(TIPIDEE_CONF_OPTS))
|
||||
endef
|
||||
|
||||
define TIPIDEE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define TIPIDEE_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
rm -f $(TARGET_DIR)/bin/tipidee-config
|
||||
rm -f $(TARGET_DIR)/libexec/tipidee-config-preprocess
|
||||
endef
|
||||
|
||||
TIPIDEE_CONFIG_FILE = $(call qstrip, $(BR2_PACKAGE_TIPIDEE_CONFIG_FILE))
|
||||
ifneq ($(TIPIDEE_CONFIG_FILE),)
|
||||
TIPIDEE_DEPENDENCIES += host-tipidee
|
||||
|
||||
define TIPIDEE_INSTALL_CONFIG
|
||||
$(HOST_DIR)/bin/tipidee-config \
|
||||
-i "$(TIPIDEE_CONFIG_FILE)" \
|
||||
-o $(TARGET_DIR)/etc/tipidee.conf.cdb
|
||||
endef
|
||||
TIPIDEE_POST_INSTALL_TARGET_HOOKS += TIPIDEE_INSTALL_CONFIG
|
||||
|
||||
endif
|
||||
|
||||
HOST_TIPIDEE_DEPENDENCIES = host-skalibs
|
||||
|
||||
HOST_TIPIDEE_CONF_OPTS = \
|
||||
--prefix=$(HOST_DIR) \
|
||||
--with-sysdeps=$(HOST_DIR)/lib/skalibs/sysdeps \
|
||||
--with-include=$(HOST_DIR)/include \
|
||||
--with-dynlib=$(HOST_DIR)/lib \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-allstatic
|
||||
|
||||
define HOST_TIPIDEE_CONFIGURE_CMDS
|
||||
(cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure $(HOST_TIPIDEE_CONF_OPTS))
|
||||
endef
|
||||
|
||||
define HOST_TIPIDEE_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_TIPIDEE_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install-dynlib install-bin install-libexec
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user