From nobody Tue Apr 19 00:59:44 2022 X-Original-To: dev-commits-ports-all@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 04F4311E12AD; Tue, 19 Apr 2022 00:59:45 +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 4Kj57461Zsz4XRw; Tue, 19 Apr 2022 00:59:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650329984; 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=wzc/a3BE7hphyhMxKPlWNb7T/fgPLMikXxCB382PdIQ=; b=u4BaS4T3s8p2l5589eahWZVQDA8bx/o8/KuGauzT1HskZi+o97eX6lx64cabI/ZRizPfuA pmPjjFP8pi2N1E4GgKQRiemihT0lyjkDx59FhkpZTr/McLtdZoBbDC1WJ1v4VX9puSXWxN JFOv+Zeqq/ypZnHL5zU+P9iZY8gXZ9s9+U6jt0Kqttvm+MbkDeFQO8bELebKSk7mMMzzyL v5+sSbYH50Zudp3f0EzMEeIfIqZByssiOOxlaOGpjJ999FUOEIELfpcLr0C3WiHOmk6mY2 kg1HngJUj9Fih7lMpB4+yANyiBHQ58pAwzxz/2IPUHwNRQMjgDvngZKGj2NjXQ== 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 A2ECF1D90D; Tue, 19 Apr 2022 00:59:44 +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 23J0xipd060615; Tue, 19 Apr 2022 00:59:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23J0xiJ7060614; Tue, 19 Apr 2022 00:59:44 GMT (envelope-from git) Date: Tue, 19 Apr 2022 00:59:44 GMT Message-Id: <202204190059.23J0xiJ7060614@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: b532e502c29c - main - math/barvinok: Fix fetch by switching to git-based fetch List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org 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: b532e502c29cae5261365937ed64783b238e73d9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650329984; 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=wzc/a3BE7hphyhMxKPlWNb7T/fgPLMikXxCB382PdIQ=; b=Bjcu2MhFUOpvGwAFAWklRB3VFA+UB8HjfL2z2cbihB2EqwI9h/VRDdXscYQDzJGx5qV0sw eDTxGoSeCt8Z346b5MMRKQHIYOqJUehzuN4OEfGPs/Ca1sEV02HWg5UC/052EgtLDyiTdT NiUlpjCcTdp2+ldbhesl2YiW6klGvbTYujyCP5kO7GcfW0NBG41aaC3WbPgbsTpSI4COW8 OViUqEDsihAWhCN/pOIv+91t5FDmZSpFqim4Iwk5J4ohtkEAAVYosZUldIGmK/o9aSEcfm SCue3oDE6Y6ZdPQJ3pevyNDUkBMZ3kXuVMmHM30Ze5DjWbs8PnQdNADpfXc3/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650329984; a=rsa-sha256; cv=none; b=k1fNHFV7beADdfW2GKUVdPLdvGzBsJvaaAfyYjTAkQdHSODWE6GkU/qKcHIj90ZNG6Bh1p 947W0CyiioGHwoy3q3gTpLMJGEim8SuUMGac1ZZlYp+mmunS1u9dilJroGL9r0nIFKWco9 XikNyz8aFa3sAc8BdbRaDdZnRZYsZ048mjfDm9bvoLojHQ5tNrtLi2asBOPcduuFvfgaMR TsSrd8Z7a2Os52QAeH9/z6wjgVCAF6BoKDww3iYjT1bDJQrF6XmBeNGIRPmJDs5GzJXjDV iEK9XlvWOQmVuEwtmXmiQFksNakZpjkwz1EARUiwn7tXIkC9FlC07HQXDO/VRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b532e502c29cae5261365937ed64783b238e73d9 commit b532e502c29cae5261365937ed64783b238e73d9 Author: Yuri Victorovich AuthorDate: 2022-04-19 00:53:29 +0000 Commit: Yuri Victorovich CommitDate: 2022-04-19 00:59:40 +0000 math/barvinok: Fix fetch by switching to git-based fetch Reported by: fallout --- math/barvinok/Makefile | 20 ++++++++++++++++++-- math/barvinok/distinfo | 6 +++--- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/math/barvinok/Makefile b/math/barvinok/Makefile index aa203ed3f13f..489de7d63f7e 100644 --- a/math/barvinok/Makefile +++ b/math/barvinok/Makefile @@ -2,20 +2,21 @@ PORTNAME= barvinok DISTVERSION= 0.41.5 PORTREVISION= 1 CATEGORIES= math -MASTER_SITES= http://barvinok.gforge.inria.fr/ +#MASTER_SITES= http://barvinok.gforge.inria.fr/ # unavailable as of April 2022 MAINTAINER= yuri@FreeBSD.org COMMENT= Library for counting the number of integer points in polytopes LICENSE= GPLv2 +FETCH_DEPENDS= git:devel/git LIB_DEPENDS= libglpk.so:math/glpk \ libgmp.so:math/gmp \ libisl.so:devel/isl \ libntl.so:math/ntl \ libpolylibgmp.so:math/polylib -USES= compiler:c11 gmake libtool localbase:ldflags pkgconfig +USES= autoreconf compiler:c11 gmake libtool localbase:ldflags pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --enable-shared --enable-shared-barvinok \ --with-gmp=system --with-polylib=system --with-isl=system @@ -23,4 +24,19 @@ USE_LDCONFIG= yes INSTALL_TARGET= install-strip +GIT_URL= https://repo.or.cz/barvinok.git +GIT_HASH= c58bec4907e26b9f91a734cf96c18615733ed565 + +do-fetch: + @if [ "${FORCE_FETCH_ALL}" = "true" ] || ! [ -f "${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}" ]; then \ + ${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \ + cd ${DISTDIR}/${DIST_SUBDIR} && \ + git clone -q ${GIT_URL} ${PORTNAME}-${DISTVERSIONFULL} && \ + (cd ${PORTNAME}-${DISTVERSIONFULL} && git reset -q --hard ${GIT_HASH} && ${RM} -r .git) && \ + ${FIND} ${PORTNAME}-${DISTVERSIONFULL} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \ + ${FIND} ${PORTNAME}-${DISTVERSIONFULL} -print0 | LC_ALL=C ${SORT} -z | \ + ${TAR} czf ${PORTNAME}-${DISTVERSIONFULL}${EXTRACT_SUFX} --format=bsdtar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T - && \ + ${RM} -r ${PORTNAME}-${DISTVERSIONFULL}; \ + fi + .include diff --git a/math/barvinok/distinfo b/math/barvinok/distinfo index f9eec62fe639..76d9df691af1 100644 --- a/math/barvinok/distinfo +++ b/math/barvinok/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620536385 -SHA256 (barvinok-0.41.5.tar.gz) = 6834ed7588fcc60f1d96743cf6e4c23c3174a0cdd72c128e1d0d9714957145c0 -SIZE (barvinok-0.41.5.tar.gz) = 6275461 +TIMESTAMP = 1650328299 +SHA256 (barvinok-0.41.5.tar.gz) = 41b1cd9346b042b7e24aa8e14e65cd08765343940594c08f3c6894442312f860 +SIZE (barvinok-0.41.5.tar.gz) = 953626