On Mon, Nov 23, 2020 at 6:17 AM Joshua Watt via lists.openembedded.org
wrote:
>
> From: Senthil Selvaganesan
>
> fcgiwrap is a simple server for running CGI applications over FastCGI.
> It hopes to provide clean CGI support to Nginx and other web servers
> that may need it. Homepage: https://github.com/gnosek/fcgiwrap.
>
lets add it to packagegroup-meta-webserver.bb as well
> Signed-off-by: Senthil Selvaganesan
> Signed-off-by: Joshua Watt
> ---
> .../recipes-support/fcgiwrap/fcgiwrap_git.bb | 22 +++
> 1 file changed, 22 insertions(+)
> create mode 100644 meta-webserver/recipes-support/fcgiwrap/fcgiwrap_git.bb
>
> diff --git a/meta-webserver/recipes-support/fcgiwrap/fcgiwrap_git.bb
> b/meta-webserver/recipes-support/fcgiwrap/fcgiwrap_git.bb
> new file mode 100644
> index 0..f33b066c0
> --- /dev/null
> +++ b/meta-webserver/recipes-support/fcgiwrap/fcgiwrap_git.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "FastCGI wrapper for CGI scripts"
> +DESCRIPTION = "FcgiWrap is a simple server for running CGI applications over
> FastCGI. Fcgiwrap can be used together with Nginx to serve CGI or Perl
> scripts"
> +HOMEPAGE = "https://github.com/gnosek/fcgiwrap;
> +
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=a95d02d614a3a0232d4e6e51b7963c5b"
> +
> +SRCREV = "99c942c90063c73734e56bacaa65f947772d9186"
> +SRC_URI = "git://github.com/gnosek/fcgiwrap.git;protocol=https"
> +
> +DEPENDS = "fcgi"
> +S = "${WORKDIR}/git"
> +B = "${S}/../build/"
this seems redundant
> +CFLAGS_prepend = "-I${S}/../build/"
perhaps =+ is fine here without prepend
> +EXTRA_OEMAKE = "VPATH=${S}"
> +
> +inherit autotools pkgconfig
> +
> +do_install() {
> +install -d "${D}/usr/sbin/"
> +install -m 755 ${B}/fcgiwrap ${D}/usr/sbin/fcgiwrap
install -Dm 077 ${B}/fcgiwrap ${D}${sbindir}/fcgiwrap
would be a single liner
> +}
> --
> 2.29.2
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#88065):
https://lists.openembedded.org/g/openembedded-devel/message/88065
Mute This Topic: https://lists.openembedded.org/mt/78453725/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-