Skip to contentSkip to conversation

update-apr-library-version-to-1.3.5

PATCH Lucian Ion 2 participants 3 messages Jun 8, 2009 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

A message that is not in the archive (sent off-list or not yet received): [email protected]

Lucian Ion

author
#2 lore raw

+[http://www.apache.org/dist/apr/apr-1.3.5.tar.bz2] +md5=9ac9a00eaa190937fdbbde7b4f03ac1e +sha256=a33d360b70a9c7971651b3810513d7a85ca84d13ddfc1cb96d6cb0af76aab574 +

recipes/apr/apr_1.3.5.bb new file +6 -0
new file mode 100644
index 0000000..f77647f
@@ -0,0 +1,32 @@
+DESCRIPTION = "Apache Portable Runtime (APR) library"
+SECTION = "libs"
+LICENSE = "Apache License, Version 2.0"
+
+PR = "r4"
+

...

From e9a7d84b673e6319fc04027106fbaa5435ff65ed Mon Sep 17 00:00:00 2001
From: Lucian Ion <[email protected]>
Date: Mon, 8 Jun 2009 11:57:37 +0100
Subject: [PATCH] update apr library version to 1.3.5 - add checksum

---
 conf/checksums.ini |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
conf/checksums.ini +4 -0
index 0d77b13..741c8d0 100644
@@ -1602,6 +1602,10 @@ sha256=bb0c58efdd252fcaf6f0ff06681d0ebecbecbaa3864047f32dec7f82d1c4994c
 md5=2090c21dee4f0eb1512604127dcd158f
 sha256=d95f3b78366c86317043304864bb08cb836312c87ea7d142a4c02154e7e0dd37
 
+[http://www.apache.org/dist/apr/apr-1.3.5.tar.bz2]
+md5=9ac9a00eaa190937fdbbde7b4f03ac1e
+sha256=a33d360b70a9c7971651b3810513d7a85ca84d13ddfc1cb96d6cb0af76aab574
+
 [http://www.apache.org/dist/apr/apr-util-0.9.12.tar.gz]
 md5=8e9cc71a1303b67b3278fbeab9799f2e
 sha256=5768fcc4d38fa6f811b0a89e2ef450d0f52688ff9263e548819adb096fbfc9c3
Signature · 1 line
1.6.0.4

From 6193a25e065b44da0a4b3b8a95d8f00c64f3f982 Mon Sep 17 00:00:00 2001
From: Lucian Ion <[email protected]>
Date: Mon, 8 Jun 2009 11:59:16 +0100
Subject: [PATCH] update apr library version to 1.3.5 - new recipe

---
 recipes/apr/apr_1.3.5.bb |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 recipes/apr/apr_1.3.5.bb
recipes/apr/apr_1.3.5.bb new file +32 -0
new file mode 100644
index 0000000..f77647f
@@ -0,0 +1,32 @@
+DESCRIPTION = "Apache Portable Runtime (APR) library"
+SECTION = "libs"
+LICENSE = "Apache License, Version 2.0"
+
+PR = "r4"
+
+SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \
+           file://configure_fixes.patch;patch=1 \
+#	   file://cleanup.patch;patch=1 \
+           file://configfix.patch;patch=1"
+
+inherit autotools lib_package binconfig
+
+OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
+
+do_configure_prepend() {
+	cd ${S}
+	./buildconf
+}
+
+do_stage() {
+	autotools_stage_all
+	install -d ${STAGING_DATADIR}/apr
+	cp ${S}/build/apr_rules.mk ${STAGING_DATADIR}/apr/
+	sed -i s,apr_builddir=.*,apr_builddir=,g ${STAGING_DATADIR}/apr/apr_rules.mk
+	sed -i s,apr_builders=.*,apr_builders=,g ${STAGING_DATADIR}/apr/apr_rules.mk
+	sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${TARGET_PREFIX}libtool,g ${STAGING_DATADIR}/apr/apr_rules.mk
+	sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g ${STAGING_DATADIR}/apr/apr_rules.mk
+	cp ${S}/build/mkdir.sh ${STAGING_DATADIR}/apr/
+	cp ${S}/build/make_exports.awk ${STAGING_DATADIR}/apr/
+	cp ${S}/build/make_var_export.awk ${STAGING_DATADIR}/apr/
+}
Signature · 1 line
1.6.0.4
author
#3 lore raw

update apr util library to version 1.3.7

In reply to a message not in the archive

+[http://www.apache.org/dist/apr/apr-util-1.3.7.tar.gz] +md5=0a6802ef6d874db645150ae4a75f41fa +sha256=fadd6a0c55596b2c21375942e3acefc33715e647ed4770dc398d08d8783a39e0 +

recipes/apr/apr-util_1.3.7.bb new file +5 -0
new file mode 100644
index 0000000..6b2e9cc
@@ -0,0 +1,34 @@
+DESCRIPTION = "Apache Portable Runtime (APR) companion library"
+SECTION = "libs"
+DEPENDS = "apr expat gdbm"
+LICENSE = "Apache License, Version 2.0"
+

...

Regards,
Lucian Ion

From a448465d9ff6d06ffcd39634b90e5b21e1dc60ef Mon Sep 17 00:00:00 2001
From: Lucian Ion <[email protected]>
Date: Mon, 8 Jun 2009 12:13:07 +0100
Subject: [PATCH] apr-util update to version 1.3.7 - add checksum

---
 conf/checksums.ini |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
conf/checksums.ini +4 -0
index 741c8d0..15a7b10 100644
@@ -1622,6 +1622,10 @@ sha256=8cd84eb2031a91572e1be2975f4171730a9be72c4cd88718c4c40ac7dc4fd7d3
 md5=a10e2ca150ff07f484c724c36142211f
 sha256=3f07ffdb18fb853290c9b83e82cd5cae66b8fbc357bd391e846c0afdd24fed7e
 
+[http://www.apache.org/dist/apr/apr-util-1.3.7.tar.gz]
+md5=0a6802ef6d874db645150ae4a75f41fa
+sha256=fadd6a0c55596b2c21375942e3acefc33715e647ed4770dc398d08d8783a39e0
+
 [ftp://ftp.debian.org/debian/pool/main/a/apt/apt_0.5.28.6.tar.gz]
 md5=26b37525371cdaaec552237e0667305d
 sha256=57de084860870cccf510de62eb8ded252f5951a6e59e34a963d61d69de3aff10
Signature · 1 line
1.6.0.4

From de8a775aac5dda2997cb8c132070b12cb2e13dd0 Mon Sep 17 00:00:00 2001
From: Lucian Ion <[email protected]>
Date: Mon, 8 Jun 2009 12:14:21 +0100
Subject: [PATCH] apr-util update to version 1.3.7 - new recipe

---
 recipes/apr/apr-util_1.3.7.bb |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)
 create mode 100644 recipes/apr/apr-util_1.3.7.bb
recipes/apr/apr-util_1.3.7.bb new file +34 -0
new file mode 100644
index 0000000..6b2e9cc
@@ -0,0 +1,34 @@
+DESCRIPTION = "Apache Portable Runtime (APR) companion library"
+SECTION = "libs"
+DEPENDS = "apr expat gdbm"
+LICENSE = "Apache License, Version 2.0"
+
+PR = "r5"
+
+SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.gz \
+           file://configfix.patch;patch=1 \
+           file://configure_fixes.patch;patch=1"
+
+EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ 
+		--with-dbm=gdbm \
+		--with-gdbm=${STAGING_DIR_HOST}${layout_prefix} \
+		--without-sqlite2 \
+		--without-sqlite3 \
+		--with-expat=${STAGING_DIR_HOST}${layout_prefix}"
+
+
+inherit autotools_stage lib_package binconfig
+
+OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
+
+do_configure_prepend() {
+	cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
+	echo "AC_PROG_LIBTOOL" >> ${S}/configure.in
+}
+
+do_configure_append() {
+	sed -i -e  s:apr_builders=/usr/share/build-1:apr_builders=${STAGING_DATADIR}/build-1:g ${S}/build/rules.mk
+	sed -i /^LIBTOOL/d ${S}/build/rules.mk
+	echo LIBTOOL="${STAGING_BINDIR_NATIVE}/${TARGET_PREFIX}libtool --tag=CC" >> ${S}/build/rules.mk
+}
+
Signature · 1 line
1.6.0.4
#4 lore raw

Re: update apr util library to version 1.3.7

Hi Lucian,

thank you for your patch.

Quoted 1 line · Lucian Ion

+++ b/recipes/apr/apr-util_1.3.7.bb

If we're seeing yet a new version, I'd like to see a unification of the recipes first (put common stuff into an inc file).

Regards

Rolf