Uprev memcached from upstream
commit 3d0b80c5667a2c1d8634173948048567d0bc9c36
Author: Amy Fong <[email protected]> Date: Tue Apr 8 14:29:19 2014 -0400
Uprev memcached from upstream
memcached 1.4.15 has some configuration errors:
configure:5798: error: cannot run test program while cross compiling
Uprev has the needed fix for the configuration error and some other fixes.
recipes-support/memcached/memcached_1.4.17.bb new file +50 -0
@@ -0,0 +1,50 @@ +SUMMARY = "A high-performance memory object caching system" +DESCRIPTION = "\ + Danga Interactive developed memcached to enhance the speed of LiveJournal.com, \ + a site which was already doing 20 million+ dynamic page views per day for 1 \ + million users with a bunch of webservers and a bunch of database servers. \ + memcached dropped the database load to almost nothing, yielding faster page \ + load times for users, better resource utilization, and faster access to the \ + databases on a memcache miss. \ + . \ + memcached optimizes specific high-load serving applications that are designed \ + to take advantage of its versatile no-locking memory access system. Clients \ + are available in several different programming languages, to suit the needs \ + of the specific application. Traditionally this has been used in mod_perl \ + apps to avoid storing large chunks of data in Apache memory, and to share \ + this burden across several machines." + +HOMEPAGE = "http://www.danga.com/memcached/" +LICENSE = "BSD" + +LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff" + +inherit autotools + +DEPENDS += "libevent" +RDEPENDS += "perl perl-module-posix perl-module-autoloader perl-module-tie-hash" + +SRC_URI = "http://www.memcached.org/files/${PN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "46402dfbd7faadf6182283dbbd18b1a6" +SRC_URI[sha256sum] = "d9173ef6d99ba798c982ea4566cb4f0e64eb23859fdbf9926a89999d8cdc0458" + +python __anonymous () { + endianness = d.getVar('SITEINFO_ENDIANNESS', True) + if endianness == 'le': + d.setVar('EXTRA_OECONF', "ac_cv_c_endian=little") + else: + d.setVar('EXTRA_OECONF', "ac_cv_c_endian=big") +} + +inherit update-rc.d + +INITSCRIPT_NAME = "memcached" +INITSCRIPT_PARAMS = "defaults" + +do_install_append() { + install -D -m 755 ${S}/scripts/memcached-init ${D}${sysconfdir}/init.d/memcached + mkdir -p ${D}/usr/share/memcached/scripts + install -m 755 ${S}/scripts/memcached-tool ${D}/usr/share/memcached/scripts + install -m 755 ${S}/scripts/start-memcached ${D}/usr/share/memcached/scripts +}
Quoted 11 lines · Amy Fong
commit
3d0b80c5667a2c1d8634173948048567d0bc9c36Author: Amy Fong <[email protected]> Date: Tue Apr 8 14:29:19 2014 -0400Uprev memcached from upstream
memcached 1.4.15 has some configuration errors:
configure:5798: error: cannot run test program while cross compilingUprev has the needed fix for the configuration error and some other
fixes.
Review
Quoted 4 lines
Signed-off-by Amy Fong <[email protected]>(quoted diff) +0
-0
memcached_1.4.17.bb
recipes-support/memcached/memcached_1.4.17.bb line 3
Quoted 8 lines
new file mode 100644
index 0000000..906896crecipes-support/memcached/memcached_1.4.17.bb new file +3
-0@@ -0,0 +1,50 @@ +SUMMARY = "A high-performance memory object caching system" +DESCRIPTION = "\ + Danga Interactive developed memcached to enhance the speed of
LiveJournal.com, \
recipes-support/memcached/memcached_1.4.17.bb line 4
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+ a site which was already doing 20 million+ dynamic page views per day
for 1 \
recipes-support/memcached/memcached_1.4.17.bb line 5
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+ million users with a bunch of webservers and a bunch of database
servers. \
recipes-support/memcached/memcached_1.4.17.bb line 6
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+ memcached dropped the database load to almost nothing, yielding faster
page \
recipes-support/memcached/memcached_1.4.17.bb line 7
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+ load times for users, better resource utilization, and faster access to
the \
recipes-support/memcached/memcached_1.4.17.bb
Quoted 3 lines
recipes-support/memcached/memcached_1.4.17.bb new file +3
-0+ databases on a memcache miss. \ + . \ + memcached optimizes specific high-load serving applications that are
designed \
recipes-support/memcached/memcached_1.4.17.bb line 11
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+ to take advantage of its versatile no-locking memory access system.
Clients \
recipes-support/memcached/memcached_1.4.17.bb line 12
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+ are available in several different programming languages, to suit the
needs \
recipes-support/memcached/memcached_1.4.17.bb line 13
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+ of the specific application. Traditionally this has been used in
mod_perl \
recipes-support/memcached/memcached_1.4.17.bb line 14
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+ apps to avoid storing large chunks of data in Apache memory, and to
share \
recipes-support/memcached/memcached_1.4.17.bb line 18
Quoted 4 lines
recipes-support/memcached/memcached_1.4.17.bb new file +4
-0+ this burden across several machines." + +HOMEPAGE = "http://www.danga.com/memcached/" +LICENSE = "BSD"
which bsd ?
recipes-support/memcached/memcached_1.4.17.bb
Quoted 7 lines
recipes-support/memcached/memcached_1.4.17.bb new file +7
-0+ +LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff" + +inherit autotools + +DEPENDS += "libevent" +RDEPENDS += "perl perl-module-posix perl-module-autoloader
perl-module-tie-hash"
recipes-support/memcached/memcached_1.4.17.bb line 26
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+
rdepend should be package specific
recipes-support/memcached/memcached_1.4.17.bb
Quoted 4 lines
recipes-support/memcached/memcached_1.4.17.bb new file +4
-0+SRC_URI = "http://www.memcached.org/files/${PN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "46402dfbd7faadf6182283dbbd18b1a6" +SRC_URI[sha256sum] =
"d9173ef6d99ba798c982ea4566cb4f0e64eb23859fdbf9926a89999d8cdc0458"
Quoted 6 lines
recipes-support/memcached/memcached_1.4.17.bb new file +6
-0+ +python __anonymous () { + endianness = d.getVar('SITEINFO_ENDIANNESS', True) + if endianness == 'le': + d.setVar('EXTRA_OECONF', "ac_cv_c_endian=little") + else:
recipes-support/memcached/memcached_1.4.17.bb
Quoted 10 lines
recipes-support/memcached/memcached_1.4.17.bb new file +10
-0+ d.setVar('EXTRA_OECONF', "ac_cv_c_endian=big") +} + +inherit update-rc.d + +INITSCRIPT_NAME = "memcached" +INITSCRIPT_PARAMS = "defaults" + +do_install_append() { + install -D -m 755 ${S}/scripts/memcached-init
${D}${sysconfdir}/init.d/memcached
recipes-support/memcached/memcached_1.4.17.bb line 48
Quoted 2 lines
recipes-support/memcached/memcached_1.4.17.bb new file +2
-0+ mkdir -p ${D}/usr/share/memcached/scripts + install -m 755 ${S}/scripts/memcached-tool
${D}/usr/share/memcached/scripts
recipes-support/memcached/memcached_1.4.17.bb line 49
Quoted 1 line
recipes-support/memcached/memcached_1.4.17.bb new file +1
-0+ install -m 755 ${S}/scripts/start-memcached
${D}/usr/share/memcached/scripts
Quoted 6 lines
recipes-support/memcached/memcached_1.4.17.bb new file +1
-1+} --_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 5 lines · Amy Fong
commit
3d0b80c5667a2c1d8634173948048567d0bc9c36Author: Amy Fong <[email protected]> Date: Tue Apr 8 14:29:19 2014 -0400Uprev memcached from upstream
Please remove 1.4.15 in the same commit and send with -M.
Quoted 69 lines
memcached 1.4.15 has some configuration errors:
configure:5798: error: cannot run test program while cross compilingUprev has the needed fix for the configuration error and some other fixes.
Signed-off-by Amy Fong <[email protected]>recipes-support/memcached/memcached_1.4.17.bb new file +50
-0@@ -0,0 +1,50 @@ +SUMMARY = "A high-performance memory object caching system" +DESCRIPTION = "\ + Danga Interactive developed memcached to enhance the speed of LiveJournal.com, \ + a site which was already doing 20 million+ dynamic page views per day for 1 \ + million users with a bunch of webservers and a bunch of database servers. \ + memcached dropped the database load to almost nothing, yielding faster page \ + load times for users, better resource utilization, and faster access to the \ + databases on a memcache miss. \ + . \ + memcached optimizes specific high-load serving applications that are designed \ + to take advantage of its versatile no-locking memory access system. Clients \ + are available in several different programming languages, to suit the needs \ + of the specific application. Traditionally this has been used in mod_perl \ + apps to avoid storing large chunks of data in Apache memory, and to share \ + this burden across several machines." + +HOMEPAGE = "http://www.danga.com/memcached/" +LICENSE = "BSD" + +LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff" + +inherit autotools + +DEPENDS += "libevent" +RDEPENDS += "perl perl-module-posix perl-module-autoloader perl-module-tie-hash" + +SRC_URI = "http://www.memcached.org/files/${PN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "46402dfbd7faadf6182283dbbd18b1a6" +SRC_URI[sha256sum] = "d9173ef6d99ba798c982ea4566cb4f0e64eb23859fdbf9926a89999d8cdc0458" + +python __anonymous () { + endianness = d.getVar('SITEINFO_ENDIANNESS', True) + if endianness == 'le': + d.setVar('EXTRA_OECONF', "ac_cv_c_endian=little") + else: + d.setVar('EXTRA_OECONF', "ac_cv_c_endian=big") +} + +inherit update-rc.d + +INITSCRIPT_NAME = "memcached" +INITSCRIPT_PARAMS = "defaults" + +do_install_append() { + install -D -m 755 ${S}/scripts/memcached-init ${D}${sysconfdir}/init.d/memcached + mkdir -p ${D}/usr/share/memcached/scripts + install -m 755 ${S}/scripts/memcached-tool ${D}/usr/share/memcached/scripts + install -m 755 ${S}/scripts/start-memcached ${D}/usr/share/memcached/scripts +}Signature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Hi Amy,
Should I expect a v2 based on Martin and Khem's comments? Also, if you're doing the uprev, it's probably worth removing the old one at the same time.
-J.
Quoted 69 lines · [[oe] [meta-networking] Uprev memcached from upstream] On 14.04.09 (Wed 13:30)…
commit
3d0b80c5667a2c1d8634173948048567d0bc9c36Author: Amy Fong <[email protected]> Date: Tue Apr 8 14:29:19 2014 -0400Uprev memcached from upstream
memcached 1.4.15 has some configuration errors:
configure:5798: error: cannot run test program while cross compilingUprev has the needed fix for the configuration error and some other fixes.
Signed-off-by Amy Fong <[email protected]>recipes-support/memcached/memcached_1.4.17.bb new file +50
-0@@ -0,0 +1,50 @@ +SUMMARY = "A high-performance memory object caching system" +DESCRIPTION = "\ + Danga Interactive developed memcached to enhance the speed of LiveJournal.com, \ + a site which was already doing 20 million+ dynamic page views per day for 1 \ + million users with a bunch of webservers and a bunch of database servers. \ + memcached dropped the database load to almost nothing, yielding faster page \ + load times for users, better resource utilization, and faster access to the \ + databases on a memcache miss. \ + . \ + memcached optimizes specific high-load serving applications that are designed \ + to take advantage of its versatile no-locking memory access system. Clients \ + are available in several different programming languages, to suit the needs \ + of the specific application. Traditionally this has been used in mod_perl \ + apps to avoid storing large chunks of data in Apache memory, and to share \ + this burden across several machines." + +HOMEPAGE = "http://www.danga.com/memcached/" +LICENSE = "BSD" + +LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff" + +inherit autotools + +DEPENDS += "libevent" +RDEPENDS += "perl perl-module-posix perl-module-autoloader perl-module-tie-hash" + +SRC_URI = "http://www.memcached.org/files/${PN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "46402dfbd7faadf6182283dbbd18b1a6" +SRC_URI[sha256sum] = "d9173ef6d99ba798c982ea4566cb4f0e64eb23859fdbf9926a89999d8cdc0458" + +python __anonymous () { + endianness = d.getVar('SITEINFO_ENDIANNESS', True) + if endianness == 'le': + d.setVar('EXTRA_OECONF', "ac_cv_c_endian=little") + else: + d.setVar('EXTRA_OECONF', "ac_cv_c_endian=big") +} + +inherit update-rc.d + +INITSCRIPT_NAME = "memcached" +INITSCRIPT_PARAMS = "defaults" + +do_install_append() { + install -D -m 755 ${S}/scripts/memcached-init ${D}${sysconfdir}/init.d/memcached + mkdir -p ${D}/usr/share/memcached/scripts + install -m 755 ${S}/scripts/memcached-tool ${D}/usr/share/memcached/scripts + install -m 755 ${S}/scripts/start-memcached ${D}/usr/share/memcached/scripts +}
Signature · 2 lines
-Joe MacDonald. :wq
Quoted 5 lines · [Re: [oe] [meta-networking] Uprev memcached from upstream] On 14.04.24 (Thu…
Hi Amy,
Should I expect a v2 based on Martin and Khem's comments? Also, if you're doing the uprev, it's probably worth removing the old one at the same time.
Finally coming up for air again, so ping?
-J.
Quoted 74 lines
-J.
Quoted 69 lines · [[oe] [meta-networking] Uprev memcached from upstream] On 14.04.09 (Wed 13:30)…
commit
3d0b80c5667a2c1d8634173948048567d0bc9c36Author: Amy Fong <[email protected]> Date: Tue Apr 8 14:29:19 2014 -0400Uprev memcached from upstream
memcached 1.4.15 has some configuration errors:
configure:5798: error: cannot run test program while cross compilingUprev has the needed fix for the configuration error and some other fixes.
Signed-off-by Amy Fong <[email protected]>recipes-support/memcached/memcached_1.4.17.bb new file +50
-0@@ -0,0 +1,50 @@ +SUMMARY = "A high-performance memory object caching system" +DESCRIPTION = "\ + Danga Interactive developed memcached to enhance the speed of LiveJournal.com, \ + a site which was already doing 20 million+ dynamic page views per day for 1 \ + million users with a bunch of webservers and a bunch of database servers. \ + memcached dropped the database load to almost nothing, yielding faster page \ + load times for users, better resource utilization, and faster access to the \ + databases on a memcache miss. \ + . \ + memcached optimizes specific high-load serving applications that are designed \ + to take advantage of its versatile no-locking memory access system. Clients \ + are available in several different programming languages, to suit the needs \ + of the specific application. Traditionally this has been used in mod_perl \ + apps to avoid storing large chunks of data in Apache memory, and to share \ + this burden across several machines." + +HOMEPAGE = "http://www.danga.com/memcached/" +LICENSE = "BSD" + +LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff" + +inherit autotools + +DEPENDS += "libevent" +RDEPENDS += "perl perl-module-posix perl-module-autoloader perl-module-tie-hash" + +SRC_URI = "http://www.memcached.org/files/${PN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "46402dfbd7faadf6182283dbbd18b1a6" +SRC_URI[sha256sum] = "d9173ef6d99ba798c982ea4566cb4f0e64eb23859fdbf9926a89999d8cdc0458" + +python __anonymous () { + endianness = d.getVar('SITEINFO_ENDIANNESS', True) + if endianness == 'le': + d.setVar('EXTRA_OECONF', "ac_cv_c_endian=little") + else: + d.setVar('EXTRA_OECONF', "ac_cv_c_endian=big") +} + +inherit update-rc.d + +INITSCRIPT_NAME = "memcached" +INITSCRIPT_PARAMS = "defaults" + +do_install_append() { + install -D -m 755 ${S}/scripts/memcached-init ${D}${sysconfdir}/init.d/memcached + mkdir -p ${D}/usr/share/memcached/scripts + install -m 755 ${S}/scripts/memcached-tool ${D}/usr/share/memcached/scripts + install -m 755 ${S}/scripts/start-memcached ${D}/usr/share/memcached/scripts +}
Signature · 2 lines
-Joe MacDonald. :wq