diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2025-08-27 13:18:50 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-28 10:47:09 +0100 |
| commit | 618511765348b274210e806c4fb917f0cd27783b (patch) | |
| tree | 92058ee4e03e5141d43e5c068dce7ce6b135cacd | |
| parent | 7001bdc3d7f197af5464a1709be7035bdf68807f (diff) | |
| download | poky-618511765348b274210e806c4fb917f0cd27783b.tar.gz | |
rpcbind: 1.2.7 -> 1.2.8
Refresh patches
- rpcbind_add_option_to_fix_port_number.patch
- 0001-systemd-use-EnvironmentFile.patch
(From OE-Core rev: dd4182a2697707491c61bd0b8c40ad063bed9a24)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch | 22 | ||||
| -rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch | 31 | ||||
| -rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind_1.2.8.bb (renamed from meta/recipes-extended/rpcbind/rpcbind_1.2.7.bb) | 2 |
3 files changed, 31 insertions, 24 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch b/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch index 1d7ba7d508..28d83e74f5 100644 --- a/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch +++ b/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch | |||
| @@ -1,19 +1,20 @@ | |||
| 1 | From da528d5d60137f13202102b53cf178aba45849a5 Mon Sep 17 00:00:00 2001 | 1 | From 87a9931e4aa97d7b6eb3b25f26444e30e45e3e41 Mon Sep 17 00:00:00 2001 |
| 2 | From: Stefan Agner <stefan.agner@toradex.com> | 2 | From: Stefan Agner <stefan.agner@toradex.com> |
| 3 | Date: Sun, 6 Oct 2019 00:05:54 +0200 | 3 | Date: Wed, 27 Aug 2025 11:30:48 +0800 |
| 4 | Subject: [PATCH] systemd: use EnvironmentFile | 4 | Subject: [PATCH] systemd: use EnvironmentFile |
| 5 | 5 | ||
| 6 | Use OE specific environment file. | 6 | Use OE specific environment file. |
| 7 | 7 | ||
| 8 | Upstream-Status: Inappropriate [OE specific] | 8 | Upstream-Status: Inappropriate [OE specific] |
| 9 | Signed-off-by: Stefan Agner <stefan.agner@toradex.com> | 9 | Signed-off-by: Stefan Agner <stefan.agner@toradex.com> |
| 10 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 10 | --- | 11 | --- |
| 11 | configure.ac | 2 ++ | 12 | configure.ac | 2 ++ |
| 12 | systemd/rpcbind.service.in | 1 + | 13 | systemd/rpcbind.service.in | 6 +++--- |
| 13 | 2 files changed, 3 insertions(+) | 14 | 2 files changed, 5 insertions(+), 3 deletions(-) |
| 14 | 15 | ||
| 15 | diff --git a/configure.ac b/configure.ac | 16 | diff --git a/configure.ac b/configure.ac |
| 16 | index 8f4cef3..4705413 100644 | 17 | index 6ede0af..d1ae5e4 100644 |
| 17 | --- a/configure.ac | 18 | --- a/configure.ac |
| 18 | +++ b/configure.ac | 19 | +++ b/configure.ac |
| 19 | @@ -86,5 +86,7 @@ AC_CHECK_HEADERS([nss.h]) | 20 | @@ -86,5 +86,7 @@ AC_CHECK_HEADERS([nss.h]) |
| @@ -25,14 +26,19 @@ index 8f4cef3..4705413 100644 | |||
| 25 | 26 | ||
| 26 | AC_OUTPUT([Makefile systemd/rpcbind.service systemd/rpcbind.socket]) | 27 | AC_OUTPUT([Makefile systemd/rpcbind.service systemd/rpcbind.socket]) |
| 27 | diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in | 28 | diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in |
| 28 | index c892ca8..e0511bd 100644 | 29 | index 771b944..5992098 100644 |
| 29 | --- a/systemd/rpcbind.service.in | 30 | --- a/systemd/rpcbind.service.in |
| 30 | +++ b/systemd/rpcbind.service.in | 31 | +++ b/systemd/rpcbind.service.in |
| 31 | @@ -12,6 +12,7 @@ Wants=rpcbind.target | 32 | @@ -23,9 +23,9 @@ ProtectControlGroups=true |
| 32 | [Service] | 33 | RestrictRealtime=true |
| 33 | Type=notify | 34 | Type=notify |
| 34 | # distro can provide a drop-in adding EnvironmentFile=-/??? if needed. | 35 | # distro can provide a drop-in adding EnvironmentFile=-/??? if needed. |
| 36 | -EnvironmentFile=-/etc/rpcbind.conf | ||
| 37 | -EnvironmentFile=-/etc/default/rpcbind | ||
| 38 | -EnvironmentFile=-/etc/sysconfig/rpcbind | ||
| 35 | +EnvironmentFile=-@_sysconfdir@/rpcbind.conf | 39 | +EnvironmentFile=-@_sysconfdir@/rpcbind.conf |
| 40 | +EnvironmentFile=-@_sysconfdir@/default/rpcbind | ||
| 41 | +EnvironmentFile=-@_sysconfdir@/sysconfig/rpcbind | ||
| 36 | ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS @warmstarts_opt@ -f | 42 | ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS @warmstarts_opt@ -f |
| 37 | 43 | ||
| 38 | [Install] | 44 | [Install] |
diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch b/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch index 535f9ce20d..3205ff3086 100644 --- a/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch +++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | From 76f8598fd20727908e760cbb497dd6a17eda4af5 Mon Sep 17 00:00:00 2001 | 1 | From 285c193dc94b53763ac8d6f91229eaab37d45fc6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Roy Li <rongqing.li@windriver.com> | 2 | From: Roy Li <rongqing.li@windriver.com> |
| 3 | Date: Wed, 17 Sep 2014 13:22:14 +0800 | 3 | Date: Wed, 27 Aug 2025 11:24:53 +0800 |
| 4 | Subject: [PATCH] add option to make users able to use fixed port number | 4 | Subject: [PATCH] add option to make users able to use fixed port number |
| 5 | 5 | ||
| 6 | Upstream-Status: Submitted [https://sourceforge.net/p/rpcbind/discussion/716839/thread/32af721d/] | 6 | Upstream-Status: Submitted [https://sourceforge.net/p/rpcbind/discussion/716839/thread/32af721d/] |
| @@ -8,6 +8,7 @@ Upstream-Status: Submitted [https://sourceforge.net/p/rpcbind/discussion/716839/ | |||
| 8 | Signed-off-by: Li Wang <li.wang@windriver.com> | 8 | Signed-off-by: Li Wang <li.wang@windriver.com> |
| 9 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | 9 | Signed-off-by: Roy Li <rongqing.li@windriver.com> |
| 10 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | 10 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
| 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 11 | --- | 12 | --- |
| 12 | man/rpcbind.8 | 4 +++- | 13 | man/rpcbind.8 | 4 +++- |
| 13 | src/rpcb_svc_com.c | 17 +++++++++++++++++ | 14 | src/rpcb_svc_com.c | 17 +++++++++++++++++ |
| @@ -15,15 +16,15 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | |||
| 15 | 3 files changed, 26 insertions(+), 3 deletions(-) | 16 | 3 files changed, 26 insertions(+), 3 deletions(-) |
| 16 | 17 | ||
| 17 | diff --git a/man/rpcbind.8 b/man/rpcbind.8 | 18 | diff --git a/man/rpcbind.8 b/man/rpcbind.8 |
| 18 | index fbf0ace..66f7c08 100644 | 19 | index 15b70f9..4a6ffbc 100644 |
| 19 | --- a/man/rpcbind.8 | 20 | --- a/man/rpcbind.8 |
| 20 | +++ b/man/rpcbind.8 | 21 | +++ b/man/rpcbind.8 |
| 21 | @@ -11,7 +11,7 @@ | 22 | @@ -11,7 +11,7 @@ |
| 22 | .Nd universal addresses to RPC program number mapper | 23 | .Nd universal addresses to RPC program number mapper |
| 23 | .Sh SYNOPSIS | 24 | .Sh SYNOPSIS |
| 24 | .Nm | 25 | .Nm |
| 25 | -.Op Fl adhiLls | 26 | -.Op Fl adfhilsvw |
| 26 | +.Op Fl adhpiLls | 27 | +.Op Fl adfhpilsvw |
| 27 | .Sh DESCRIPTION | 28 | .Sh DESCRIPTION |
| 28 | The | 29 | The |
| 29 | .Nm | 30 | .Nm |
| @@ -86,10 +87,10 @@ index 1743dad..07a1c75 100644 | |||
| 86 | if (xprt == NULL) { | 87 | if (xprt == NULL) { |
| 87 | if (debugging) | 88 | if (debugging) |
| 88 | diff --git a/src/rpcbind.c b/src/rpcbind.c | 89 | diff --git a/src/rpcbind.c b/src/rpcbind.c |
| 89 | index 25d8a90..36a95b9 100644 | 90 | index bf7b499..7268907 100644 |
| 90 | --- a/src/rpcbind.c | 91 | --- a/src/rpcbind.c |
| 91 | +++ b/src/rpcbind.c | 92 | +++ b/src/rpcbind.c |
| 92 | @@ -111,6 +111,7 @@ int runasdaemon = 0; | 93 | @@ -112,6 +112,7 @@ int runasdaemon = 0; |
| 93 | int insecure = 0; | 94 | int insecure = 0; |
| 94 | int oldstyle_local = 0; | 95 | int oldstyle_local = 0; |
| 95 | int verboselog = 0; | 96 | int verboselog = 0; |
| @@ -97,16 +98,16 @@ index 25d8a90..36a95b9 100644 | |||
| 97 | 98 | ||
| 98 | char **hosts = NULL; | 99 | char **hosts = NULL; |
| 99 | int nhosts = 0; | 100 | int nhosts = 0; |
| 100 | @@ -884,7 +885,7 @@ parseargs(int argc, char *argv[]) | 101 | @@ -959,7 +960,7 @@ parseargs(int argc, char *argv[]) |
| 101 | { | 102 | { |
| 102 | int c; | 103 | int c; |
| 103 | oldstyle_local = 1; | 104 | oldstyle_local = 1; |
| 104 | - while ((c = getopt(argc, argv, "adh:ilswf")) != -1) { | 105 | - while ((c = getopt(argc, argv, "adfh:ilsvw")) != -1) { |
| 105 | + while ((c = getopt(argc, argv, "adh:p:ilswf")) != -1) { | 106 | + while ((c = getopt(argc, argv, "adfh:p:ilsvw")) != -1) { |
| 106 | switch (c) { | 107 | switch (c) { |
| 107 | case 'a': | 108 | case 'a': |
| 108 | doabort = 1; /* when debugging, do an abort on */ | 109 | doabort = 1; /* when debugging, do an abort on */ |
| 109 | @@ -902,6 +903,9 @@ parseargs(int argc, char *argv[]) | 110 | @@ -977,6 +978,9 @@ parseargs(int argc, char *argv[]) |
| 110 | if (hosts[nhosts - 1] == NULL) | 111 | if (hosts[nhosts - 1] == NULL) |
| 111 | errx(1, "Out of memory"); | 112 | errx(1, "Out of memory"); |
| 112 | break; | 113 | break; |
| @@ -116,15 +117,15 @@ index 25d8a90..36a95b9 100644 | |||
| 116 | case 'i': | 117 | case 'i': |
| 117 | insecure = 1; | 118 | insecure = 1; |
| 118 | break; | 119 | break; |
| 119 | @@ -920,7 +924,7 @@ parseargs(int argc, char *argv[]) | 120 | @@ -999,7 +1003,7 @@ parseargs(int argc, char *argv[]) |
| 120 | break; | 121 | break; |
| 121 | #endif | 122 | #endif |
| 122 | default: /* error */ | 123 | default: /* error */ |
| 123 | - fprintf(stderr, "usage: rpcbind [-adhilswf]\n"); | 124 | - fprintf(stderr, "usage: rpcbind [-adfhilsvw]\n"); |
| 124 | + fprintf(stderr, "usage: rpcbind [-adhpilswf]\n"); | 125 | + fprintf(stderr, "usage: rpcbind [-adfhpilsvw]\n"); |
| 125 | exit (1); | 126 | exit (1); |
| 126 | } | 127 | } |
| 127 | } | 128 | } |
| 128 | -- | 129 | -- |
| 129 | 2.25.1 | 130 | 2.34.1 |
| 130 | 131 | ||
diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.7.bb b/meta/recipes-extended/rpcbind/rpcbind_1.2.8.bb index e186bc35e1..b669a53ae9 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_1.2.7.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_1.2.8.bb | |||
| @@ -18,7 +18,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \ | |||
| 18 | file://rpcbind_add_option_to_fix_port_number.patch \ | 18 | file://rpcbind_add_option_to_fix_port_number.patch \ |
| 19 | file://0001-systemd-use-EnvironmentFile.patch \ | 19 | file://0001-systemd-use-EnvironmentFile.patch \ |
| 20 | " | 20 | " |
| 21 | SRC_URI[sha256sum] = "f6edf8cdf562aedd5d53b8bf93962d61623292bfc4d47eedd3f427d84d06f37e" | 21 | SRC_URI[sha256sum] = "964132c389918e8964d7334936b6dd10ef025b300c6b29e693ba0f29550e3de5" |
| 22 | 22 | ||
| 23 | inherit autotools update-rc.d systemd pkgconfig update-alternatives sourceforge-releases | 23 | inherit autotools update-rc.d systemd pkgconfig update-alternatives sourceforge-releases |
| 24 | 24 | ||
