From owner-dev-commits-ports-all@freebsd.org Sat May 29 15:31:34 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 B23B7642A9E; Sat, 29 May 2021 15:31:34 +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 4Fsls24djpz3hlP; Sat, 29 May 2021 15:31:34 +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 87F3C4B85; Sat, 29 May 2021 15:31:34 +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 14TFVYTN005585; Sat, 29 May 2021 15:31:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14TFVYkv005584; Sat, 29 May 2021 15:31:34 GMT (envelope-from git) Date: Sat, 29 May 2021 15:31:34 GMT Message-Id: <202105291531.14TFVYkv005584@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 030fe4d66463 - main - net/arataga: improve the port prior to hooking up unit tests (+) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 030fe4d66463b6f7c638a87cd8c078b5f3df06eb 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: Sat, 29 May 2021 15:31:34 -0000 The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=030fe4d66463b6f7c638a87cd8c078b5f3df06eb commit 030fe4d66463b6f7c638a87cd8c078b5f3df06eb Author: Alexey Dokuchaev AuthorDate: 2021-05-29 15:29:32 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-05-29 15:29:41 +0000 net/arataga: improve the port prior to hooking up unit tests (+) - Move installation recipe to `files/makefile' where it belongs - Fix a typo (OBJ -> OBJS) and clean up `files/makefile' a bit - Improve wording in the port description (reduce tautology) --- net/arataga/Makefile | 5 +---- net/arataga/files/makefile | 13 +++++++------ net/arataga/pkg-descr | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/net/arataga/Makefile b/net/arataga/Makefile index 9faf5dfa4c85..237ce2aa02c6 100644 --- a/net/arataga/Makefile +++ b/net/arataga/Makefile @@ -53,10 +53,7 @@ post-patch: @${REINPLACE_CMD} -e '/#include /d ; \ /#include/s,args/,,' ${WRKSRC}/main.cpp -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - -do-install-DOCS-on: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR} diff --git a/net/arataga/files/makefile b/net/arataga/files/makefile index 33e54199307d..5a25314533f4 100644 --- a/net/arataga/files/makefile +++ b/net/arataga/files/makefile @@ -1,12 +1,8 @@ -LOCALBASE?= /usr/local CXXFLAGS+= -std=c++17 -Wall -Wextra CPPFLAGS+= -I. -I.. -I$(LOCALBASE)/include -DSPDLOG_FMT_EXTERNAL - LDFLAGS+= -pthread $(LOCALBASE)/lib/libso.$(SO5_LIBVER).so \ -L$(LOCALBASE)/lib -lfmt -lhttp_parser -CCACHE?= $(shell command -v ccache) - oess_OBJS= oess_2/defs/err_code.o \ oess_2/defs/ex.o \ oess_2/defs/quantity.o \ @@ -27,7 +23,7 @@ stats_OBJS= stats/auth/pub.o \ logging_OBJS= logging/stats_counters.o \ logging/wrap_logging.o -connection_handlers_OBJ=\ +connection_handlers_OBJS=\ acl_handler/connection_handler_ifaces.o \ acl_handler/handlers/protocol_detection.o \ acl_handler/handlers/data_transfer.o \ @@ -55,9 +51,11 @@ misc_OBJS= admin_http_entry/pub.o \ startup_manager/a_manager.o all_OBJS= $(oess_OBJS) $(stats_OBJS) config.o $(logging_OBJS) \ - user_list_auth_data.o $(connection_handlers_OBJ) \ + user_list_auth_data.o $(connection_handlers_OBJS) \ $(misc_OBJS) main.o +CCACHE?= $(shell command -v ccache) + %.o: %.cpp $(CCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $@ -c $< @@ -66,4 +64,7 @@ arataga: $(all_OBJS) all: arataga +install: arataga + $(BSD_INSTALL_PROGRAM) $^ $(DESTDIR)$(PREFIX)/bin + .PHONY: all install diff --git a/net/arataga/pkg-descr b/net/arataga/pkg-descr index 6b7afab4b905..da8e62e87a62 100644 --- a/net/arataga/pkg-descr +++ b/net/arataga/pkg-descr @@ -1,6 +1,6 @@ arataga is a high-performance, configurable, authenticating, throttling SOCKS5 and HTTP/1.1 proxy server. It was developed by Stiffstream for a customer who then abandoned the project. So as not to throw away the -result, the source code of arataga had been opensourced. +result, the source code of arataga had been released to the public. WWW: https://github.com/Stiffstream/arataga