From nobody Sun Sep 08 12:23:49 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X1pzT60fjz5Thj5; Sun, 08 Sep 2024 12:23:49 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X1pzT3t5zz53fF; Sun, 8 Sep 2024 12:23:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725798229; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mFHaUjAd2z9Ow1LRsBBvXKDj0blv/xId9U46q2HI3Y0=; b=D2UAsarWUMQ1yH458CT2AmSYg6sVa4A1Jq8KVvRT64erm9ARLUetwKCUTiAhTlgyTin6cS HVmPeG3S/jl9LK8JzfEvJE+FqD7DGAdRoibrFJKkkOrH/kDx5iwmTc2IYPV35Y+Afg/dgd 0XHucgunhezl4vBqAcunb5wwRS9Dw+Pr1W+GUD9GSTJalR0Ca1PJkwGcTgxzixPocTcYCl AZ98njvp+6jb/PMZG8BsUfUIFDymolhwfVvFTRCQr8zhlMaLoscExOgDPZHz3A6hMPDviF 5Dkl533d8HjZLcQruI33y2U58IOzOkE8lhkqiEhCLL30iTGE2fXnI26oEwRmSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725798229; a=rsa-sha256; cv=none; b=JbxNpczOoS1UxX3gFadqOZwtvZxDetrre1c9nNenXyjHRC7DeYH6i0tpwV5irVVhAr/G34 XIX7Wn7gPlHcHpIJHjDU4Kvq90/a2r3OeaSHVByZF/YVYdZlAa4240ksSQzM50w0CCSUxk kl90aAp3nEzdrIY1yA3bYa9Z1i47Ow5Tx9qBPEKkJejq83UwnJ1oxZ62JxDsmA3YzACM/m 2UCOeXY4FmZty1vNfjMU4vPB1tGZc+wk9BO5f+1x0EDfJucjLF9OJzXbi3V9dHSodPBZHA qIVFh1vCanJv5/3+ne2ydaJo/QdItQbK0rsHikNpGksLDjv6WZu7khGdqorb0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725798229; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mFHaUjAd2z9Ow1LRsBBvXKDj0blv/xId9U46q2HI3Y0=; b=gJXiawf5XzfXgCnbUg/PevIAI5XMm997HHXrLyF3g0LCIWrj/4xB0xLl17n8iKm8Eq2mhK vdrxKGyuScfrZxRva0iT50gN08gYRR4I/2faHWCEpIHrmxLmNkuuW6yEulhRctD3mv6ngK iXFdbgu77oJAbSbCd1peel0lh6VsdRnCBMYWAKjpWzqQZQh/PfCwWD5/X4FYhBsu0YO0O8 WeWz6JlxvHHB9udHS/Rjt2MAkznTCFpHdhusoYVLPG8fApMqgizxEV+OIwtf1Q9CmfrxpW 7HBkxdfVg5b1sX8GHcMKX427n/syalRMhfeps4v8x/EiOVvq2If+R3ZMfpt0gg== 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 4X1pzT3V9CzJkd; Sun, 8 Sep 2024 12:23:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 488CNnrE081451; Sun, 8 Sep 2024 12:23:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 488CNnsr081448; Sun, 8 Sep 2024 12:23:49 GMT (envelope-from git) Date: Sun, 8 Sep 2024 12:23:49 GMT Message-Id: <202409081223.488CNnsr081448@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rainer Hurling Subject: git: 517a36067bbe - main - net/boinctui: Add port: Fullscreen text-mode manager for BOINC client List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rhurlin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 517a36067bbe6dab38ace9c59a0ac86e4701d8c3 Auto-Submitted: auto-generated The branch main has been updated by rhurlin: URL: https://cgit.FreeBSD.org/ports/commit/?id=517a36067bbe6dab38ace9c59a0ac86e4701d8c3 commit 517a36067bbe6dab38ace9c59a0ac86e4701d8c3 Author: Älven AuthorDate: 2024-09-08 12:08:51 +0000 Commit: Rainer Hurling CommitDate: 2024-09-08 12:23:11 +0000 net/boinctui: Add port: Fullscreen text-mode manager for BOINC client PR: 281176 --- net/Makefile | 1 + net/boinctui/Makefile | 34 ++++++++++++++++++++++++++++++++++ net/boinctui/distinfo | 3 +++ net/boinctui/files/patch-Makefile.in | 30 ++++++++++++++++++++++++++++++ net/boinctui/files/patch-configure.in | 14 ++++++++++++++ net/boinctui/files/patch-src_net.cpp | 18 ++++++++++++++++++ net/boinctui/pkg-descr | 15 +++++++++++++++ net/boinctui/pkg-plist | 3 +++ 8 files changed, 118 insertions(+) diff --git a/net/Makefile b/net/Makefile index 3ee718b6a3da..9bf56ac69ce8 100644 --- a/net/Makefile +++ b/net/Makefile @@ -60,6 +60,7 @@ SUBDIR += bmon SUBDIR += boinc-client SUBDIR += boinc_curses + SUBDIR += boinctui SUBDIR += bosh-bootloader SUBDIR += bosh-cli SUBDIR += bounce diff --git a/net/boinctui/Makefile b/net/boinctui/Makefile new file mode 100644 index 000000000000..7a74ede07ffd --- /dev/null +++ b/net/boinctui/Makefile @@ -0,0 +1,34 @@ +PORTNAME= boinctui +DISTVERSION= 2.7.1 +CATEGORIES= net +MASTER_SITES= SF/${PORTNAME} +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= alster@vinterdalen.se +COMMENT= Fullscreen text-mode manager for BOINC client +WWW= https://sourceforge.net/projects/boinctui/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt + +LIB_DEPENDS= libexpat.so:textproc/expat2 + +USES= autoreconf gmake localbase ncurses + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-boinc-dir=/var/db/boinc + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +OPTIONS_DEFAULT= GNUTLS +OPTIONS_SINGLE= SSL +OPTIONS_SINGLE_SSL= GNUTLS OPENSSL + +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls +OPENSSL_USES= ssl +OPENSSL_CONFIGURE_ON= --without-gnutls + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include diff --git a/net/boinctui/distinfo b/net/boinctui/distinfo new file mode 100644 index 000000000000..1947c717c9a6 --- /dev/null +++ b/net/boinctui/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725122849 +SHA256 (boinctui_2.7.1.tar.gz) = 44b059a31d1dc4d7125a48bef6c201c08fda599ed22490cbb626880bbd0ccf66 +SIZE (boinctui_2.7.1.tar.gz) = 98119 diff --git a/net/boinctui/files/patch-Makefile.in b/net/boinctui/files/patch-Makefile.in new file mode 100644 index 000000000000..3836fa47d6da --- /dev/null +++ b/net/boinctui/files/patch-Makefile.in @@ -0,0 +1,30 @@ +Use INSTALL_DATA (mode 0644) to install changelog and man files + +--- Makefile.in.orig 2023-12-14 18:14:23 UTC ++++ Makefile.in +@@ -2,6 +2,7 @@ CPP = @CXX@ + + DEFS += -DVERSION=$(VERSION) @DEFS@ + CPP = @CXX@ ++INSTALL_DATA = install -m 0644 + INSTALL_PROGRAM = install + + SRCS = ncolorstring.cpp nhline.cpp nvline.cpp nscrollview.cpp nselectlist.cpp nview.cpp \ +@@ -48,7 +49,7 @@ install: installman + $(INSTALL_PROGRAM) -d $(DESTDIR)$(BINDIR) + $(INSTALL_PROGRAM) $(PACKAGE_TARNAME) $(DESTDIR)$(BINDIR) + $(INSTALL_PROGRAM) -d $(DESTDIR)$(DOCDIR) +- $(INSTALL_PROGRAM) changelog $(DESTDIR)$(DOCDIR) ++ $(INSTALL_DATA) changelog $(DESTDIR)$(DOCDIR) + + createobj: + @if ! [ -d "$(ODIR)" ] ; then echo "create $(ODIR)"; mkdir $(ODIR); fi +@@ -56,7 +57,7 @@ installman: + installman: + @echo "install man (boinctui.1) to " $(DESTDIR)@mandir@/man1 " directory" + mkdir -p $(DESTDIR)@mandir@/man1 +- install -m 0644 boinctui.1 $(DESTDIR)@mandir@/man1 ++ $(INSTALL_DATA) boinctui.1 $(DESTDIR)@mandir@/man1 + + #srctgz: clean + # @if ! [ -d "../$(PACKAGE_TARNAME)-$(VERSION)" ] ; then echo "create symlink ../$(PACKAGE_TARNAME)-$(VERSION)->$(notdir $(CURDIR))"; ln -n -s $(notdir $(CURDIR)) ../$(PACKAGE_TARNAME)-$(VERSION); fi diff --git a/net/boinctui/files/patch-configure.in b/net/boinctui/files/patch-configure.in new file mode 100644 index 000000000000..ea13ee11f939 --- /dev/null +++ b/net/boinctui/files/patch-configure.in @@ -0,0 +1,14 @@ +FreeBSD needs netinet/in.h with struct sockaddr_in for src/net.cpp +to be included explicitly. See man ip(4). + +--- configure.in.orig 2024-08-31 18:10:20 UTC ++++ configure.in +@@ -71,7 +71,7 @@ string.h stdlib.h stdio.h sys/stat.h unistd.h stdarg.h + [ \ + pthread.h \ + string.h stdlib.h stdio.h sys/stat.h unistd.h stdarg.h sys/ioctl.h arpa/inet.h \ +-locale.h malloc.h sys/socket.h netdb.h signal.h ctype.h \ ++locale.h malloc.h sys/socket.h netinet/in.h netdb.h signal.h ctype.h \ + algorithm string list vector queue stack sstream \ + expat.h \ + ] , , [AC_MSG_ERROR([Couldn't find some headers])] ) diff --git a/net/boinctui/files/patch-src_net.cpp b/net/boinctui/files/patch-src_net.cpp new file mode 100644 index 000000000000..416622375ce5 --- /dev/null +++ b/net/boinctui/files/patch-src_net.cpp @@ -0,0 +1,18 @@ +FreeBSD needs netinet/in.h with struct sockaddr_in for src/net.cpp +to be included explicitly. See man ip(4). + +--- src/net.cpp.orig 2023-12-14 18:14:23 UTC ++++ src/net.cpp +@@ -16,6 +16,7 @@ + // ============================================================================= + + #include ++#include + #include + #include + #include +@@ -139,4 +140,3 @@ char* TConnect::waitresult() //получить отв + // printf("'%s' \nlen=%d\n", answbuf, strlen(answbuf)); + return answbuf; + } +- diff --git a/net/boinctui/pkg-descr b/net/boinctui/pkg-descr new file mode 100644 index 000000000000..6ea024377e92 --- /dev/null +++ b/net/boinctui/pkg-descr @@ -0,0 +1,15 @@ +BOINC can be configured in many ways. And the monitoring of scientific +progress contributed to one's own machines is rewarding. For remote machines +or to avoid moving the hands of your keyboard, this package provides, all +for your UNIX command line: + +- Fullscreen curses-based text user interface +- Switch between several hosts running the BOINC client via a hot key +- View a host's task list (including each task's state) +- View the BOINC log file in a separate window +- Suspend/Resume/Abort control of all tasks +- Update/Suspend/Resume/Reset/No New Task/Allow New Task for projects +- Toggle activity state + (Always suspend/Always resume/Run based on preferences) +- Run benchmarks +- Manage BOINC client on remote hosts via boinc_gui RPC protocol diff --git a/net/boinctui/pkg-plist b/net/boinctui/pkg-plist new file mode 100644 index 000000000000..d0657da7d342 --- /dev/null +++ b/net/boinctui/pkg-plist @@ -0,0 +1,3 @@ +bin/boinctui +%%DOCSDIR%%/changelog +share/man/man1/boinctui.1.gz