summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/ptpd
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2012-11-08 09:01:49 +0000
committerJoe MacDonald <joe.macdonald@windriver.com>2012-11-19 11:18:30 -0500
commit5955e22f6ecf0196a129c27641c6d85820f8b962 (patch)
treef0d26e3418b93ce16cf64c881786a3ae71fef76d /meta-networking/recipes-daemons/ptpd
parent4c20b896d8b709fbaed8888da98e81de74292b90 (diff)
downloadmeta-openembedded-5955e22f6ecf0196a129c27641c6d85820f8b962.tar.gz
ptpd-2.2.0: drop the patch adjust-daemon-name.patch
The patch adjust-daemon-name.patch is to change the daemon name ptpd2 back to ptpd, which broke some functionality: root@qemu0:~# ptpd -g Error: 1 ptpd daemon(s) detected in parallel, but we were not expecting any. Exiting. so drop it and use the default daemon name ptpd2. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Diffstat (limited to 'meta-networking/recipes-daemons/ptpd')
-rw-r--r--meta-networking/recipes-daemons/ptpd/ptpd-2.2.0/adjust-daemon-name.patch61
-rw-r--r--meta-networking/recipes-daemons/ptpd/ptpd_2.2.0.bb5
2 files changed, 3 insertions, 63 deletions
diff --git a/meta-networking/recipes-daemons/ptpd/ptpd-2.2.0/adjust-daemon-name.patch b/meta-networking/recipes-daemons/ptpd/ptpd-2.2.0/adjust-daemon-name.patch
deleted file mode 100644
index f6934b69b..000000000
--- a/meta-networking/recipes-daemons/ptpd/ptpd-2.2.0/adjust-daemon-name.patch
+++ /dev/null
@@ -1,61 +0,0 @@
1Patch from http://patch-tracker.debian.org/package/ptpd
2
3Description: Executable name ptpd
4 This patch adjusts the binary executable to be called ptpd instead of ptpd2.
5 Similarly, the man page name is adjusted.
6Author: Roland Stigge <stigge@antcom.de>
7
8Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
9---
10 src/Makefile | 4 ++--
11 src/ptpd2.8 | 8 ++++----
12 2 files changed, 6 insertions(+), 6 deletions(-)
13
14diff --git a/src/Makefile b/src/Makefile
15index dbbe525..a672625 100644
16--- a/src/Makefile
17+++ b/src/Makefile
18@@ -1,4 +1,4 @@
19-# Makefile for ptpd2
20+# Makefile for ptpd
21
22 #
23 # Compile time defines:
24@@ -42,7 +42,7 @@ CFLAGS += -DPTP_EXPERIMENTAL
25
26 LDFLAGS+= -lm -lrt
27
28-PROG = ptpd2
29+PROG = ptpd
30 SRCS = ptpd.c arith.c bmc.c protocol.c display.c\
31 dep/msg.c dep/net.c dep/servo.c dep/startup.c dep/sys.c dep/timer.c
32
33diff --git a/src/ptpd2.8 b/src/ptpd2.8
34index c6100f4..21f1906 100644
35--- a/src/ptpd2.8
36+++ b/src/ptpd2.8
37@@ -1,9 +1,9 @@
38 .\" -*- nroff -*"
39-.TH ptpd2 8 "January, 2012" "version 2.2.0" "Precision Time Protocol daemon"
40+.TH ptpd 8 "January, 2012" "version 2.2.0" "Precision Time Protocol daemon"
41 .SH NAME
42-ptpd2 \- Precision Time Protocol daemon (1588-2008)
43+ptpd \- Precision Time Protocol daemon (1588-2008)
44 .SH SYNOPSIS
45-.B ptpd2
46+.B ptpd
47 [?]
48 [-B]
49 [-c]
50@@ -182,7 +182,7 @@ run as master without NTP
51 set an initial delay request value
52 .TP
53 .B \-L
54-enable running multiple ptpd2 daemons
55+enable running multiple ptpd daemons
56 .TP
57 .B \-j
58 turn off IGMP refresh messages
59--
601.7.4
61
diff --git a/meta-networking/recipes-daemons/ptpd/ptpd_2.2.0.bb b/meta-networking/recipes-daemons/ptpd/ptpd_2.2.0.bb
index 3449ee849..39a0cdd52 100644
--- a/meta-networking/recipes-daemons/ptpd/ptpd_2.2.0.bb
+++ b/meta-networking/recipes-daemons/ptpd/ptpd_2.2.0.bb
@@ -8,8 +8,9 @@ SECTION = "network"
8LICENSE = "BSD" 8LICENSE = "BSD"
9LIC_FILES_CHKSUM = "file://../COPYRIGHT;md5=3d8ac2c46c116bce2d2ad838b6cf3491" 9LIC_FILES_CHKSUM = "file://../COPYRIGHT;md5=3d8ac2c46c116bce2d2ad838b6cf3491"
10 10
11PR = "r1"
12
11SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz \ 13SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz \
12 file://adjust-daemon-name.patch;striplevel=2 \
13 file://ld-as-needed.patch;striplevel=2 \ 14 file://ld-as-needed.patch;striplevel=2 \
14" 15"
15 16
@@ -22,6 +23,6 @@ EXTRA_OEMAKE = ""
22 23
23do_install() { 24do_install() {
24 install -d ${D}${bindir} ${D}${mandir}/man8 25 install -d ${D}${bindir} ${D}${mandir}/man8
25 install -m 0755 ptpd ${D}${bindir} 26 install -m 0755 ptpd2 ${D}${bindir}
26 install -m 0644 ptpd2.8 ${D}${mandir}/man8 27 install -m 0644 ptpd2.8 ${D}${mandir}/man8
27} 28}