pkgsrc-Bugs archive

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

pkg/34006: "make readme" causes dead links



>Number:         34006
>Category:       pkg
>Synopsis:       "make readme" causes dead links
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 15 17:30:01 +0000 2006
>Originator:     OKANO Takayoshi
>Release:        N/A
>Organization:
personal
>Environment:
N/A
>Description:
directory layout of ftp.NetBSD.org was reorganized recently,
but the mkreadme script is still assuming previous layout
>How-To-Repeat:
try to download a binary package from README.html
(e.g.
ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/meta-pkgs/netbsd-www/README.html 
)

>Fix:
apply following patch:

Index: bsd.pkg.readme.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.readme.mk,v
retrieving revision 1.1
diff -u -r1.1 bsd.pkg.readme.mk
--- bsd.pkg.readme.mk   6 Jul 2006 21:07:33 -0000       1.1
+++ bsd.pkg.readme.mk   15 Jul 2006 16:40:02 -0000
@@ -20,7 +20,7 @@
 #
 #    FTP_PKG_URL_DIR is the directory portion of the URL to embed in each
 #      README.html file to be served via FTP, and defaults to
-#      "/pub/NetBSD/packages".
+#      "/pub/pkgsrc/packages".
 #
 #    CDROM_PKG_URL_HOST is the host portion of the URL to embed in each
 #      README.html file to be served from a mounted CD-ROM, and defaults
@@ -200,7 +200,7 @@
 .PHONY: readme
 .if !target(readme)
 FTP_PKG_URL_HOST?=     ftp://ftp.NetBSD.org
-FTP_PKG_URL_DIR?=      /pub/NetBSD/packages
+FTP_PKG_URL_DIR?=      /pub/pkgsrc/packages
 
 readme:
        @cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} README.html 
PKG_URL=${FTP_PKG_URL_HOST}${FTP_PKG_URL_DIR}




Home | Main Index | Thread Index | Old Index