svn commit: r423733 - in head/ports-mgmt: . port-index-uniquifier

Colin Percival cperciva at FreeBSD.org
Mon Oct 10 23:37:44 UTC 2016


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 at 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.


More information about the svn-ports-all mailing list