Skip to contentSkip to conversation

Precision Time Protocol (PTP) as defined by the IEEE 1588 standard

PATCH In review Jaap de Jong 2 participants 2 messages Nov 9, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Precision Time Protocol (PTP) as defined by the IEEE 1588 standard

Hi there,

attached a proposal for a recipe for building the
Precision Time Protocol daemon (ptpd).

Jaap

Precision Time protocol (IEEE 1588)

---
 recipes/ptpd/ptpd_1.0.0.bb |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ptpd/ptpd_1.0.0.bb
recipes/ptpd/ptpd_1.0.0.bb new file +15 -0
new file mode 100644
index 0000000..3737d63
@@ -0,0 +1,15 @@
+# ptpd build file
+LICENSE="BSD"
+DESCRIPTION="Precision Time Protocol (PTP) as defined by the IEEE 1588 standard"
+HOMEPAGE="http://sourceforge.net/projects/ptpd"
+
+SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz" 
+
+S="${WORKDIR}/ptpd-${PV}/src"
+PR = "r0"
+
+do_install() {                                                                                                                                               
+	install -d ${D}${bindir}
+	install -m 4555 ptpd ${D}${bindir}
+}
+
Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 3 lines · Jaap de Jong

Hi there,

attached a proposal for a recipe for building the Precision Time Protocol daemon (ptpd).

Hi Jaap,

The recipe looks good, although I think either your mailer or editor did something very strange to the line after "do_install() {".

Could you check the file and try to send it again using git send-email?

http://morefedora.blogspot.com/2009/02/configuring-git-send-email-to-use-gmail.html

http://felipec.wordpress.com/2009/10/25/git-send-email-tricks/

You are also missing the addition to checksums.ini, and maybe a line to install the manpage so the doc package gets built.

Also, from the README it looks like this package can't actually be used without obtaining a patent license from the IEEE, but I guess that's someone else's problem. :)

Mike