Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH 0/4] Various package additions/upgrades
@ 2011-07-02 12:20 Michael Lippautz
  2011-07-02 12:20 ` [meta-oe][PATCH 1/4] pyudev: Add intial version Michael Lippautz
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Michael Lippautz @ 2011-07-02 12:20 UTC (permalink / raw)
  To: openembedded-devel

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 <michael.lippautz@gmail.com>
---


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

-- 
1.7.3.4




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

* [meta-oe][PATCH 1/4] pyudev: Add intial version
  2011-07-02 12:20 [meta-oe][PATCH 0/4] Various package additions/upgrades Michael Lippautz
@ 2011-07-02 12:20 ` Michael Lippautz
  2011-07-02 12:36   ` Paul Menzel
  2011-07-02 12:20 ` [meta-oe][PATCH 2/4] sqlalchemy: Add initial version Michael Lippautz
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Michael Lippautz @ 2011-07-02 12:20 UTC (permalink / raw)
  To: openembedded-devel

* glib, qt4 and side .py files are deployed. Their RDEPS are however currently
  not (yet) existing, hence no RSUGGESTS.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
---
 .../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

diff --git a/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb b/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
new file mode 100644
index 0000000..e14450f
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
@@ -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"
-- 
1.7.3.4




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

* [meta-oe][PATCH 2/4] sqlalchemy: Add initial version
  2011-07-02 12:20 [meta-oe][PATCH 0/4] Various package additions/upgrades Michael Lippautz
  2011-07-02 12:20 ` [meta-oe][PATCH 1/4] pyudev: Add intial version Michael Lippautz
@ 2011-07-02 12:20 ` Michael Lippautz
  2011-07-02 12:40   ` Paul Menzel
  2011-07-02 12:20 ` [meta-oe][PATCH 3/4] audiofile: 0.2.6 -> 0.2.7 Michael Lippautz
  2011-07-02 12:21 ` [meta-oe][PATCH 4/4] start-stop-daemon: Add initial version Michael Lippautz
  3 siblings, 1 reply; 10+ messages in thread
From: Michael Lippautz @ 2011-07-02 12:20 UTC (permalink / raw)
  To: openembedded-devel

* Backends have to be installed separately depending on which are needed. See
  http://www.sqlalchemy.org/docs/core/engines.html for possible backends.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
---
 .../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

diff --git a/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb b/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
new file mode 100644
index 0000000..ffcb024
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
@@ -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"
-- 
1.7.3.4




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

* [meta-oe][PATCH 3/4] audiofile: 0.2.6 -> 0.2.7
  2011-07-02 12:20 [meta-oe][PATCH 0/4] Various package additions/upgrades Michael Lippautz
  2011-07-02 12:20 ` [meta-oe][PATCH 1/4] pyudev: Add intial version Michael Lippautz
  2011-07-02 12:20 ` [meta-oe][PATCH 2/4] sqlalchemy: Add initial version Michael Lippautz
@ 2011-07-02 12:20 ` Michael Lippautz
  2011-07-02 12:48   ` Paul Menzel
  2011-07-02 12:21 ` [meta-oe][PATCH 4/4] start-stop-daemon: Add initial version Michael Lippautz
  3 siblings, 1 reply; 10+ messages in thread
From: Michael Lippautz @ 2011-07-02 12:20 UTC (permalink / raw)
  To: openembedded-devel

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 upstream

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
---
 .../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

