Received: by mail.netbsd.org (Postfix, from userid 605) id 293CD84D66; Mon, 8 Mar 2021 16:38:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6596584CE2 for ; Mon, 8 Mar 2021 16:38:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id jfSRNmX1_j_r for ; Mon, 8 Mar 2021 16:37:59 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 86CC684CD9 for ; Mon, 8 Mar 2021 16:37:59 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7FDFDFA95; Mon, 8 Mar 2021 16:37:59 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_161522147917840" MIME-Version: 1.0 Date: Mon, 8 Mar 2021 16:37:59 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20210308163759.7FDFDFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_161522147917840 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Mon Mar 8 16:37:59 UTC 2021 Modified Files: pkgsrc/mk/scripts: genreadme.awk pkgsrc/templates: README.all README.category README.pkg README.top main.css Log Message: genreadme: Reorganize information for clarity. Move the navigation to the top and reword it slightly. This makes it more immediately visible. I'm not sure if this justifies a "Skip to content" button yet. Give the binary package table headers. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 pkgsrc/mk/scripts/genreadme.awk cvs rdiff -u -r1.10 -r1.11 pkgsrc/templates/README.all cvs rdiff -u -r1.15 -r1.16 pkgsrc/templates/README.category cvs rdiff -u -r1.37 -r1.38 pkgsrc/templates/README.pkg cvs rdiff -u -r1.23 -r1.24 pkgsrc/templates/README.top cvs rdiff -u -r1.5 -r1.6 pkgsrc/templates/main.css Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_161522147917840 Content-Disposition: inline Content-Length: 7291 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/scripts/genreadme.awk diff -u pkgsrc/mk/scripts/genreadme.awk:1.47 pkgsrc/mk/scripts/genreadme.awk:1.48 --- pkgsrc/mk/scripts/genreadme.awk:1.47 Wed Feb 24 08:16:32 2021 +++ pkgsrc/mk/scripts/genreadme.awk Mon Mar 8 16:37:59 2021 @@ -1,5 +1,5 @@ #!/usr/bin/awk -f -# $NetBSD: genreadme.awk,v 1.47 2021/02/24 08:16:32 nia Exp $ +# $NetBSD: genreadme.awk,v 1.48 2021/03/08 16:37:59 nia Exp $ # # Copyright (c) 2002-2021 The NetBSD Foundation, Inc. # All rights reserved. @@ -724,9 +724,9 @@ function lookup_cache( d, binpkgs) { binpkgs_file = TMPDIR "/binpkgs"; spipe = SORT " > " binpkgs_file; for(i=1 ; i<=pkg_count[d]; i=i+1) { - printf("%s:%s(%s %s)\n", - march_list[d, i], PKG_URL, pkgfile_list[d, i], pkgnm_list[d, i], - opsys_list[d, i], osver_list[d, i]) | spipe; + printf("%s %s%s%s\n", + opsys_list[d, i], osver_list[d, i], march_list[d, i], + PKG_URL, pkgfile_list[d, i], pkgnm_list[d, i]) | spipe; } if( pkg_count[d] == 0 ) { printf("(none)\n") | spipe; Index: pkgsrc/templates/README.all diff -u pkgsrc/templates/README.all:1.10 pkgsrc/templates/README.all:1.11 --- pkgsrc/templates/README.all:1.10 Wed Feb 24 08:16:32 2021 +++ pkgsrc/templates/README.all Mon Mar 8 16:37:59 2021 @@ -1,4 +1,4 @@ - + @@ -14,6 +14,15 @@

The NetBSD Packages Collection

+ +

The following list contains all %%NPKGS%% @@ -26,10 +35,5 @@ Please select an entry for more details!

%%PKGS%%
- -
-[ - Go to top of packages tree -] Index: pkgsrc/templates/README.category diff -u pkgsrc/templates/README.category:1.15 pkgsrc/templates/README.category:1.16 --- pkgsrc/templates/README.category:1.15 Mon Feb 22 09:40:48 2021 +++ pkgsrc/templates/README.category Mon Mar 8 16:37:59 2021 @@ -1,4 +1,4 @@ - + @@ -14,24 +14,28 @@

%%CATEGORY%% - The NetBSD Packages Collection

+ +

%%DESCR%%

-

Here are the one-line descriptions for each of the +

There are %%NUMITEMS%% -items in this directory:

+packages in this category:


%%SUBDIR%%
- -
-[ - Go to top of packages tree -| - List all packages -] Index: pkgsrc/templates/README.pkg diff -u pkgsrc/templates/README.pkg:1.37 pkgsrc/templates/README.pkg:1.38 --- pkgsrc/templates/README.pkg:1.37 Mon Feb 22 09:40:48 2021 +++ pkgsrc/templates/README.pkg Mon Mar 8 16:37:59 2021 @@ -1,10 +1,12 @@ - + + + %%PORT%% - The NetBSD Packages Collection @@ -14,9 +16,22 @@

%%PORT%% - The NetBSD Packages Collection

+ +
%%COMMENT%% -

+

 %%DESCR%%
 
@@ -44,14 +59,25 @@
-

Available binary packages

+

Binary packages

+ + + + + + %%BIN_PKGS%% +
OSArchitectureVersion

-Binary packages can be installed with -pkgin or pkg_add(1). +Binary packages can be installed with the high-level tool +pkgin +(which can be installed with pkg_add) +or +pkg_add(1) +(installed by default). The NetBSD packages collection is also designed to permit easy installation from source. @@ -87,13 +113,5 @@ and not every bug is exploitable with ev reported with send-pr.

-
-[ - Go up one level -| - Go to top of packages tree -| - List all packages -] Index: pkgsrc/templates/README.top diff -u pkgsrc/templates/README.top:1.23 pkgsrc/templates/README.top:1.24 --- pkgsrc/templates/README.top:1.23 Mon Feb 22 09:40:48 2021 +++ pkgsrc/templates/README.top Mon Mar 8 16:37:59 2021 @@ -1,4 +1,4 @@ - + @@ -21,6 +21,12 @@ is also available.

+Prebuilt binary packages can be installed using the high level tool +pkgin or the default +pkg_add(1). +

+ +

%%DESCR%%

@@ -28,15 +34,6 @@ is also available.
%%SUBDIR%%
-
- -Prebuilt binary packages can be installed using -pkgin or pkg_add(8). -For more information on how to build packages from pkgsrc, see the -doc/pkgsrc.html document. - -pkgsrc and binary packages for NetBSD are available on -the NetBSD mirrors. Index: pkgsrc/templates/main.css diff -u pkgsrc/templates/main.css:1.5 pkgsrc/templates/main.css:1.6 --- pkgsrc/templates/main.css:1.5 Mon Feb 22 09:43:58 2021 +++ pkgsrc/templates/main.css Mon Mar 8 16:37:59 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: main.css,v 1.5 2021/02/22 09:43:58 nia Exp $ */ +/* $NetBSD: main.css,v 1.6 2021/03/08 16:37:59 nia Exp $ */ body { font-family: sans-serif; @@ -63,3 +63,7 @@ hr { border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; } + +nav { + margin-bottom: 1em; +} --_----------=_161522147917840--