pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography/proj-doc



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sat Jul 18 14:48:22 UTC 2026

Modified Files:
        pkgsrc/geography/proj-doc: Makefile

Log Message:
geography/proj-doc: Work around upstream CM problems

Upstream seems to replace the documentation pdf, even though it is at
a URL which should be stable.  Work around this by uploading the pdf
to ftp.n.o and using that to fetch from.

No PKGREVISION, as the package is unchanged for those who had the bits
specified by hash in distinfo.  It's just that now others get those
bits.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/geography/proj-doc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/proj-doc/Makefile
diff -u pkgsrc/geography/proj-doc/Makefile:1.13 pkgsrc/geography/proj-doc/Makefile:1.14
--- pkgsrc/geography/proj-doc/Makefile:1.13     Mon Jul  6 12:36:09 2026
+++ pkgsrc/geography/proj-doc/Makefile  Sat Jul 18 14:48:22 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2026/07/06 12:36:09 gdt Exp $
+# $NetBSD: Makefile,v 1.14 2026/07/18 14:48:22 gdt Exp $
 
 # URLs look like
 #   https://proj.org/_/downloads/en/9.6/pdf/
@@ -6,15 +6,21 @@
 # x.y.z instead, and the x.y.z pdf may be replaced by a different
 # x.y.z pdf (e.g. 9.8.1).  Posted on upstream email list 20260706.
 #
-# VERSION is set to the proj version, and adds a .n nano version if
-# the distfile is replaced.  DOWNLOAD_VERSION is major.minor only,
+# Beyond that, the upstream pdf seems to change randomly.  Not yet
+# posted upstream because they have not responded to the previous
+# instability complaint.
+#
+# VERSION is set to the proj version, and adds a .n nano version if we
+# update to a new distfile.  DOWNLOAD_VERSION is major.minor only,
 # because that's how RTD works.
 VERSION=               9.8.1
 DOWNLOAD_VERSION=      9.8
 DISTNAME=              proj-doc-${VERSION}
 CATEGORIES=            geography
-MASTER_SITES=          -https://proj.org/_/downloads/en/${DOWNLOAD_VERSION}/pdf/
-# Hack around assumption that it is an archive.
+# Used for updates, and then `make upload-distfiles`:
+#MASTER_SITES=         -https://proj.org/_/downloads/en/${DOWNLOAD_VERSION}/pdf/
+MASTER_SITES=          ${MASTER_SITES_LOCAL}
+# Hack around assumption that distfile is an archive, part 1.
 EXTRACT_SUFX=          .pdf
 
 MAINTAINER=            gdt%NetBSD.org@localhost
@@ -27,7 +33,7 @@ LICENSE=              mit
 NO_BUILD=              yes
 INSTALLATION_DIRS+=    share/doc/proj
 
-# Hack around extract thinking it must be an archive.
+# Hack around assumption that distfile is an archive, part 2.
 EXTRACT_CMD=           ${CP} $$extract_file .
 
 do-install:



Home | Main Index | Thread Index | Old Index