diff options
author | Alexander Dahl <ada@thorsis.com> | 2020-03-26 15:53:38 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-03-27 13:08:32 +0100 |
commit | 12215f8abf7adc39dbf9c812f511b0d53f9e73aa (patch) | |
tree | 2007fa95809d27fa59c94b11fa755c923934abe9 /rules | |
parent | 99cd95b6bec6c5b81a90287b1e834347598bcf24 (diff) | |
download | ptxdist-12215f8abf7adc39dbf9c812f511b0d53f9e73aa.tar.gz ptxdist-12215f8abf7adc39dbf9c812f511b0d53f9e73aa.tar.xz |
spawn-fcgi: Add new package
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Message-Id: <20200326145338.13032-1-ada@thorsis.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/spawn-fcgi.in | 11 | ||||
-rw-r--r-- | rules/spawn-fcgi.make | 56 |
2 files changed, 67 insertions, 0 deletions
diff --git a/rules/spawn-fcgi.in b/rules/spawn-fcgi.in new file mode 100644 index 000000000..9cf6489bc --- /dev/null +++ b/rules/spawn-fcgi.in @@ -0,0 +1,11 @@ +## SECTION=networking + +config SPAWN_FCGI + tristate + prompt "spawn-fcgi" + help + spawn-fcgi is used to spawn FastCGI applications + + https://redmine.lighttpd.net/projects/spawn-fcgi + +# vim: ft=kconfig noet tw=72 ts=8 sw=8 diff --git a/rules/spawn-fcgi.make b/rules/spawn-fcgi.make new file mode 100644 index 000000000..f6aa45dd5 --- /dev/null +++ b/rules/spawn-fcgi.make @@ -0,0 +1,56 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Alexander Dahl <ada@thorsis.com> +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_SPAWN_FCGI) += spawn-fcgi + +# +# Paths and names +# +SPAWN_FCGI_VERSION := 1.6.4 +SPAWN_FCGI_MD5 := a67c098a50cd625fd12adf61b5dd4c32 +SPAWN_FCGI := spawn-fcgi-$(SPAWN_FCGI_VERSION) +SPAWN_FCGI_SUFFIX := tar.xz +SPAWN_FCGI_URL := https://download.lighttpd.net/spawn-fcgi/releases-1.6.x/$(SPAWN_FCGI).$(SPAWN_FCGI_SUFFIX) +SPAWN_FCGI_SOURCE := $(SRCDIR)/$(SPAWN_FCGI).$(SPAWN_FCGI_SUFFIX) +SPAWN_FCGI_DIR := $(BUILDDIR)/$(SPAWN_FCGI) +SPAWN_FCGI_LICENSE := BSD-3-Clause +SPAWN_FCGI_LICENSE_FILES := file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +SPAWN_FCGI_CONF_TOOL := autoconf +SPAWN_FCGI_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + $(GLOBAL_IPV6_OPTION) \ + --enable-extra-warnings + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/spawn-fcgi.targetinstall: + @$(call targetinfo) + + @$(call install_init, spawn-fcgi) + @$(call install_fixup, spawn-fcgi,PRIORITY,optional) + @$(call install_fixup, spawn-fcgi,SECTION,base) + @$(call install_fixup, spawn-fcgi,AUTHOR,"Alexander Dahl <ada@thorsis.com>") + @$(call install_fixup, spawn-fcgi,DESCRIPTION,missing) + + @$(call install_copy, spawn-fcgi, 0, 0, 0755, -, /usr/bin/spawn-fcgi) + + @$(call install_finish, spawn-fcgi) + + @$(call touch) + +# vim: ft=make noet tw=72 ts=8 sw=8 |