All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH V2] nginx: new recipe, updated from aging original in rpi layer (has not been scrubbed for any potential policy issues).
Date: Wed, 04 Dec 2013 09:24:39 +0100	[thread overview]
Message-ID: <l7mopa$8gj$1@ger.gmane.org> (raw)
In-Reply-To: <1386142594-20793-1-git-send-email-raj.khem@gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khem Raj schreef op 04-12-13 08:36:
> From: "stephen.arnold42" <stephen.arnold42@gmail.com>
> 
> Signed-off-by: stephen.arnold42 <stephen.arnold42@gmail.com> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.4.4.bb
> b/meta-webserver/recipes-httpd/nginx/nginx_1.4.4.bb new file mode 100644 
> index 0000000..20e9ab5 --- /dev/null +++
> b/meta-webserver/recipes-httpd/nginx/nginx_1.4.4.bb @@ -0,0 +1,113 @@ 
> +SUMMARY = "HTTP and reverse proxy server" + +DESCRIPTION = "Nginx is a
> web server and a reverse proxy server for \ +HTTP, SMTP, POP3 and IMAP
> protocols, with a strong focus on high  \ +concurrency, performance and
> low memory usage." + +HOMEPAGE = "http://nginx.org/" +LICENSE =
> "BSD-2-Clause" +LIC_FILES_CHKSUM =
> "file://LICENSE;md5=917bfdf005ffb6fd025550414ff05a9f" +SECTION = "net" + 
> +DEPENDS = "libpcre gzip openssl" + +SRC_URI = " \ +
> http://nginx.org/download/nginx-${PV}.tar.gz \ +	file://nginx-cross.patch
> \ +	file://nginx.conf \ +	file://nginx.init \

The conf and init file both have hardcoded references that break when
${prefix} is not /usr and ${localstatedir} is not /var. There was an nginx
recipe submitted earlier this week that did update those reference in
do_install, but that one lacked the USERADD, systemd and CONFFILES touches
in this patch. Can you have a look at combining all the good features into
one patch?

regards,

Koen

> +do_install () { +	oe_runmake 'DESTDIR=${D}' install +	rm -fr
> ${D}${localstatedir}/run ${D}/run +	install -d
> ${D}${sysconfdir}/default/volatiles +	echo "d root root 0755
> ${localstatedir}/run/${BPN} none" \ +	     >
> ${D}${sysconfdir}/default/volatiles/99_${BPN} +	if
> ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)};
> then +		install -d ${D}${sysconfdir}/tmpfiles.d +		echo "d /run/${BPN} -
> - - -" \ +		     > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf +	fi +
> install -d ${D}${sysconfdir}/${BPN} +	ln -snf ${localstatedir}/run/${BPN}
> ${D}${sysconfdir}/${BPN}/run +	install -d
> ${D}${localstatedir}/www/localhost +	mv ${D}/usr/html
> ${D}${localstatedir}/www/localhost/ +	chown www:www-data -R
> ${D}${localstatedir} + +	install -d ${D}${sysconfdir}/init.d +	install -d
> ${D}${sysconfdir}/nginx +	install -m 0755 ${WORKDIR}/nginx.init
> ${D}${sysconfdir}/init.d/nginx +	install -m 0644 ${WORKDIR}/nginx.conf
> ${D}${sysconfdir}/nginx/ + +	install -d
> ${D}${sysconfdir}/default/volatiles +	echo "d www www-data 0755
> ${localstatedir}/run/nginx none" \ +		>
> ${D}${sysconfdir}/default/volatiles/99_nginx +}

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFSnubHMkyGM64RGpERAuyiAKCWF6kexMwtL4jWoj+zpGKQXWvCRQCgjueb
Ix+WbciF6sUSj2NBdDL4pb0=
=iYwy
-----END PGP SIGNATURE-----



      reply	other threads:[~2013-12-04  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04  7:36 [PATCH V2] nginx: new recipe, updated from aging original in rpi layer (has not been scrubbed for any potential policy issues) Khem Raj
2013-12-04  8:24 ` Koen Kooi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='l7mopa$8gj$1@ger.gmane.org' \
    --to=koen@dominion.thruhere.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.