From nobody Wed Jul 27 21:54:13 2022 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 4LtSGt0v1sz4XqXZ; Wed, 27 Jul 2022 21:54:14 +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 4LtSGt0GxXz3c4D; Wed, 27 Jul 2022 21:54:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658958854; 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=HO5TvrzNoyW2NiuPvTNotFG/GFGbd/e+vFcz9bIjt+w=; b=KU/YV7FRk8bqCImAkzVQr+Wx0Z8k958bfJ0zjbn+3zcFCPPA+u/YHByaVFR2MtR6xP9f21 siAfMpgDY5VhqVajB1AJD0SL4xTkfL/pCEUoPM08M7heE5fdewyNMMkGgar66rJBXr2hZE ydPzrVvj9J1vqLbygTnrMiKO4G8vp/tRycxNF8VsrScLCSAsMSxYJMbkfzfaIp/fs4oLBm DFAwXWoHUKCecqlrApEL2y+op2jKrTRTCgJ3NFb+hcPgSBGIltT+BuRUS1ovycWAhKzHgM 1I2vTAFVdU4k8CPDsCJpZCTQCwq24I09HweM79M/IfMChW1QeiT6qiaTD4WJsg== 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 4LtSGs6Q58zXl5; Wed, 27 Jul 2022 21:54:13 +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 26RLsDX4075781; Wed, 27 Jul 2022 21:54:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26RLsDSo075780; Wed, 27 Jul 2022 21:54:13 GMT (envelope-from git) Date: Wed, 27 Jul 2022 21:54:13 GMT Message-Id: <202207272154.26RLsDSo075780@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Larry Rosenman Subject: git: 4668af656243 - main - net/boinc-client: upgrade to 7.20.2 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ler X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4668af6562433fc42f29d30f2dd02317f49ee6ad Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658958854; 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=HO5TvrzNoyW2NiuPvTNotFG/GFGbd/e+vFcz9bIjt+w=; b=PxpjzLEWxgnZS0Lcv6uYzyGbv9N4xESa6Vmg7IuQvaPlZugpa4u3HsTYQ4S5kX8DiTPHvY wIJ9A8fDDoTFsGrHrrseeAsihSvNzM4x8KHCUGjnjMmZCxf6TJyAYu5XQdxMDai+reLvE1 NzKf4fCOhDkFCFtdlruxAfHKuLOKxImj9EZDtoRAtPNF3X36F69YmyOyrZ9IPL5jM5yt9a 83pZfztp7Ik7yJWZduBBcD5onv8wTUBL21HwLrV/dyJidReRLHMprmhGAI12S4Ga4nc3W0 qKajnWFAuICJtWsAxROzXNVdOw5vBJoTiVS4EwGSbYqH8Y+4yDCLfOvqYUQPvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658958854; a=rsa-sha256; cv=none; b=KAk7ebsMlGT+mb82PgP23tAqnGfq4iVKemsvk1aMN8mBNXsP4Ya7nQrK5qZWg8bPCogLig akRY29iw17Xe6/5JpyBAvSZCecg4NToVqcpKmnc4ZY/7VYXzESVXGgWROYuxnMXQCbj5T9 O5ZcHMv2J0Rt7B0dTGNDjpdq8FvYN0crc6SXsYPaHNPqjRGSZM5Y/kwYLrgmV+ofMVsfH5 E47/mFt/vh+ZAYOV7gf9Aa+Snq1mZ5do15E5ii5GOfJ5aJs/zXeG+cH5ywDysiMuXcKp8W kCHh2RqEf9vL9PZJ3YlQB+NaXALgBXXPzxz8nkMEDnny5UD2juee3mVCeCwYyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ler: URL: https://cgit.FreeBSD.org/ports/commit/?id=4668af6562433fc42f29d30f2dd02317f49ee6ad commit 4668af6562433fc42f29d30f2dd02317f49ee6ad Author: Larry Rosenman AuthorDate: 2022-07-27 21:52:01 +0000 Commit: Larry Rosenman CommitDate: 2022-07-27 21:54:04 +0000 net/boinc-client: upgrade to 7.20.2 notified by: portscout --- net/boinc-client/Makefile | 5 +-- net/boinc-client/distinfo | 6 +-- .../files/patch-client_hostinfo__unix.cpp | 14 +++---- .../files/patch-client_mac__address.cpp | 46 ---------------------- net/boinc-client/pkg-plist | 9 ++++- 5 files changed, 18 insertions(+), 62 deletions(-) diff --git a/net/boinc-client/Makefile b/net/boinc-client/Makefile index 8b344a04c837..e777f1b64968 100644 --- a/net/boinc-client/Makefile +++ b/net/boinc-client/Makefile @@ -1,7 +1,6 @@ PORTNAME= boinc-client -PORTVERSION= 7.8.6 -DISTVERSIONPREFIX= client_release/7.8/ -PORTREVISION= 10 +PORTVERSION= 7.20.2 +DISTVERSIONPREFIX= client_release/7.20/ CATEGORIES= net MAINTAINER= ler@FreeBSD.org diff --git a/net/boinc-client/distinfo b/net/boinc-client/distinfo index f15265ea3965..b2440de35137 100644 --- a/net/boinc-client/distinfo +++ b/net/boinc-client/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1516015415 -SHA256 (BOINC-boinc-client_release-7.8-7.8.6_GH0.tar.gz) = ed5f3dcdc8d1cc5277529afb701377e77d1ff89711368a7456553bf249940bad -SIZE (BOINC-boinc-client_release-7.8-7.8.6_GH0.tar.gz) = 52037690 +TIMESTAMP = 1658954348 +SHA256 (BOINC-boinc-client_release-7.20-7.20.2_GH0.tar.gz) = e577072b06f590d3230c25c94b221dba528b0938681e645bbd870778f8958077 +SIZE (BOINC-boinc-client_release-7.20-7.20.2_GH0.tar.gz) = 46555666 diff --git a/net/boinc-client/files/patch-client_hostinfo__unix.cpp b/net/boinc-client/files/patch-client_hostinfo__unix.cpp index f9ef1cf4f67b..4f2165ae8798 100644 --- a/net/boinc-client/files/patch-client_hostinfo__unix.cpp +++ b/net/boinc-client/files/patch-client_hostinfo__unix.cpp @@ -1,13 +1,11 @@ ---- client/hostinfo_unix.cpp.orig 2018-01-14 10:07:52 UTC +--- client/hostinfo_unix.cpp.orig 2022-07-27 21:28:09 UTC +++ client/hostinfo_unix.cpp -@@ -164,7 +164,9 @@ extern "C" { +@@ -177,7 +177,7 @@ extern "C" { // The following is intended to be true both on Linux // and Debian GNU/kFreeBSD (see trac #521) // --#define LINUX_LIKE_SYSTEM (defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(__HAIKU__) -+#if (defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) || defined (__freebsd__)) && !defined(__HAIKU__) -+#define LINUX_LIKE_SYSTEM 1 -+#endif +-#if (defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(__HAIKU__) ++#if (defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) || defined(__freebsd__)) && !defined(__HAIKU__) + #define LINUX_LIKE_SYSTEM 1 + #endif - // Returns the offset between LOCAL STANDARD TIME and UTC. - // LOCAL_STANDARD_TIME = UTC_TIME + get_timezone(). diff --git a/net/boinc-client/files/patch-client_mac__address.cpp b/net/boinc-client/files/patch-client_mac__address.cpp deleted file mode 100644 index d87206a48bb5..000000000000 --- a/net/boinc-client/files/patch-client_mac__address.cpp +++ /dev/null @@ -1,46 +0,0 @@ ---- client/mac_address.cpp.orig 2018-01-14 10:07:52 UTC -+++ client/mac_address.cpp -@@ -67,6 +67,10 @@ - #ifdef HAVE_NETINET_ETHER_H - #include - #endif -+#if defined(__FreeBSD__) -+#include -+#include -+#endif - - #include "mac_address.h" - -@@ -262,10 +266,32 @@ int get_mac_address(char* address) { - return -1; - } - hw_addr = (struct ether_addr *)&(item->lifr_lifru.lifru_enaddr); -+#elif defined(__FreeBSD__) -+ struct ifaddrs *ifap, *ifaptr; -+ unsigned char *ptr; -+ -+ if (getifaddrs(&ifap) == 0) { -+ for(ifaptr = ifap; ifaptr != NULL; ifaptr = (ifaptr)->ifa_next) { -+ if (!strcmp((ifaptr)->ifa_name, item->ifr_name) && (((ifaptr)->ifa_addr)->sa_family == AF_LINK)) { -+ ptr = (unsigned char *)LLADDR((struct sockaddr_dl *)(ifaptr)->ifa_addr); -+ hw_addr = (struct ether_addr *)ptr; -+ break; -+ } -+ } -+ } else { -+ return -1; -+ } -+#else -+ return -1; - #endif - strcpy(address, ether_ntoa(hw_addr)); -+#if defined(__FreeBSD__) -+ freeifaddrs(ifap); -+#endif - #ifdef HAVE_STRUCT_LIFCONF - if (strstr(item->lifr_name, "eth")) break; -+#elif defined(__FreeBSD__) -+ break; - #else - if (strstr(item->ifr_name, "eth")) break; - #endif diff --git a/net/boinc-client/pkg-plist b/net/boinc-client/pkg-plist index 450d5d90c067..30fbe6677d21 100644 --- a/net/boinc-client/pkg-plist +++ b/net/boinc-client/pkg-plist @@ -36,6 +36,7 @@ include/boinc/notice.h include/boinc/opencl_boinc.h include/boinc/parse.h include/boinc/prefs.h +include/boinc/proc_control.h include/boinc/procinfo.h include/boinc/project_specific_defines.h include/boinc/proxy_info.h @@ -58,12 +59,16 @@ lib/libboinc.a lib/libboinc_api.a lib/libboinc_api.so lib/libboinc_api.so.7 -lib/libboinc_api.so.7.8.6 +lib/libboinc_api.so.7.20.2 lib/libboinc_crypt.a lib/libboinc_opencl.a lib/libboinc_opencl.so lib/libboinc_opencl.so.7 -lib/libboinc_opencl.so.7.8.6 +lib/libboinc_opencl.so.7.20.2 +libdata/pkgconfig/libboinc.pc +libdata/pkgconfig/libboinc_api.pc +libdata/pkgconfig/libboinc_crypt.pc +libdata/pkgconfig/libboinc_opencl.pc %%X11%%lib/libboinc_graphics2.a %%X11%%lib/libboinc_graphics2.so %%X11%%lib/libboinc_graphics2.so.7