diff --git a/meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/CVE-2008-5824-rebased.patch b/meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/CVE-2008-5824-rebased.patch
new file mode 100644
index 0000000..66c4dc7
--- /dev/null
+++ b/meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/CVE-2008-5824-rebased.patch
@@ -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)
+ 	{
diff --git a/meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/audiofile-oldstyle.patch b/meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/audiofile-oldstyle.patch
new file mode 100644
index 0000000..1b21150
--- /dev/null
+++ b/meta-oe/recipes-multimedia/audiofile/audiofile-0.2.7/audiofile-oldstyle.patch
@@ -0,0 +1,55 @@
+--- libaudiofile/g711.c
++++ libaudiofile/g711.c
+@@ -81,10 +81,7 @@
+ 			    0xFFF, 0x1FFF, 0x3FFF, 0x7FFF};
+ 
+ static int
+-search(val, table, size)
+-	int		val;
+-	short		*table;
+-	int		size;
++search(int val, short int *table, int size)
+ {
+ 	int		i;
+ 
+@@ -115,8 +112,8 @@
+  * John Wiley & Sons, pps 98-111 and 472-476.
+  */
+ unsigned char
+-_af_linear2alaw(pcm_val)
+-	int		pcm_val;	/* 2's complement (16-bit range) */
++_af_linear2alaw(int pcm_val)
++                                       /* 2's complement (16-bit range) */
+ {
+ 	int		mask;
+ 	int		seg;
+@@ -151,8 +148,7 @@
+  *
+  */
+ int
+-_af_alaw2linear(a_val)
+-	unsigned char	a_val;
++_af_alaw2linear(unsigned char a_val)
+ {
+ 	int		t;
+ 	int		seg;
+@@ -269,8 +265,7 @@
+ 
+ /* A-law to u-law conversion */
+ static unsigned char
+-alaw2ulaw(aval)
+-	unsigned char	aval;
++alaw2ulaw(unsigned char aval)
+ {
+ 	aval &= 0xff;
+ 	return ((aval & 0x80) ? (0xFF ^ _a2u[aval ^ 0xD5]) :
+@@ -279,8 +274,7 @@
+ 
+ /* u-law to A-law conversion */
+ static unsigned char
+-ulaw2alaw(uval)
+-	unsigned char	uval;
++ulaw2alaw(unsigned char uval)
+ {
+ 	uval &= 0xff;
+ 	return ((uval & 0x80) ? (0xD5 ^ (_u2a[0xFF ^ uval] - 1)) :
diff --git a/meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb b/meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb
new file mode 100644
index 0000000..80ad132
--- /dev/null
+++ b/meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb
@@ -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"
-- 
1.7.3.4




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

* [meta-oe][PATCH 4/4] start-stop-daemon: Add initial version
  2011-07-02 12:20 [meta-oe][PATCH 0/4] Various package additions/upgrades Michael Lippautz
                   ` (2 preceding siblings ...)
  2011-07-02 12:20 ` [meta-oe][PATCH 3/4] audiofile: 0.2.6 -> 0.2.7 Michael Lippautz
@ 2011-07-02 12:21 ` Michael Lippautz
  2011-07-02 12:54   ` Paul Menzel
  3 siblings, 1 reply; 10+ messages in thread
From: Michael Lippautz @ 2011-07-02 12:21 UTC (permalink / raw)
  To: openembedded-devel

Provides a stand-alone ssd that is extracted from dpkg of the corresponding
version.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
---
 .../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

diff --git a/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
new file mode 100644
index 0000000..5c2b92a
--- /dev/null
+++ b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
@@ -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"
-- 
1.7.3.4




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

* Re: [meta-oe][PATCH 1/4] pyudev: Add intial version
  2011-07-02 12:20 ` [meta-oe][PATCH 1/4] pyudev: Add intial version Michael Lippautz
@ 2011-07-02 12:36   ` Paul Menzel
  0 siblings, 0 replies; 10+ messages in thread
From: Paul Menzel @ 2011-07-02 12:36 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1874 bytes --]

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)

> * glib, qt4 and side .py files are deployed. Their RDEPS are however currently
>   not (yet) existing, hence no RSUGGESTS.
> 
> Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
> ---
>  .../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
> 
> diff --git a/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb b/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
> new file mode 100644
> index 0000000..e14450f
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
> @@ -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 \

This looks like a white space error. Please use spaces consistently.

> +"
> +
> +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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [meta-oe][PATCH 2/4] sqlalchemy: Add initial version
  2011-07-02 12:20 ` [meta-oe][PATCH 2/4] sqlalchemy: Add initial version Michael Lippautz
@ 2011-07-02 12:40   ` Paul Menzel
  2011-07-03  8:46     ` Michael Lippautz
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Menzel @ 2011-07-02 12:40 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]

Am Samstag, den 02.07.2011, 14:20 +0200 schrieb Michael Lippautz:

	sqlalchemy: Add version 0.7.1 (initial recipe)

> * 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?

> Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
> ---
>  .../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
> 
> diff --git a/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb b/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
> new file mode 100644
> index 0000000..ffcb024
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
> @@ -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`.

> +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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [meta-oe][PATCH 3/4] audiofile: 0.2.6 -> 0.2.7
  2011-07-02 12:20 ` [meta-oe][PATCH 3/4] audiofile: 0.2.6 -> 0.2.7 Michael Lippautz
@ 2011-07-02 12:48   ` Paul Menzel
  0 siblings, 0 replies; 10+ messages in thread
From: Paul Menzel @ 2011-07-02 12:48 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2482 bytes --]

Am Samstag, den 02.07.2011, 14:20 +0200 schrieb Michael Lippautz:
> 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 upstream
> 
> Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
> ---
>  .../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.

>  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.

>  create mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb

[…]

> diff --git a/meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb b/meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb
> new file mode 100644
> index 0000000..80ad132
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb
> @@ -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/"

> +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"

Please move that up.


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [meta-oe][PATCH 4/4] start-stop-daemon: Add initial version
  2011-07-02 12:21 ` [meta-oe][PATCH 4/4] start-stop-daemon: Add initial version Michael Lippautz
@ 2011-07-02 12:54   ` Paul Menzel
  0 siblings, 0 replies; 10+ messages in thread
From: Paul Menzel @ 2011-07-02 12:54 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2319 bytes --]

Am Samstag, den 02.07.2011, 14:21 +0200 schrieb Michael Lippautz:

	start-stop-daemon: Add version 1.16.0.2 (initial recipe)

> Provides a stand-alone ssd that is extracted from dpkg of the corresponding
> version.
> 
> Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
> ---
>  .../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
> 
> diff --git a/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
> new file mode 100644
> index 0000000..5c2b92a
> --- /dev/null
> +++ b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
> @@ -0,0 +1,32 @@
> +DESCRIPTION = "Debian's start-stop-daemon utility extracted from the dpkg \
> +packge"

package

> +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.

> +
> +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?

> +
> +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?

> +
> +SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a"
> +SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5"

Please right below the first SRC_URI.


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [meta-oe][PATCH 2/4] sqlalchemy: Add initial version
  2011-07-02 12:40   ` Paul Menzel
@ 2011-07-03  8:46     ` Michael Lippautz
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Lippautz @ 2011-07-03  8:46 UTC (permalink / raw)
  To: openembedded-devel

2011/7/2 Paul Menzel <paulepanter@users.sourceforge.net>:
> Am Samstag, den 02.07.2011, 14:20 +0200 schrieb Michael Lippautz:
>
>        sqlalchemy: Add version 0.7.1 (initial recipe)
>
>> * 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.
>
>> Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
>> ---
>>  .../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
>>
>> diff --git a/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb b/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
>> new file mode 100644
>> index 0000000..ffcb024
>> --- /dev/null
>> +++ b/meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
>> @@ -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`.
>
>> +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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>



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

end of thread, other threads:[~2011-07-03  8:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-02 12:20 [meta-oe][PATCH 0/4] Various package additions/upgrades Michael Lippautz
2011-07-02 12:20 ` [meta-oe][PATCH 1/4] pyudev: Add intial version Michael Lippautz
2011-07-02 12:36   ` Paul Menzel
2011-07-02 12:20 ` [meta-oe][PATCH 2/4] sqlalchemy: Add initial version Michael Lippautz
2011-07-02 12:40   ` Paul Menzel
2011-07-03  8:46     ` Michael Lippautz
2011-07-02 12:20 ` [meta-oe][PATCH 3/4] audiofile: 0.2.6 -> 0.2.7 Michael Lippautz
2011-07-02 12:48   ` Paul Menzel
2011-07-02 12:21 ` [meta-oe][PATCH 4/4] start-stop-daemon: Add initial version Michael Lippautz
2011-07-02 12:54   ` Paul Menzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox