pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/grpc grpc: having a distfile named v0.3.0.tar.gz i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/725d2142747f
branches:  trunk
changeset: 383286:725d2142747f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Aug 17 11:21:08 2022 +0000

description:
grpc: having a distfile named v0.3.0.tar.gz is not a good idea

diffstat:

 net/grpc/Makefile |  11 ++++++-----
 net/grpc/distinfo |   8 ++++----
 2 files changed, 10 insertions(+), 9 deletions(-)

diffs (48 lines):

diff -r 758d9f9b7ef7 -r 725d2142747f net/grpc/Makefile
--- a/net/grpc/Makefile Wed Aug 17 10:37:12 2022 +0000
+++ b/net/grpc/Makefile Wed Aug 17 11:21:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2022/07/18 07:30:01 adam Exp $
+# $NetBSD: Makefile,v 1.60 2022/08/17 11:21:08 tnn Exp $
 
 DISTNAME=      grpc-1.47.1
 CATEGORIES=    net
@@ -27,14 +27,15 @@
 
 # This should be included in the distfile, but it's not,
 # so CMakeFile.txt will try to download it.
-CENSUS_DIST=           v0.3.0.tar.gz
-SITES.${CENSUS_DIST}=  ${MASTER_SITE_GITHUB:=census-instrumentation/opencensus-proto/archive/}
+CENSUS_VER=            0.3.0
+CENSUS_DIST=           opencensus-proto-${CENSUS_VER}.tar.gz
+SITES.${CENSUS_DIST}=  -${MASTER_SITE_GITHUB:=census-instrumentation/opencensus-proto/archive/}/v${CENSUS_VER}.tar.gz
 
 DISTFILES=     ${DEFAULT_DISTFILES} ${CENSUS_DIST}
 
 post-extract:
-       cd ${WRKSRC}/third_party/opencensus-proto && \
-       ${LN} -s ${WRKDIR}/opencensus-proto-0.3.0/src src
+       ${RMDIR} ${WRKSRC}/third_party/opencensus-proto
+       ${LN} -s ${WRKDIR}/opencensus-proto-* ${WRKSRC}/third_party/opencensus-proto
 
 .include "../../mk/atomic64.mk"
 .include "../../benchmarks/google-benchmark/buildlink3.mk"
diff -r 758d9f9b7ef7 -r 725d2142747f net/grpc/distinfo
--- a/net/grpc/distinfo Wed Aug 17 10:37:12 2022 +0000
+++ b/net/grpc/distinfo Wed Aug 17 11:21:08 2022 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.60 2022/07/18 07:30:01 adam Exp $
+$NetBSD: distinfo,v 1.61 2022/08/17 11:21:08 tnn Exp $
 
 BLAKE2s (grpc-1.47.1.tar.gz) = 22c8f6e746a5ba5e1c1bc228599ecfb82382c9e06c6bb20036feb66ab0649f51
 SHA512 (grpc-1.47.1.tar.gz) = 4b7affab165137f8c9453cd162b9862227901ea86de77eb57489663e009a077c581c71104dc8e3910618c7ec786836243d4ad80aa52c0912c951881cba5bc70a
 Size (grpc-1.47.1.tar.gz) = 8198148 bytes
-BLAKE2s (v0.3.0.tar.gz) = be3ce863226f4aa422d9faa997fe29f9bb1743c0e804af3c5fad3c170e60ba42
-SHA512 (v0.3.0.tar.gz) = 39231a495dfdccfc8267d1e6af2ac624feea611a8691c10ec570de2194b352e4a9c3b0ce1606414fb98e5d77c66873bed4a9e56512efa12b267b8a91e0c5851e
-Size (v0.3.0.tar.gz) = 163404 bytes
+BLAKE2s (opencensus-proto-0.3.0.tar.gz) = be3ce863226f4aa422d9faa997fe29f9bb1743c0e804af3c5fad3c170e60ba42
+SHA512 (opencensus-proto-0.3.0.tar.gz) = 39231a495dfdccfc8267d1e6af2ac624feea611a8691c10ec570de2194b352e4a9c3b0ce1606414fb98e5d77c66873bed4a9e56512efa12b267b8a91e0c5851e
+Size (opencensus-proto-0.3.0.tar.gz) = 163404 bytes
 SHA1 (patch-CMakeLists.txt) = e3ec7dd3fdc01ac7b7afaa8abdac0dfb47bb5317
 SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = a9d2f116c941d1ed23b18f25cf4fb638ed004181
 SHA1 (patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc) = 0aa7fcadae98d1dd5229f0a695cffc1e9c1e8164



Home | Main Index | Thread Index | Old Index