From owner-dev-commits-ports-all@freebsd.org Thu Sep 2 18:14:07 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F80C6637E7; Thu, 2 Sep 2021 18:14:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H0pwH2G85z3s9P; Thu, 2 Sep 2021 18:14:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 35FCC1DB64; Thu, 2 Sep 2021 18:14:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 182IE7fL056921; Thu, 2 Sep 2021 18:14:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 182IE78v056920; Thu, 2 Sep 2021 18:14:07 GMT (envelope-from git) Date: Thu, 2 Sep 2021 18:14:07 GMT Message-Id: <202109021814.182IE78v056920@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 2cec12a382ca - main - ftp/fineftp-server: New port: C++ minimal FTP server library MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2cec12a382cab25393dfb8ac288148dd0490964d Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2021 18:14:07 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2cec12a382cab25393dfb8ac288148dd0490964d commit 2cec12a382cab25393dfb8ac288148dd0490964d Author: Yuri Victorovich AuthorDate: 2021-09-02 17:41:29 +0000 Commit: Yuri Victorovich CommitDate: 2021-09-02 18:14:05 +0000 ftp/fineftp-server: New port: C++ minimal FTP server library --- ftp/Makefile | 1 + ftp/fineftp-server/Makefile | 23 +++++++++++++++++++++++ ftp/fineftp-server/distinfo | 3 +++ ftp/fineftp-server/pkg-descr | 15 +++++++++++++++ ftp/fineftp-server/pkg-plist | 8 ++++++++ 5 files changed, 50 insertions(+) diff --git a/ftp/Makefile b/ftp/Makefile index 73d4bf20066d..927c8e8f9344 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -14,6 +14,7 @@ SUBDIR += dmachine SUBDIR += fastdfs SUBDIR += filezilla + SUBDIR += fineftp-server SUBDIR += fmirror SUBDIR += fpc-libcurl SUBDIR += freebsd-ftpd diff --git a/ftp/fineftp-server/Makefile b/ftp/fineftp-server/Makefile new file mode 100644 index 000000000000..2191f0dcec08 --- /dev/null +++ b/ftp/fineftp-server/Makefile @@ -0,0 +1,23 @@ +PORTNAME= fineftp-server +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.13 +CATEGORIES= ftp + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ minimal FTP server library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= asio>0:net/asio +RUN_DEPENDS= asio>0:net/asio + +USES= cmake compiler:c++14-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= continental + +CMAKE_ON= BUILD_SHARED_LIBS + +.include diff --git a/ftp/fineftp-server/distinfo b/ftp/fineftp-server/distinfo new file mode 100644 index 000000000000..551c112faac6 --- /dev/null +++ b/ftp/fineftp-server/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1630603655 +SHA256 (continental-fineftp-server-v1.0.13_GH0.tar.gz) = 6aaf0748796ac474a2caa9382b9370deb668478e2fd7b583c45f7374fed5b5e2 +SIZE (continental-fineftp-server-v1.0.13_GH0.tar.gz) = 23842 diff --git a/ftp/fineftp-server/pkg-descr b/ftp/fineftp-server/pkg-descr new file mode 100644 index 000000000000..c38591adffe7 --- /dev/null +++ b/ftp/fineftp-server/pkg-descr @@ -0,0 +1,15 @@ +FineFTP is a minimal FTP server library for Windows and Unix flavors. + +You can easily embed this library into your own project in order to create an +embedded FTP Server. + +Features: +* FTP Passive mode (the only mode you need nowadays) +* Listing directories +* Uploading and downloading files +* Creating and removing files and directories +* User authentication (and anonymous user without authentication) +* Individual local home path for each user +* Access control on a per-user-basis + +WWW: https://github.com/continental/fineftp-server diff --git a/ftp/fineftp-server/pkg-plist b/ftp/fineftp-server/pkg-plist new file mode 100644 index 000000000000..6d39dcdd1b48 --- /dev/null +++ b/ftp/fineftp-server/pkg-plist @@ -0,0 +1,8 @@ +include/fineftp/permissions.h +include/fineftp/server.h +lib/cmake/fineftp/fineftpConfig.cmake +lib/cmake/fineftp/fineftpTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/fineftp/fineftpTargets.cmake +lib/libfineftp-server.so +lib/libfineftp-server.so.1 +lib/libfineftp-server.so.1.0.11