Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2016 23:37:43 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423733 - in head/ports-mgmt: . port-index-uniquifier
Message-ID:  <201610102337.u9ANbhvQ029445@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Mon Oct 10 23:37:42 2016
New Revision: 423733
URL: https://svnweb.freebsd.org/changeset/ports/423733

Log:
  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.

Added:
  head/ports-mgmt/port-index-uniquifier/
  head/ports-mgmt/port-index-uniquifier/Makefile   (contents, props changed)
  head/ports-mgmt/port-index-uniquifier/pkg-descr   (contents, props changed)
Modified:
  head/ports-mgmt/Makefile

Modified: head/ports-mgmt/Makefile
==============================================================================
--- head/ports-mgmt/Makefile	Mon Oct 10 23:27:44 2016	(r423732)
+++ head/ports-mgmt/Makefile	Mon Oct 10 23:37:42 2016	(r423733)
@@ -39,6 +39,7 @@
     SUBDIR += pkgcompare
     SUBDIR += pkgs_which
     SUBDIR += port-authoring-tools
+    SUBDIR += port-index-uniquifier
     SUBDIR += port-maintenance-tools
     SUBDIR += portal
     SUBDIR += portconf

Added: head/ports-mgmt/port-index-uniquifier/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/port-index-uniquifier/Makefile	Mon Oct 10 23:37:42 2016	(r423733)
@@ -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>

Added: head/ports-mgmt/port-index-uniquifier/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/port-index-uniquifier/pkg-descr	Mon Oct 10 23:37:42 2016	(r423733)
@@ -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.



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