aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-11-08 20:56:00 +0800
committermat <mat@FreeBSD.org>2016-11-08 20:56:00 +0800
commitca957546c2a8d21d46d312462781f776a55d3bb6 (patch)
tree9d12eb77a21f4c98d9836bbcc31894350b044605
parent58eab08dd9c02f63b77b38c62cbed533e5067fa6 (diff)
downloadfreebsd-ports-gnome-ca957546c2a8d21d46d312462781f776a55d3bb6.tar.gz
freebsd-ports-gnome-ca957546c2a8d21d46d312462781f776a55d3bb6.tar.zst
freebsd-ports-gnome-ca957546c2a8d21d46d312462781f776a55d3bb6.zip
Fix staging violations.
While there, fix COPYTREE_SHARE usage, github usage, and make it more into what a port should look like. Reported by: qat Sponsored by: Absolight
-rw-r--r--net/tcptestsuite/Makefile13
-rw-r--r--net/tcptestsuite/distinfo6
2 files changed, 7 insertions, 12 deletions
diff --git a/net/tcptestsuite/Makefile b/net/tcptestsuite/Makefile
index f6738ac8dcea..3baf418d2211 100644
--- a/net/tcptestsuite/Makefile
+++ b/net/tcptestsuite/Makefile
@@ -3,7 +3,6 @@
PORTNAME= tcptestsuite
PORTVERSION= 0.0.2
CATEGORIES= net ipv6
-DISTNAME= ${PORTNAME}-dcf5c31
MAINTAINER= gnn@freebsd.org
COMMENT= Network stack test suite
@@ -17,16 +16,12 @@ GH_ACCOUNT= freebsd-net
GH_PROJECT= tcp-testsuite
GH_TAGNAME= dcf5c31
-do-build:
- echo "built"
+NO_ARCH= yes
+NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/run-all-tests ${STAGEDIR}${PREFIX}/bin
- ${MKDIR} ${STAGEDIR}${PREFIX}/share/tcp-testsuite
-.for f in snd-syn socket-api rcv-icmp snippets state-event-engine
- ${MKDIR} ${STAGEDIR}${PREFIX}/share/tcp-testsuite/${f}
- @(cd ${WRKSRC}/${f} && \
- ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${f})
-.endfor
+ (cd ${WRKSRC} && \
+ ${COPYTREE_SHARE} "snd-syn socket-api rcv-icmp snippets state-event-engine" ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>
diff --git a/net/tcptestsuite/distinfo b/net/tcptestsuite/distinfo
index 6074dbb7da4e..30b1dfd451f8 100644
--- a/net/tcptestsuite/distinfo
+++ b/net/tcptestsuite/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1478270735
-SHA256 (tcptestsuite-dcf5c31_GH0.tar.gz) = f3ed3ef625b1dca72ff4676f1687d290a4158329cbd57f50f7a35adf4a68d017
-SIZE (tcptestsuite-dcf5c31_GH0.tar.gz) = 51319
+TIMESTAMP = 1478609592
+SHA256 (freebsd-net-tcp-testsuite-0.0.2-dcf5c31_GH0.tar.gz) = f3ed3ef625b1dca72ff4676f1687d290a4158329cbd57f50f7a35adf4a68d017
+SIZE (freebsd-net-tcp-testsuite-0.0.2-dcf5c31_GH0.tar.gz) = 51319