[oe] [meta-oe][PATCH] tclap: add ALLOW_EMPTY in bb file

2015-01-25 Thread YangHaibo
---
 meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb 
b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
index c6bedea..ab15a7e 100644
--- a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
+++ b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
@@ -11,4 +11,6 @@ SRC_URI = git://git.code.sf.net/p/tclap/code \
 S = ${WORKDIR}/git
 inherit autotools
 
+ALLOW_EMPTY_${PN} = 1
+
 BBCLASSEXTEND = native nativesdk
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH v2] ssmping: add recipe for ssmping-0.9.1

2014-09-23 Thread YangHaibo
Signed-off-by: YangHaibo b40...@freescale.com
---
 meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb | 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb

diff --git a/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb 
b/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb
new file mode 100644
index 000..06d6d28
--- /dev/null
+++ b/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb
@@ -0,0 +1,10 @@
+SUMMARY = ssmping is a tool for checking whether one can receive SSM from a 
given host
+HOMEPAGE = http://www.venaas.no/multicast/ssmping/;
+LICENSE = ISC
+LIC_FILES_CHKSUM = 
file://asmping.c;beginline=2;endline=11;md5=1ca8d1a1ca931e5cfe604ebf20a78b71
+
+SRC_URI = http://www.venaas.no/multicast/ssmping/${BP}.tar.gz;
+SRC_URI[md5sum] = ad8e3d13f6d72918f73be7e7975d7fad
+SRC_URI[sha256sum] = 
22103a37eaa28489169a0927bc01e0596c3485fc4d29fc8456c07fd2c70fca6d
+
+CFLAGS += -D_GNU_SOURCE 
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH v4] pimd: add recipe for pimd-2.1.8

2014-09-18 Thread YangHaibo
Signed-off-by: YangHaibo b40...@freescale.com
---
 meta-networking/recipes-support/pimd/pimd_2.1.8.bb | 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-networking/recipes-support/pimd/pimd_2.1.8.bb

diff --git a/meta-networking/recipes-support/pimd/pimd_2.1.8.bb 
b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
new file mode 100644
index 000..e73d4f5
--- /dev/null
+++ b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
@@ -0,0 +1,10 @@
+SUMMARY = pimd is a lightweight stand-alone PIM-SM v2 multicast routing 
daemon.
+HOMEPAGE = http://troglobit.com/pimd.html;
+LICENSE = BSD-3-Clause
+LIC_FILES_CHKSUM = file://LICENSE;md5=94f108f91fab720d62425770b70dd790
+
+SRC_URI = ftp://troglobit.com/pimd/${BP}.tar.bz2;
+SRC_URI[md5sum] = a12448bc7c9bfcebf51a13ebf1ffa962
+SRC_URI[sha256sum] = 
3379436c16caccdef9b40a49fbdfdbb45aad8ecb05870834490b8fb080126009
+
+CFLAGS += -I ${S}/include 
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH V2] pimd: add recipe for pimd-2.1.8

2014-09-16 Thread YangHaibo
Signed-off-by: YangHaibo b40...@freescale.com
---
 meta-networking/recipes-support/pimd/pimd_2.1.8.bb | 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-networking/recipes-support/pimd/pimd_2.1.8.bb

diff --git a/meta-networking/recipes-support/pimd/pimd_2.1.8.bb 
b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
new file mode 100644
index 000..0cb7979
--- /dev/null
+++ b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
@@ -0,0 +1,10 @@
+SUMMARY = pimd is a lightweight stand-alone PIM-SM v2 multicast routing 
daemon.
+HOMEPAGE = http://troglobit.com/pimd.html;
+LICENSE = BSD-3-Clause
+LIC_FILES_CHKSUM = file://LICENSE;md5=94f108f91fab720d62425770b70dd790
+
+SRC_URI = ftp://troglobit.com/pimd/${BP}.tar.bz2;
+SRC_URI[md5sum] = a12448bc7c9bfcebf51a13ebf1ffa962
+SRC_URI[sha256] = 
3379436c16caccdef9b40a49fbdfdbb45aad8ecb05870834490b8fb080126009
+
+CFLAGS_prepend = -I ${S}/include 
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH V3] pimd: add recipe for pimd-2.1.8

