Skip to contentSkip to conversation

md5deep: Add Recipe for md5deep package version 4.4

PATCH Superseded Sven Ebenfeld 2 participants 6 messages Aug 25, 2014 – Aug 28, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 md5deep: Add Recipe for md5deep package version 4.4

I need to build hashdeep/md5deep within OE to include it in my images. This recipe enables OE to cross-compile md5deep. I needed to add the patch as do_configure_qa is complaining about cross-compilation errors otherwise. I added a pull request for the issue with the variable expansion to hashdeep as well.

---
 .../md5deep/files/wrong-variable-expansion.patch   | 39 ++++++++++++++++++++++
 meta-oe/recipes-extended/md5deep/md5deep_4.4.bb    | 16 +++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 meta-oe/recipes-extended/md5deep/files/wrong-variable-expansion.patch
 create mode 100644 meta-oe/recipes-extended/md5deep/md5deep_4.4.bb
meta-oe/recipes-extended/md5deep/files/wrong-variable-expansion.patch new file +39 -0
new file mode 100644
index 0000000..3a4c4f4
@@ -0,0 +1,39 @@
+--- a/configure.ac	2014-08-22 12:22:54.290884351 +0200
++++ b/configure.ac	2014-08-22 12:23:15.822306295 +0200
+@@ -42,18 +42,6 @@
+      ;;		 		     
+ esac
+ 
+-
+-# Bring additional directories where things might be found into our
+-# search path. I don't know why autoconf doesn't do this by default
+-if test x"${mingw}" == "xno" ; then
+-  for spfx in /usr/local /opt/local /sw ; do
+-    echo checking ${spfx}/include
+-    if test -d ${spfx}/include; then
+-        CPPFLAGS="-I${spfx}/include $CPPFLAGS"
+-        LDFLAGS="-L${spfx}/lib $LDFLAGS"
+-    fi
+-  done
+-fi
+ #
+ #
+ ################################################################
+@@ -71,7 +59,7 @@
+ 
+ if test $mingw = "no" ; then
+   # add the warnings we don't want to do on mingw
+-  $WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Wall -Wstrict-prototypes  -Weffc++"
++  WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Wall -Wstrict-prototypes  -Weffc++"
+ fi
+ 
+ for option in $WARNINGS_TO_TEST
+@@ -105,7 +93,7 @@
+ 
+ if test $mingw = "no" ; then
+   # add the warnings we don't want to do on mingw
+-  $WARNINGS_TO_TEST="$WARNINGS_TO_TEST  -Weffc++"
++  WARNINGS_TO_TEST="$WARNINGS_TO_TEST  -Weffc++"
+ fi
+ 
+ for option in $WARNINGS_TO_TEST
meta-oe/recipes-extended/md5deep/md5deep_4.4.bb new file +16 -0
new file mode 100644
index 0000000..4e4a2f5
@@ -0,0 +1,16 @@
+DESCRIPTION = "md5deep"
+AUTHOR = "Jesse Kornblum, Simson L. Garfinkel"
+HOMEPAGE = "http://md5deep.sourceforge.net"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9190f660105b9a56cdb272309bfd5491"
+
+inherit autotools
+
+SRC_URI = "git://github.com/jessek/hashdeep.git \
+        file://wrong-variable-expansion.patch \
+        "
+
+# Release 4.4
+SRCREV = "cd2ed7416685a5e83eb10bb659d6e9bec01244ae"
+
+S = "${WORKDIR}/git"
Signature · 1 line
1.8.1.rc3
#1 lore raw
Quoted 1 line · Sven Ebenfeld

I need to build hashdeep/md5deep within OE to include it in my images. This recipe enables OE to cross-compile md5deep. I needed to add the patch as do_configure_qa is complaining about cross-compilation errors otherwise. I added a pull request for the issue with the variable expansion to hashdeep as well.

Please send this to [email protected]

Quoted 59 lines
---
 .../md5deep/files/wrong-variable-expansion.patch   | 39 ++++++++++++++++++++++
 meta-oe/recipes-extended/md5deep/md5deep_4.4.bb    | 16 +++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 meta-oe/recipes-extended/md5deep/files/wrong-variable-expansion.patch
 create mode 100644 meta-oe/recipes-extended/md5deep/md5deep_4.4.bb
