aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/port-index-uniquifier
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2016-10-10 23:37:42 +0000
committerColin Percival <cperciva@FreeBSD.org>2016-10-10 23:37:42 +0000
commit2f25c41ccf4adaafc27ebd9d4ab3752b06528341 (patch)
treed80aad7c3e6e99ef314137b6869cb560a0a18b1d /ports-mgmt/port-index-uniquifier
parent2de3d3ccaedfb55611913380a0783e0d51dd3450 (diff)
downloadports-2f25c41ccf4adaafc27ebd9d4ab3752b06528341.tar.gz
ports-2f25c41ccf4adaafc27ebd9d4ab3752b06528341.zip
Add port-index-uniquifier, which is a dummy port taking its version number
from ${OSVERSION}. This should work around a bug in portsnap whereby the "Fetching N metadata files" step will fail if the identical INDEX files are generated for different major FreeBSD versions.
Notes
Notes: svn path=/head/; revision=423733
Diffstat (limited to 'ports-mgmt/port-index-uniquifier')
-rw-r--r--ports-mgmt/port-index-uniquifier/Makefile17
-rw-r--r--ports-mgmt/port-index-uniquifier/pkg-descr3
2 files changed, 20 insertions, 0 deletions
diff --git a/ports-mgmt/port-index-uniquifier/Makefile b/ports-mgmt/port-index-uniquifier/Makefile
new file mode 100644
index 000000000000..075e9846c44b
--- /dev/null
+++ b/ports-mgmt/port-index-uniquifier/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= port-index-uniquifier
+PORTVERSION= ${OSVERSION}
+CATEGORIES= ports-mgmt
+MASTER_SITES= # none
+DISTFILES= # none
+EXTRACT_ONLY= # none
+
+MAINTAINER= cperciva@FreeBSD.org
+COMMENT= Dummy port to ensure major versions have different INDEX files
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+NO_INSTALL= yes
+
+.include <bsd.port.mk>
diff --git a/ports-mgmt/port-index-uniquifier/pkg-descr b/ports-mgmt/port-index-uniquifier/pkg-descr
new file mode 100644
index 000000000000..bd6691800358
--- /dev/null
+++ b/ports-mgmt/port-index-uniquifier/pkg-descr
@@ -0,0 +1,3 @@
+This is a dummy port which takes its version number from ${OSVERSION}, in
+order to work around a bug in portsnap triggered by having identical INDEX
+files on different major versions.