2014-09-16 Thread YangHaibo
Signed-off-by: YangHaibo b40...@freescale.com
---
 meta-networking/recipes-support/pimd/pimd_2.1.8.bb | 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-networking/recipes-support/pimd/pimd_2.1.8.bb

diff --git a/meta-networking/recipes-support/pimd/pimd_2.1.8.bb 
b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
new file mode 100644
index 000..7c03dd6
--- /dev/null
+++ b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
@@ -0,0 +1,10 @@
+SUMMARY = pimd is a lightweight stand-alone PIM-SM v2 multicast routing 
daemon.
+HOMEPAGE = http://troglobit.com/pimd.html;
+LICENSE = BSD-3-Clause
+LIC_FILES_CHKSUM = file://LICENSE;md5=94f108f91fab720d62425770b70dd790
+
+SRC_URI = ftp://troglobit.com/pimd/${BP}.tar.bz2;
+SRC_URI[md5sum] = a12448bc7c9bfcebf51a13ebf1ffa962
+SRC_URI[sha256sum] = 
3379436c16caccdef9b40a49fbdfdbb45aad8ecb05870834490b8fb080126009
+
+CFLAGS_prepend = -I ${S}/include 
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] pimd: add recipe for ssmping-0.9.1

2014-09-16 Thread YangHaibo
Signed-off-by: YangHaibo b40...@freescale.com
---
 meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb | 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb

diff --git a/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb 
b/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb
new file mode 100644
index 000..ec56024
--- /dev/null
+++ b/meta-networking/recipes-support/ssmping/ssmping_0.9.1.bb
@@ -0,0 +1,10 @@
+SUMMARY = ssmping is a tool for checking whether one can receive SSM from a 
given host
+HOMEPAGE = http://www.venaas.no/multicast/ssmping/;
+LICENSE = ISC
+LIC_FILES_CHKSUM = 
file://asmping.c;beginline=2;endline=11;md5=1ca8d1a1ca931e5cfe604ebf20a78b71
+
+SRC_URI = http://www.venaas.no/multicast/ssmping/${BP}.tar.gz;
+SRC_URI[md5sum] = ad8e3d13f6d72918f73be7e7975d7fad
+SRC_URI[sha256sum] = 
22103a37eaa28489169a0927bc01e0596c3485fc4d29fc8456c07fd2c70fca6d
+
+CFLAGS_prepend = -D_GNU_SOURCE 
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] pimd: add recipe for pimd-2.1.8

2014-09-15 Thread YangHaibo
Signed-off-by: YangHaibo b40...@freescale.com
---
 meta-networking/recipes-support/pimd/pimd_2.1.8.bb | 9 +
 1 file changed, 9 insertions(+)
 create mode 100644 meta-networking/recipes-support/pimd/pimd_2.1.8.bb

diff --git a/meta-networking/recipes-support/pimd/pimd_2.1.8.bb 
b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
new file mode 100644
index 000..4d1137f
--- /dev/null
+++ b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb
@@ -0,0 +1,9 @@
+DESCRIPTION = pimd is a lightweight stand-alone PIM-SM v2 multicast routing 
daemon.
+HOMEPAGE = http://troglobit.com/pimd.html;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://LICENSE;md5=94f108f91fab720d62425770b70dd790
+
+SRC_URI = ftp://troglobit.com/pimd/pimd-2.1.8.tar.bz2;
+SRC_URI[md5sum] = a12448bc7c9bfcebf51a13ebf1ffa962
+
+CFLAGS_prepend = -I ${S}/include 
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][meta-webserver][PATCH] move fcgi-2.4.0 recipe and patch to correct folder