meta-oe/recipes-extended/md5deep/files/wrong-variable-expansion.patch new file +39 -0
new file mode 100644
index 0000000..3a4c4f4
@@ -0,0 +1,39 @@
+--- a/configure.ac	2014-08-22 12:22:54.290884351 +0200
++++ b/configure.ac	2014-08-22 12:23:15.822306295 +0200
+@@ -42,18 +42,6 @@
+      ;;		 		     
+ esac
+ 
+-
+-# Bring additional directories where things might be found into our
+-# search path. I don't know why autoconf doesn't do this by default
+-if test x"${mingw}" == "xno" ; then
+-  for spfx in /usr/local /opt/local /sw ; do
+-    echo checking ${spfx}/include
+-    if test -d ${spfx}/include; then
+-        CPPFLAGS="-I${spfx}/include $CPPFLAGS"
+-        LDFLAGS="-L${spfx}/lib $LDFLAGS"
+-    fi
+-  done
+-fi
+ #
+ #
+ ################################################################
+@@ -71,7 +59,7 @@
+ 
+ if test $mingw = "no" ; then
+   # add the warnings we don't want to do on mingw
+-  $WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Wall -Wstrict-prototypes  -Weffc++"
++  WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Wall -Wstrict-prototypes  -Weffc++"
+ fi
+ 
+ for option in $WARNINGS_TO_TEST
+@@ -105,7 +93,7 @@
+ 
+ if test $mingw = "no" ; then
+   # add the warnings we don't want to do on mingw
+-  $WARNINGS_TO_TEST="$WARNINGS_TO_TEST  -Weffc++"
++  WARNINGS_TO_TEST="$WARNINGS_TO_TEST  -Weffc++"
+ fi
+ 
+ for option in $WARNINGS_TO_TEST
meta-oe/recipes-extended/md5deep/md5deep_4.4.bb new file +0 -0
new file mode 100644
index 0000000..4e4a2f5

meta-oe/recipes-extended/md5deep/md5deep_4.4.bb line 1

Quoted 1 line
meta-oe/recipes-extended/md5deep/md5deep_4.4.bb new file +1 -0
@@ -0,0 +1,16 @@
+DESCRIPTION = "md5deep"

