* [meta-networking][PATCH] ptpd-2.2.0: drop the patch adjust-daemon-name.patch
@ 2012-11-08 8:55 jackie.huang
2012-11-08 8:59 ` jhuang0
0 siblings, 1 reply; 2+ messages in thread
From: jackie.huang @ 2012-11-08 8:55 UTC (permalink / raw)
To: openembedded-core; +Cc: Jackie.Huang, Zhenfeng.Zhao
From: Jackie Huang <jackie.huang@windriver.com>
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>
---
.../ptpd/ptpd-2.2.0/adjust-daemon-name.patch | 61 --------------------
meta-networking/recipes-daemons/ptpd/ptpd_2.2.0.bb | 5 +-
2 files changed, 3 insertions(+), 63 deletions(-)
delete mode 100644 meta-networking/recipes-daemons/ptpd/ptpd-2.2.0/adjust-daemon-name.patch
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 f6934b6..0000000
--- a/meta-networking/recipes-daemons/ptpd/ptpd-2.2.0/adjust-daemon-name.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-Patch from http://patch-tracker.debian.org/package/ptpd
-
-Description: Executable name ptpd
- This patch adjusts the binary executable to be called ptpd instead of ptpd2.
- Similarly, the man page name is adjusted.
-Author: Roland Stigge <stigge@antcom.de>
-
-Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
----
- src/Makefile | 4 ++--
- src/ptpd2.8 | 8 ++++----
- 2 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/Makefile b/src/Makefile
-index dbbe525..a672625 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -1,4 +1,4 @@
--# Makefile for ptpd2
-+# Makefile for ptpd
-
- #
- # Compile time defines:
-@@ -42,7 +42,7 @@ CFLAGS += -DPTP_EXPERIMENTAL
-
- LDFLAGS+= -lm -lrt
-
--PROG = ptpd2
-+PROG = ptpd
- SRCS = ptpd.c arith.c bmc.c protocol.c display.c\
- dep/msg.c dep/net.c dep/servo.c dep/startup.c dep/sys.c dep/timer.c
-
-diff --git a/src/ptpd2.8 b/src/ptpd2.8
-index c6100f4..21f1906 100644
---- a/src/ptpd2.8
-+++ b/src/ptpd2.8
-@@ -1,9 +1,9 @@
- .\" -*- nroff -*"
--.TH ptpd2 8 "January, 2012" "version 2.2.0" "Precision Time Protocol daemon"
-+.TH ptpd 8 "January, 2012" "version 2.2.0" "Precision Time Protocol daemon"
- .SH NAME
--ptpd2 \- Precision Time Protocol daemon (1588-2008)
-+ptpd \- Precision Time Protocol daemon (1588-2008)
- .SH SYNOPSIS
--.B ptpd2
-+.B ptpd
- [?]
- [-B]
- [-c]
-@@ -182,7 +182,7 @@ run as master without NTP
- set an initial delay request value
- .TP
- .B \-L
--enable running multiple ptpd2 daemons
-+enable running multiple ptpd daemons
- .TP
- .B \-j
- turn off IGMP refresh messages
---
-1.7.4
-
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 3449ee8..39a0cdd 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"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://../COPYRIGHT;md5=3d8ac2c46c116bce2d2ad838b6cf3491"
+PR = "r1"
+
SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz \
- file://adjust-daemon-name.patch;striplevel=2 \
file://ld-as-needed.patch;striplevel=2 \
"
@@ -22,6 +23,6 @@ EXTRA_OEMAKE = ""
do_install() {
install -d ${D}${bindir} ${D}${mandir}/man8
- install -m 0755 ptpd ${D}${bindir}
+ install -m 0755 ptpd2 ${D}${bindir}
install -m 0644 ptpd2.8 ${D}${mandir}/man8
}
--
1.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-networking][PATCH] ptpd-2.2.0: drop the patch adjust-daemon-name.patch
2012-11-08 8:55 [meta-networking][PATCH] ptpd-2.2.0: drop the patch adjust-daemon-name.patch jackie.huang
@ 2012-11-08 8:59 ` jhuang0
0 siblings, 0 replies; 2+ messages in thread
From: jhuang0 @ 2012-11-08 8:59 UTC (permalink / raw)
To: openembedded-core
Sorry, wrong mailing list, plese ignore this.
Thanks,
Jackie
On 11/8/2012 4:55 PM, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
>
> 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>
> ---
> .../ptpd/ptpd-2.2.0/adjust-daemon-name.patch | 61 --------------------
> meta-networking/recipes-daemons/ptpd/ptpd_2.2.0.bb | 5 +-
> 2 files changed, 3 insertions(+), 63 deletions(-)
> delete mode 100644 meta-networking/recipes-daemons/ptpd/ptpd-2.2.0/adjust-daemon-name.patch
>
> 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 f6934b6..0000000
> --- a/meta-networking/recipes-daemons/ptpd/ptpd-2.2.0/adjust-daemon-name.patch
> +++ /dev/null
> @@ -1,61 +0,0 @@
> -Patch from http://patch-tracker.debian.org/package/ptpd
> -
> -Description: Executable name ptpd
> - This patch adjusts the binary executable to be called ptpd instead of ptpd2.
> - Similarly, the man page name is adjusted.
> -Author: Roland Stigge <stigge@antcom.de>
> -
> -Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ----
> - src/Makefile | 4 ++--
> - src/ptpd2.8 | 8 ++++----
> - 2 files changed, 6 insertions(+), 6 deletions(-)
> -
> -diff --git a/src/Makefile b/src/Makefile
> -index dbbe525..a672625 100644
> ---- a/src/Makefile
> -+++ b/src/Makefile
> -@@ -1,4 +1,4 @@
> --# Makefile for ptpd2
> -+# Makefile for ptpd
> -
> - #
> - # Compile time defines:
> -@@ -42,7 +42,7 @@ CFLAGS += -DPTP_EXPERIMENTAL
> -
> - LDFLAGS+= -lm -lrt
> -
> --PROG = ptpd2
> -+PROG = ptpd
> - SRCS = ptpd.c arith.c bmc.c protocol.c display.c\
> - dep/msg.c dep/net.c dep/servo.c dep/startup.c dep/sys.c dep/timer.c
> -
> -diff --git a/src/ptpd2.8 b/src/ptpd2.8
> -index c6100f4..21f1906 100644
> ---- a/src/ptpd2.8
> -+++ b/src/ptpd2.8
> -@@ -1,9 +1,9 @@
> - .\" -*- nroff -*"
> --.TH ptpd2 8 "January, 2012" "version 2.2.0" "Precision Time Protocol daemon"
> -+.TH ptpd 8 "January, 2012" "version 2.2.0" "Precision Time Protocol daemon"
> - .SH NAME
> --ptpd2 \- Precision Time Protocol daemon (1588-2008)
> -+ptpd \- Precision Time Protocol daemon (1588-2008)
> - .SH SYNOPSIS
> --.B ptpd2
> -+.B ptpd
> - [?]
> - [-B]
> - [-c]
> -@@ -182,7 +182,7 @@ run as master without NTP
> - set an initial delay request value
> - .TP
> - .B \-L
> --enable running multiple ptpd2 daemons
> -+enable running multiple ptpd daemons
> - .TP
> - .B \-j
> - turn off IGMP refresh messages
> ---
> -1.7.4
> -
> 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 3449ee8..39a0cdd 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"
> LICENSE = "BSD"
> LIC_FILES_CHKSUM = "file://../COPYRIGHT;md5=3d8ac2c46c116bce2d2ad838b6cf3491"
>
> +PR = "r1"
> +
> SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${PV}/ptpd-${PV}.tar.gz \
> - file://adjust-daemon-name.patch;striplevel=2 \
> file://ld-as-needed.patch;striplevel=2 \
> "
>
> @@ -22,6 +23,6 @@ EXTRA_OEMAKE = ""
>
> do_install() {
> install -d ${D}${bindir} ${D}${mandir}/man8
> - install -m 0755 ptpd ${D}${bindir}
> + install -m 0755 ptpd2 ${D}${bindir}
> install -m 0644 ptpd2.8 ${D}${mandir}/man8
> }
>
--
Jackie Huang
WIND RIVER | China Development Center
MSN:jackielily@hotmail.com
Tel: +86 8477 8594
Mobile: +86 138 1027 4745
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-08 9:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08 8:55 [meta-networking][PATCH] ptpd-2.2.0: drop the patch adjust-daemon-name.patch jackie.huang
2012-11-08 8:59 ` jhuang0
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox