pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/templates mkreadme: Do not generate an index of packag...
details: https://anonhg.NetBSD.org/pkgsrc/rev/48781d81e993
branches: trunk
changeset: 447308:48781d81e993
user: nia <nia%pkgsrc.org@localhost>
date: Fri Feb 19 17:49:06 2021 +0000
description:
mkreadme: Do not generate an index of packages with IPv6 support
It is Current Year and most things have IPv6 support, whether there's
an "ipv6" PKG_OPTION is no longer a good indicator.
diffstat:
mk/scripts/mkreadme | 45 +--------------------------------------------
templates/README.ipv6 | 35 -----------------------------------
templates/README.top | 6 ++----
3 files changed, 3 insertions(+), 83 deletions(-)
diffs (119 lines):
diff -r 64c9c75814fb -r 48781d81e993 mk/scripts/mkreadme
--- a/mk/scripts/mkreadme Fri Feb 19 15:38:26 2021 +0000
+++ b/mk/scripts/mkreadme Fri Feb 19 17:49:06 2021 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkreadme,v 1.31 2018/08/22 20:48:37 maya Exp $
+# $NetBSD: mkreadme,v 1.32 2021/02/19 17:49:06 nia Exp $
#
# Script for README.html generation
#
@@ -455,49 +455,6 @@
######################################################################
#
-# Generate the README-IPv6.html file
-#
-######################################################################
-
-echo " "
-echo "Generating the README-IPv6.html file"
-echo " "
-cd ${PKGSRCDIR}
-ipv6=${TMPDIR}/ipv6pkgs
-ipv6_entries=${TMPDIR}/ipv6_entries
-
-echo -n "" > $ipv6
-cats=`${BMAKE} show-subdir-var VARNAME=SUBDIR`
-for c in ${cats} ; do
- if [ -d ${c} ]; then
- ${GREP} -l -e '^BUILD_DEFS.*=.*IPV6_READY' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' -e '^USE_FEATURES.*=.*inet6' ${c}/*/Makefile | ${SED} -e 's;Makefile;;g' >> $ipv6
- arethereoptions=`ls ${c}/*/options.mk 2>/dev/null`
- if [ ! -z "$arethereoptions" ]; then
- ${GREP} -l -e '^BUILD_DEFS.*=.*IPV6_READY' -e '^PKG_SUPPORTED_OPTIONS.*=.*inet6' -e '^USE_FEATURES.*=.*inet6' ${c}/*/options.mk | ${SED} -e 's;options.mk;;g' >> $ipv6
- fi
-
- fi
-done
-${FGREP} -f $ipv6 README-all.html | sort -t/ +1 > $ipv6_entries
-${SED} \
- -e "/%%TRS%%/r${ipv6_entries}" \
- -e '/%%TRS%%/d' \
- templates/README.ipv6 > ${TMPDIR}/README-IPv6.html
-if [ $? != 0 ]; then
- echo "Error: README-IPv6.html generation failed (on sed script)"
- clean_and_exit
-fi
-
-if [ ! -f README-IPv6.html ]; then
- mv -f ${TMPDIR}/README-IPv6.html README-IPv6.html
-elif cmp -s ${TMPDIR}/README-IPv6.html README-IPv6.html ; then
- echo "README-IPv6.html is unchanged (no changes were needed)"
-else
- mv -f ${TMPDIR}/README-IPv6.html README-IPv6.html
-fi
-
-######################################################################
-#
# Prune README.html files which are no longer needed
#
######################################################################
diff -r 64c9c75814fb -r 48781d81e993 templates/README.ipv6
--- a/templates/README.ipv6 Fri Feb 19 15:38:26 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-<!-- $NetBSD: README.ipv6,v 1.5 2007/10/09 19:19:15 martti Exp $ -->
-<html>
-<head>
-<title>NetBSD: IPv6 enabled Packages</title>
-</head>
-<body bgcolor="#ffffff">
-
-<a href="http://www.mckusick.com/beastie/mainpage/copyright.html">
-<img align="right" src="templates/pkg-daemon.gif" alt="Daemon Power"
- width="147" height="121" border="0">
-</a>
-<h1>IPv6 ready packages in the NetBSD Packages Collection</h1>
-
-<p>
-The following list contains all
-packages currently available
-in the NetBSD Packages Collection, that are known to support
-IPv6.
-Please select an entry for more details!
-</p>
-
-<hr noshade>
-<table>
-<tr><th align="left">Package<th align="left">Category<th align="left">Package description
-%%TRS%%
-</table>
-
-<hr noshade>
-[
-<a href="README.html">Go to top of packages tree</a>
-|
-<a href="README-all.html">List all packages</a>
-]
-</body>
-</html>
diff -r 64c9c75814fb -r 48781d81e993 templates/README.top
--- a/templates/README.top Fri Feb 19 15:38:26 2021 +0000
+++ b/templates/README.top Fri Feb 19 17:49:06 2021 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: README.top,v 1.17 2021/02/18 11:14:56 nia Exp $ -->
+<!-- $NetBSD: README.top,v 1.18 2021/02/19 17:49:06 nia Exp $ -->
<html>
<head>
<title>The NetBSD Packages Collection</title>
@@ -21,9 +21,7 @@
<p>Here are the one-line descriptions for each of the categories,
a <a href="README-all.html">complete list of all packages</a>
-and one with all
-<a href="README-IPv6.html">IPv6 enabled packages</a>
-is also available:
+is also available.
</p>
<hr noshade>
Home |
Main Index |
Thread Index |
Old Index