From owner-dev-commits-ports-all@freebsd.org Wed Apr 7 02:14:55 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 0AA555C587F; Wed, 7 Apr 2021 02:14:55 +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 4FFSdp6wRTz3M6f; Wed, 7 Apr 2021 02:14:54 +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 DBD2F16BE0; Wed, 7 Apr 2021 02:14:54 +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 1372EsFZ054926; Wed, 7 Apr 2021 02:14:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1372Es09054925; Wed, 7 Apr 2021 02:14:54 GMT (envelope-from git) Date: Wed, 7 Apr 2021 02:14:54 GMT Message-Id: <202104070214.1372Es09054925@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Neel Chauhan Subject: git: f9f6f82671ff - main - New port: net/astron: Server Technology for Realtime Object Networking MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f9f6f82671ff7ec69b5416c7f92abb4b9b44f7f7 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: Wed, 07 Apr 2021 02:14:55 -0000 The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9f6f82671ff7ec69b5416c7f92abb4b9b44f7f7 commit f9f6f82671ff7ec69b5416c7f92abb4b9b44f7f7 Author: Neel Chauhan AuthorDate: 2021-04-07 02:14:04 +0000 Commit: Neel Chauhan CommitDate: 2021-04-07 02:14:04 +0000 New port: net/astron: Server Technology for Realtime Object Networking Astron is an open-source, distributed server suite particularly well-suited for powering MMO games. The design is inspired by a similar unrelated project developed at the Disney Interactive Media Group, and used in-house from 2001 until 2013. The suite consists of many components, which handle separate tasks in order to distribute the workload of managing a multi-sharded game/application environment with many objects and clients. WWW: https://astron.github.io/astron --- net/Makefile | 1 + net/astron/Makefile | 33 +++++++++++++++++++++++++++++++++ net/astron/distinfo | 3 +++ net/astron/files/patch-CMakeLists.txt | 11 +++++++++++ net/astron/pkg-descr | 10 ++++++++++ 5 files changed, 58 insertions(+) diff --git a/net/Makefile b/net/Makefile index df4624a5bc91..65f8d2893813 100644 --- a/net/Makefile +++ b/net/Makefile @@ -37,6 +37,7 @@ SUBDIR += asterisk13 SUBDIR += asterisk16 SUBDIR += asterisk18 + SUBDIR += astron SUBDIR += avahi SUBDIR += avahi-app SUBDIR += avahi-autoipd diff --git a/net/astron/Makefile b/net/astron/Makefile new file mode 100644 index 000000000000..6a24fa6867cc --- /dev/null +++ b/net/astron/Makefile @@ -0,0 +1,33 @@ +PORTNAME= astron +PORTVERSION= 0.0.20200521 +CATEGORIES= net + +MAINTAINER= nc@FreeBSD.org +COMMENT= Server Technology for Realtime Object Networking + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKDIR}/LICENSE.md + +LIB_DEPENDS= libuv.so:devel/libuv \ + libyaml-cpp.so:devel/yaml-cpp + +USES= cmake +USE_GITHUB= yes +GH_ACCOUNT= Astron +GH_PROJECT= ${GH_ACCOUNT} +GH_TAGNAME= c8ba982 + +PLIST_FILES= bin/astrond + +OPTIONS_DEFINE= SOCI +OPTIONS_DEFAULT= SOCI + +SOCI_DESC= Database support via Soci +SOCI_LIB_DEPENDS= libsoci_core.so:databases/soci + +.if !empty(VARIABLE:MSOCI) +CMAKE_ARGS+= -DSOCI_FOUND=NO +.endif + +.include + diff --git a/net/astron/distinfo b/net/astron/distinfo new file mode 100644 index 000000000000..120d5843c576 --- /dev/null +++ b/net/astron/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1617748994 +SHA256 (Astron-Astron-0.0.20200521-c8ba982_GH0.tar.gz) = 7764536e01c3b91769410f1758fcb3b4f3766cb148804e8b4760a785e01c9b96 +SIZE (Astron-Astron-0.0.20200521-c8ba982_GH0.tar.gz) = 333009 diff --git a/net/astron/files/patch-CMakeLists.txt b/net/astron/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..dc67f43c69fa --- /dev/null +++ b/net/astron/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2021-04-06 22:45:16 UTC ++++ CMakeLists.txt +@@ -92,7 +92,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") ### Windows + list(APPEND EXTRA_LIBS wsock32 ws2_32) + endif() + +-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") ### Linux requires pthreads ++if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") ### Linux requires pthreads + list(APPEND EXTRA_LIBS pthread rt) + endif() + diff --git a/net/astron/pkg-descr b/net/astron/pkg-descr new file mode 100644 index 000000000000..0d9d3f9f3b36 --- /dev/null +++ b/net/astron/pkg-descr @@ -0,0 +1,10 @@ +Astron is an open-source, distributed server suite particularly well-suited +for powering MMO games. The design is inspired by a similar unrelated project +developed at the Disney Interactive Media Group, and used in-house from 2001 +until 2013. + +The suite consists of many components, which handle separate tasks in order +to distribute the workload of managing a multi-sharded game/application +environment with many objects and clients. + +WWW: https://astron.github.io/astron