2014-08-19 Thread YangHaibo
---
 meta-webserver/recipes-support/{ = fcgi}/fcgi_2.4.0.bb   | 0
 .../recipes-support/fcgi/{ = files}/Fix_EOF_not_declared_issue.patch | 0
 .../fcgi/{ = files}/add_foreign_to_AM_INIT_AUTOMAKE.patch| 0
 3 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-webserver/recipes-support/{ = fcgi}/fcgi_2.4.0.bb (100%)
 rename meta-webserver/recipes-support/fcgi/{ = 
files}/Fix_EOF_not_declared_issue.patch (100%)
 rename meta-webserver/recipes-support/fcgi/{ = 
files}/add_foreign_to_AM_INIT_AUTOMAKE.patch (100%)

diff --git a/meta-webserver/recipes-support/fcgi_2.4.0.bb 
b/meta-webserver/recipes-support/fcgi/fcgi_2.4.0.bb
similarity index 100%
rename from meta-webserver/recipes-support/fcgi_2.4.0.bb
rename to meta-webserver/recipes-support/fcgi/fcgi_2.4.0.bb
diff --git 
a/meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch 
b/meta-webserver/recipes-support/fcgi/files/Fix_EOF_not_declared_issue.patch
similarity index 100%
rename from meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch
rename to 
meta-webserver/recipes-support/fcgi/files/Fix_EOF_not_declared_issue.patch
diff --git 
a/meta-webserver/recipes-support/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch 
b/meta-webserver/recipes-support/fcgi/files/add_foreign_to_AM_INIT_AUTOMAKE.patch
similarity index 100%
rename from 
meta-webserver/recipes-support/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch
rename to 
meta-webserver/recipes-support/fcgi/files/add_foreign_to_AM_INIT_AUTOMAKE.patch
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][meta-webserver][PATCH v4] integrate fcgi-2.4.0 and add OML license file

2014-08-05 Thread YangHaibo
Signed-off-by: YangHaibo b40...@freescale.com
---
 meta-oe/licenses/OML   | 28 ++
 .../fcgi/fcgi/Fix_EOF_not_declared_issue.patch | 17 +
 .../fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch | 18 ++
 meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb | 15 
 4 files changed, 78 insertions(+)
 create mode 100644 meta-oe/licenses/OML
 create mode 100644 
meta-webserver/recipes-fcgi/fcgi/fcgi/Fix_EOF_not_declared_issue.patch
 create mode 100644 
meta-webserver/recipes-fcgi/fcgi/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch
 create mode 100644 meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb

diff --git a/meta-oe/licenses/OML b/meta-oe/licenses/OML
new file mode 100644
index 000..7e6bdfd
--- /dev/null
+++ b/meta-oe/licenses/OML
@@ -0,0 +1,28 @@
+This FastCGI application library source and object code (the
+Software) and its documentation (the Documentation) are
+copyrighted by Open Market, Inc (Open Market).  The following terms
+apply to all files associated with the Software and Documentation
+unless explicitly disclaimed in individual files.
+
+Open Market permits you to use, copy, modify, distribute, and license
+this Software and the Documentation for any purpose, provided that
+existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions.  No written
+agreement, license, or royalty fee is required for any of the
+authorized uses.  Modifications to this Software and Documentation may
+be copyrighted by their authors and need not follow the licensing
+terms described here.  If modifications to this Software and
+Documentation have new licensing terms, the new terms must be clearly
+indicated on the first page of each file where they apply.
+
+OPEN MARKET MAKES NO EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE
+SOFTWARE OR THE DOCUMENTATION, INCLUDING WITHOUT LIMITATION ANY
+WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  IN
+NO EVENT SHALL OPEN MARKET BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY
+DAMAGES ARISING FROM OR RELATING TO THIS SOFTWARE OR THE
+DOCUMENTATION, INCLUDING, WITHOUT LIMITATION, ANY INDIRECT, SPECIAL OR
+CONSEQUENTIAL DAMAGES OR SIMILAR DAMAGES, INCLUDING LOST PROFITS OR
+LOST DATA, EVEN IF OPEN MARKET HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.  THE SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS.
+OPEN MARKET HAS NO LIABILITY IN CONTRACT, TORT, NEGLIGENCE OR
+OTHERWISE ARISING OUT OF THIS SOFTWARE OR THE DOCUMENTATION.
diff --git 
a/meta-webserver/recipes-fcgi/fcgi/fcgi/Fix_EOF_not_declared_issue.patch 
b/meta-webserver/recipes-fcgi/fcgi/fcgi/Fix_EOF_not_declared_issue.patch
new file mode 100644
index 000..51ddeaa
--- /dev/null
+++ b/meta-webserver/recipes-fcgi/fcgi/fcgi/Fix_EOF_not_declared_issue.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Pending
+
+Fix EOF not declared issue, following is the error log.
+fcgio.cpp:70:72: error: 'EOF' was not declared in this scope
+  if (FCGX_PutStr(pbase(), plen, this-fcgx) != plen) return EOF;
+
+Signed-off-by: Yang Haibo b40...@freescale.com
+--- fcgi-ori/libfcgi/fcgio.cpp 2014-07-28 18:01:00.0 +0800
 fcgi-2.4.0/libfcgi/fcgio.cpp   2014-07-28 18:01:22.0 +0800
