From 096bca3a516f70d0134804b071f769811a6c0db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Donval?= Date: Wed, 9 Oct 2024 11:30:52 +0100 Subject: [PATCH] Fix misplaced library location and update to samba 4.21.0 --- samba.yaml | 17 +++++++++-------- samba/tinfo.patch | 8 ++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/samba.yaml b/samba.yaml index 615e038995c..162d8091e83 100644 --- a/samba.yaml +++ b/samba.yaml @@ -1,6 +1,6 @@ package: name: samba - version: 4.20.4 + version: 4.21.0 epoch: 0 description: "Tools to access a server's filespace and printers via SMB" copyright: @@ -30,6 +30,7 @@ environment: - libtirpc-dev - liburing-dev - linux-pam-dev + - lmdb-dev - ncurses-dev - ncurses-terminfo - ncurses-terminfo-base @@ -60,12 +61,12 @@ environment: pipeline: - uses: fetch with: - expected-sha256: 3a92e97eaeb345b6b32232f503e14d34f03a7aa64c451fe8c258a11bbda908e5 + expected-sha256: 09bb56db4ce003cafdbebe9bad368c4f4ff1945f732d18077d52f36ab20cef88 uri: https://download.samba.org/pub/samba/stable/samba-${{package.version}}.tar.gz - - uses: patch - with: - patches: tinfo.patch + #- uses: patch + # with: + # patches: tinfo.patch - uses: autoconf/configure with: @@ -223,9 +224,9 @@ subpackages: pipeline: - runs: | mkdir -p "${{targets.contextdir}}"/usr/lib/samba - mv "${{targets.destdir}}"/usr/lib/samba/libdcerpc-samba4-private-samba.so "${{targets.contextdir}}"/usr/lib - mv "${{targets.destdir}}"/usr/lib/samba/libidmap-private-samba.so "${{targets.contextdir}}"/usr/lib - mv "${{targets.destdir}}"/usr/lib/samba/libnss-info-private-samba.so "${{targets.contextdir}}"/usr/lib + mv "${{targets.destdir}}"/usr/lib/samba/libdcerpc-samba4-private-samba.so "${{targets.contextdir}}"/usr/lib/samba + mv "${{targets.destdir}}"/usr/lib/samba/libidmap-private-samba.so "${{targets.contextdir}}"/usr/lib/samba + mv "${{targets.destdir}}"/usr/lib/samba/libnss-info-private-samba.so "${{targets.contextdir}}"/usr/lib/samba - name: winbind description: Samba user and group resolver diff --git a/samba/tinfo.patch b/samba/tinfo.patch index b02b4009579..37b246e41df 100644 --- a/samba/tinfo.patch +++ b/samba/tinfo.patch @@ -1,11 +1,11 @@ diff --git a/source3/utils/wscript_build b/source3/utils/wscript_build --- a/source3/utils/wscript_build +++ b/source3/utils/wscript_build -@@ -171,6 +171,7 @@ - regedit_hexedit.c regedit_list.c""", +@@ -163,6 +163,7 @@ deps=''' ncurses -+ tinfo menu ++ tinfo panel - form \ No newline at end of file + form + registry