Various package additions/upgrades
cover Various package additions/upgrades
Find attached some package additions and an upgrade to audiofile. I have some packages using a stand-alone s-s-d. Maybe it's useful for others too.
Pull URL: git://github.com/zoidrr/meta-openembedded.git
Branch: master
Browse: https://github.com/zoidrr/meta-openembedded/commits/master
Thanks,
Michael Lippautz <[email protected]>
---
Michael Lippautz (4):
pyudev: Add intial version
sqlalchemy: Add initial version
audiofile: 0.2.6 -> 0.2.7
start-stop-daemon: Add initial version
.../recipes-devtools/python/python-pyudev_0.11.bb | 22 ++++++++ .../python/python-sqlalchemy_0.7.1.bb | 15 +++++ .../audiofile-0.2.7/CVE-2008-5824-rebased.patch | 22 ++++++++ .../audiofile-0.2.7/audiofile-oldstyle.patch | 55 ++++++++++++++++++++ .../audiofile/audiofile_0.2.7.bb | 20 +++++++ .../start-stop-daemon_1.16.0.2.bb | 32 +++++++++++ 6 files changed, 166 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/python/python-pyudev_0.11.bb create mode 100644 meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/CVE-2008-5824-rebased.patch create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/audiofile-oldstyle.patch create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
Signature · 1 line
1.7.3.4
PATCH 1/4 pyudev: Add intial version
* glib, qt4 and side .py files are deployed. Their RDEPS are however currently not (yet) existing, hence no RSUGGESTS.
--- .../recipes-devtools/python/python-pyudev_0.11.bb | 22 ++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb new file +22 -0
@@ -0,0 +1,22 @@ +DESCRIPTION = "A libudev binding" +HOMEPAGE = "http://pypi.python.org/pypi/pyudev" +SECTION = "devel/python" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" +PR = "r0" + +SRCNAME = "pyudev" +SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +RDEPENDS_${PN} = "\ + python-ctypes \ + python-subprocess \ + python-misc \ + libudev \ +" + +SRC_URI[md5sum] = "dca4e69da387f9a6683ee4b5c27ca66a" +SRC_URI[sha256sum] = "0acfa500219f4bcf711f35c1b2041d035b4bf5f302eca5038572ee788d9e584a"
Signature · 1 line
1.7.3.4
Re: [meta-oe][PATCH 1/4] pyudev: Add intial version
Am Samstag, den 02.07.2011, 14:20 +0200 schrieb Michael Lippautz:
Please add the program version also to the commit summary.
Add version 0.11 (initial recipe)
Quoted 23 lines
* glib, qt4 and side .py files are deployed. Their RDEPS are however currently not (yet) existing, hence no RSUGGESTS.
Signed-off-by Michael Lippautz <[email protected]>--- .../recipes-devtools/python/python-pyudev_0.11.bb | 22 ++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/python/python-pyudev_0.11.bbmeta-oe/recipes-devtools/python/python-pyudev_0.11.bb new file +8
-0@@ -0,0 +1,22 @@ +DESCRIPTION = "A libudev binding" +HOMEPAGE = "http://pypi.python.org/pypi/pyudev" +SECTION = "devel/python" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" +PR = "r0" + +SRCNAME = "pyudev"
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb line 18
Quoted 10 lines
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb new file +10
-0+SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +RDEPENDS_${PN} = "\ + python-ctypes \ + python-subprocess \ + python-misc \ + libudev \
This looks like a white space error. Please use spaces consistently.
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb line 22
Quoted 4 lines
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb new file +4
-0+" + +SRC_URI[md5sum] = "dca4e69da387f9a6683ee4b5c27ca66a" +SRC_URI[sha256sum] = "0acfa500219f4bcf711f35c1b2041d035b4bf5f302eca5038572ee788d9e584a"
I do not know how it is handled in meta-oe, but usually the checksum lines go right below the first SRC_URI entry. In those recipes where there are at the bottom it was most likely due to the conversion script used.
Thanks,
Paul
PATCH 2/4 sqlalchemy: Add initial version
In reply to Michael Lippautz* Backends have to be installed separately depending on which are needed. See
http://www.sqlalchemy.org/docs/core/engines.html for possible backends.
--- .../python/python-sqlalchemy_0.7.1.bb | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +15 -0
@@ -0,0 +1,15 @@ +DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ +application developers the full power and flexibility of SQL" +HOMEPAGE = "http://www.sqlalchemy.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e88f48967a8bd1fe88f5425f7e659dbf" +SRCNAME = "SQLAlchemy" +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/sqlalchemy/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +SRC_URI[md5sum] = "76e2e1e48b8047f1ca7023f143374aef" +SRC_URI[sha256sum] = "eedd2d63d6404d9bbe3c4c6a63a5442d2c2650b862f9c10f721cfae4a735d05a"
Signature · 1 line
1.7.3.4
Re: [meta-oe][PATCH 2/4] sqlalchemy: Add initial version
Am Samstag, den 02.07.2011, 14:20 +0200 schrieb Michael Lippautz:
sqlalchemy: Add version 0.7.1 (initial recipe)
Quoted 2 lines
* Backends have to be installed separately depending on which are needed. See
http://www.sqlalchemy.org/docs/core/engines.html for possible backends.
Does that mean those backends are not packaged yet for OE?
Quoted 12 lines
Signed-off-by Michael Lippautz <[email protected]>--- .../python/python-sqlalchemy_0.7.1.bb | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bbmeta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +0
-0
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb line 6
Quoted 6 lines
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +6
-0@@ -0,0 +1,15 @@ +DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ +application developers the full power and flexibility of SQL" +HOMEPAGE = "http://www.sqlalchemy.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e88f48967a8bd1fe88f5425f7e659dbf" +SRCNAME = "SQLAlchemy"
This should go after PR as you also did in pyudev.
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb line 15
Quoted 9 lines
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +9
-0+PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/sqlalchemy/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +SRC_URI[md5sum] = "76e2e1e48b8047f1ca7023f143374aef" +SRC_URI[sha256sum] = "eedd2d63d6404d9bbe3c4c6a63a5442d2c2650b862f9c10f721cfae4a735d05a"
Please right below SRC_URI.
Thanks,
Paul
Re: [meta-oe][PATCH 2/4] sqlalchemy: Add initial version
2011/7/2 Paul Menzel <[email protected]>:
Quoted 8 lines
Am Samstag, den 02.07.2011, 14:20 +0200 schrieb Michael Lippautz:
sqlalchemy: Add version 0.7.1 (initial recipe)
Quoted 2 lines
* Backends have to be installed separately depending on which are needed. See
http://www.sqlalchemy.org/docs/core/engines.html for possible backends.Does that mean those backends are not packaged yet for OE?
Yes, most of them atleast. I only use sqlite3 (which is available) on my devices, though.
Quoted 45 lines
Quoted 13 lines
Signed-off-by Michael Lippautz <[email protected]>---
.../python/python-sqlalchemy_0.7.1.bb | 15 +++++++++++++++1 files changed, 15 insertions(+), 0 deletions(-)create mode 100644 meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +0
-0meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb line 6
Quoted 6 lines
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +6
-0@@ -0,0 +1,15 @@ +DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ +application developers the full power and flexibility of SQL" +HOMEPAGE = "http://www.sqlalchemy.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e88f48967a8bd1fe88f5425f7e659dbf" +SRCNAME = "SQLAlchemy"This should go after
PRas you also did inpyudev.meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb line 15
Quoted 9 lines
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +9
-0+PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/sqlalchemy/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +SRC_URI[md5sum] = "76e2e1e48b8047f1ca7023f143374aef" +SRC_URI[sha256sum] = "eedd2d63d6404d9bbe3c4c6a63a5442d2c2650b862f9c10f721cfae4a735d05a"Please right below
SRC_URI.Thanks,
Paul
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
PATCH 3/4 audiofile: 0.2.6 -> 0.2.7
In reply to Michael Lippautz0.2.7 fixes various bugs of 0.2.6 and adds further support for WAVE and AIFF-C formats.
* Rebase CVE-2008-5824 to apply again
* Drop patches already applied by upstream
--- .../audiofile-0.2.7/CVE-2008-5824-rebased.patch | 22 ++++++++ .../audiofile-0.2.7/audiofile-oldstyle.patch | 55 ++++++++++++++++++++ .../audiofile/audiofile_0.2.7.bb | 20 +++++++ 3 files changed, 97 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/CVE-2008-5824-rebased.patch create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/audiofile-oldstyle.patch create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb
meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/CVE-2008-5824-rebased.patch new file +22 -0
@@ -0,0 +1,22 @@ +--- a/libaudiofile/modules/msadpcm.c 2011-04-20 18:49:58.000000000 +0200 ++++ b/libaudiofile/modules/msadpcm.c 2011-04-20 18:52:07.993001282 +0200 +@@ -129,8 +129,7 @@ static int ms_adpcm_decode_block (ms_adp + ms_adpcm_state *state[2]; + + /* Calculate the number of bytes needed for decoded data. */ +- outputLength = msadpcm->framesPerBlock * sizeof (int16_t) * +- msadpcm->track->f.channelCount; ++ outputLength = msadpcm->framesPerBlock * sizeof (int16_t); + + channelCount = msadpcm->track->f.channelCount; + +@@ -180,8 +179,7 @@ static int ms_adpcm_decode_block (ms_adp + The first two samples have already been 'decoded' in + the block header. + */ +- samplesRemaining = (msadpcm->framesPerBlock - 2) * +- msadpcm->track->f.channelCount; ++ samplesRemaining = (msadpcm->framesPerBlock - 2); + + while (samplesRemaining > 0) + {
meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/audiofile-oldstyle.patch new file +55 -0
55 lines not on this page · raw message
meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb new file +20 -0
@@ -0,0 +1,20 @@ +DESCRIPTION = "The Audio File Library provides a uniform and elegant \ +API for accessing a variety of audio file formats, such as AIFF/AIFF-C, \ +WAVE, NeXT/Sun .snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual \ +Research, Amiga IFF/8SVX, and NIST SPHERE." +SECTION = "libs" +LICENSE = "LGPLv2 && GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ + file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" +PR = "r0" + +SRC_URI = " \ + http://www.68k.org/~michael/audiofile/${PN}-${PV}.tar.gz \ + file://audiofile-oldstyle.patch;striplevel=0 \ + file://CVE-2008-5824-rebased.patch \ +" + +inherit autotools lib_package binconfig + +SRC_URI[md5sum] = "a39be317a7b1971b408805dc5e371862" +SRC_URI[sha256sum] = "a61c4036c2600a645843f16bec4be166093a9df5f15b02c85291213aa9cf15a2"
Signature · 1 line
1.7.3.4
Re: [meta-oe][PATCH 3/4] audiofile: 0.2.6 -> 0.2.7
Am Samstag, den 02.07.2011, 14:20 +0200 schrieb Michael Lippautz:
Quoted 11 lines
0.2.7 fixes various bugs of 0.2.6 and adds further support for WAVE and AIFF-C formats.
* Rebase CVE-2008-5824 to apply again
* Drop patches already applied by upstreamSigned-off-by Michael Lippautz <[email protected]>--- .../audiofile-0.2.7/CVE-2008-5824-rebased.patch | 22 ++++++++ .../audiofile-0.2.7/audiofile-oldstyle.patch | 55 ++++++++++++++++++++ .../audiofile/audiofile_0.2.7.bb | 20 +++++++
I do not see that audiofile_0.2.6 was removed. Please use git format-patch -M -C -C -C next time when sending patches.
Quoted 3 lines
3 files changed, 97 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/CVE-2008-5824-rebased.patch create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/audiofile-oldstyle.patch
Please add patch headers. It sounds scary that a security issues gets ignored upstream and that some patch is applied for some oldstyle whatever that is.
Quoted 1 line
create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb
[…]
meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb line 4
Quoted 10 lines
meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb new file +4
-0@@ -0,0 +1,20 @@ +DESCRIPTION = "The Audio File Library provides a uniform and elegant \ +API for accessing a variety of audio file formats, such as AIFF/AIFF-C, \ +WAVE, NeXT/Sun .snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual \ +Research, Amiga IFF/8SVX, and NIST SPHERE."
Please add
HOMEPAGE = "http://www.68k.org/~michael/audiofile/"
Quoted 6 lines
meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb new file +6
-0+SECTION = "libs" +LICENSE = "LGPLv2 && GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ + file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" +PR = "r0" +
meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb line 20
Quoted 10 lines
meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb new file +10
-0+SRC_URI = " \ + http://www.68k.org/~michael/audiofile/${PN}-${PV}.tar.gz \ + file://audiofile-oldstyle.patch;striplevel=0 \ + file://CVE-2008-5824-rebased.patch \ +" + +inherit autotools lib_package binconfig + +SRC_URI[md5sum] = "a39be317a7b1971b408805dc5e371862" +SRC_URI[sha256sum] = "a61c4036c2600a645843f16bec4be166093a9df5f15b02c85291213aa9cf15a2"
Please move that up.
Thanks,
Paul
PATCH 4/4 start-stop-daemon: Add initial version
In reply to Michael LippautzProvides a stand-alone ssd that is extracted from dpkg of the corresponding version.
--- .../start-stop-daemon_1.16.0.2.bb | 32 ++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +32 -0
@@ -0,0 +1,32 @@ +DESCRIPTION = "Debian's start-stop-daemon utility extracted from the dpkg \ +packge" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://utils/start-stop-daemon.c;md5=a963623e4588f70122865aaa7a370ce4" +# start-stop-daemon is usually shipped by dpkg +RCONFLICS_${PN} = "dpkg" +PR = "r0" + +SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2" + +inherit autotools gettext + +S = "${WORKDIR}/dpkg-${PV}" + +EXTRA_OECONF = " \ + --with-start-stop-daemon \ + --without-bz2 \ + --without-deselect \ + --without-update-alternatives \ + --without-install-info \ + --without-selinux \ +" + +do_install_append () { + # remove everything that is not related to start-stop-daemon, since there + # is no explicit rule for only installing ssd + find ${D} -type f -not -name "*start-stop-daemon*" -exec rm {} \; + find ${D} -depth -type d -empty -exec rmdir {} \; +} + +SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a" +SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5"
Signature · 1 line
1.7.3.4
Re: [meta-oe][PATCH 4/4] start-stop-daemon: Add initial version
Am Samstag, den 02.07.2011, 14:21 +0200 schrieb Michael Lippautz:
start-stop-daemon: Add version 1.16.0.2 (initial recipe)
Quoted 15 lines
Provides a stand-alone ssd that is extracted from dpkg of the corresponding version.
Signed-off-by Michael Lippautz <[email protected]>--- .../start-stop-daemon_1.16.0.2.bb | 32 ++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bbmeta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +0
-0
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 2
Quoted 2 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +2
-0@@ -0,0 +1,32 @@ +DESCRIPTION = "Debian's start-stop-daemon utility extracted from the dpkg \ +packge"
package
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 9
Quoted 7 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +7
-0+LICENSE = "PD" +LIC_FILES_CHKSUM = "file://utils/start-stop-daemon.c;md5=a963623e4588f70122865aaa7a370ce4" +# start-stop-daemon is usually shipped by dpkg +RCONFLICS_${PN} = "dpkg" +PR = "r0" + +SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2"
That will always be non-fetchable when the version is upgraded in Debian, will not it? So another source should be chosen or it should be ensured that the tarball is available on the OE mirrors.
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 22
Quoted 13 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +13
-0+ +inherit autotools gettext + +S = "${WORKDIR}/dpkg-${PV}" + +EXTRA_OECONF = " \ + --with-start-stop-daemon \ + --without-bz2 \ + --without-deselect \ + --without-update-alternatives \ + --without-install-info \ + --without-selinux \ +"
Sort alphabetically?
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 29
Quoted 7 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +7
-0+ +do_install_append () { + # remove everything that is not related to start-stop-daemon, since there + # is no explicit rule for only installing ssd + find ${D} -type f -not -name "*start-stop-daemon*" -exec rm {} \; + find ${D} -depth -type d -empty -exec rmdir {} \; +}
File a request upstream for such an option?
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 32
Quoted 3 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +3
-0+ +SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a" +SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5"
Please right below the first SRC_URI.
Thanks,
Paul