+@@ -22,6 +22,7 @@
+ #define DLLAPI  __declspec(dllexport)
+ #endif
+
++#include stdio.h
+ #include limits.h
+ #include fcgio.h
+
diff --git 
a/meta-webserver/recipes-fcgi/fcgi/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch 
b/meta-webserver/recipes-fcgi/fcgi/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch
new file mode 100644
index 000..eca694a
--- /dev/null
+++ 
b/meta-webserver/recipes-fcgi/fcgi/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Pending
+
+use automake options foreign to set the strictness as appropriate
+
+Signed-off-by: Yang Haibo b40...@freescale.com
+--- fcgi-ori/configure.in  2014-08-05 14:58:35.0 +0800
 fcgi-2.4.0/configure.in2014-08-05 14:59:08.0 +0800
+@@ -4,8 +4,8 @@
+ dnl generate the file configure, which is run during the build
+ dnl to configure the system for the local environment.
+ 
+-AC_INIT
+-AM_INIT_AUTOMAKE(fcgi, 2.4.0)
++AC_INIT([fcgi], [2.4.0])
++AM_INIT_AUTOMAKE([foreign])
+ 
+ AM_CONFIG_HEADER(fcgi_config.h)
+ 
diff --git a/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb 
b/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
new file mode 100644
index 000..ed718ae
--- /dev/null
+++ b/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = FastCGI is a protocol for interfacing interactive programs with 
a web server.
+HOMEPAGE = http://www.fastcgi.com;
+LICENSE = OML
+LIC_FILES_CHKSUM = file://LICENSE.TERMS;md5=e3aacac3a647af6e7e31f181cda0a06a
+
+SRC_URI = http://fossies.org/linux/www/${BP}.tar.gz \
+   file://Fix_EOF_not_declared_issue.patch \
+   file://add_foreign_to_AM_INIT_AUTOMAKE.patch \
+
+SRC_URI[md5sum] = d15060a813b91383a9f3c66faf84867e

[oe] [meta-oe][PATCH] meta-oe: Add OML lincence and recipe for fastcgi

2014-07-31 Thread YangHaibo
Fastcgi version: 2.4.0

Upstream-Status: Submitted [openembedded-devel@lists.openembedded.org]

Signed-off-by: Yang Haibo b40...@freescale.com
---
 meta-oe/licenses/OML   | 28 ++
 meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb | 16 +
 .../fcgi/files/Fix_EOF_not_declared_issue.patch| 15 
 3 files changed, 59 insertions(+)
 create mode 100644 meta-oe/licenses/OML
 create mode 100644 meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
 create mode 100644 
meta-webserver/recipes-fcgi/fcgi/files/Fix_EOF_not_declared_issue.patch

