Package: samba Version: 2:4.21.0+dfsg-1 Severity: wishlist Tags: patch X-Debbugs-Cc: sop...@offensive-security.com User: de...@kali.org Usertags: origin-kali
Dear Maintainers, The upstream Samba source now contains a port of the winexe functionality. The package winexe is used in Kali Linux and the build only requires a new build dependency. Please find attached the patch to build and create a new package winexe. Regards,
>From 4d79c26560af4c8cdcff9671b53fb24d28ec23e0 Mon Sep 17 00:00:00 2001 From: Sophie Brun <sop...@offensive-security.com> Date: Wed, 21 Aug 2024 14:51:47 +0200 Subject: [PATCH] Add package winexe --- debian/control | 7 +++++++ debian/winexe.install | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 debian/winexe.install diff --git a/debian/control b/debian/control index 745811b..ad3ca25 100644 --- a/debian/control +++ b/debian/control @@ -68,6 +68,7 @@ Build-Depends-Arch: python3-dnspython, python3-etcd, python3-markdown, + gcc-mingw-w64, # dependencies needed for selftest: # python3-testtools <!nocheck>, # lmdb-utils <!nocheck>, @@ -673,3 +674,9 @@ Description: LDB Python 3 bindings development files - transitional empty packag This package previously contained development files for python3-ldb. These files are not needed outside of samba build system. It is safe to remove this package. + +Package: winexe +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Remote Windows-command executor + It allows remote command execution on native Windows operating systems. diff --git a/debian/winexe.install b/debian/winexe.install new file mode 100644 index 0000000..03ebade --- /dev/null +++ b/debian/winexe.install @@ -0,0 +1,2 @@ +usr/bin/winexe +usr/share/man/man1/winexe.1 -- 2.45.2