diff options
author | cperciva <cperciva@FreeBSD.org> | 2016-10-11 07:37:42 +0800 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2016-10-11 07:37:42 +0800 |
commit | 6db450c99d562c53bcb5e5c51fbafffaf63f51ac (patch) | |
tree | d80aad7c3e6e99ef314137b6869cb560a0a18b1d | |
parent | 613dec81d2cdaa742eb400efe81bfdffea890ad1 (diff) | |
download | freebsd-ports-gnome-6db450c99d562c53bcb5e5c51fbafffaf63f51ac.tar.gz freebsd-ports-gnome-6db450c99d562c53bcb5e5c51fbafffaf63f51ac.tar.zst freebsd-ports-gnome-6db450c99d562c53bcb5e5c51fbafffaf63f51ac.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.
-rw-r--r-- | ports-mgmt/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/port-index-uniquifier/Makefile | 17 | ||||
-rw-r--r-- | ports-mgmt/port-index-uniquifier/pkg-descr | 3 |
3 files changed, 21 insertions, 0 deletions
diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index 4d3bc9166dba..db93febf07ae 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -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 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. |