diff --git a/meta-oe/licenses/OML b/meta-oe/licenses/OML
new file mode 100644
index 000..7e6bdfd
--- /dev/null
+++ b/meta-oe/licenses/OML
@@ -0,0 +1,28 @@
+This FastCGI application library source and object code (the
+Software) and its documentation (the Documentation) are
+copyrighted by Open Market, Inc (Open Market).  The following terms
+apply to all files associated with the Software and Documentation
+unless explicitly disclaimed in individual files.
+
+Open Market permits you to use, copy, modify, distribute, and license
+this Software and the Documentation for any purpose, provided that
+existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions.  No written
+agreement, license, or royalty fee is required for any of the
+authorized uses.  Modifications to this Software and Documentation may
+be copyrighted by their authors and need not follow the licensing
+terms described here.  If modifications to this Software and
+Documentation have new licensing terms, the new terms must be clearly
+indicated on the first page of each file where they apply.
+
+OPEN MARKET MAKES NO EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE
+SOFTWARE OR THE DOCUMENTATION, INCLUDING WITHOUT LIMITATION ANY
+WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  IN
+NO EVENT SHALL OPEN MARKET BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY
+DAMAGES ARISING FROM OR RELATING TO THIS SOFTWARE OR THE
+DOCUMENTATION, INCLUDING, WITHOUT LIMITATION, ANY INDIRECT, SPECIAL OR
+CONSEQUENTIAL DAMAGES OR SIMILAR DAMAGES, INCLUDING LOST PROFITS OR
+LOST DATA, EVEN IF OPEN MARKET HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.  THE SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS.
+OPEN MARKET HAS NO LIABILITY IN CONTRACT, TORT, NEGLIGENCE OR
+OTHERWISE ARISING OUT OF THIS SOFTWARE OR THE DOCUMENTATION.
diff --git a/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb 
b/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
new file mode 100644
index 000..ceb5909
--- /dev/null
+++ b/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = FastCGI is a protocol for interfacing interactive programs with 
a web server.
+HOMEPAGE = http://www.fastcgi.com;
+LICENSE = OML
+LIC_FILES_CHKSUM = file://LICENSE.TERMS;md5=e3aacac3a647af6e7e31f181cda0a06a
+
+SRC_URI = http://fossies.org/linux/www/fcgi-2.4.0.tar.gz \
+   file://Fix_EOF_not_declared_issue.patch \
+
+SRC_URI[md5sum] = d15060a813b91383a9f3c66faf84867e
+SRC_URI[sha256sum] = 
66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
+
+S = ${WORKDIR}/${BPN}-${PV}/
+
+inherit autotools
+
+PARALLEL_MAKE = 
diff --git 
a/meta-webserver/recipes-fcgi/fcgi/files/Fix_EOF_not_declared_issue.patch 
b/meta-webserver/recipes-fcgi/fcgi/files/Fix_EOF_not_declared_issue.patch
new file mode 100644
index 000..f382142
--- /dev/null
+++ b/meta-webserver/recipes-fcgi/fcgi/files/Fix_EOF_not_declared_issue.patch
@@ -0,0 +1,15 @@
+Fix EOF not declared issue
+
+Error like:
+fcgio.cpp:70:72: error: 'EOF' was not declared in this scope
+  if (FCGX_PutStr(pbase(), plen, this-fcgx) != plen) return EOF;
+--- fcgi-ori/libfcgi/fcgio.cpp 2014-07-28 18:01:00.0 +0800
 fcgi-2.4.0/libfcgi/fcgio.cpp   2014-07-28 18:01:22.0 +0800
+@@ -22,6 +22,7 @@
+ #define DLLAPI  __declspec(dllexport)
+ #endif
+ 
++#include stdio.h
+ #include limits.h
+ #include fcgio.h
+ 
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH v2] fcgi: integrate fcgi-2.4.0 and add OML license file

2014-07-31 Thread YangHaibo
---
 meta-oe/licenses/OML   | 28 ++
 meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb | 16 +
 .../fcgi/files/Fix_EOF_not_declared_issue.patch| 17 +
 3 files changed, 61 insertions(+)
 create mode 100644 meta-oe/licenses/OML
 create mode 100644 meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
 create mode 100644 
meta-webserver/recipes-fcgi/fcgi/files/Fix_EOF_not_declared_issue.patch

