Skip to contentSkip to conversation

ptpd: added recipe for v1.1.0.

PATCH In review Chris Verges 3 participants 5 messages Aug 4, 2011 – Aug 5, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ptpd: added recipe for v1.1.0.

---
 meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb
meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb new file +19 -0
new file mode 100644
index 0000000..87e0a69
@@ -0,0 +1,19 @@
+DESCRIPTION = "Precision Time Protocol (PTP) as defined by the IEEE 1588 standard"
+HOMEPAGE = "http://sourceforge.net/projects/ptpd"
+LICENSE = "BSD"
+SECTION = "network"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz" 
+
+S = "${WORKDIR}/ptpd-${PV}/src"
+
+do_install() {
+        install -d ${D}${bindir} ${D}${mandir}/man8
+        install -m 4555 ptpd ${D}${bindir}
+        install -m 644 ptpd.8 ${D}${mandir}/man8
+}
+
+SRC_URI[md5sum] = "faa4823576dd49ccc94b741ff32b03f5"
+SRC_URI[sha256sum] = "a7c6ea83bd53da75ae04a7b7a25fe7c597b4e9ff1f93d46f4502e3fa8a2cb950"
+
Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 21 lines · Chris Verges
---
  meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb |   19 +++++++++++++++++++
  1 files changed, 19 insertions(+), 0 deletions(-)

create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb

meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb new file +9 -0
new file mode 100644
index 0000000..87e0a69
@@ -0,0 +1,19 @@
+DESCRIPTION = "Precision Time Protocol (PTP) as defined by the IEEE 1588 standard"
+HOMEPAGE = "http://sourceforge.net/projects/ptpd"
+LICENSE = "BSD"
+SECTION = "network"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz"
+
+S = "${WORKDIR}/ptpd-${PV}/src"

meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb line 19

Quoted 10 lines
meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb new file +10 -0
+
+do_install() {
+        install -d ${D}${bindir} ${D}${mandir}/man8
+        install -m 4555 ptpd ${D}${bindir}
+        install -m 644 ptpd.8 ${D}${mandir}/man8
+}
+
+SRC_URI[md5sum] = "faa4823576dd49ccc94b741ff32b03f5"
+SRC_URI[sha256sum] = "a7c6ea83bd53da75ae04a7b7a25fe7c597b4e9ff1f93d46f4502e3fa8a2cb950"
+

Why not jump to version 2.1.0 right away...

DESCRIPTION = "Precision Time Protocol (PTP) as defined by the IEEE 1588 standard" HOMEPAGE = "http://sourceforge.net/projects/ptpd"
LICENSE = "BSD"
SECTION = "network"
PR = "r0"

SRC_URI = " \
    http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/${P}.tar.gz \
    "

S = "${WORKDIR}/${P}/src"

CFLAGS += "-Dlinux"
LDFLAGS += "-lm -lrt"

do_install() {
    install -d ${D}${bindir}
    install -m 4555 ptpd2 ${D}${bindir}

    install -d ${D}${mandir}/man8
    install -m 644 ptpd.8 ${D}${mandir}/man8
}

SRC_URI[md5sum] = "9c2ba065476f3377a0b380a56c9dd8c9"
SRC_URI[sha256sum] = "80f271a58d2751824c8448a08178053a712aad1cc74d29250c0d6bf23ad12c00"

#2 lore raw
Quoted 2 lines

Why not jump to version 2.1.0 right away...

My project has a need for 1.1.0, so I bumped to that for now. I also haven't verified the build process to see if 2.x builds the same as 1.x.

Thanks,
Chris

#3 lore raw
In reply to Chris Verges

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 04-08-11 15:32, Chris Verges schreef:

Quoted 1 line

You're missing the 'meta-oe' tag in subject

Quoted 4 lines
1 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb
meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb new file mode 100644 index 0000000..87e0a69 --- /dev/null +++ b/meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Precision Time Protocol (PTP) as defined renamed from meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb +0 -0

by the IEEE 1588 standard" +HOMEPAGE = "http://sourceforge.net/projects/ptpd" +LICENSE = "BSD" +SECTION = "network" +PR = "r1"

Does this actually build with LIC_FILES_CHKSUM lacking?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOOqO/MkyGM64RGpERAjW4AJ9kB3Sw+fIGkSLAOxJMPokWzt6VPgCgsLSh Qi0j8GjGior8CwyQlKFlEGM=
=9dYd
-----END PGP SIGNATURE-----

#4 lore raw
Quoted 6 lines

Op 04-08-11 15:32, Chris Verges schreef:

Quoted 1 line

meta-oe/recipes-connectivity/ptpd/ptpd_1.1.0.bb | 19 +++++++++++++++++++

You're missing the 'meta-oe' tag in subject

Hi Koen,

Apologies for missing this. I was following the patch guidelines at
http://wiki.openembedded.net/index.php/How_to_submit_a_patch_to_OpenEmbedded.
What should I have done differently?

Does this actually build with LIC_FILES_CHKSUM lacking?

Quoted 1 line

It builds in the 2011.03-maintenance branch of openembedded, and just assumed it would be the same in meta-oe. This is my first experience with meta-oe, so this is good feedback. What is LIC_FILES_CHKSUM and how should I use it? I didn't see anything in the OE user manual about it, so am looking forward to learning.

Thanks,
Chris