All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 0/3] redis: improve conf file install and stylize
@ 2015-09-11 13:41 Andrea Galbusera
  2015-09-11 13:41 ` [meta-oe][PATCH 1/3] redis: fix configuration file permissions Andrea Galbusera
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrea Galbusera @ 2015-09-11 13:41 UTC (permalink / raw)
  To: openembedded-devel

This set fixes file permissions used to install the default configuration
file. It also mark it as configuration file for packaging by adding to
CONFFILES. Some recipe restyling was also applied.

Feel free to squash individual patches if more appropriate or just let me
know and I will respin.

Andrea Galbusera (3):
  redis: fix configuration file permissions
  redis: add redis.conf to CONFFILES
  redis: stylize

 meta-oe/recipes-extended/redis/redis_3.0.2.bb | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [meta-oe][PATCH 1/3] redis: fix configuration file permissions
  2015-09-11 13:41 [meta-oe][PATCH 0/3] redis: improve conf file install and stylize Andrea Galbusera
@ 2015-09-11 13:41 ` Andrea Galbusera
  2015-09-11 13:41 ` [meta-oe][PATCH 2/3] redis: add redis.conf to CONFFILES Andrea Galbusera
  2015-09-11 13:41 ` [meta-oe][PATCH 3/3] redis: stylize Andrea Galbusera
  2 siblings, 0 replies; 4+ messages in thread
From: Andrea Galbusera @ 2015-09-11 13:41 UTC (permalink / raw)
  To: openembedded-devel

use 0644 instead of 0755 to install configuration file

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
---
 meta-oe/recipes-extended/redis/redis_3.0.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/redis/redis_3.0.2.bb b/meta-oe/recipes-extended/redis/redis_3.0.2.bb
index e439431..4aea90a 100644
--- a/meta-oe/recipes-extended/redis/redis_3.0.2.bb
+++ b/meta-oe/recipes-extended/redis/redis_3.0.2.bb
@@ -27,7 +27,7 @@ do_install() {
     oe_runmake install
 
     install -d ${D}/${sysconfdir}/redis
-    install -m 0755 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
+    install -m 0644 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
 
     install -d ${D}/${sysconfdir}/init.d 
     install -m 0755 ${WORKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-oe][PATCH 2/3] redis: add redis.conf to CONFFILES
  2015-09-11 13:41 [meta-oe][PATCH 0/3] redis: improve conf file install and stylize Andrea Galbusera
  2015-09-11 13:41 ` [meta-oe][PATCH 1/3] redis: fix configuration file permissions Andrea Galbusera
@ 2015-09-11 13:41 ` Andrea Galbusera
  2015-09-11 13:41 ` [meta-oe][PATCH 3/3] redis: stylize Andrea Galbusera
  2 siblings, 0 replies; 4+ messages in thread
From: Andrea Galbusera @ 2015-09-11 13:41 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
---
 meta-oe/recipes-extended/redis/redis_3.0.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-extended/redis/redis_3.0.2.bb b/meta-oe/recipes-extended/redis/redis_3.0.2.bb
index 4aea90a..4ed6879 100644
--- a/meta-oe/recipes-extended/redis/redis_3.0.2.bb
+++ b/meta-oe/recipes-extended/redis/redis_3.0.2.bb
@@ -35,3 +35,4 @@ do_install() {
     install -d ${D}/var/lib/redis/
 }
 
+CONFFILES_${PN} = "${sysconfdir}/redis/redis.conf"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-oe][PATCH 3/3] redis: stylize
  2015-09-11 13:41 [meta-oe][PATCH 0/3] redis: improve conf file install and stylize Andrea Galbusera
  2015-09-11 13:41 ` [meta-oe][PATCH 1/3] redis: fix configuration file permissions Andrea Galbusera
  2015-09-11 13:41 ` [meta-oe][PATCH 2/3] redis: add redis.conf to CONFFILES Andrea Galbusera
@ 2015-09-11 13:41 ` Andrea Galbusera
  2 siblings, 0 replies; 4+ messages in thread
From: Andrea Galbusera @ 2015-09-11 13:41 UTC (permalink / raw)
  To: openembedded-devel

* remove trailing whitespaces
* run through oe-stylize

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
---
 meta-oe/recipes-extended/redis/redis_3.0.2.bb | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/meta-oe/recipes-extended/redis/redis_3.0.2.bb b/meta-oe/recipes-extended/redis/redis_3.0.2.bb
index 4ed6879..55f2c96 100644
--- a/meta-oe/recipes-extended/redis/redis_3.0.2.bb
+++ b/meta-oe/recipes-extended/redis/redis_3.0.2.bb
@@ -3,9 +3,9 @@ DESCRIPTION = "Redis is an open source, advanced key-value store."
 HOMEPAGE = "http://redis.io"
 SECTION = "libs"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM="file://COPYING;md5=3c01b49fed4df1a79843688fa3f7b9d6"
-
+LIC_FILES_CHKSUM = "file://COPYING;md5=3c01b49fed4df1a79843688fa3f7b9d6"
 DEPENDS = ""
+
 SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
            file://hiredis-use-default-CC-if-it-is-set.patch \
            file://lua-update-Makefile-to-use-environment-build-setting.patch \
@@ -13,26 +13,22 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
            file://redis.conf \
            file://init-redis-server \
 "
-
-inherit autotools-brokensep update-rc.d
-
-INITSCRIPT_NAME = "redis-server"
-INITSCRIPT_PARAMS = "defaults 87"
-
 SRC_URI[md5sum] = "87be8867447f62524b584813e5a7bd14"
 SRC_URI[sha256sum] = "93e422c0d584623601f89b956045be158889ebe594478a2c24e1bf218495633f"
 
+inherit autotools-brokensep update-rc.d
+
 do_install() {
     export PREFIX=${D}/${prefix}
     oe_runmake install
-
     install -d ${D}/${sysconfdir}/redis
     install -m 0644 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
-
-    install -d ${D}/${sysconfdir}/init.d 
+    install -d ${D}/${sysconfdir}/init.d
     install -m 0755 ${WORKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
-
     install -d ${D}/var/lib/redis/
 }
 
 CONFFILES_${PN} = "${sysconfdir}/redis/redis.conf"
+
+INITSCRIPT_NAME = "redis-server"
+INITSCRIPT_PARAMS = "defaults 87"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-11 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-11 13:41 [meta-oe][PATCH 0/3] redis: improve conf file install and stylize Andrea Galbusera
2015-09-11 13:41 ` [meta-oe][PATCH 1/3] redis: fix configuration file permissions Andrea Galbusera
2015-09-11 13:41 ` [meta-oe][PATCH 2/3] redis: add redis.conf to CONFFILES Andrea Galbusera
2015-09-11 13:41 ` [meta-oe][PATCH 3/3] redis: stylize Andrea Galbusera

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.