From nobody Tue Apr 19 06:13:30 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 8A08111DDF83; Tue, 19 Apr 2022 06:13:30 +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 4KjD562PQPz3hK5; Tue, 19 Apr 2022 06:13:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650348810; 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=HdaJDKOJuYBsjcn2mWrW7fb9FWY6E6Ht4HkK1b7rmAc=; b=dVpYiWZMFGUJ5fDje5UpBx0Z1vXo/7SGj30SNpho3/KRlPOolRJD3U1QFCdBiCsYGF8NE4 hgDiDMrNdlGXoLJq5wXyTp/5aV8b/CQQHtFyR0958aGtMXHZ22jMcgpD+5GwTEg9MfClO2 0r1V4DUqR4ON42t5hLFT9OfUYR3L+wmUVFDiZQP2/GKiAZ0qXI4di7ZmduUhYajM552rJz xb804eOFvjwV+zwyq7cgDJs7jjYr0SOQAR7u1rpHr45PtYjdUQfP1cbpo5qW+mE1h1t7a1 O6NbJ0xhtpUHO8htUZUwPeWFQUiYa/V2Fcl9eQh3n1KRz/nocRWFPReLqbKciA== 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 2E75122098; Tue, 19 Apr 2022 06:13:30 +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 23J6DUST091978; Tue, 19 Apr 2022 06:13:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23J6DUHv091977; Tue, 19 Apr 2022 06:13:30 GMT (envelope-from git) Date: Tue, 19 Apr 2022 06:13:30 GMT Message-Id: <202204190613.23J6DUHv091977@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Yuri Victorovich Subject: git: ee6e908efd7e - 2022Q2 - 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/2022Q2 X-Git-Reftype: branch X-Git-Commit: ee6e908efd7ec2fcb09ad837b2fe151dbac27695 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650348810; 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=HdaJDKOJuYBsjcn2mWrW7fb9FWY6E6Ht4HkK1b7rmAc=; b=EEZSk+HDeu8h28QzFJ5rwBJskU5dHkNdHOCCiElEs7HXnUMHsbNJITLHo7VVGgnafKqzjb hxC1bB1AUiFfhuu1aMpGaumONiWoPedMYAC3+146FZl44d/LzLxh8cJXYOfWza9XdXAXnN Mq0bZhrSHh9fVWGVO0phPa9XztrzCrOYdz9M+aToknsffepEj5A5eAOoy1wHA1zwQOJfZy Z/6YGPfMkXfb002Y0Szh8gnlFDVQB3+ePdb3RJ1YwIrNf7gZwGo9t2gR3IyNpu8f6eN9/B uWFqV7JQvLGp+tU+srlpeVCno47hcbF4ZGkUlEeaXCLpxCJWUHb7hlHc8fztBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650348810; a=rsa-sha256; cv=none; b=Tn18/8RFTJ6bNump6jt9O48/7l9zXK1qNtZwGOU+pLplGKWfh4IJT1FtUTkpunt8x3w9qm f2+INpP3uW9Sk3eNjuMovHzBp5joO8avedH4PMl1zXFG8IOfaX5gSs8FgYKwGtYoVOhcAz N7MyAogBb6uv6cLrSH0Q0Cxr377oEkOS7lav5jIOifvxBh9WOcYv3Sw/YqIS2V13jhdBmM 2iiL7HPhHinSWySwOATYvVPaPf9yEctQTcVi4WiE6cvmwRcUh6QIvyXGpF9IE64qOhxytk jPNHxeWiUBYlt/OW0AYrFlq0iVKItf2stSLy3+YpgZzwICPAgzCj7vpFpE/6oA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q2 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee6e908efd7ec2fcb09ad837b2fe151dbac27695 commit ee6e908efd7ec2fcb09ad837b2fe151dbac27695 Author: Yuri Victorovich AuthorDate: 2022-04-19 00:53:29 +0000 Commit: Yuri Victorovich CommitDate: 2022-04-19 06:13:25 +0000 math/barvinok: Fix fetch by switching to git-based fetch Reported by: fallout (cherry picked from commit b532e502c29cae5261365937ed64783b238e73d9) --- 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