Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Libsmb2 #73

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions libsmb2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Port Metadata
PORTNAME = libsmb2
PORTVERSION = #5.0.0

MAINTAINER = Ronnie Sahlberg
LICENSE = LGPLv2.1
SHORT_DESC = SMB2/3 userspace client

# This port uses the autotools scripts that are included with the distfiles.
PORT_BUILD = cmake

# Don't attempt to copy the target library, it will be in the inst dir already.
NOCOPY_TARGET = 1

# What files we need to download, and where from.
GIT_REPOSITORY = https://github.com/sahlberg/libsmb2.git
GIT_BRANCH = master
HDR_FULLDIR = libsmb2
TARGET = libsmb2.a
EXAMPLES_DIR = examples

# cmake setup work.
CMAKE_ARGS =
MAKE_TARGET = all install

include ${KOS_PORTS}/scripts/kos-ports.mk
6 changes: 6 additions & 0 deletions libsmb2/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Libsmb2 is a userspace client library for accessing SMB2/SMB3 shares on a
network.
It is high performance and fully async. It supports both zero-copy
for SMB READ/WRITE commands as well as compounded commands.

URL: https://github.com/sahlberg/libsmb2