diff --git a/meta-oe/licenses/OML b/meta-oe/licenses/OML
new file mode 100644
index 000..7e6bdfd
--- /dev/null
+++ b/meta-oe/licenses/OML
@@ -0,0 +1,28 @@
+This FastCGI application library source and object code (the
+Software) and its documentation (the Documentation) are
+copyrighted by Open Market, Inc (Open Market).  The following terms
+apply to all files associated with the Software and Documentation
+unless explicitly disclaimed in individual files.
+
+Open Market permits you to use, copy, modify, distribute, and license
+this Software and the Documentation for any purpose, provided that
+existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions.  No written
+agreement, license, or royalty fee is required for any of the
+authorized uses.  Modifications to this Software and Documentation may
+be copyrighted by their authors and need not follow the licensing
+terms described here.  If modifications to this Software and
+Documentation have new licensing terms, the new terms must be clearly
+indicated on the first page of each file where they apply.
+
+OPEN MARKET MAKES NO EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE
+SOFTWARE OR THE DOCUMENTATION, INCLUDING WITHOUT LIMITATION ANY
+WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  IN
+NO EVENT SHALL OPEN MARKET BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY
+DAMAGES ARISING FROM OR RELATING TO THIS SOFTWARE OR THE
+DOCUMENTATION, INCLUDING, WITHOUT LIMITATION, ANY INDIRECT, SPECIAL OR
+CONSEQUENTIAL DAMAGES OR SIMILAR DAMAGES, INCLUDING LOST PROFITS OR
+LOST DATA, EVEN IF OPEN MARKET HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.  THE SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS.
+OPEN MARKET HAS NO LIABILITY IN CONTRACT, TORT, NEGLIGENCE OR
+OTHERWISE ARISING OUT OF THIS SOFTWARE OR THE DOCUMENTATION.
diff --git a/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb 
b/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
new file mode 100644
index 000..ceb5909
--- /dev/null
+++ b/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = FastCGI is a protocol for interfacing interactive programs with 
a web server.
+HOMEPAGE = http://www.fastcgi.com;
+LICENSE = OML
+LIC_FILES_CHKSUM = file://LICENSE.TERMS;md5=e3aacac3a647af6e7e31f181cda0a06a
+
+SRC_URI = http://fossies.org/linux/www/fcgi-2.4.0.tar.gz \
+   file://Fix_EOF_not_declared_issue.patch \
+
+SRC_URI[md5sum] = d15060a813b91383a9f3c66faf84867e
+SRC_URI[sha256sum] = 
66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
+
+S = ${WORKDIR}/${BPN}-${PV}/
+
+inherit autotools
+
+PARALLEL_MAKE = 
diff --git 
a/meta-webserver/recipes-fcgi/fcgi/files/Fix_EOF_not_declared_issue.patch 
b/meta-webserver/recipes-fcgi/fcgi/files/Fix_EOF_not_declared_issue.patch
new file mode 100644
index 000..b4cf080
--- /dev/null
+++ b/meta-webserver/recipes-fcgi/fcgi/files/Fix_EOF_not_declared_issue.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Pending
+
+Fix EOF not declared issue, following is the error log.
+fcgio.cpp:70:72: error: 'EOF' was not declared in this scope
+  if (FCGX_PutStr(pbase(), plen, this-fcgx) != plen) return EOF;
+
+Signed-off-by: Yang Haibo b40...@freescale.com
+--- fcgi-ori/libfcgi/fcgio.cpp 2014-07-28 18:01:00.0 +0800
 fcgi-2.4.0/libfcgi/fcgio.cpp   2014-07-28 18:01:22.0 +0800
+@@ -22,6 +22,7 @@
+ #define DLLAPI  __declspec(dllexport)
+ #endif
+ 
++#include stdio.h
+ #include limits.h
+ #include fcgio.h
+ 
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH v3] integrate fcgi-2.4.0 and add OML license file

2014-07-31 Thread YangHaibo
---
 meta-oe/licenses/OML   | 28 ++
 .../fcgi/fcgi/Fix_EOF_not_declared_issue.patch | 17 +
 meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb | 16 +
 3 files changed, 61 insertions(+)
 create mode 100644 meta-oe/licenses/OML
 create mode 100644 
meta-webserver/recipes-fcgi/fcgi/fcgi/Fix_EOF_not_declared_issue.patch
 create mode 100644 meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb

diff --git a/meta-oe/licenses/OML b/meta-oe/licenses/OML
new file mode 100644
index 000..7e6bdfd
--- /dev/null
+++ b/meta-oe/licenses/OML
@@ -0,0 +1,28 @@
+This FastCGI application library source and object code (the
+Software) and its documentation (the Documentation) are
+copyrighted by Open Market, Inc (Open Market).  The following terms
+apply to all files associated with the Software and Documentation
+unless explicitly disclaimed in individual files.
+
+Open Market permits you to use, copy, modify, distribute, and license
+this Software and the Documentation for any purpose, provided that
+existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions.  No written
+agreement, license, or royalty fee is required for any of the
+authorized uses.  Modifications to this Software and Documentation may
+be copyrighted by their authors and need not follow the licensing
+terms described here.  If modifications to this Software and
+Documentation have new licensing terms, the new terms must be clearly
+indicated on the first page of each file where they apply.
+
+OPEN MARKET MAKES NO EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE
+SOFTWARE OR THE DOCUMENTATION, INCLUDING WITHOUT LIMITATION ANY
+WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  IN
+NO EVENT SHALL OPEN MARKET BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY
+DAMAGES ARISING FROM OR RELATING TO THIS SOFTWARE OR THE
+DOCUMENTATION, INCLUDING, WITHOUT LIMITATION, ANY INDIRECT, SPECIAL OR
+CONSEQUENTIAL DAMAGES OR SIMILAR DAMAGES, INCLUDING LOST PROFITS OR
+LOST DATA, EVEN IF OPEN MARKET HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.  THE SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS.
+OPEN MARKET HAS NO LIABILITY IN CONTRACT, TORT, NEGLIGENCE OR
+OTHERWISE ARISING OUT OF THIS SOFTWARE OR THE DOCUMENTATION.
diff --git 
a/meta-webserver/recipes-fcgi/fcgi/fcgi/Fix_EOF_not_declared_issue.patch 
b/meta-webserver/recipes-fcgi/fcgi/fcgi/Fix_EOF_not_declared_issue.patch
new file mode 100644
index 000..b4cf080
--- /dev/null
+++ b/meta-webserver/recipes-fcgi/fcgi/fcgi/Fix_EOF_not_declared_issue.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Pending
+
+Fix EOF not declared issue, following is the error log.
+fcgio.cpp:70:72: error: 'EOF' was not declared in this scope
+  if (FCGX_PutStr(pbase(), plen, this-fcgx) != plen) return EOF;
+
+Signed-off-by: Yang Haibo b40...@freescale.com
+--- fcgi-ori/libfcgi/fcgio.cpp 2014-07-28 18:01:00.0 +0800
 fcgi-2.4.0/libfcgi/fcgio.cpp   2014-07-28 18:01:22.0 +0800
+@@ -22,6 +22,7 @@
+ #define DLLAPI  __declspec(dllexport)
+ #endif
+ 
++#include stdio.h
+ #include limits.h
+ #include fcgio.h
+ 
diff --git a/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb 
b/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
new file mode 100644
index 000..ceb5909
--- /dev/null
+++ b/meta-webserver/recipes-fcgi/fcgi/fcgi_2.4.0.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = FastCGI is a protocol for interfacing interactive programs with 
a web server.
+HOMEPAGE = http://www.fastcgi.com;
+LICENSE = OML
+LIC_FILES_CHKSUM = file://LICENSE.TERMS;md5=e3aacac3a647af6e7e31f181cda0a06a
+
+SRC_URI = http://fossies.org/linux/www/fcgi-2.4.0.tar.gz \
+   file://Fix_EOF_not_declared_issue.patch \
+
+SRC_URI[md5sum] = d15060a813b91383a9f3c66faf84867e
+SRC_URI[sha256sum] = 
66fc45c6b36a21bf2fbbb68e90f780cc21a9da1fffbae75e76d2b4402d3f05b9
+
+S = ${WORKDIR}/${BPN}-${PV}/
+
+inherit autotools
+
+PARALLEL_MAKE = 
-- 
1.9.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel