Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2018 18:51:45 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461257 - head/dns/dnscap
Message-ID:  <201802081851.w18Ipjcl082322@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Feb  8 18:51:44 2018
New Revision: 461257
URL: https://svnweb.freebsd.org/changeset/ports/461257

Log:
  Use GitHub source instead of upstream-packaged tarball

Modified:
  head/dns/dnscap/Makefile
  head/dns/dnscap/distinfo

Modified: head/dns/dnscap/Makefile
==============================================================================
--- head/dns/dnscap/Makefile	Thu Feb  8 18:50:43 2018	(r461256)
+++ head/dns/dnscap/Makefile	Thu Feb  8 18:51:44 2018	(r461257)
@@ -3,10 +3,9 @@
 
 PORTNAME=	dnscap
 PORTVERSION=	1.8.0
+DISTVERSIONPREFIX=	v
 PORTEPOCH=	1
 CATEGORIES=	dns
-MASTER_SITES=	https://www.dns-oarc.net/files/dnscap/ \
-		LOCAL/sunpoet
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	DNS network traffic capture utility
@@ -20,14 +19,18 @@ OPTIONS_DEFAULT=THREADS
 CONFIGURE_ARGS=	--enable-shared --enable-static
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-USES=		libtool
+USES=		autoreconf libtool
 
+GH_ACCOUNT=	DNS-OARC
+GH_TUPLE=	DNS-OARC:pcap-thread:v3.1.0:pcap/src/pcap-thread
+USE_GITHUB=	yes
+
 THREADS_CONFIGURE_ENABLE=	threads
 
 post-patch-DOCS-off:
-	@${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.am
 
 post-patch-DOCS-on:
-	@${REINPLACE_CMD} -e '/^dist_doc_DATA = / s| LICENSE||' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/^dist_doc_DATA = / s| LICENSE||' ${WRKSRC}/Makefile.am
 
 .include <bsd.port.mk>

Modified: head/dns/dnscap/distinfo
==============================================================================
--- head/dns/dnscap/distinfo	Thu Feb  8 18:50:43 2018	(r461256)
+++ head/dns/dnscap/distinfo	Thu Feb  8 18:51:44 2018	(r461257)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1518092959
-SHA256 (dnscap-1.8.0.tar.gz) = 5440fecc1a3f98948207e23549afe0c102b45eda5cde2a2b80ed446d88457558
-SIZE (dnscap-1.8.0.tar.gz) = 534162
+TIMESTAMP = 1518095488
+SHA256 (DNS-OARC-dnscap-v1.8.0_GH0.tar.gz) = 388a157757e562b1318b306b31d98e8bfbf8815fdaead24e8476e75acc6de7b7
+SIZE (DNS-OARC-dnscap-v1.8.0_GH0.tar.gz) = 162001
+SHA256 (DNS-OARC-pcap-thread-v3.1.0_GH0.tar.gz) = 6bd9cffa9a5587e5e904d8b9b50a981f5ebbc4b3b68000dd1453005f97dc1483
+SIZE (DNS-OARC-pcap-thread-v3.1.0_GH0.tar.gz) = 105328



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802081851.w18Ipjcl082322>