diff --git a/0002-isnsadm-Fix-unparse-command-line-options-V-and-r.patch b/0002-isnsadm-Fix-unparse-command-line-options-V-and-r.patch deleted file mode 100644 index 8ca30c9a50499f30eeb6dc5e1a06647540c2d385..0000000000000000000000000000000000000000 --- a/0002-isnsadm-Fix-unparse-command-line-options-V-and-r.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 82fbb3cef309f17a88e44fe9c379d84f9835f39b Mon Sep 17 00:00:00 2001 -From: Wenchao Hao -Date: Tue, 9 Aug 2022 21:52:18 +0800 -Subject: [PATCH] isnsadm: Fix unparse command line options "-V" and "-r" - -Following error would reported: - -root@fedora:# isnsadm -V -isnsadm: invalid option -- 'V' -Error: Unknown option - -root@fedora:# isnsadm -r -isnsadm: invalid option -- 'r' -Error: Unknown option - -This is because we did not add "V" and "r" to parameter -when calling getopt_long() - -Signed-off-by: Wenchao Hao ---- - isnsadm.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/isnsadm.c b/isnsadm.c -index 94c705e..0710877 100644 ---- a/isnsadm.c -+++ b/isnsadm.c -@@ -97,7 +97,7 @@ main(int argc, char **argv) - isns_security_t *security = NULL; - int c, status; - -- while ((c = getopt_long(argc, argv, "46Cc:d:hK:k:ls:", options, NULL)) != -1) { -+ while ((c = getopt_long(argc, argv, "46Cc:d:hK:k:ls:Vr", options, NULL)) != -1) { - switch (c) { - case '4': - opt_af = AF_INET; --- -2.35.3 - diff --git a/0003-isnsd-socket-Make-sure-to-create-IPv6-socket-default.patch b/0003-isnsd-socket-Make-sure-to-create-IPv6-socket-default.patch deleted file mode 100644 index 4ad236d980d7ecda7c91006f46f2a7f363f5c963..0000000000000000000000000000000000000000 --- a/0003-isnsd-socket-Make-sure-to-create-IPv6-socket-default.patch +++ /dev/null @@ -1,30 +0,0 @@ -From c87b55dac84ac0702ef55345edf019cccf0c62d6 Mon Sep 17 00:00:00 2001 -From: Wenchao Hao -Date: Mon, 29 Aug 2022 22:40:46 +0800 -Subject: [PATCH] isnsd: socket: Make sure to create IPv6 socket default - -As described in isnsd's manual, if not explictly specified, the isnsd -should listen IPv6 address as default. - -Signed-off-by: Wenchao Hao ---- - isnsd.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/isnsd.c b/isnsd.c -index 6c41c30..4031b51 100644 ---- a/isnsd.c -+++ b/isnsd.c -@@ -29,7 +29,8 @@ enum { - }; - - static const char * opt_configfile = ISNS_DEFAULT_ISNSD_CONFIG; --static int opt_af = AF_UNSPEC; -+static int opt_af = AF_INET6; // should be AF_INET6 as described in isnsd's manual -+ - static int opt_mode = MODE_NORMAL; - static int opt_foreground = 0; - --- -2.27.0 - diff --git a/open-isns-0.101.tar.gz b/open-isns-0.101.tar.gz deleted file mode 100644 index 8fc41f56e2748c0e80086137bbded913e3a369fc..0000000000000000000000000000000000000000 Binary files a/open-isns-0.101.tar.gz and /dev/null differ diff --git a/open-isns.spec b/open-isns.spec index 47b96267c42a612d7ec925ffc5e60518276abeee..924f9ecd56aabbce0e37c35f231ec8606ce8f6f5 100644 --- a/open-isns.spec +++ b/open-isns.spec @@ -1,14 +1,12 @@ Name: open-isns -Version: 0.101 -Release: 3 +Version: 0.102 +Release: 1 Summary: The iSNS server and client programs License: LGPLv2+ -URL: https://www.github.com/open-iscsi/open-isns -Source0: https://www.github.com/open-iscsi/open-isns/archive/v%{version}.tar.gz#/open-isns-%{version}.tar.gz +URL: https://github.com/open-iscsi/open-isns +Source0: https://github.com/open-iscsi/open-isns/archive/refs/tags/v%{version}.tar.gz Patch0001: 0001-Do-not-install-isnsd.socket-in-isnsd.service.patch -Patch0002: 0002-isnsadm-Fix-unparse-command-line-options-V-and-r.patch -Patch0003: 0003-isnsd-socket-Make-sure-to-create-IPv6-socket-default.patch BuildRequires: gcc systemd automake autoconf make BuildRequires: openssl-devel systemd-devel @@ -91,12 +89,16 @@ install -p -m 644 isnsd.service %{buildroot}%{_unitdir}/isnsd.service %dir %{_includedir}/libisns %{_includedir}/libisns/*.h %{_libdir}/libisns.so +%{_libdir}/pkgconfig/libisns.pc %files help %{_mandir}/man5/* %{_mandir}/man8/* %changelog +* Mon Sep 30 2024 lvyy - 0.102-1 +- Update to open-isns-0.102 version + * Fri Sep 2 2022 Wenchao Hao - 0.101-3 - isnsd: socket: Make sure to isnsd would listen IPv6 socket default diff --git a/v0.102.tar.gz b/v0.102.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d4d965bbcb1532d6fb6918c72d68acb28beb1d30 Binary files /dev/null and b/v0.102.tar.gz differ