Skip to content

Commit

Permalink
Fix misplaced library location and update to samba 4.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaël Donval authored and gdonval committed Oct 9, 2024
1 parent e0f62c4 commit 096bca3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
17 changes: 9 additions & 8 deletions samba.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -30,6 +30,7 @@ environment:
- libtirpc-dev
- liburing-dev
- linux-pam-dev
- lmdb-dev
- ncurses-dev
- ncurses-terminfo
- ncurses-terminfo-base
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions samba/tinfo.patch
Original file line number Diff line number Diff line change
@@ -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
form
registry

0 comments on commit 096bca3

Please sign in to comment.