Please use better description than just PN (and use SUMMARY if it's still short).

Quoted 23 lines
meta-oe/recipes-extended/md5deep/md5deep_4.4.bb new file +15 -0
+AUTHOR = "Jesse Kornblum, Simson L. Garfinkel"
+HOMEPAGE = "http://md5deep.sourceforge.net"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9190f660105b9a56cdb272309bfd5491"
+
+inherit autotools
+
+SRC_URI = "git://github.com/jessek/hashdeep.git \
+        file://wrong-variable-expansion.patch \
+        "
+
+# Release 4.4
+SRCREV = "cd2ed7416685a5e83eb10bb659d6e9bec01244ae"
+
+S = "${WORKDIR}/git"
Signature · 7 lines
1.8.1.rc3

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

Thank you, I've posted an updated patch to openembedded-devel mailing list.

2014-08-25 12:14 GMT+02:00 Martin Jansa <[email protected]>:

Quoted 96 lines · Sven Ebenfeld
Quoted 1 line

I need to build hashdeep/md5deep within OE to include it in my images. This recipe enables OE to cross-compile md5deep. I needed to add the patch as do_configure_qa is complaining about cross-compilation errors otherwise. I added a pull request for the issue with the variable expansion to hashdeep as well.

Please send this to [email protected]

Quoted 59 lines
---
 .../md5deep/files/wrong-variable-expansion.patch   | 39 ++++++++++++++++++++++
 meta-oe/recipes-extended/md5deep/md5deep_4.4.bb    | 16 +++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 meta-oe/recipes-extended/md5deep/files/wrong-variable-expansion.patch
 create mode 100644 meta-oe/recipes-extended/md5deep/md5deep_4.4.bb
meta-oe/recipes-extended/md5deep/files/wrong-variable-expansion.patch new file +39 -0
new file mode 100644
index 0000000..3a4c4f4
@@ -0,0 +1,39 @@
+--- a/configure.ac   2014-08-22 12:22:54.290884351 +0200
++++ b/configure.ac   2014-08-22 12:23:15.822306295 +0200
+@@ -42,18 +42,6 @@
+      ;;
+ esac
+
+-
+-# Bring additional directories where things might be found into our
+-# search path. I don't know why autoconf doesn't do this by default
+-if test x"${mingw}" == "xno" ; then
+-  for spfx in /usr/local /opt/local /sw ; do
+-    echo checking ${spfx}/include
+-    if test -d ${spfx}/include; then
+-        CPPFLAGS="-I${spfx}/include $CPPFLAGS"
+-        LDFLAGS="-L${spfx}/lib $LDFLAGS"
+-    fi
+-  done
+-fi
+ #
+ #
+ ################################################################
+@@ -71,7 +59,7 @@
+
+ if test $mingw = "no" ; then
+   # add the warnings we don't want to do on mingw
+-  $WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Wall -Wstrict-prototypes  -Weffc++"
++  WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Wall -Wstrict-prototypes  -Weffc++"
+ fi
+
+ for option in $WARNINGS_TO_TEST
+@@ -105,7 +93,7 @@
+
+ if test $mingw = "no" ; then
+   # add the warnings we don't want to do on mingw
+-  $WARNINGS_TO_TEST="$WARNINGS_TO_TEST  -Weffc++"
++  WARNINGS_TO_TEST="$WARNINGS_TO_TEST  -Weffc++"
+ fi
+
+ for option in $WARNINGS_TO_TEST
meta-oe/recipes-extended/md5deep/md5deep_4.4.bb new file +0 -0
new file mode 100644
index 0000000..4e4a2f5

meta-oe/recipes-extended/md5deep/md5deep_4.4.bb line 1

Quoted 1 line
meta-oe/recipes-extended/md5deep/md5deep_4.4.bb new file +1 -0
@@ -0,0 +1,16 @@
+DESCRIPTION = "md5deep"

Please use better description than just PN (and use SUMMARY if it's still short).

Quoted 18 lines
meta-oe/recipes-extended/md5deep/md5deep_4.4.bb new file +15 -1
+AUTHOR = "Jesse Kornblum, Simson L. Garfinkel"
+HOMEPAGE = "http://md5deep.sourceforge.net"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9190f660105b9a56cdb272309bfd5491"
+
+inherit autotools
+
+SRC_URI = "git://github.com/jessek/hashdeep.git \
+        file://wrong-variable-expansion.patch \
+        "
+
+# Release 4.4
+SRCREV = "cd2ed7416685a5e83eb10bb659d6e9bec01244ae"
+
+S = "${WORKDIR}/git"
--

1.8.1.rc3

Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Martin 'JaMa' Jansa jabber: [email protected]

#3 lore raw
In reply to Martin Jansa

Am 25.08.2014 12:14, schrieb Martin Jansa:

Quoted 6 lines · Sven Ebenfeld
Quoted 1 line

I need to build hashdeep/md5deep within OE to include it in my images. This recipe enables OE to cross-compile md5deep. I needed to add the patch as do_configure_qa is complaining about cross-compilation errors otherwise. I added a pull request for the issue with the variable expansion to hashdeep as well.

Please send this to [email protected]

Did I understand this right, that I should send the whole patch to OE-Devel ML? Or should I've sent anything else?

#4 lore raw
Quoted 10 lines · Sven Ebenfeld

Am 25.08.2014 12:14, schrieb Martin Jansa:

Quoted 6 lines · Sven Ebenfeld
Quoted 1 line

I need to build hashdeep/md5deep within OE to include it in my images. This recipe enables OE to cross-compile md5deep. I needed to add the patch as do_configure_qa is complaining about cross-compilation errors otherwise. I added a pull request for the issue with the variable expansion to hashdeep as well.

Please send this to [email protected]

Did I understand this right, that I should send the whole patch to OE-Devel ML? Or should I've sent anything else?

Whole patch as it was sent and picked by patchwork:
http://patchwork.openembedded.org/patch/78901/

it was merged in master-next few days ago.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw

Am 28.08.2014 16:36, schrieb Martin Jansa:

Quoted 9 lines · Sven Ebenfeld
Quoted 8 lines

Am 25.08.2014 12:14, schrieb Martin Jansa:

Quoted 6 lines · Sven Ebenfeld
Quoted 1 line

I need to build hashdeep/md5deep within OE to include it in my images. This recipe enables OE to cross-compile md5deep. I needed to add the patch as do_configure_qa is complaining about cross-compilation errors otherwise. I added a pull request for the issue with the variable expansion to hashdeep as well.

Please send this to [email protected]

Quoted 8 lines
Quoted 2 lines

Did I understand this right, that I should send the whole patch to OE-Devel ML? Or should I've sent anything else?

Whole patch as it was sent and picked by patchwork:
http://patchwork.openembedded.org/patch/78901/

it was merged in master-next few days ago.

Oh, I didn't see that, that's good news. Thanks!
Is it possible to get that patch into dora and daisy branch as well? Unfortunately we are still developing in dora branch atm but I hope to switch to daisy branch in near future.